Function at 0x415f40
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4164f2
sub esp, 0x4c
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov ecx, dword [eax + 0x18]
nop
inc dword [ecx + 0x78]
mov ecx, dword [eax + 0x18]
test byte [eax], al
mov eax, dword fs:[0x14]
mov eax, dword [eax]
cmp dword [ecx], eax
je 0x416419
mov edx, dword [ecx + 0x78]
cmp edx, 1
jg 0x416419
mov ebx, dword [ecx + 0x74]
test ebx, ebx
jne 0x416419
nop
lea ebx, [edx - 1]
mov dword [ecx + 0x78], ebx
cmp edx, 1
jne 0x415fc1
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x415fc1
mov dword [eax + 8], 0xfffffade
jmp 0x415fc1
inc dword [0x8951dc]
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov ecx, dword [esp + 0x54]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x58]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x5c]
mov dword [esp + 0xc], ebx
call fcn.00415e00
movzx eax, byte [esp + 0x10]
test al, al
jne 0x416408
xor eax, eax
test al, al
jne 0x415fbb
nop
lea eax, [0x895980]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.00436a30
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov ecx, dword [esp + 0x54]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0xc], ecx
call fcn.00415e00
movzx eax, byte [esp + 0x10]
test al, al
je 0x4163f0
mov eax, dword [esp + 0x50]
test eax, eax
jne 0x4163e5
mov eax, 1
mov byte [0x895994], al
mov eax, dword [0x8a621c]
cmp eax, 1
jne 0x4163cf
mov eax, 1
mov dword [esp + 0x14], eax
nop
lea ecx, [0x865114]
mov dword [esp], ecx
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.00436a30
movzx eax, byte [0x89dd48]
test al, al
jne 0x41635e
mov eax, dword [0x895040]
mov dword [esp + 0x40], eax
mov ecx, dword [0x895044]
mov dword [esp + 0x28], ecx
xor edx, edx
jmp 0x4160c6
mov ebx, dword [esp + 0x24]
lea edx, [ebx + 1]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x28]
cmp edx, ecx
jge 0x4160fd
mov dword [esp + 0x24], edx
mov ecx, dword [eax + edx*4]
mov dword [esp + 0x3c], ecx
mov ebx, dword [ecx + 0x34]
test byte [ebx], al
test byte [ecx], al
add ebx, 0x358
mov dword [esp], ebx
call fcn.00402200
mov eax, dword [esp + 4]
mov ecx, dword [0x89792c]
cmp eax, ecx
je 0x4160b7
jmp 0x41643b
call fcn.00417640
call fcn.004183d0
mov eax, dword [0x8a5ee0]
mov dword [0x8959c0], eax
mov dword [0x8959c4], eax
mov ecx, dword [0x8a5ee8]
cmp eax, ecx
jle 0x416129
mov dword [0x8959c0], ecx
lea eax, [0x8a9310]
mov dword [esp], eax
call fcn.00402400
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [0x8959f8], eax
mov dword [0x8959fc], ecx
mov dword [0x8959e8], 0
mov dword [0x8959ec], 0
mov eax, dword [esp + 0x14]
mov dword [0x895990], eax
call fcn.0044ddb0
mov eax, dword [esp]
mov ecx, dword [esp + 4]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ecx
mov dword [0x8959c8], eax
mov dword [0x8959cc], ecx
mov dword [0x8959f0], eax
mov dword [0x8959f4], ecx
movzx eax, byte [0x89dd48]
test al, al
jne 0x41630f
lea eax, [0x69c588]
mov dword [esp], eax
call fcn.0044b820
lea eax, [0x69c4b8]
mov dword [esp], eax
call fcn.0044b820
call fcn.00418550
inc dword [0x8959bc]
lea eax, [0x8a6560]
mov dword [esp], eax
call fcn.004146c0
mov eax, dword [0x8a7d8c]
mov ecx, dword [0x8a7d88]
mov dword [0x895a10], ecx
mov dword [0x895a14], eax
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x416301
nop
lea eax, [0x8a5edc]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.004023e0
mov eax, dword [0x8a5edc]
cmp eax, 1
jne 0x4162f6
mov eax, 1
mov byte [0x8a6104], al
test al, al
je 0x4162ea
mov eax, 1
mov byte [0x8a6100], al
nop
mov dword [0x895958], 0xffffffff
mov dword [0x895964], 0xffffffff
call fcn.004191e0
call fcn.0041c750
lea eax, [0x8a5ed0]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.004023e0
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov dword [0x8a6590], ecx
mov dword [0x8a6594], eax
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
lea eax, [0x448fb0]
mov dword [esp + 0x44], eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x44]
mov dword [esp], eax
call fcn.0044b820
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x4162d8
nop
lea eax, [0x895980]
mov dword [esp], eax
mov byte [esp + 4], 0
call fcn.00436d40
add esp, 0x4c
ret
nop
nop
lea eax, [0x69c4c8]
mov dword [esp], eax
call fcn.0044b7c0
jmp 0x4162c0
movzx eax, byte [0x8a6105]
jmp 0x41623b
cmp eax, 2
sete al
jmp 0x416228
mov byte [esp], 0
call fcn.004331d0
jmp 0x4161fd
nop
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x34], 1
mov dword [esp + 0x38], 0
mov byte [esp], 9
mov dword [esp + 4], 0xffffffff
lea eax, [esp + 0x34]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.00441000
jmp 0x4161a4
nop
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov eax, dword [0x89dd7c]
mov ecx, dword [0x89dd78]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], eax
mov byte [esp], 7
mov dword [esp + 4], 3
lea eax, [esp + 0x34]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.00441000
mov eax, dword [0x89dd78]
add eax, 1
mov ecx, dword [0x89dd7c]
mov dword [0x89dd78], eax
adc ecx, 0
mov dword [0x89dd7c], ecx
jmp 0x41609f
cmp eax, 2
jne 0x4163de
mov eax, 2
jmp 0x416070
xor eax, eax
jmp 0x416070
cmp eax, 3
sete al
jmp 0x416056
nop
lea eax, [0x895980]
mov dword [esp], eax
mov byte [esp + 4], 0
call fcn.00436d40
add esp, 0x4c
ret
call fcn.0041cf80
cmp dword [esp], 0xffffffff
setne al
jmp 0x415ff4
nop
mov edx, dword [ecx + 0x78]
lea ebx, [edx - 1]
mov dword [ecx + 0x78], ebx
cmp edx, 1
jne 0x416437
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x416437
mov dword [eax + 8], 0xfffffade
add esp, 0x4c
ret
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], ecx
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + 4]
mov dword [esp + 0x1c], eax
call fcn.00428ce0
lea eax, [0x6860e7]
mov dword [esp], eax
mov dword [esp + 4], 0xb
call fcn.00429570
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
sar eax, 0x1f
mov dword [esp + 4], eax
call fcn.004293c0
lea eax, [0x685723]
mov dword [esp], eax
mov dword [esp + 4], 0xa
call fcn.00429570
mov eax, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00429290
lea eax, [0x686815]
mov dword [esp], eax
mov dword [esp + 4], 0xd
call fcn.00429570
mov eax, dword [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00429290
call fcn.00428f00
call fcn.00428d50
lea eax, [0x689906]
mov dword [esp], eax
mov dword [esp + 4], 0x14
call fcn.00428450
ud2
call fcn.0044b940
jmp fcn.00415f40