Function at 0x425f80
Capabilities:
Access the windows event log

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x445568
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x193c
call fcn.00444420
mov eax, dword [0x44f0f4]
xor eax, ebp
mov dword [ebp - 0x18], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov edi, dword [ebp + 8]
mov dword [ebp - 0x18c4], ebx
mov dword [ebp - 0x18c0], edi
sub esp, 0x58
xor esi, esi
mov ecx, esp
mov dword [ebp - 0x18d8], esi
mov dword [ebp - 4], esi
push 0xdc
push 9
push 0xbbe
push 0x40aca0
push 0x402d58
push 0x404fd8
call fcn.00440fc8
push esi
lea ecx, [ebp - 0x1934]
call fcn.00441304
push edi
push 0x403c64
push 6
push 0x40acec
lea eax, [ebp - 0x18d4]
mov byte [ebp - 4], 1
push eax
push ebx
call fcn.004279d2
push edi
lea eax, [ebp - 0x1934]
push 0x40ad00
push eax
call fcn.00441fad
add esp, 0x24
mov byte [ebp - 4], 3
push edi
push 0x40ad54
sub esp, 0x58
mov ecx, esp
push 0xdc
push 9
push 0xbcb
push 0x40aca0
push 0x402d58
push 0x404fd8
call fcn.00440fc8
lea eax, [ebp - 0x1934]
push eax
call fcn.00441c0c
add esp, 0x64
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_OpenEventLogW]
mov dword [ebp - 0x18b8], eax
test eax, eax
je 0x426585
mov ecx, dword [ebx]
lea edx, [ebp - 0x81c]
mov dword [ebp - 0x18a4], ecx
jmp 0x4260a4
mov ecx, dword [ebp - 0x18a4]
xor esi, esi
test ecx, ecx
jle 0x426467
lea ecx, [ebp - 0x18cc]
push ecx
lea ecx, [ebp - 0x18b4]
push ecx
push 0x800
push edx
push esi
push 9
push eax
call dword [sym.imp.ADVAPI32.dll_ReadEventLogW]
test eax, eax
je 0x426467
mov eax, dword [ebp - 0x18b4]
lea esi, [ebp - 0x81c]
test eax, eax
lea edx, [ebp - 0x81c]
mov eax, dword [ebp - 0x18b8]
je 0x42609c
movzx eax, word [esi + 0x18]
dec eax
sub eax, 1
je 0x426116
dec eax
sub eax, 1
je 0x42610a
mov dword [ebp - 0x18b0], 5
jmp 0x426120
mov dword [ebp - 0x18b0], 3
jmp 0x426120
mov dword [ebp - 0x18b0], 4
push esi
lea eax, [esi + 0x38]
push eax
push edi
call fcn.00427140
test al, al
je 0x4263f8
lea eax, [esi + 0x38]
mov edi, 0xdc
push eax
push 0x40ada4
sub esp, 0x58
mov ecx, esp
push edi
push 9
push 0xbfe
push 0x40aca0
push 0x402d58
push 0x404fd8
call fcn.00440fc8
lea eax, [ebp - 0x1934]
push eax
call fcn.00441c0c
movzx eax, word [esi + 0x14]
add esp, 0x64
push eax
push 0x40adc8
sub esp, 0x58
mov ecx, esp
push edi
push 9
push 0xbff
push 0x40aca0
push 0x402d58
push 0x404fd8
call fcn.00440fc8
lea eax, [ebp - 0x1934]
push eax
call fcn.00441c0c
mov eax, dword [esi + 0xc]
mov ecx, 0x989680
imul ecx
add esp, 0x64
mov dword [ebp - 0x18e4], 0x401050
add eax, 0xd53e8000
mov ecx, edx
mov dword [ebp - 0x18a0], eax
adc ecx, 0x19db1de
xor edx, edx
mov dword [ebp - 0x18dc], ecx
mov dword [ebp - 0x18e0], edx
push ecx
push eax
mov byte [ebp - 4], 4
call fcn.0041878d
mov edi, dword [esi + 0x24]
mov dword [ebp - 0x18bc], eax
add edi, esi
mov dword [ebp - 0x18e0], eax
xor eax, eax
mov edx, eax
movzx eax, word [esi + 0x1a]
test eax, eax
je 0x42624a
cmp edx, 0x20
jae 0x42625f
mov ecx, edi
mov dword [ebp + edx*4 - 0x189c], edi
lea eax, [ecx + 2]
mov dword [ebp - 0x18c8], eax
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 0x18d8]
jne 0x42621f
sub ecx, dword [ebp - 0x18c8]
movzx eax, word [esi + 0x1a]
sar ecx, 1
lea edi, [edi + ecx*2]
add edi, 2
inc edx
cmp edx, eax
jb 0x426208
cmp edx, 0x20
jae 0x42625f
push 0x20
lea edi, [ebp - 0x189c]
mov eax, 0x40ade4
pop ecx
lea edi, [edi + edx*4]
sub ecx, edx
rep stosd dword es:[edi], eax
sub esp, 0x1c
lea eax, [esi + 0x38]
mov ecx, esp
push eax
call fcn.00428c5f
mov ecx, ebx
call fcn.00427e4b
mov edi, eax
mov dword [ebp - 0x181c], 0xa
xor eax, eax
push 0xffc
push eax
lea eax, [ebp - 0x1818]
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x189c]
push eax
push 0x7ff
lea eax, [ebp - 0x181a]
push eax
push 0x409
push dword [esi + 0x14]
push edi
push 0x2800
call dword [sym.imp.KERNEL32.dll_FormatMessageW]
test eax, eax
je 0x4265bc
push dword [ebp - 0x18bc]
lea edi, [esi + 0x38]
push edi
push 0x407774
push dword [ebp - 0x18b0]
lea eax, [ebp - 0x18ac]
push 0x409464
push eax
push ebx
call fcn.004279d2
add esp, 0x1c
push edi
push 0x40ae44
lea ecx, [ebp - 0x18ac]
mov byte [ebp - 4], 5
call fcn.00419156
movzx eax, word [esi + 0x14]
lea ecx, [ebp - 0x18ac]
push eax
push 0x40ae54
call fcn.004193b7
movzx eax, word [esi + 0x18]
lea ecx, [ebp - 0x18ac]
push eax
push 0x40ae64
call fcn.004193b7
push dword [ebp - 0x18bc]
lea ecx, [ebp - 0x18ac]
push 0x409858
call fcn.00419156
push dword [ebp - 0x18dc]
lea eax, [ebp - 0x18ac]
push dword [ebp - 0x18a0]
push 0x406c9c
push 0x40948c
push ecx
push ecx
mov ecx, esp
push eax
call fcn.0042c1f1
push ebx
call fcn.00427b5e
add esp, 0x1c
lea eax, [ebp - 0x181c]
lea ecx, [ebp - 0x18ac]
push eax
push 0x40a01c
call fcn.00419156
push ecx
push ecx
lea eax, [ebp - 0x18ac]
mov ecx, esp
push eax
call fcn.0042c1f1
push dword [esi + 0x30]
mov eax, dword [esi + 0x34]
add eax, esi
push eax
push 0x40ae78
call fcn.00427283
lea eax, [ebp - 0x18ac]
push eax
lea eax, [ebp - 0x18ec]
push eax
lea ecx, [ebp - 0x18d4]
call fcn.00419a59
lea ecx, [ebp - 0x18ec]
call fcn.00419d7f
dec dword [ebp - 0x18a4]
lea ecx, [ebp - 0x18ac]
call fcn.00419d7f
lea ecx, [ebp - 0x18e4]
mov byte [ebp - 4], 3
call fcn.00418d1c
mov edi, dword [ebp - 0x18c0]
mov eax, dword [ebp - 0x18b4]
cmp eax, dword [esi]
jb 0x426574
sub eax, dword [esi]
mov dword [ebp - 0x18b4], eax
add esi, dword [esi]
jmp 0x4260de
mov eax, dword [ebp - 0x18b8]
mov dword [ebp - 4], 2
test eax, eax
je 0x42647f
push eax
call dword [sym.imp.ADVAPI32.dll_CloseEventLog]
cmp dword [ebp - 0x192c], 0
jge 0x4264b1
push dword [ebp - 0x192c]
lea eax, [ebp - 0x18d4]
push 0x4056cc
push 0x40ae8c
push ecx
push ecx
mov ecx, esp
push eax
call fcn.0042c1f1
push ebx
call fcn.00427b5e
add esp, 0x18
lea eax, [ebp - 0x18d4]
push eax
lea eax, [ebp - 0x18ec]
push eax
lea ecx, [ebp + 0xc]
call fcn.00419a59
lea ecx, [ebp - 0x18ec]
call fcn.00419d7f
lea ecx, [ebp - 0x18d4]
call fcn.00419d7f
lea ecx, [ebp - 0x1934]
call fcn.004413c9
lea ecx, [ebp + 0xc]
call fcn.00419d7f
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.004437b0
leave
ret 0xc
mov eax, dword [ebp - 0x18b8]
lea edx, [ebp - 0x81c]
jmp 0x42609c
push edi
push 0x40ad80
sub esp, 0x58
mov ecx, esp
push 0xdc
push 9
push 0xbcf
push 0x40aca0
push 0x402d58
push 0x404fd8
call fcn.00440fc8
lea eax, [ebp - 0x1934]
push eax
call fcn.004423d6
push dword [ebp - 0x18c0]
push dword [esi + 0x14]
push edi
push 0x40ae10
sub esp, 0x58
mov ecx, esp
push 0xdc
push 9
push 0xc3b
push 0x40aca0
push 0x402d58
push 0x404fd8
call fcn.00440fc8
lea eax, [ebp - 0x1934]
push eax
call fcn.004423d6
sub esp, 0x58
mov byte [ebp - 4], 7
mov ecx, esp
push 0xdc
push 9
push 0xc5d
push 0x40aca0
push 0x402d58
push 0x404fd8
call fcn.00440fc8
lea ecx, [ebp - 0x1934]
call fcn.00441d17
int3