.data:00408060 ; char Name[]
.data:00408060 Name db 'Global\MPMon_6934D571-115B-4830-AC5C-02A0D08179C5',0
sub_401170 proc near
push esi
push edi
xor edi, edi
push offset Name ; "Global\\MPMon_6934D571-115B-4830-AC5C-02"...
push edi ; bInitialState
push edi ; bManualReset
push edi ; lpEventAttributes
call ds:CreateEventA
mov esi, eax
call ds:GetLastError
cmp eax, 0B7h
jnz short loc_401196
--------------------------------------------------------------------------------------------
.data:004080A4 ; char aGlobalRebootev[]
.data:004080A4 aGlobalRebootev db 'Global\REBOOTEVENT_6934D571-115B-4830-AC5C-02A0D08179C5',0
loc_401875:
push esi
push edi
xor edi, edi
push offset aGlobalRebootev ; "Global\\REBOOTEVENT_6934D571-115B-4830-A"...
push 1 ; bInitialState
lea edx, [esp+20h+EventAttributes]
push edi ; bManualReset
push edx ; lpEventAttributes
call ds:CreateEventA
mov esi, eax
test esi, esi
jz short loc_4018AB