Function at 0x43d7e0
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d2f79
mov eax, dword fs:[0]
push eax
sub esp, 0x15c
mov eax, dword [0x507254]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x1c], edi
push str.Application_Error
push 0
mov dword [ebp - 4], 0
call dword [sym.imp.ADVAPI32.dll_OpenEventLogW]
mov esi, eax
test esi, esi
jne 0x43d842
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x70], ecx
jmp 0x43d84e
mov dword [ebp - 0x18], 0
mov ecx, esi
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x1c], esi
mov byte [ebp - 4], 1
test ecx, ecx
jne 0x43d8e9
push 0x16
mov dword [ebp - 0x8c], ecx
mov dword [ebp - 0x7c], ecx
lea ecx, [ebp - 0x8c]
push str.event_log::open_failed
mov dword [ebp - 0x78], 0xf
call fcn.00403c60
cmp dword [ebp - 0x70], 0
movups xmm0, xmmword [ebp - 0x8c]
mov eax, dword [ebp - 0x18]
mov dword [edi], eax
mov dword [edi + 4], 0x507d40
mov dword [edi + 8], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
movups xmmword [edi + 8], xmm0
movq xmm0, qword [ebp - 0x7c]
movq qword [edi + 0x18], xmm0
mov byte [edi + 0x20], 1
je 0x43d8c6
push esi
call dword [sym.imp.ADVAPI32.dll_CloseEventLog]
mov ecx, dword [ebp + 0x34]
test ecx, ecx
je 0x43dc5b
mov edx, dword [ecx]
lea eax, [ebp + 0x10]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov eax, edi
jmp 0x43de46
push dword [ebp + 0xc]
lea ecx, [ebp - 0x5c]
push dword [ebp + 8]
call fcn.00441220
add esp, 8
mov edi, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xa8]
push 0x8c
xor eax, eax
mov dword [ebp - 0xa8], 0
push str._QueryList____Query_PathApplication_______Select_PathApplication_Event_System_Provider__Name___Application_Error___and_EventID__1000
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 7
mov word [ebp - 0xa8], ax
call fcn.00403940
push 0x2d
push str._and_TimeCreated_timediff__SystemTime__lt_
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 3
call fcn.00402df0
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xc0], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xb0], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
push edi
lea eax, [ebp - 0xc0]
mov byte [ebp - 4], 4
push eax
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x8c]
call fcn.00412560
push 0x21
push str.____Select_____Query___QueryList_
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 5
call fcn.00402df0
mov dword [ebp - 0x44], 0
xor ecx, ecx
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x44], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x34], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x78]
cmp edx, 8
jb 0x43da26
mov ecx, dword [ebp - 0x8c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43da1c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43de61
push edx
push ecx
call fcn.004a6287
add esp, 8
xor eax, eax
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 7
mov word [ebp - 0x8c], ax
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0xac]
cmp edx, 8
jb 0x43da81
mov ecx, dword [ebp - 0xc0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43da77
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43de61
push edx
push ecx
call fcn.004a6287
add esp, 8
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x94]
cmp edx, 8
jb 0x43dac5
mov ecx, dword [ebp - 0xa8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43dabb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43de61
push edx
push ecx
call fcn.004a6287
add esp, 8
xor eax, eax
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 7
mov word [ebp - 0xa8], ax
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x48]
cmp edx, 8
jb 0x43db20
mov ecx, dword [ebp - 0x5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43db16
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43de61
push edx
push ecx
call fcn.004a6287
add esp, 8
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
push 0x201
cmovae eax, dword [ebp - 0x44]
push eax
push str.Application
push 0
call dword [sym.imp.wevtapi.dll_EvtQuery]
mov edi, eax
mov dword [ebp - 0x90], edi
test edi, edi
jne 0x43db60
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x90], edi
mov dword [ebp - 0x18], ecx
jmp 0x43db6c
mov dword [ebp - 0x70], 0
mov ecx, edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x2c], edi
mov byte [ebp - 4], 0xb
test ecx, ecx
jne 0x43dc62
push 0x17
mov dword [ebp - 0x8c], ecx
mov dword [ebp - 0x7c], ecx
lea ecx, [ebp - 0x8c]
push str.event_log::query_failed
mov dword [ebp - 0x78], 0xf
call fcn.00403c60
cmp dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x74]
movups xmm0, xmmword [ebp - 0x8c]
mov ecx, dword [ebp - 0x70]
mov dword [eax], ecx
mov dword [eax + 4], 0x507d40
mov dword [eax + 8], 0
mov dword [eax + 0x18], 0
mov dword [eax + 0x1c], 0
movups xmmword [eax + 8], xmm0
movq xmm0, qword [ebp - 0x7c]
movq qword [eax + 0x18], xmm0
mov byte [eax + 0x20], 1
je 0x43dbe7
push edi
call dword [sym.imp.wevtapi.dll_EvtClose]
mov edx, dword [ebp - 0x30]
cmp edx, 8
jb 0x43dc21
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43dc17
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43de66
push edx
push ecx
call fcn.004a6287
add esp, 8
xor eax, eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
test esi, esi
je 0x43dc40
push esi
call dword [sym.imp.ADVAPI32.dll_CloseEventLog]
mov ecx, dword [ebp + 0x34]
test ecx, ecx
je 0x43dc58
mov esi, dword [ecx]
lea eax, [ebp + 0x10]
cmp ecx, eax
setne dl
movzx edx, dl
push edx
call dword [esi + 0x10]
mov edi, dword [ebp - 0x74]
mov eax, edi
jmp 0x43de46
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
movq qword [ebp - 0x28], xmm0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
push ecx
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xc
call fcn.0043fff0
lea eax, [ebp - 0x14]
mov dword [ebp - 0x70], 0
push eax
push 0
push 0xffffffffffffffff
lea eax, [ebp - 0x70]
mov dword [ebp - 0x14], 0
push eax
push 1
push edi
call dword [sym.imp.wevtapi.dll_EvtNext]
test eax, eax
jne 0x43dcce
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
cmp eax, 0x103
cmove eax, ecx
xor esi, esi
jmp 0x43dcd3
mov esi, dword [ebp - 0x70]
xor eax, eax
mov dword [ebp - 0x18], esi
mov byte [ebp - 4], 0xd
test esi, esi
je 0x43de07
test eax, eax
jne 0x43de07
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x28]
sar eax, 5
cmp eax, 0x19
jae 0x43de07
mov dword [ebp - 0x14], esi
lea edx, [ebp - 0x14]
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x6c]
call fcn.0043d3d0
mov byte [ebp - 4], 0x10
cmp byte [ebp - 0x4c], 0
je 0x43dd71
push str.get_app_win_events
mov edx, 8
lea ecx, [ebp - 0x168]
call fcn.004090a0
add esp, 4
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 0x11
mov cl, byte [eax + 0x48]
test cl, cl
je 0x43dd64
push str.fail_render_win_event
push eax
call fcn.00412180
mov eax, dword [ebp - 0x14]
add esp, 8
mov cl, byte [eax + 0x48]
test cl, cl
je 0x43dd64
push 0x4ed070
push eax
call fcn.00412180
add esp, 8
lea ecx, [ebp - 0x168]
call fcn.00408f30
jmp 0x43dd92
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp + 0x10]
call fcn.0043fa80
test al, al
je 0x43dd92
lea ecx, [ebp - 0x6c]
call fcn.00420ac0
push eax
lea ecx, [ebp - 0x28]
call fcn.0043fb10
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0xd
call fcn.0043fbf0
lea eax, [ebp - 0x14]
mov dword [ebp - 0x70], 0
push eax
push 0
push 0xffffffffffffffff
lea eax, [ebp - 0x70]
mov dword [ebp - 0x14], 0
push eax
push 1
push edi
call dword [sym.imp.wevtapi.dll_EvtNext]
test eax, eax
jne 0x43dddc
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
cmp eax, 0x103
cmove eax, ecx
xor edi, edi
mov dword [ebp - 0x14], eax
jmp 0x43dde6
mov edi, dword [ebp - 0x70]
mov dword [ebp - 0x14], 0
test esi, esi
je 0x43ddf1
push esi
call dword [sym.imp.wevtapi.dll_EvtClose]
mov eax, dword [ebp - 0x14]
mov esi, edi
test edi, edi
mov dword [ebp - 0x18], esi
mov edi, dword [ebp - 0x90]
jne 0x43dce2
lea ecx, [ebp - 0x18]
call fcn.0043c2a0
mov ecx, dword [ebp - 0x74]
lea eax, [ebp - 0x28]
push eax
call fcn.00440430
lea ecx, [ebp - 0x28]
call fcn.0043fb80
lea ecx, [ebp - 0x2c]
call fcn.0043c2a0
lea ecx, [ebp - 0x44]
call fcn.00402710
lea ecx, [ebp - 0x1c]
call fcn.0043c2c0
lea ecx, [ebp + 0x10]
call fcn.004146d0
mov eax, dword [ebp - 0x74]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a6256
mov esp, ebp
pop ebp
ret
call fcn.004ab23f
call fcn.004ab23f
int3