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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x41663e
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 0x416565
mov edx, dword [ecx + 0x78]
cmp edx, 1
jg 0x416565
mov ebx, dword [ecx + 0x74]
test ebx, ebx
jne 0x416565
nop
lea ebx, [edx - 1]
mov dword [ecx + 0x78], ebx
cmp edx, 1
jne 0x416061
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x416061
mov dword [eax + 8], 0xfffffade
jmp 0x416061
inc dword [0x55d43c]
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov ecx, dword [esp + 0x5c]
mov dword [esp + 8], ecx
mov edx, dword [esp + 0x58]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x60]
mov dword [esp + 0xc], ebx
call fcn.00415ec0
movzx eax, byte [esp + 0x10]
test al, al
jne 0x416554
xor eax, eax
test al, al
jne 0x41605b
nop
lea eax, [0x57a2fc]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call fcn.0043fda0
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov ecx, dword [esp + 0x5c]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 0xc], ecx
call fcn.00415ec0
movzx eax, byte [esp + 0x10]
test al, al
je 0x416534
mov eax, dword [esp + 0x54]
cmp eax, 2
sete al
mov byte [0x57a310], al
mov eax, dword [0x579cd8]
cmp eax, 1
jne 0x41651e
mov eax, 1
mov dword [esp + 0x14], eax
lea ecx, [0x54a0e8]
mov dword [esp], ecx
mov byte [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call fcn.0043fda0
nop
lea eax, [0x54a108]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call fcn.0043fda0
movzx eax, byte [0x565d88]
test al, al
jne 0x4164ad
mov eax, dword [0x55d330]
mov dword [esp + 0x44], eax
mov ecx, dword [0x55d334]
mov dword [esp + 0x28], ecx
xor edx, edx
jmp 0x416192
mov ebx, dword [esp + 0x24]
lea edx, [ebx + 1]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x28]
cmp ecx, edx
jle 0x4161c7
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, 0x24c
mov dword [esp], ebx
call fcn.00401fa0
mov eax, dword [esp + 4]
mov ecx, dword [0x56180c]
cmp eax, ecx
je 0x416183
jmp 0x416587
call fcn.004179f0
lea eax, [0x4cf198]
mov dword [esp], eax
call fcn.00457d60
mov eax, dword [0x579a54]
mov dword [0x57a33c], eax
mov dword [0x57a340], eax
mov ecx, dword [0x579a68]
cmp eax, ecx
jle 0x4161fc
mov dword [0x57a33c], ecx
lea eax, [0x57c9f8]
mov dword [esp], eax
call fcn.004021a0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov dword [0x57a378], eax
mov dword [0x57a374], ecx
mov dword [0x57a364], 0
mov dword [0x57a368], 0
mov eax, dword [esp + 0x14]
mov dword [0x57a30c], eax
call fcn.0045a3e0
mov eax, dword [esp + 4]
mov ecx, dword [esp]
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], ecx
mov dword [0x57a348], eax
mov dword [0x57a344], ecx
mov dword [0x57a370], eax
mov dword [0x57a36c], ecx
movzx eax, byte [0x565d88]
test al, al
jne 0x41645e
lea eax, [0x4cf250]
mov dword [esp], eax
call fcn.00457d60
lea eax, [0x4cf19c]
mov dword [esp], eax
call fcn.00457d60
call fcn.004188b0
inc dword [0x57a338]
lea eax, [0x57a060]
mov dword [esp], eax
call fcn.004146b0
mov eax, dword [0x57b448]
mov ecx, dword [0x57b44c]
mov dword [0x57a38c], eax
mov dword [0x57a390], ecx
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x416450
nop
lea eax, [0x579a50]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00402170
mov eax, dword [0x579a50]
cmp eax, 1
jne 0x416445
mov eax, 1
mov byte [0x579ba4], al
test al, al
je 0x416439
mov eax, 1
mov byte [0x579ba0], al
nop
mov dword [0x57a2d8], 0xffffffff
mov dword [0x57a2e4], 0xffffffff
call fcn.00418ef0
call fcn.0041c990
lea eax, [0x579a44]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00402170
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov dword [0x57a090], eax
mov dword [0x57a094], 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, [0x452730]
mov dword [esp + 0x48], ecx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x4c], ecx
lea ecx, [esp + 0x48]
mov dword [esp], ecx
call fcn.00457d60
nop
lea eax, [0x54a108]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.004400b0
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 0x416431
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x416429
mov dword [eax + 8], 0xfffffade
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x416418
lea eax, [0x57a2fc]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.004400b0
add esp, 0x50
ret
nop
lea eax, [0x4cf1ac]
mov dword [esp], eax
call fcn.00457d00
jmp 0x4163f9
mov eax, dword [esp + 0x14]
test eax, eax
jmp 0x4163f7
mov eax, dword [esp + 0x14]
test eax, eax
jmp 0x4163f7
movzx eax, byte [0x579ba5]
jmp 0x41630e
cmp eax, 2
sete al
jmp 0x4162fb
mov byte [esp], 0
call fcn.0043d950
jmp 0x4162d0
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.0044a670
jmp 0x416277
nop
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov eax, dword [0x565db8]
mov ecx, dword [0x565dbc]
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.0044a670
mov eax, dword [0x565db8]
add eax, 1
mov ecx, dword [0x565dbc]
mov dword [0x565db8], eax
adc ecx, 0
mov dword [0x565dbc], ecx
jmp 0x41616b
cmp eax, 2
jne 0x41652d
mov eax, 2
jmp 0x416111
xor eax, eax
jmp 0x416111
nop
lea eax, [0x57a2fc]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.004400b0
add esp, 0x50
ret
call fcn.0041ee20
cmp dword [esp], 0xffffffff
setne al
jmp 0x416094
nop
mov edx, dword [ecx + 0x78]
lea ebx, [edx - 1]
mov dword [ecx + 0x78], ebx
cmp edx, 1
jne 0x416583
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x416583
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.00431d30
lea eax, [0x4c6770]
mov dword [esp], eax
mov dword [esp + 4], 0xb
call fcn.00432630
mov eax, dword [esp + 0x1c]
mov ecx, eax
sar eax, 0x1f
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.00432440
lea eax, [0x4c613c]
mov dword [esp], eax
mov dword [esp + 4], 0xa
call fcn.00432630
mov dword [esp + 4], 0
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call fcn.004322d0
lea eax, [0x4c6b70]
mov dword [esp], eax
mov dword [esp + 4], 0xd
call fcn.00432630
mov dword [esp + 4], 0
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call fcn.004322d0
call fcn.00431f50
call fcn.00431da0
lea eax, [0x4c899f]
mov dword [esp], eax
mov dword [esp + 4], 0x14
call fcn.004307d0
nop
call fcn.00457e80
jmp fcn.00415fe0