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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x41657b
sub esp, 0x50
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 0x4164a4
mov edx, dword [ecx + 0x78]
cmp edx, 1
jg 0x4164a4
mov ebx, dword [ecx + 0x74]
test ebx, ebx
jne 0x4164a4
nop
lea ebx, [edx - 1]
mov dword [ecx + 0x78], ebx
cmp edx, 1
jne 0x415fa1
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x415fa1
mov dword [eax + 8], 0xfffffade
jmp 0x415fa1
inc dword [0x726c0c]
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov ecx, dword [esp + 0x58]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x5c]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x60]
mov dword [esp + 0xc], ebx
call fcn.00415df0
movzx eax, byte [esp + 0x10]
test al, al
jne 0x416493
xor eax, eax
test al, al
jne 0x415f9b
nop
lea eax, [0x73c920]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call fcn.0043fb40
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov ecx, dword [esp + 0x58]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 0xc], ecx
call fcn.00415df0
movzx eax, byte [esp + 0x10]
test al, al
je 0x416473
mov eax, dword [esp + 0x54]
cmp eax, 2
sete al
mov byte [0x73c934], al
mov eax, dword [0x73c1fc]
cmp eax, 1
jne 0x41645d
mov eax, 1
mov dword [esp + 0x14], eax
lea ecx, [0x626114]
mov dword [esp], ecx
mov byte [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call fcn.0043fb40
nop
lea eax, [0x626134]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call fcn.0043fb40
movzx eax, byte [0x733d68]
test al, al
jne 0x4163ec
mov eax, dword [0x726988]
mov dword [esp + 0x44], eax
mov ecx, dword [0x72698c]
mov dword [esp + 0x28], ecx
xor edx, edx
jmp 0x4160d2
mov ebx, dword [esp + 0x24]
lea edx, [ebx + 1]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x28]
cmp ecx, edx
jle 0x416107
mov dword [esp + 0x24], edx
mov ecx, dword [eax + edx*4]
mov dword [esp + 0x3c], ecx
mov ebx, dword [ecx + 0x30]
test byte [ebx], al
add ebx, 0x358
mov dword [esp], ebx
call fcn.00401f10
mov eax, dword [esp + 4]
mov ecx, dword [0x72d50c]
cmp eax, ecx
je 0x4160c3
jmp 0x4164c6
call fcn.004177d0
lea eax, [0x563020]
mov dword [esp], eax
call fcn.004581e0
mov eax, dword [0x73bea0]
mov dword [0x73c960], eax
mov dword [0x73c964], eax
mov ecx, dword [0x73beb4]
cmp eax, ecx
jle 0x41613c
mov dword [0x73c960], ecx
lea eax, [0x73f000]
mov dword [esp], eax
call fcn.00402100
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [0x73c998], eax
mov dword [0x73c99c], ecx
mov dword [0x73c988], 0
mov dword [0x73c98c], 0
mov eax, dword [esp + 0x14]
mov dword [0x73c930], eax
call fcn.0045a800
mov eax, dword [esp]
mov ecx, dword [esp + 4]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ecx
mov dword [0x73c968], eax
mov dword [0x73c96c], ecx
mov dword [0x73c990], eax
mov dword [0x73c994], ecx
movzx eax, byte [0x733d68]
test al, al
jne 0x41639e
lea eax, [0x563100]
mov dword [esp], eax
call fcn.004581e0
lea eax, [0x563024]
mov dword [esp], eax
call fcn.004581e0
call fcn.00418640
inc dword [0x73c95c]
lea eax, [0x73c580]
mov dword [esp], eax
call fcn.00414760
mov eax, dword [0x73da68]
mov ecx, dword [0x73da6c]
mov dword [0x73c9b0], eax
mov dword [0x73c9b4], ecx
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x416390
nop
lea eax, [0x73be9c]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.004020e0
mov eax, dword [0x73be9c]
cmp eax, 1
jne 0x416385
mov eax, 1
mov byte [0x73c0c4], al
test al, al
je 0x416379
mov eax, 1
mov byte [0x73c0c0], al
nop
mov dword [0x73c8f8], 0xffffffff
mov dword [0x73c904], 0xffffffff
call fcn.00418ab0
call fcn.0041c6c0
lea eax, [0x73be90]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.004020e0
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov dword [0x73c5b0], eax
mov dword [0x73c5b4], ecx
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov ecx, dword [eax + 0x18]
nop
inc dword [ecx + 0x78]
mov eax, dword [eax + 0x18]
mov dword [esp + 0x40], eax
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
lea ecx, [0x452590]
mov dword [esp + 0x48], ecx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x4c], ecx
lea ecx, [esp + 0x48]
mov dword [esp], ecx
call fcn.004581e0
nop
lea eax, [0x626134]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.0043fe50
nop
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov ecx, dword [esp + 0x40]
mov edx, dword [ecx + 0x78]
lea ebx, [edx - 1]
mov dword [ecx + 0x78], ebx
cmp edx, 1
jne 0x416371
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x416369
mov dword [eax + 8], 0xfffffade
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x416358
lea eax, [0x73c920]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.0043fe50
add esp, 0x50
ret
nop
lea eax, [0x563034]
mov dword [esp], eax
call fcn.00458180
jmp 0x416339
mov eax, dword [esp + 0x14]
test eax, eax
jmp 0x416337
mov eax, dword [esp + 0x14]
test eax, eax
jmp 0x416337
movzx eax, byte [0x73c0c5]
jmp 0x41624e
cmp eax, 2
sete al
jmp 0x41623b
mov byte [esp], 0
call fcn.0043c8b0
jmp 0x416210
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.0044a6e0
jmp 0x4161b7
nop
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov eax, dword [0x733d98]
mov ecx, dword [0x733d9c]
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], ecx
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.0044a6e0
mov eax, dword [0x733d98]
add eax, 1
mov ecx, dword [0x733d9c]
mov dword [0x733d98], eax
adc ecx, 0
mov dword [0x733d9c], ecx
jmp 0x4160ab
cmp eax, 2
jne 0x41646c
mov eax, 2
jmp 0x416051
xor eax, eax
jmp 0x416051
nop
lea eax, [0x73c920]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.0043fe50
add esp, 0x50
ret
call fcn.0041ecc0
cmp dword [esp], 0xffffffff
setne al
jmp 0x415fd4
nop
mov edx, dword [ecx + 0x78]
lea ebx, [edx - 1]
mov dword [ecx + 0x78], ebx
cmp edx, 1
jne 0x4164c2
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x4164c2
mov dword [eax + 8], 0xfffffade
add esp, 0x50
ret
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], ecx
mov eax, dword [esp + 0x3c]
mov eax, dword [eax]
mov dword [esp + 0x1c], eax
call fcn.00431560
lea eax, [0x54402d]
mov dword [esp], eax
mov dword [esp + 4], 0xb
call fcn.00431e00
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
sar eax, 0x1f
mov dword [esp + 4], eax
call fcn.00431c30
lea eax, [0x5431df]
mov dword [esp], eax
mov dword [esp + 4], 0xa
call fcn.00431e00
mov eax, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00431b00
lea eax, [0x54495b]
mov dword [esp], eax
mov dword [esp + 4], 0xd
call fcn.00431e00
mov eax, dword [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00431b00
call fcn.00431780
call fcn.004315d0
lea eax, [0x5487eb]
mov dword [esp], eax
mov dword [esp + 4], 0x14
call fcn.0042ff20
nop
call fcn.00458300
jmp fcn.00415f20