Function at 0x413480
Capabilities:
Access the windows event log

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x592b6d
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ecx
mov eax, 0x100ec
call fcn.0056f4b0
mov eax, dword [0x5fcffc]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor eax, eax
xor esi, esi
mov dword [ebp - 0x100d0], eax
mov dword [ebp - 0x100c8], eax
mov dword [ebp - 0x100d4], esi
mov dword [ebp - 0x100d8], eax
call fcn.004255be
mov ecx, eax
test ecx, ecx
je 0x4142b5
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x10048], eax
push 0x5daa4c
lea ecx, [ebp - 0x10048]
mov dword [ebp - 4], esi
call fcn.00402a50
test al, al
jne 0x41352d
push esi
push 0x5daa4c
lea ecx, [ebp - 0x10048]
call fcn.00403260
mov dword [ebp - 4], 1
call fcn.004255be
mov ecx, eax
test ecx, ecx
je 0x4142bf
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x10044], eax
push 0x5daa4c
lea ecx, [ebp - 0x10044]
mov byte [ebp - 4], 2
call fcn.00402a50
test al, al
jne 0x41357d
push 0
push 0x5daa4c
lea ecx, [ebp - 0x10044]
call fcn.00403260
mov byte [ebp - 4], 3
call fcn.004255be
mov ecx, eax
test ecx, ecx
je 0x4142c9
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x10040], eax
push 0x5daa4c
lea ecx, [ebp - 0x10040]
mov byte [ebp - 4], 4
call fcn.00402a50
test al, al
jne 0x4135ca
push 0
push 0x5daa4c
lea ecx, [ebp - 0x10040]
call fcn.00403260
mov byte [ebp - 4], 5
call fcn.004255be
mov ecx, eax
test ecx, ecx
je 0x4142d3
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x1003c], eax
push 0x5daa4c
lea ecx, [ebp - 0x1003c]
mov byte [ebp - 4], 6
call fcn.00402a50
test al, al
jne 0x413617
push 0
push 0x5daa4c
lea ecx, [ebp - 0x1003c]
call fcn.00403260
mov byte [ebp - 4], 7
call fcn.004255be
mov ecx, eax
test ecx, ecx
je 0x4142dd
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x10038], eax
push 0x5daa4c
lea ecx, [ebp - 0x10038]
mov byte [ebp - 4], 8
call fcn.00402a50
test al, al
jne 0x413664
push 0
push 0x5daa4c
lea ecx, [ebp - 0x10038]
call fcn.00403260
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x10060]
xorps xmm0, xmm0
mov dword [ebp - 0x10050], 0
movups xmmword [ebp - 0x10060], xmm0
call fcn.004369fe
push str.System
push 0
mov byte [ebp - 4], 0xb
call dword [sym.imp.ADVAPI32.dll_OpenEventLogW]
mov esi, eax
mov dword [ebp - 0x10100], esi
test esi, esi
jne 0x413765
lea ecx, [ebp - 0x10060]
call fcn.00436a15
mov byte [ebp - 4], 7
or edi, 0xffffffff
mov edx, dword [ebp - 0x10038]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4136d7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 5
mov eax, edi
mov edx, dword [ebp - 0x1003c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4136f8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 3
mov eax, edi
mov edx, dword [ebp - 0x10040]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x413719
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov eax, edi
mov edx, dword [ebp - 0x10044]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41373a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov esi, dword [ebp - 0x10048]
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x41375e
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
jmp 0x414297
lea eax, [ebp - 0x100bc]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_GetOldestEventLogRecord]
or edi, 0xffffffff
nop word [eax + eax]
lea eax, [ebp - 0x100c0]
push eax
lea eax, [ebp - 0x10064]
push eax
push 0x10000
lea eax, [ebp - 0x10020]
push eax
push 0
push 5
push esi
call dword [sym.imp.ADVAPI32.dll_ReadEventLogW]
test eax, eax
je 0x4140e8
lea esi, [ebp - 0x10020]
mov dword [ebp - 0x100c4], esi
jmp 0x4137c6
mov esi, dword [ebp - 0x100c4]
cmp dword [ebp - 0x10064], 0
jbe 0x4140dd
call fcn.004255be
mov ecx, eax
test ecx, ecx
je 0x4142e7
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x10068], eax
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x10068]
push dword [esi + 0x14]
push str.0x_08X
push eax
call fcn.00402d70
mov esi, dword [ebp - 0x10068]
add esp, 0xc
mov ecx, str.0x80001775
mov eax, esi
nop word [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x413846
test dx, dx
je 0x413842
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x413846
add eax, 4
add ecx, 4
test dx, dx
jne 0x413820
xor eax, eax
jmp 0x41384b
sbb eax, eax
or eax, 1
test eax, eax
je 0x413889
mov ecx, str.0x80001776
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41387c
test dx, dx
je 0x413878
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41387c
add eax, 4
add ecx, 4
test dx, dx
jne 0x413856
xor eax, eax
jmp 0x413881
sbb eax, eax
or eax, 1
test eax, eax
jne 0x413d05
mov eax, dword [ebp - 0x100c4]
mov dword [ebp - 0x100b4], 0
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x100b8], eax
lea eax, [ebp - 0x100b8]
push eax
lea eax, [ebp - 0x100b0]
push eax
call fcn.0057682f
add esp, 8
mov ecx, str.0x80001775
mov eax, esi
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4138e6
test dx, dx
je 0x4138e2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4138e6
add eax, 4
add ecx, 4
test dx, dx
jne 0x4138c0
xor eax, eax
jmp 0x4138eb
sbb eax, eax
or eax, 1
test eax, eax
jne 0x413d3f
push 0xffffffffffffffff
push eax
lea ecx, [ebp - 0x10060]
call fcn.00436d3e
mov dword [ebp - 0x10034], 0
call fcn.004255be
mov ecx, eax
test ecx, ecx
je 0x4142f1
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x10034], eax
push 0x5daa4c
lea ecx, [ebp - 0x10034]
mov byte [ebp - 4], 0xd
call fcn.00402a50
test al, al
jne 0x413954
push 0
push 0x5daa4c
lea ecx, [ebp - 0x10034]
call fcn.00403260
mov byte [ebp - 4], 0xe
mov dword [ebp - 0x10030], 0
call fcn.004255be
mov ecx, eax
test ecx, ecx
je 0x4142fb
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x10030], eax
push 0x5daa4c
lea ecx, [ebp - 0x10030]
mov byte [ebp - 4], 0xf
call fcn.00402a50
test al, al
jne 0x4139ab
push 0
push 0x5daa4c
lea ecx, [ebp - 0x10030]
call fcn.00403260
mov byte [ebp - 4], 0x10
mov dword [ebp - 0x1002c], 0
call fcn.004255be
mov ecx, eax
test ecx, ecx
je 0x414305
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x1002c], eax
push 0x5daa4c
lea ecx, [ebp - 0x1002c]
mov byte [ebp - 4], 0x11
call fcn.00402a50
test al, al
jne 0x413a02
push 0
push 0x5daa4c
lea ecx, [ebp - 0x1002c]
call fcn.00403260
mov byte [ebp - 4], 0x12
mov dword [ebp - 0x10028], 0
call fcn.004255be
mov ecx, eax
test ecx, ecx
je 0x41430f
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x10028], eax
push 0x5daa4c
lea ecx, [ebp - 0x10028]
mov byte [ebp - 4], 0x13
call fcn.00402a50
test al, al
jne 0x413a59
push 0
push 0x5daa4c
lea ecx, [ebp - 0x10028]
call fcn.00403260
mov byte [ebp - 4], 0x14
mov dword [ebp - 0x10024], 0
call fcn.004255be
mov ecx, eax
test ecx, ecx
je 0x414319
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x10024], eax
push 0x5daa4c
lea ecx, [ebp - 0x10024]
mov byte [ebp - 4], 0x15
call fcn.00402a50
test al, al
jne 0x413ab0
push 0
push 0x5daa4c
lea ecx, [ebp - 0x10024]
call fcn.00403260
mov byte [ebp - 4], 0x16
mov dword [ebp - 0x1004c], 0
call fcn.004255be
mov ecx, eax
test ecx, ecx
je 0x414323
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x1004c], eax
push 0x5daa4c
lea ecx, [ebp - 0x1004c]
mov byte [ebp - 4], 0x17
call fcn.00402a50
test al, al
jne 0x413b07
push 0
push 0x5daa4c
lea ecx, [ebp - 0x1004c]
call fcn.00403260
mov byte [ebp - 4], 0x18
mov eax, dword [ebp - 0x1009c]
add eax, 0x76c
push eax
lea eax, [ebp - 0x10034]
push str._04d
push eax
call fcn.00402d70
mov eax, dword [ebp - 0x100a0]
add esp, 0xc
inc eax
push eax
lea eax, [ebp - 0x10030]
push str._02d
push eax
call fcn.00402d70
add esp, 0xc
lea eax, [ebp - 0x1002c]
push dword [ebp - 0x100a4]
push str._02d
push eax
call fcn.00402d70
add esp, 0xc
lea eax, [ebp - 0x10028]
push dword [ebp - 0x100a8]
push str._02d
push eax
call fcn.00402d70
add esp, 0xc
lea eax, [ebp - 0x10024]
push dword [ebp - 0x100ac]
push str._02d
push eax
call fcn.00402d70
add esp, 0xc
lea eax, [ebp - 0x1004c]
push dword [ebp - 0x100b0]
push str._02d
push eax
call fcn.00402d70
add esp, 0xc
lea eax, [ebp - 0x10034]
lea ecx, [ebp - 0x10060]
push eax
push dword [ebp - 0x10058]
call fcn.00436ca2
lea eax, [ebp - 0x10030]
push eax
push dword [ebp - 0x10058]
lea ecx, [ebp - 0x10060]
call fcn.00436ca2
lea eax, [ebp - 0x1002c]
push eax
push dword [ebp - 0x10058]
lea ecx, [ebp - 0x10060]
call fcn.00436ca2
lea eax, [ebp - 0x10028]
push eax
push dword [ebp - 0x10058]
lea ecx, [ebp - 0x10060]
call fcn.00436ca2
lea eax, [ebp - 0x10024]
push eax
push dword [ebp - 0x10058]
lea ecx, [ebp - 0x10060]
call fcn.00436ca2
lea eax, [ebp - 0x1004c]
push eax
push dword [ebp - 0x10058]
lea ecx, [ebp - 0x10060]
call fcn.00436ca2
mov byte [ebp - 4], 0x16
mov eax, edi
mov edx, dword [ebp - 0x1004c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x413c60
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x14
mov eax, edi
mov edx, dword [ebp - 0x10024]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x413c81
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x12
mov eax, edi
mov edx, dword [ebp - 0x10028]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x413ca2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x10
mov eax, edi
mov edx, dword [ebp - 0x1002c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x413cc3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xe
mov eax, edi
mov edx, dword [ebp - 0x10030]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x413ce4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0x10034]
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x413d05
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x100c4]
add esi, 0xfffffff0
mov eax, dword [ecx]
sub dword [ebp - 0x10064], eax
mov eax, edi
add ecx, dword [ecx]
mov dword [ebp - 0x100c4], ecx
mov byte [ebp - 4], 0xb
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4137c0
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x4137c0
mov eax, str.0x80001776
mov ecx, esi
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x413d6c
test dx, dx
je 0x413d68
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x413d6c
add ecx, 4
add eax, 4
test dx, dx
jne 0x413d46
xor eax, eax
jmp 0x413d71
sbb eax, eax
or eax, 1
test eax, eax
jne 0x413d05
mov eax, dword [ebp - 0x10058]
test eax, eax
je 0x413d05
jle 0x41432d
mov eax, dword [ebp - 0x1005c]
push dword [eax]
call fcn.00577b2d
add esp, 4
mov dword [ebp - 0x100cc], eax
cmp dword [ebp - 0x10058], 1
jle 0x414332
mov eax, dword [ebp - 0x1005c]
push dword [eax + 4]
call fcn.00577b2d
add esp, 4
mov dword [ebp - 0x100dc], eax
cmp dword [ebp - 0x10058], 2
jle 0x414337
mov eax, dword [ebp - 0x1005c]
push dword [eax + 8]
call fcn.00577b2d
add esp, 4
mov dword [ebp - 0x100e4], eax
cmp dword [ebp - 0x10058], 3
jle 0x41433c
mov eax, dword [ebp - 0x1005c]
push dword [eax + 0xc]
call fcn.00577b2d
add esp, 4
mov dword [ebp - 0x100e0], eax
cmp dword [ebp - 0x10058], 4
jle 0x414341
mov eax, dword [ebp - 0x1005c]
push dword [eax + 0x10]
call fcn.00577b2d
add esp, 4
mov edi, eax
cmp dword [ebp - 0x10058], 5
jle 0x414346
mov eax, dword [ebp - 0x1005c]
push dword [eax + 0x14]
call fcn.00577b2d
add esp, 4
mov edx, eax
cmp dword [ebp - 0x100cc], 0x7b2
jl 0x41434b
mov ecx, dword [ebp - 0x100dc]
dec ecx
cmp ecx, 0xb
ja 0x4142b5
mov eax, dword [ebp - 0x100e4]
dec eax
cmp eax, 0x1e
ja 0x4142b5
mov eax, dword [ebp - 0x100e0]
cmp eax, 0x17
ja 0x4142b5
cmp edi, 0x3b
ja 0x4142b5
cmp edx, 0x3b
ja 0x4142b5
mov dword [ebp - 0x10084], eax
mov eax, dword [ebp - 0x100e4]
mov dword [ebp - 0x10080], eax
mov eax, dword [ebp - 0x100cc]
add eax, 0xfffff894
mov dword [ebp - 0x1008c], edx
mov dword [ebp - 0x10078], eax
lea eax, [ebp - 0x1008c]
push eax
mov dword [ebp - 0x10088], edi
mov dword [ebp - 0x1007c], ecx
mov dword [ebp - 0x1006c], 0xffffffff
call fcn.00578071
mov ecx, eax
mov dword [ebp - 0x100dc], eax
and ecx, edx
mov dword [ebp - 0x100cc], edx
add esp, 4
cmp ecx, 0xffffffff
je 0x414355
mov eax, dword [ebp - 0x1009c]
mov ecx, dword [ebp - 0x100a0]
add eax, 0x76c
mov dword [ebp - 0x100e0], eax
cmp eax, 0x7b2
jl 0x41435f
mov edi, ecx
cmp edi, 0xb
ja 0x4142b5
mov eax, dword [ebp - 0x100a4]
dec eax
cmp eax, 0x1e
ja 0x4142b5
mov edx, dword [ebp - 0x100a8]
cmp edx, 0x17
ja 0x4142b5
mov ecx, dword [ebp - 0x100ac]
cmp ecx, 0x3b
ja 0x4142b5
mov eax, dword [ebp - 0x100b0]
cmp eax, 0x3b
ja 0x4142b5
mov dword [ebp - 0x1008c], eax
mov eax, dword [ebp - 0x100a4]
mov dword [ebp - 0x10080], eax
mov eax, dword [ebp - 0x100e0]
add eax, 0xfffff894
mov dword [ebp - 0x10088], ecx
mov dword [ebp - 0x10078], eax
lea eax, [ebp - 0x1008c]
push eax
mov dword [ebp - 0x10084], edx
mov dword [ebp - 0x1007c], edi
mov dword [ebp - 0x1006c], 0xffffffff
call fcn.00578071
mov ecx, eax
add esp, 4
and ecx, edx
cmp ecx, 0xffffffff
je 0x414369
sub eax, dword [ebp - 0x100dc]
lea ecx, [ebp - 0x100ec]
mov dword [ebp - 0x100ec], eax
lea eax, [ebp - 0x100f0]
sbb edx, dword [ebp - 0x100cc]
push 0x5da250
push eax
mov dword [ebp - 0x100e8], edx
call fcn.00421df0
push dword [eax]
call fcn.00577b2d
mov edx, dword [ebp - 0x100f0]
or edi, 0xffffffff
add dword [ebp - 0x100d0], eax
add esp, 4
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x414023
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x5d8fd8
lea eax, [ebp - 0x100f4]
push eax
lea ecx, [ebp - 0x100ec]
call fcn.00421df0
push dword [eax]
call fcn.00577b2d
mov edx, dword [ebp - 0x100f4]
add esp, 4
add dword [ebp - 0x100c8], eax
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x414067
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x5d8fe0
lea eax, [ebp - 0x100f8]
push eax
lea ecx, [ebp - 0x100ec]
call fcn.00421df0
push dword [eax]
call fcn.00577b2d
mov edx, dword [ebp - 0x100f8]
add esp, 4
add dword [ebp - 0x100d4], eax
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4140ab
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x5d8fe8
lea eax, [ebp - 0x100fc]
push eax
lea ecx, [ebp - 0x100ec]
call fcn.00421df0
push dword [eax]
call fcn.00577b2d
mov edx, dword [ebp - 0x100fc]
add esp, 4
add dword [ebp - 0x100d8], eax
jmp 0x413cee
mov esi, dword [ebp - 0x10100]
jmp 0x413780
push esi
call dword [sym.imp.ADVAPI32.dll_CloseEventLog]
mov eax, dword [ebp - 0x100d0]
push eax
lea eax, [ebp - 0x10048]
push 0x5daa50
push eax
call fcn.00402d70
add esp, 0xc
lea eax, [ebp - 0x10044]
push dword [ebp - 0x100c8]
push 0x5daa50
push eax
call fcn.00402d70
mov esi, dword [ebp - 0x100d4]
lea eax, [ebp - 0x10040]
add esp, 0xc
push esi
push 0x5daa50
push eax
call fcn.00402d70
mov eax, dword [ebp - 0x100d8]
add esp, 0xc
push eax
lea eax, [ebp - 0x1003c]
push 0x5daa50
push eax
call fcn.00402d70
mov eax, 0x88888889
add esp, 0xc
imul esi
lea eax, [ebp - 0x10038]
add edx, esi
sar edx, 5
mov esi, edx
shr esi, 0x1f
add esi, edx
add esi, dword [ebp - 0x100c8]
push esi
push 0x5daa50
push eax
call fcn.00402d70
add esp, 0xc
mov dword [ebp - 4], 0xa
lea ecx, [ebp - 0x10060]
call fcn.00436a15
mov byte [ebp - 4], 7
mov eax, edi
mov edx, dword [ebp - 0x10038]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4141bb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 5
mov eax, edi
mov edx, dword [ebp - 0x1003c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4141dc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 3
mov eax, edi
mov edx, dword [ebp - 0x10040]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4141fd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov eax, edi
mov edx, dword [ebp - 0x10044]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41421e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10048]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], edi
dec edi
test edi, edi
jg 0x414240
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
jmp 0x414297
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0056eb08
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push 0x80004005
call fcn.004033d0
push 0x80004005
call fcn.004033d0
push 0x80004005
call fcn.004033d0
push 0x80004005
call fcn.004033d0
push 0x80004005
call fcn.004033d0
push 0x80004005
call fcn.004033d0
push 0x80004005
call fcn.004033d0
push 0x80004005
call fcn.004033d0
push 0x80004005
call fcn.004033d0
push 0x80004005
call fcn.004033d0
push 0x80004005
call fcn.004033d0
push 0x80004005
call fcn.004033d0
call fcn.004250c2
call fcn.004250c2
call fcn.004250c2
call fcn.004250c2
call fcn.004250c2
call fcn.004250c2
push 0x80004005
call fcn.004033d0
push 0x80070057
call fcn.004033d0
push 0x80004005
call fcn.004033d0
push 0x80070057
call fcn.004033d0
int3