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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4165a7
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 0x415fff
mov edx, dword [ecx + 0x78]
cmp edx, 1
jg 0x415fff
mov ebx, dword [ecx + 0x74]
test ebx, ebx
jne 0x415fff
nop
lea ebx, [edx - 1]
mov dword [ecx + 0x78], ebx
cmp edx, 1
jne 0x416027
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x416027
mov dword [eax + 8], 0xfffffade
jmp 0x416027
nop
mov edx, dword [ecx + 0x78]
lea ebx, [edx - 1]
mov dword [ecx + 0x78], ebx
cmp edx, 1
jne 0x41601d
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x41601d
mov dword [eax + 8], 0xfffffade
add esp, 0x50
ret
inc dword [0x5dfdcc]
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.00415e60
movzx eax, byte [esp + 0x10]
test al, al
jne 0x416058
xor eax, eax
jmp 0x416064
call fcn.00420bf0
cmp dword [esp], 0xffffffff
setne al
test al, al
jne 0x416021
nop
lea eax, [0x60640c]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call fcn.00444f60
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.00415e60
movzx eax, byte [esp + 0x10]
test al, al
je 0x4161c7
mov eax, dword [esp + 0x54]
cmp eax, 2
sete al
mov byte [0x606420], al
mov eax, dword [0x605c78]
cmp eax, 1
jne 0x4160df
mov eax, 1
jmp 0x4160ed
cmp eax, 2
jne 0x4160eb
mov eax, 2
jmp 0x4160ed
xor eax, eax
mov dword [esp + 0x14], eax
lea ecx, [0x5c910c]
mov dword [esp], ecx
mov byte [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call fcn.00444f60
nop
lea eax, [0x5c912c]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call fcn.00444f60
movzx eax, byte [0x5e9f48]
test al, al
je 0x4161af
nop
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov eax, dword [0x5e9f78]
mov ecx, dword [0x5e9f7c]
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.00450070
mov eax, dword [0x5e9f78]
add eax, 1
mov ecx, dword [0x5e9f7c]
mov dword [0x5e9f78], eax
adc ecx, 0
mov dword [0x5e9f7c], ecx
mov eax, dword [0x5dfc08]
mov dword [esp + 0x44], eax
mov ecx, dword [0x5dfc0c]
mov dword [esp + 0x28], ecx
xor edx, edx
jmp 0x4161f6
nop
lea eax, [0x60640c]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.00445270
add esp, 0x50
ret
mov ebx, dword [esp + 0x24]
lea edx, [ebx + 1]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x28]
cmp edx, ecx
jge 0x41622b
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.00401eb0
mov eax, dword [esp + 4]
mov ecx, dword [0x5e59ac]
cmp ecx, eax
je 0x4161e7
jmp 0x4164f0
call fcn.00417b10
lea eax, [0x51b688]
mov dword [esp], eax
call fcn.0045c0b0
mov eax, dword [0x605930]
mov dword [0x60644c], eax
mov dword [0x606450], eax
mov ecx, dword [0x60594c]
cmp ecx, eax
jge 0x416260
mov dword [0x60644c], ecx
lea eax, [0x606190]
mov dword [esp], eax
call fcn.004020c0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov dword [0x606488], eax
mov dword [0x606484], ecx
mov dword [0x606474], 0
mov dword [0x606478], 0
mov eax, dword [esp + 0x14]
mov dword [0x60641c], eax
call fcn.0045e480
mov eax, dword [esp + 4]
mov ecx, dword [esp]
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], ecx
mov dword [0x606458], eax
mov dword [0x606454], ecx
mov dword [0x606480], eax
mov dword [0x60647c], ecx
movzx eax, byte [0x5e9f48]
test al, al
je 0x416321
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.00450070
lea eax, [0x51b764]
mov dword [esp], eax
call fcn.0045c0b0
lea eax, [0x51b68c]
mov dword [esp], eax
call fcn.0045c0b0
call fcn.00418b00
inc dword [0x606448]
lea eax, [0x606160]
mov dword [esp], eax
call fcn.0041cc40
mov eax, dword [0x606180]
mov ecx, dword [0x606184]
mov dword [0x60649c], eax
mov dword [0x6064a0], ecx
mov eax, dword [esp + 0x14]
test eax, eax
je 0x41637f
mov byte [esp], 0
call fcn.004412b0
nop
lea eax, [0x60592c]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00402090
mov eax, dword [0x60592c]
cmp eax, 1
jne 0x4163a8
mov eax, 1
jmp 0x4163ae
cmp eax, 2
sete al
mov byte [0x605b24], al
test al, al
je 0x4163bf
mov eax, 1
jmp 0x4163c6
movzx eax, byte [0x605b25]
mov byte [0x605b20], al
nop
mov dword [0x6063d8], 0xffffffff
mov dword [0x6063e4], 0xffffffff
call fcn.00419110
call fcn.0041caa0
lea eax, [0x605924]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00402090
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov dword [0x6061d8], eax
mov dword [0x6061dc], 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, [0x4165c0]
mov dword [esp + 0x48], ecx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x4c], ecx
lea ecx, [esp + 0x48]
mov dword [esp], ecx
call fcn.0045c0b0
nop
lea eax, [0x5c912c]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.00445270
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 0x4164b9
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x4164b1
mov dword [eax + 8], 0xfffffade
mov eax, dword [esp + 0x14]
test eax, eax
jmp 0x4164bf
mov eax, dword [esp + 0x14]
test eax, eax
jmp 0x4164bf
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4164d0
nop
lea eax, [0x51b69c]
mov dword [esp], eax
call fcn.0045c050
nop
lea eax, [0x60640c]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.00445270
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.00434d90
lea eax, [0x51175c]
mov dword [esp], eax
mov dword [esp + 4], 0xb
call fcn.00435670
mov eax, dword [esp + 0x1c]
mov ecx, eax
sar eax, 0x1f
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.00435470
lea eax, [0x510feb]
mov dword [esp], eax
mov dword [esp + 4], 0xa
call fcn.00435670
mov dword [esp + 4], 0
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call fcn.00435310
lea eax, [0x511bec]
mov dword [esp], eax
mov dword [esp + 4], 0xd
call fcn.00435670
mov dword [esp + 4], 0
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call fcn.00435310
call fcn.00434fb0
call fcn.00434e00
lea eax, [0x513de6]
mov dword [esp], eax
mov dword [esp + 4], 0x14
call fcn.00433870
nop
call fcn.0045c1c0
jmp fcn.00415f90