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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x415f82
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 0x415ea9
mov edx, dword [ecx + 0x78]
cmp edx, 1
jg 0x415ea9
mov ebx, dword [ecx + 0x74]
test ebx, ebx
jne 0x415ea9
nop
lea ebx, [edx - 1]
mov dword [ecx + 0x78], ebx
cmp edx, 1
jne 0x415a51
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x415a51
mov dword [eax + 8], 0xfffffade
jmp 0x415a51
inc dword [0x727d3c]
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.00415890
movzx eax, byte [esp + 0x10]
test al, al
jne 0x415e98
xor eax, eax
test al, al
jne 0x415a4b
nop
lea eax, [0x728340]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.00436890
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.00415890
movzx eax, byte [esp + 0x10]
test al, al
je 0x415e80
mov eax, dword [esp + 0x50]
test eax, eax
jne 0x415e75
mov eax, 1
mov byte [0x728354], al
mov eax, dword [0x73855c]
cmp eax, 1
jne 0x415e5f
mov eax, 1
mov dword [esp + 0x14], eax
nop
lea ecx, [0x7090d8]
mov dword [esp], ecx
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.00436890
movzx eax, byte [0x730108]
test al, al
jne 0x415dee
mov eax, dword [0x727c18]
mov dword [esp + 0x40], eax
mov ecx, dword [0x727c1c]
mov dword [esp + 0x28], ecx
xor edx, edx
jmp 0x415b56
mov ebx, dword [esp + 0x24]
lea edx, [ebx + 1]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x28]
cmp edx, ecx
jge 0x415b8d
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.00402090
mov eax, dword [esp + 4]
mov ecx, dword [0x729cec]
cmp eax, ecx
je 0x415b47
jmp 0x415ecb
call fcn.004170d0
call fcn.00417e60
mov eax, dword [0x738274]
mov dword [0x728380], eax
mov dword [0x728384], eax
mov ecx, dword [0x73827c]
cmp eax, ecx
jle 0x415bb9
mov dword [0x728380], ecx
lea eax, [0x73b6d0]
mov dword [esp], eax
call fcn.00402290
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [0x7283b8], eax
mov dword [0x7283bc], ecx
mov dword [0x7283a8], 0
mov dword [0x7283ac], 0
mov eax, dword [esp + 0x14]
mov dword [0x728350], eax
call fcn.0044dbc0
mov eax, dword [esp]
mov ecx, dword [esp + 4]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ecx
mov dword [0x728388], eax
mov dword [0x72838c], ecx
mov dword [0x7283b0], eax
mov dword [0x7283b4], ecx
movzx eax, byte [0x730108]
test al, al
jne 0x415d9f
lea eax, [0x5d455c]
mov dword [esp], eax
call fcn.0044b630
lea eax, [0x5d448c]
mov dword [esp], eax
call fcn.0044b630
call fcn.00417fe0
inc dword [0x72837c]
lea eax, [0x738800]
mov dword [esp], eax
call fcn.00413fa0
mov eax, dword [0x73a14c]
mov ecx, dword [0x73a148]
mov dword [0x7283d0], ecx
mov dword [0x7283d4], eax
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x415d91
nop
lea eax, [0x738270]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00402270
mov eax, dword [0x738270]
cmp eax, 1
jne 0x415d86
mov eax, 1
mov byte [0x738424], al
test al, al
je 0x415d7a
mov eax, 1
mov byte [0x738420], al
nop
mov dword [0x728318], 0xffffffff
mov dword [0x728324], 0xffffffff
call fcn.00418c60
call fcn.0041c1d0
lea eax, [0x738264]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00402270
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov dword [0x738830], ecx
mov dword [0x738834], eax
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
lea eax, [0x448f00]
mov dword [esp + 0x44], eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x44]
mov dword [esp], eax
call fcn.0044b630
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x415d68
nop
lea eax, [0x728340]
mov dword [esp], eax
mov byte [esp + 4], 0
call fcn.00436ba0
add esp, 0x4c
ret
nop
nop
lea eax, [0x5d449c]
mov dword [esp], eax
call fcn.0044b5d0
jmp 0x415d50
movzx eax, byte [0x738425]
jmp 0x415ccb
cmp eax, 2
sete al
jmp 0x415cb8
mov byte [esp], 0
call fcn.00433080
jmp 0x415c8d
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.00440f50
jmp 0x415c34
nop
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov eax, dword [0x73013c]
mov ecx, dword [0x730138]
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.00440f50
mov eax, dword [0x730138]
add eax, 1
mov ecx, dword [0x73013c]
mov dword [0x730138], eax
adc ecx, 0
mov dword [0x73013c], ecx
jmp 0x415b2f
cmp eax, 2
jne 0x415e6e
mov eax, 2
jmp 0x415b00
xor eax, eax
jmp 0x415b00
cmp eax, 3
sete al
jmp 0x415ae6
nop
lea eax, [0x728340]
mov dword [esp], eax
mov byte [esp + 4], 0
call fcn.00436ba0
add esp, 0x4c
ret
call fcn.0041ca00
cmp dword [esp], 0xffffffff
setne al
jmp 0x415a84
nop
mov edx, dword [ecx + 0x78]
lea ebx, [edx - 1]
mov dword [ecx + 0x78], ebx
cmp edx, 1
jne 0x415ec7
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x415ec7
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.00428b90
lea eax, [0x5c7a97]
mov dword [esp], eax
mov dword [esp + 4], 0xb
call fcn.00429420
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
sar eax, 0x1f
mov dword [esp + 4], eax
call fcn.00429270
lea eax, [0x5c7412]
mov dword [esp], eax
mov dword [esp + 4], 0xa
call fcn.00429420
mov eax, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00429140
lea eax, [0x5c7f4a]
mov dword [esp], eax
mov dword [esp + 4], 0xd
call fcn.00429420
mov eax, dword [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00429140
call fcn.00428db0
call fcn.00428c00
lea eax, [0x5ca5b3]
mov dword [esp], eax
mov dword [esp + 4], 0x14
call fcn.00428300
ud2
call fcn.0044b750
jmp fcn.004159d0