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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x41a413
sub esp, 0x60
mov eax, dword [esp + 0x64]
mov ecx, dword [eax + 0x18]
mov edx, dword fs:[0x14]
mov edx, dword [edx]
cmp dword [ecx], edx
je 0x419f8a
mov ecx, dword [edx + 0x18]
mov edx, dword [ecx + 0x7c]
test edx, edx
jg 0x419f82
mov ecx, dword [ecx + 0x78]
test ecx, ecx
je 0x419f86
add esp, 0x60
ret
xor ecx, ecx
jmp 0x419f93
add esp, 0x60
ret
movzx ecx, byte [esp + 0x19]
mov byte [esp + 0x19], cl
nop
lea eax, [0x5a4044]
mov dword [esp], eax
call fcn.00401f80
movzx eax, byte [esp + 4]
test al, al
jne 0x41a3dd
nop
lea eax, [0x5a4680]
mov dword [esp], eax
call fcn.00402240
nop
mov eax, dword [esp + 8]
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x20], ecx
lea edx, [0x5a4688]
mov dword [esp], edx
call fcn.00402240
mov eax, dword [esp + 0x64]
mov ecx, dword [eax + 0xe8]
mov edx, dword [eax + 0xec]
xor ebx, ebx
sub ebx, ecx
mov dword [esp + 0x3c], ebx
mov ecx, 0
sbb ecx, edx
mov dword [esp + 0x40], ecx
mov edx, dword [esp + 8]
mov dword [esp + 0x28], edx
mov ebp, dword [esp + 4]
mov dword [esp + 0x1c], ebp
mov dword [esp + 4], ecx
mov dword [esp], ebx
call fcn.0044c530
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call fcn.0044ae60
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.0044c5c0
mov eax, dword [esp + 0xc]
test eax, eax
setl al
sete cl
mov edx, dword [esp + 8]
cmp edx, 0x10000
setb bl
and ebx, ecx
or ebx, eax
mov eax, dword [esp + 0xc]
test bl, bl
jne 0x41a077
mov ecx, dword [esp + 0x40]
mov ebx, dword [esp + 0x3c]
jmp 0x41a0c2
mov dword [esp + 4], 0
mov dword [esp], 0x10000
call fcn.0044c530
mov eax, dword [esp + 0x28]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x1c]
mov dword [esp], ecx
call fcn.0044ae60
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.0044c5c0
mov ebx, dword [esp + 8]
mov ecx, dword [esp + 0xc]
xor eax, eax
mov edx, 0x10000
mov dword [esp + 0x30], edx
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ecx
nop
lea ebp, [0x5a4640]
mov dword [esp], ebp
call fcn.004020c0
mov eax, dword [esp + 4]
test eax, eax
seta cl
mov edx, dword [esp + 8]
test edx, edx
sete bl
xchg ebp, ebx
setg bl
xchg ebp, ebx
and ebx, ecx
or ebp, ebx
mov ecx, dword [esp + 8]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x41a115
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x30]
jmp 0x41a25e
mov ebx, dword [esp + 0x30]
cmp ebx, eax
xchg ebp, ebx
seta bl
xchg ebp, ebx
mov esi, dword [esp + 0x38]
cmp esi, edx
sete dl
xchg edi, ebx
setg bl
xchg edi, ebx
and edx, ebp
or edi, edx
xchg edi, eax
test al, al
xchg edi, eax
jne 0x41a16f
mov edx, dword [esp + 0x64]
mov ebp, dword [edx + 0xe8]
mov edi, dword [edx + 0xec]
mov eax, ebx
mov ebx, dword [esp + 0x3c]
add ebp, ebx
mov ebx, dword [esp + 0x40]
adc edi, ebx
mov dword [edx + 0xe8], ebp
mov dword [edx + 0xec], edi
mov ecx, esi
mov ebx, eax
jmp 0x41a1fd
mov dword [esp + 0x24], ecx
mov dword [esp + 0x4c], eax
mov edx, dword [esp + 0x64]
mov ebx, dword [edx + 0xe8]
mov dword [esp + 0x48], ebx
mov ebp, dword [edx + 0xec]
mov dword [esp + 0x44], ebp
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.0044c530
mov eax, dword [esp + 0x28]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
call fcn.0044ae60
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.0044c5c0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x48]
add eax, edx
mov edx, dword [esp + 0x44]
adc ecx, edx
add eax, 1
adc ecx, 0
mov edx, dword [esp + 0x64]
mov dword [edx + 0xe8], eax
mov dword [edx + 0xec], ecx
mov ecx, dword [esp + 0x38]
mov ebx, dword [esp + 0x30]
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x4c]
xor edx, edx
sub edx, eax
mov ebp, 0
sbb ebp, esi
sub ebx, eax
mov dword [esp + 0x34], ebx
sbb ecx, esi
mov dword [esp + 0x38], ecx
test ebx, ebx
sete al
mov byte [esp + 0x1b], al
test ecx, ecx
xchg esi, ebx
sete bl
xchg esi, ebx
xchg esi, eax
mov byte [esp + 0x1a], al
xchg esi, eax
lea edi, [0x5a4640]
mov dword [esp], edi
mov dword [esp + 8], ebp
mov dword [esp + 4], edx
call fcn.004020e0
movzx eax, byte [esp + 0x1a]
movzx ecx, byte [esp + 0x1b]
and eax, ecx
test al, al
jne 0x41a3a7
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
movzx edx, byte [0x588328]
test dl, dl
je 0x41a2b2
movzx edx, byte [esp + 0x19]
test dl, dl
jne 0x41a2b7
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], eax
mov byte [esp], 0x2b
mov dword [esp + 4], 1
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
call fcn.00456400
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
mov edx, 1
jmp 0x41a2b7
movzx edx, byte [esp + 0x19]
mov byte [esp + 0x19], dl
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
lea ebx, [0x41a420]
mov dword [esp + 0x50], ebx
mov ebp, dword [esp + 0x64]
mov dword [esp + 0x54], ebp
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x50]
mov dword [esp], eax
call fcn.00462260
mov eax, dword [esp + 0x64]
mov ecx, dword [eax + 0x44]
mov edx, dword [0x5a3e90]
test edx, edx
jne 0x41a31b
mov dword [eax + 0x44], 0
jmp 0x41a329
lea edi, [eax + 0x44]
mov edx, eax
xor eax, eax
call fcn.00463740
mov eax, edx
test ecx, ecx
je 0x41a336
call fcn.00415460
mov eax, dword [esp + 0x64]
mov ecx, dword [eax + 0xec]
test ecx, ecx
jge 0x41a371
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x41a360
lea eax, [0x4d8660]
mov dword [esp], eax
call fcn.00462200
movzx ecx, byte [esp + 0x19]
jmp 0x419f93
call fcn.0041a940
movzx eax, byte [esp]
test al, al
je 0x419f8e
movzx eax, byte [esp + 0x19]
test al, al
je 0x41a3a3
mov byte [esp], 0x2c
mov dword [esp + 4], 0xffffffff
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
call fcn.00456400
add esp, 0x60
ret
movzx eax, byte [esp + 0x19]
test al, al
je 0x41a3d9
mov byte [esp], 0x2c
mov dword [esp + 4], 0xffffffff
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
call fcn.00456400
add esp, 0x60
ret
movzx eax, byte [esp + 0x19]
test al, al
je 0x41a40f
mov byte [esp], 0x2c
mov dword [esp + 4], 0xffffffff
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
call fcn.00456400
add esp, 0x60
ret
call fcn.00462370
jmp fcn.00419f40