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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x419fee
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 0x419c3a
mov ecx, dword [edx + 0x18]
mov edx, dword [ecx + 0x78]
test edx, edx
jg 0x419c32
mov ecx, dword [ecx + 0x74]
test ecx, ecx
je 0x419c36
add esp, 0x60
ret
xor ecx, ecx
jmp 0x419c43
add esp, 0x60
ret
movzx ecx, byte [esp + 0x17]
mov byte [esp + 0x17], cl
lea eax, [0x54d288]
mov dword [esp], eax
call fcn.004024e0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.00407cf0
movsd xmm0, qword [esp + 8]
movsd qword [esp + 0x40], xmm0
lea eax, [0x54d290]
mov dword [esp], eax
call fcn.004024e0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.00407cf0
mov eax, dword [esp + 0x64]
mov ecx, dword [eax + 0xe4]
xor edx, edx
sub edx, ecx
mov dword [esp + 0x28], edx
mov ecx, dword [eax + 0xe8]
mov ebx, 0
sbb ebx, ecx
mov dword [esp + 0x2c], ebx
movsd xmm0, qword [esp + 8]
movsd qword [esp + 0x48], xmm0
mov dword [esp + 4], ebx
mov dword [esp], edx
call fcn.00458f50
movsd xmm0, qword [esp + 0x40]
mulsd xmm0, qword [esp + 8]
movsd qword [esp], xmm0
call fcn.00458eb0
mov eax, dword [esp + 0xc]
test eax, eax
setl cl
mov edx, dword [esp + 8]
cmp edx, 0x10000
setb bl
test eax, eax
sete al
and ebx, eax
or ebx, ecx
mov eax, dword [esp + 0xc]
test bl, bl
jne 0x419d1b
mov ebx, dword [esp + 0x2c]
mov ecx, edx
mov edx, dword [esp + 0x28]
jmp 0x419d58
mov dword [esp + 4], 0
mov dword [esp], 0x10000
call fcn.00458f50
movsd xmm0, qword [esp + 8]
movsd xmm1, qword [esp + 0x48]
mulsd xmm0, xmm1
movsd qword [esp], xmm0
call fcn.00458eb0
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0xc]
xor eax, eax
mov ecx, 0x10000
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], ebx
lea ebp, [0x54d250]
mov dword [esp], ebp
call fcn.00402390
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 ecx, ebx
or ebp, ecx
mov ecx, dword [esp + 8]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x419daa
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
jmp 0x419ee4
mov ebx, dword [esp + 0x20]
cmp ebx, eax
xchg ebp, ebx
seta bl
xchg ebp, ebx
mov esi, dword [esp + 0x24]
cmp esi, edx
sete dl
xchg edi, ebx
setg bl
xchg edi, ebx
and ebp, edx
or edi, ebp
xchg edi, eax
test al, al
xchg edi, eax
jne 0x419e00
mov edx, dword [esp + 0x64]
mov ebp, dword [edx + 0xe4]
mov edi, dword [esp + 0x28]
add ebp, edi
mov edi, dword [edx + 0xe8]
mov dword [edx + 0xe4], ebp
mov ebp, dword [esp + 0x2c]
adc edi, ebp
mov dword [edx + 0xe8], edi
mov eax, ebx
jmp 0x419e85
mov dword [esp + 0x34], ecx
mov dword [esp + 0x30], eax
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.00458f50
mov eax, dword [esp + 0x64]
mov ecx, dword [eax + 0xe4]
mov dword [esp + 0x3c], ecx
mov edx, dword [eax + 0xe8]
mov dword [esp + 0x38], edx
movsd xmm0, qword [esp + 8]
movsd xmm1, qword [esp + 0x48]
mulsd xmm0, xmm1
movsd qword [esp], xmm0
call fcn.00458eb0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x3c]
mov edx, eax
add eax, ecx
mov ebx, eax
add eax, 1
mov ebp, dword [esp + 0xc]
mov esi, dword [esp + 0x64]
mov dword [esi + 0xe4], eax
add edx, ecx
mov eax, dword [esp + 0x38]
adc ebp, eax
add ebx, 1
adc ebp, 0
mov dword [esi + 0xe8], ebp
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x34]
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], ebx
xor ecx, ecx
sub ecx, ebx
sub eax, ebx
mov dword [esp + 0x3c], eax
lea ebp, [0x54d250]
mov dword [esp], ebp
xor ebp, ebp
sub ebp, ebx
mov ebp, 0
sbb ebp, esi
mov dword [esp + 8], ebp
mov dword [esp + 4], ecx
call fcn.004023a0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
sub eax, ecx
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
sbb eax, ecx
mov ecx, dword [esp + 0x3c]
test ecx, ecx
sete dl
test eax, eax
sete bl
and ebx, edx
test bl, bl
jne 0x419fdc
movzx edx, byte [0x5310c8]
test dl, dl
je 0x419f14
movzx edx, byte [esp + 0x17]
test dl, dl
jne 0x419f19
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], ecx
call fcn.004524b0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov edx, 1
jmp 0x419f19
movzx edx, byte [esp + 0x17]
mov byte [esp + 0x17], dl
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
lea ebx, [0x41a000]
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.0045c390
mov eax, dword [esp + 0x64]
mov ecx, dword [eax + 0x44]
mov edx, dword [0x54cbf0]
test edx, edx
jne 0x419f7d
mov dword [eax + 0x44], 0
jmp 0x419f8b
lea edi, [eax + 0x44]
mov edx, eax
xor eax, eax
call fcn.0045d8e0
mov eax, edx
test ecx, ecx
je 0x419f98
call fcn.00416870
mov eax, dword [esp + 0x64]
mov ecx, dword [eax + 0xe8]
test ecx, ecx
jge 0x419fca
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x419fb9
call fcn.004371a0
movzx ecx, byte [esp + 0x17]
jmp 0x419c43
call fcn.0041a4a0
movzx eax, byte [esp]
test al, al
je 0x419c3e
movzx eax, byte [esp + 0x17]
test al, al
je 0x419fd8
call fcn.00452500
add esp, 0x60
ret
movzx eax, byte [esp + 0x17]
test al, al
je 0x419fea
call fcn.00452500
add esp, 0x60
ret
call fcn.0045c4a0
jmp fcn.00419bf0