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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x415a2c
sub esp, 0x60
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov ecx, dword [eax + 0x18]
nop
inc dword [ecx + 0x7c]
mov ecx, dword [eax + 0x18]
test byte [eax], al
mov eax, dword fs:[0x14]
mov eax, dword [eax]
cmp dword [ecx], eax
je 0x41542f
mov edx, dword [ecx + 0x7c]
cmp edx, 1
jg 0x41542f
mov ebx, dword [ecx + 0x78]
test ebx, ebx
jne 0x41542f
nop
lea ebx, [edx - 1]
mov dword [ecx + 0x7c], ebx
cmp edx, 1
jne 0x415457
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x415457
mov dword [eax + 8], 0xfffffade
jmp 0x415457
nop
mov edx, dword [ecx + 0x7c]
lea ebx, [edx - 1]
mov dword [ecx + 0x7c], ebx
cmp edx, 1
jne 0x41544d
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x41544d
mov dword [eax + 8], 0xfffffade
add esp, 0x60
ret
inc dword [0xe7368c]
mov eax, dword [esp + 0x64]
mov dword [esp], eax
mov ecx, dword [esp + 0x6c]
mov dword [esp + 8], ecx
mov edx, dword [esp + 0x68]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x70]
mov dword [esp + 0xc], ebx
call fcn.00415250
movzx eax, byte [esp + 0x10]
test al, al
jne 0x415488
xor eax, eax
jmp 0x415494
call fcn.004228f0
cmp dword [esp], 0xffffffff
setne al
test al, al
jne 0x415451
lea eax, [0xe73b98]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov byte [esp + 0x10], 0x12
call fcn.00445760
mov eax, dword [esp + 0x64]
mov dword [esp], eax
mov ecx, dword [esp + 0x6c]
mov dword [esp + 8], ecx
mov edx, dword [esp + 0x68]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x70]
mov dword [esp + 0xc], ebx
call fcn.00415250
movzx eax, byte [esp + 0x10]
test al, al
je 0x41560d
mov eax, dword [0xe996b8]
cmp eax, 1
jne 0x415503
mov eax, 1
jmp 0x415511
cmp eax, 2
jne 0x41550f
mov eax, 2
jmp 0x415511
xor eax, eax
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x64]
cmp ecx, 2
sete dl
mov byte [esp + 0x23], dl
lea ebx, [0x808278]
mov dword [esp], ebx
mov byte [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov byte [esp + 0x10], 0x12
call fcn.00445760
lea eax, [0x808298]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov byte [esp + 0x10], 0x12
call fcn.00445760
movzx eax, byte [esp + 0x23]
mov byte [0xe73bac], al
movzx eax, byte [0xe7d708]
test al, al
je 0x4155f5
nop
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov eax, dword [0xe7d738]
mov ecx, dword [0xe7d73c]
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], ecx
mov byte [esp], 7
mov dword [esp + 4], 3
lea eax, [esp + 0x44]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.00450d00
mov eax, dword [0xe7d738]
mov ecx, dword [0xe7d73c]
add eax, 1
adc ecx, 0
mov dword [0xe7d738], eax
mov dword [0xe7d73c], ecx
mov eax, dword [0xe73310]
mov dword [esp + 0x54], eax
mov ecx, dword [0xe73314]
mov dword [esp + 0x38], ecx
xor edx, edx
jmp 0x41563c
nop
lea eax, [0xe73b98]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.00445a80
add esp, 0x60
ret
mov ebx, dword [esp + 0x34]
lea edx, [ebx + 1]
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x38]
cmp edx, ecx
jge 0x415671
mov dword [esp + 0x34], edx
mov ecx, dword [eax + edx*4]
mov dword [esp + 0x4c], ecx
mov ebx, dword [ecx + 0x30]
test byte [ebx], al
add ebx, 0x24c
mov dword [esp], ebx
call fcn.00401f10
mov eax, dword [0xe79158]
mov ecx, dword [esp + 4]
cmp ecx, eax
je 0x41562d
jmp 0x415975
call fcn.004173b0
lea eax, [0x68cc3c]
mov dword [esp], eax
call fcn.0045daa0
mov eax, dword [0xe99114]
mov dword [0xe73bd0], eax
mov dword [0xe73bd4], eax
mov ecx, dword [0xe99130]
cmp ecx, eax
jge 0x4156a6
mov dword [0xe73bd0], ecx
lea eax, [0xe99ef0]
mov dword [esp], eax
call fcn.00402180
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov dword [0xe73c0c], eax
mov dword [0xe73c08], ecx
mov dword [0xe73bf8], 0
mov dword [0xe73bfc], 0
mov eax, dword [esp + 0x28]
mov dword [0xe73ba8], eax
call fcn.0045fd30
mov eax, dword [esp + 4]
mov ecx, dword [esp]
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], ecx
mov dword [0xe73bdc], eax
mov dword [0xe73bd8], ecx
mov dword [0xe73c04], eax
mov dword [0xe73c00], ecx
movzx eax, byte [0xe7d708]
test al, al
je 0x415767
nop
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x44], 1
mov dword [esp + 0x48], 0
mov byte [esp], 9
mov dword [esp + 4], 0xffffffff
lea eax, [esp + 0x44]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.00450d00
lea eax, [0x68cd14]
mov dword [esp], eax
call fcn.0045daa0
lea eax, [0x68cc40]
mov dword [esp], eax
call fcn.0045daa0
call fcn.00418370
nop
lea eax, [0xe73bcc]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00402080
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
mov edx, dword [0xe99114]
lea ebx, [0xe99ea0]
mov dword [esp], ebx
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0x64]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x1c], eax
call fcn.0041d3b0
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
lea edx, [0xe99700]
mov dword [esp], edx
mov byte [esp + 4], 1
mov dword [esp + 0xc], ecx
mov dword [esp + 8], eax
call fcn.004188d0
mov eax, dword [esp + 0x28]
test eax, eax
je 0x41581b
mov byte [esp], 0
call fcn.00441cc0
lea eax, [0xe99110]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00402150
mov eax, dword [0xe99110]
cmp eax, 1
jne 0x415843
mov eax, 1
jmp 0x415849
cmp eax, 2
sete al
mov byte [0xe994c4], al
test al, al
je 0x41585a
mov eax, 1
jmp 0x415861
movzx eax, byte [0xe994c5]
mov byte [0xe994c0], al
nop
mov dword [0xe73b58], 0xffffffff
mov dword [0xe73b64], 0xffffffff
call fcn.00419650
call fcn.0041d260
lea eax, [0xe99108]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00402150
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov ecx, dword [eax + 0x18]
nop
inc dword [ecx + 0x7c]
mov eax, dword [eax + 0x18]
mov dword [esp + 0x50], eax
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
lea ecx, [0x415a40]
mov dword [esp + 0x58], ecx
lea ecx, [esp + 0x3c]
mov dword [esp + 0x5c], ecx
lea ecx, [esp + 0x58]
mov dword [esp], ecx
call fcn.0045daa0
lea eax, [0x808298]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.00445a80
nop
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov ecx, dword [esp + 0x50]
mov edx, dword [ecx + 0x7c]
lea ebx, [edx - 1]
mov dword [ecx + 0x7c], ebx
cmp edx, 1
jne 0x41593f
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x415937
mov dword [eax + 8], 0xfffffade
mov eax, dword [esp + 0x28]
test eax, eax
jmp 0x415945
mov eax, dword [esp + 0x28]
test eax, eax
jmp 0x415945
mov eax, dword [esp + 0x28]
test eax, eax
je 0x415955
lea eax, [0x68cc50]
mov dword [esp], eax
call fcn.0045da40
nop
lea eax, [0xe73b98]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.00445a80
add esp, 0x60
ret
mov dword [esp + 0x24], ecx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x4c]
mov eax, dword [eax]
mov dword [esp + 0x2c], eax
call fcn.00435240
lea eax, [0x674b16]
mov dword [esp], eax
mov dword [esp + 4], 0xb
call fcn.00435a90
mov eax, dword [esp + 0x2c]
mov ecx, eax
sar eax, 0x1f
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.004358d0
lea eax, [0x674143]
mov dword [esp], eax
mov dword [esp + 4], 0xa
call fcn.00435a90
mov dword [esp + 4], 0
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call fcn.00435780
lea eax, [0x675184]
mov dword [esp], eax
mov dword [esp + 4], 0xd
call fcn.00435a90
mov dword [esp + 4], 0
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call fcn.00435780
call fcn.00435440
call fcn.004352b0
lea eax, [0x6781d5]
mov dword [esp], eax
mov dword [esp + 4], 0x14
call fcn.00433ba0
nop
call fcn.0045dbb0
jmp fcn.004153c0