Function at 0x42ae50
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d21db
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x508164]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x98], esi
mov eax, dword [ebp + 8]
push str.Security
push 0
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x88], 0
mov dword [ebp - 0xa0], 0
call dword [sym.imp.ADVAPI32.dll_OpenEventLogW]
mov edi, eax
mov dword [ebp - 0x9c], edi
test edi, edi
je 0x42b152
push 0x10000
call fcn.004a8ede
mov ebx, eax
add esp, 4
mov dword [ebp - 0x90], ebx
test ebx, ebx
je 0x42b13e
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0x88]
push eax
push 0x10000
push ebx
push 0
push 9
push edi
call dword [sym.imp.ADVAPI32.dll_ReadEventLogW]
test eax, eax
je 0x42b13e
mov eax, dword [ebp - 0x88]
add eax, dword [ebp - 0x90]
cmp dword [ebp - 0x90], eax
jae 0x42b111
nop dword [eax]
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0xf
mov byte [ebp - 0x84], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0xf
mov byte [ebp - 0x60], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
lea eax, [ebp - 0x84]
mov dword [ebp - 4], 0
push eax
push ebx
push str.Security
call fcn.00429920
add ebx, dword [ebx]
mov eax, dword [ebp - 0x68]
cmp eax, dword [esi + 4]
jl 0x42b0f9
jg 0x42af9f
mov eax, dword [ebp - 0x6c]
cmp eax, dword [esi]
jb 0x42b0f9
mov ecx, dword [ebp - 0x64]
cmp ecx, 0x44e
jne 0x42b0d1
mov edx, dword [esi + 8]
lea edi, [esi + 8]
mov esi, edx
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x42afe5
nop
cmp dword [eax + 0x10], 0x44e
jge 0x42afce
mov eax, dword [eax + 8]
jmp 0x42afd2
mov esi, eax
mov eax, dword [eax]
cmp byte [eax + 0xd], 0
je 0x42afc0
cmp esi, edx
je 0x42afe5
cmp dword [esi + 0x10], 0x44e
jle 0x42b01b
lea eax, [ebp - 0x64]
push ecx
mov dword [ebp - 0x94], eax
lea eax, [ebp - 0x94]
push eax
push ecx
mov ecx, edi
call fcn.0042b910
push eax
add eax, 0x10
mov ecx, edi
push eax
push esi
lea eax, [ebp - 0xa4]
push eax
call fcn.0042b940
mov esi, dword [ebp - 0xa4]
mov ecx, dword [ebp - 0x64]
cmp dword [esi + 0x14], 0x3e8
jge 0x42b0cb
mov edx, dword [edi]
mov esi, edx
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x42b052
cmp dword [eax + 0x10], ecx
jge 0x42b03f
mov eax, dword [eax + 8]
jmp 0x42b043
mov esi, eax
mov eax, dword [eax]
cmp byte [eax + 0xd], 0
je 0x42b035
cmp esi, edx
je 0x42b052
cmp ecx, dword [esi + 0x10]
jge 0x42b085
lea eax, [ebp - 0x64]
push ecx
mov dword [ebp - 0x94], eax
lea eax, [ebp - 0x94]
push eax
push ecx
mov ecx, edi
call fcn.0042b910
push eax
add eax, 0x10
mov ecx, edi
push eax
push esi
lea eax, [ebp - 0xa8]
push eax
call fcn.0042b940
mov esi, dword [ebp - 0xa8]
mov eax, dword [ebp - 0x8c]
inc dword [esi + 0x14]
mov esi, dword [eax]
lea eax, [ebp - 0x84]
push eax
mov edi, dword [esi + 4]
push edi
push esi
call fcn.0042b500
mov ecx, dword [ebp - 0x8c]
mov edx, dword [ecx + 4]
mov ecx, 0x2222221
sub ecx, edx
cmp ecx, 1
jb 0x42b170
lea ecx, [edx + 1]
mov edx, dword [ebp - 0x8c]
mov dword [edx + 4], ecx
mov dword [esi + 4], eax
mov dword [edi], eax
mov esi, dword [ebp - 0x98]
lea ecx, [ebp - 0x84]
mov dword [ebp - 4], 0xffffffff
call fcn.0042ad30
mov eax, dword [ebp - 0x88]
add eax, dword [ebp - 0x90]
cmp ebx, eax
jb 0x42af20
jmp 0x42b10b
lea ecx, [ebp - 0x84]
mov dword [ebp - 4], 0xffffffff
call fcn.0042ad30
mov edi, dword [ebp - 0x9c]
mov ebx, dword [ebp - 0x90]
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0x88]
push eax
push 0x10000
push ebx
push 0
push 9
push edi
call dword [sym.imp.ADVAPI32.dll_ReadEventLogW]
test eax, eax
jne 0x42af04
push edi
call dword [sym.imp.ADVAPI32.dll_CloseEventLog]
test ebx, ebx
je 0x42b152
push ebx
call fcn.004a8ee9
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0048d8b2
mov esp, ebp
pop ebp
ret 4
push str.list_T__too_long
call fcn.0048a0e5
int3