Function at 0x414470
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42127c
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x42e00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword fs:[0x2c]
mov edi, dword [eax]
mov eax, dword [0x42ead8]
cmp eax, dword [edi + 4]
jle 0x4144f0
push 0x42ead8
call fcn.0041e8f4
add esp, 4
cmp dword [0x42ead8], 0xffffffff
jne 0x4144f0
mov dword [ebp - 4], 0
call fcn.00417c30
push 0x421f10
call fcn.0041ec5e
add esp, 4
mov dword [ebp - 4], 0xffffffff
push 0x42ead8
call fcn.0041e8b5
add esp, 4
mov ecx, 0x42eaec
call fcn.00418640
mov eax, dword [0x42eac8]
cmp eax, dword [edi + 4]
jle 0x41453c
push 0x42eac8
call fcn.0041e8f4
add esp, 4
cmp dword [0x42eac8], 0xffffffff
jne 0x41453c
call fcn.00412d10
push 0x421e30
call fcn.0041ec5e
add esp, 4
push 0x42eac8
call fcn.0041e8b5
add esp, 4
mov ebx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0xffffffffffffffff
push dword [0x42eab8]
call ebx
push 0xffffffffffffffff
push dword [0x42eac0]
call ebx
mov eax, dword [0x42eac8]
cmp eax, dword [edi + 4]
jle 0x41459e
push 0x42eac8
call fcn.0041e8f4
mov eax, dword [0x42eac8]
add esp, 4
cmp eax, 0xffffffff
jne 0x41459e
call fcn.00412d10
push 0x421e30
call fcn.0041ec5e
add esp, 4
push 0x42eac8
call fcn.0041e8b5
mov eax, dword [0x42eac8]
add esp, 4
cmp dword [0x42ea64], 2
jne 0x414602
cmp eax, dword [edi + 4]
jle 0x4145e4
push 0x42eac8
call fcn.0041e8f4
add esp, 4
cmp dword [0x42eac8], 0xffffffff
jne 0x4145e4
call fcn.00412d10
push 0x421e30
call fcn.0041ec5e
add esp, 4
push 0x42eac8
call fcn.0041e8b5
add esp, 4
push dword [0x42eab8]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.jhi_reset_starting
call fcn.00401aa0
add esp, 4
push str.IntelDalJhi
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov esi, eax
test esi, esi
je 0x414643
push 0
push 0
push 0
push 0
push 0
push 0x40000002
push 0
push 4
push esi
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
call fcn.0040c660
mov esi, eax
push 0xffffffffffffffff
push dword [esi + 8]
call ebx
mov ecx, esi
call fcn.00404fc0
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
call fcn.0040c5d0
mov ecx, eax
call fcn.00418a20
call fcn.0040f300
mov esi, eax
cmp byte [esi + 8], 0
je 0x414683
mov ecx, esi
call fcn.00411980
jmp 0x414690
push str.error:_the_event_manager_is_not_initialized_n
call fcn.00401b10
add esp, 4
mov byte [esi + 8], 0
mov eax, dword [0x42eac8]
cmp eax, dword [edi + 4]
jle 0x4146d6
push 0x42eac8
call fcn.0041e8f4
add esp, 4
cmp dword [0x42eac8], 0xffffffff
jne 0x4146d6
call fcn.00412d10
push 0x421e30
call fcn.0041ec5e
add esp, 4
push 0x42eac8
call fcn.0041e8b5
add esp, 4
push 0xffffffffffffffff
push dword [0x42ea60]
mov byte [ebp - 0xd], 0
call ebx
cmp byte [0x42ea98], 0
mov eax, 1
movzx ebx, byte [ebp - 0xd]
push dword [0x42ea60]
mov esi, dword [sym.imp.KERNEL32.dll_ReleaseMutex]
cmovne ebx, eax
mov eax, dword [0x42ea9c]
mov dword [ebp - 0x14], eax
call esi
test bl, bl
je 0x41476c
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x41476c
mov byte [ebp - 0x14], 1
call fcn.004050e0
mov esi, dword [eax + 0x40]
call fcn.004050e0
cmp esi, 3
jne 0x41473e
movzx edx, byte [ebp - 0x14]
xor ecx, ecx
cmp dword [eax + 0x44], 2
cmove edx, ecx
mov byte [ebp - 0x14], dl
mov eax, dword [ebx]
mov ecx, ebx
push dword [ebp - 0x14]
call dword [eax + 4]
test eax, eax
je 0x41475a
push eax
push str.Error:_VM_Plugin_Deinit_failed:_0x_X
call fcn.00401b10
add esp, 8
call fcn.004050e0
mov ecx, eax
call fcn.00412fb0
mov esi, dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, dword [0x42eac8]
cmp eax, dword [edi + 4]
jle 0x4147ae
push 0x42eac8
call fcn.0041e8f4
add esp, 4
cmp dword [0x42eac8], 0xffffffff
jne 0x4147ae
call fcn.00412d10
push 0x421e30
call fcn.0041ec5e
add esp, 4
push 0x42eac8
call fcn.0041e8b5
add esp, 4
cmp dword [0x42eaa0], 1
je 0x4147cd
call fcn.0041cb20
test al, al
jne 0x4147cd
push str.Error:_failed_to_unregister_heci_events
call fcn.00401b10
add esp, 4
mov eax, dword [0x42eac8]
cmp eax, dword [edi + 4]
jle 0x41480f
push 0x42eac8
call fcn.0041e8f4
add esp, 4
cmp dword [0x42eac8], 0xffffffff
jne 0x41480f
call fcn.00412d10
push 0x421e30
call fcn.0041ec5e
add esp, 4
push 0x42eac8
call fcn.0041e8b5
add esp, 4
push 0xffffffffffffffff
push dword [0x42ea60]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [0x42ea60]
mov dword [0x42ea64], 2
call esi
mov eax, dword [0x42eac8]
cmp eax, dword [edi + 4]
jle 0x414871
push 0x42eac8
call fcn.0041e8f4
add esp, 4
cmp dword [0x42eac8], 0xffffffff
jne 0x414871
call fcn.00412d10
push 0x421e30
call fcn.0041ec5e
add esp, 4
push 0x42eac8
call fcn.0041e8b5
add esp, 4
push str.Sending_reset_complete_event..._n
call fcn.00401b10
add esp, 4
push dword [0x42eab0]
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [0x42eac8]
cmp eax, dword [edi + 4]
jle 0x4148cc
push 0x42eac8
call fcn.0041e8f4
add esp, 4
cmp dword [0x42eac8], 0xffffffff
jne 0x4148cc
call fcn.00412d10
push 0x421e30
call fcn.0041ec5e
add esp, 4
push 0x42eac8
call fcn.0041e8b5
add esp, 4
push dword [0x42eab8]
call esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret