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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x416502
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 0x416429
mov edx, dword [ecx + 0x78]
cmp edx, 1
jg 0x416429
mov ebx, dword [ecx + 0x74]
test ebx, ebx
jne 0x416429
nop
lea ebx, [edx - 1]
mov dword [ecx + 0x78], ebx
cmp edx, 1
jne 0x415fe1
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x415fe1
mov dword [eax + 8], 0xfffffade
jmp 0x415fe1
inc dword [0x9db0bc]
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.00415e20
movzx eax, byte [esp + 0x10]
test al, al
je 0x416019
call fcn.0041cf00
cmp dword [esp], 0xffffffff
jne 0x415fdb
nop
lea eax, [0x9db8e0]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.004366b0
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.00415e20
movzx eax, byte [esp + 0x10]
test al, al
je 0x416411
mov eax, dword [esp + 0x50]
test eax, eax
jne 0x416406
mov eax, 1
mov byte [0x9db8f4], al
mov eax, dword [0x9ec17c]
cmp eax, 1
jne 0x4163f0
mov eax, 1
mov dword [esp + 0x14], eax
nop
lea ecx, [0x8dc100]
mov dword [esp], ecx
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.004366b0
movzx eax, byte [0x9e3ca8]
test al, al
jne 0x41637f
mov eax, dword [0x9daedc]
mov dword [esp + 0x28], eax
mov ecx, dword [0x9daed8]
mov dword [esp + 0x40], ecx
xor edx, edx
jmp 0x4160e7
mov ebx, dword [esp + 0x24]
lea edx, [ebx + 1]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x40]
cmp edx, eax
jge 0x41611e
mov dword [esp + 0x24], edx
mov eax, dword [ecx + edx*4]
mov dword [esp + 0x3c], eax
mov ebx, dword [eax + 0x34]
test byte [ebx], al
test byte [eax], al
add ebx, 0x358
mov dword [esp], ebx
call fcn.00402150
mov eax, dword [esp + 4]
mov ecx, dword [0x9dd88c]
cmp eax, ecx
je 0x4160d8
jmp 0x41644b
call fcn.00417650
call fcn.004183e0
mov eax, dword [0x9ebe28]
mov dword [0x9db920], eax
mov dword [0x9db924], eax
mov ecx, dword [0x9ebe30]
cmp eax, ecx
jle 0x41614a
mov dword [0x9db920], ecx
lea eax, [0x9ef270]
mov dword [esp], eax
call fcn.00402350
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [0x9db958], eax
mov dword [0x9db95c], ecx
mov dword [0x9db948], 0
mov dword [0x9db94c], 0
mov eax, dword [esp + 0x14]
mov dword [0x9db8f0], eax
call fcn.0044d5e0
mov eax, dword [esp + 4]
mov ecx, dword [esp]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], eax
mov dword [0x9db928], ecx
mov dword [0x9db92c], eax
mov dword [0x9db950], ecx
mov dword [0x9db954], eax
movzx eax, byte [0x9e3ca8]
test al, al
jne 0x416330
lea eax, [0x695a54]
mov dword [esp], eax
call fcn.0044b050
lea eax, [0x695984]
mov dword [esp], eax
call fcn.0044b050
call fcn.00418560
inc dword [0x9db91c]
lea eax, [0x9ec4c0]
mov dword [esp], eax
call fcn.004146e0
mov eax, dword [0x9edcec]
mov ecx, dword [0x9edce8]
mov dword [0x9db970], ecx
mov dword [0x9db974], eax
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x416322
nop
lea eax, [0x9ebe24]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00402330
mov eax, dword [0x9ebe24]
cmp eax, 1
jne 0x416317
mov eax, 1
mov byte [0x9ec0a4], al
test al, al
je 0x41630b
mov eax, 1
mov byte [0x9ec0a0], al
nop
mov dword [0x9db8b8], 0xffffffff
mov dword [0x9db8c4], 0xffffffff
call fcn.004191f0
call fcn.0041c6d0
lea eax, [0x9ebe18]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00402330
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov dword [0x9ec4f0], eax
mov dword [0x9ec4f4], ecx
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
lea eax, [0x448920]
mov dword [esp + 0x44], eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x44]
mov dword [esp], eax
call fcn.0044b050
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x4162f9
nop
lea eax, [0x9db8e0]
mov dword [esp], eax
mov byte [esp + 4], 0
call fcn.004369c0
add esp, 0x4c
ret
nop
nop
lea eax, [0x695994]
mov dword [esp], eax
call fcn.0044aff0
jmp 0x4162e1
movzx eax, byte [0x9ec0a5]
jmp 0x41625c
cmp eax, 2
sete al
jmp 0x416249
mov byte [esp], 0
call fcn.00432e60
jmp 0x41621e
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.00440a60
jmp 0x4161c5
nop
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov eax, dword [0x9e3cdc]
mov ecx, dword [0x9e3cd8]
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.00440a60
mov eax, dword [0x9e3cd8]
add eax, 1
mov ecx, dword [0x9e3cdc]
mov dword [0x9e3cd8], eax
adc ecx, 0
mov dword [0x9e3cdc], ecx
jmp 0x4160c0
cmp eax, 2
jne 0x4163ff
mov eax, 2
jmp 0x416091
xor eax, eax
jmp 0x416091
cmp eax, 3
sete al
jmp 0x416077
nop
lea eax, [0x9db8e0]
mov dword [esp], eax
mov byte [esp + 4], 0
call fcn.004369c0
add esp, 0x4c
ret
nop
mov edx, dword [ecx + 0x78]
lea ebx, [edx - 1]
mov dword [ecx + 0x78], ebx
cmp edx, 1
jne 0x416447
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x416447
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.00428a70
lea eax, [0x672b20]
mov dword [esp], eax
mov dword [esp + 4], 0xb
call fcn.00429300
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
sar eax, 0x1f
mov dword [esp + 4], eax
call fcn.00429150
lea eax, [0x671c05]
mov dword [esp], eax
mov dword [esp + 4], 0xa
call fcn.00429300
mov eax, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00429020
lea eax, [0x673531]
mov dword [esp], eax
mov dword [esp + 4], 0xd
call fcn.00429300
mov eax, dword [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00429020
call fcn.00428c90
call fcn.00428ae0
lea eax, [0x6777c8]
mov dword [esp], eax
mov dword [esp + 4], 0x14
call fcn.004281f0
ud2
call fcn.0044b170
jmp fcn.00415f60