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

Disassembly:
push esi
push edi
push ebx
push ebp
sub esp, 0x94
mov esi, dword [esp + 0xbc]
movsd xmm0, qword [0x4fa9b0]
comisd xmm0, xmmword [esi]
jbe 0x4331e7
mov eax, dword [esp + 0xd0]
mov dword [eax], 1
add esp, 0x94
pop ebp
pop ebx
pop edi
pop esi
ret
mov eax, dword [0x21e9fa0]
push 0x4fa5a8
lea edx, [eax*8 + 0x5e4e230]
push edx
call fcn.00416e10
add esp, 8
mov ebx, dword [esp + 0xac]
fstp qword [esp + 0x78]
movsd xmm1, qword [esp + 0x78]
movsd xmm0, qword [ebx]
comisd xmm0, xmm1
ja 0x4331cf
push 0x4fa5a8
push ebx
call fcn.004163e0
push 0x4fa5a8
push 0x21eb370
fstp qword [0x21eb370]
call fcn.004183e0
add esp, 0x10
fst qword [esp + 0x78]
movsd xmm0, qword [esi]
movsd xmm1, qword [esp + 0x78]
mov edi, dword [esp + 0xb0]
mov ebp, dword [esp + 0xb8]
fstp qword [0x21eb378]
comisd xmm0, xmm1
jb 0x433577
push 0x4fa5a8
movsd xmm0, qword [0x21eb370]
push edi
movsd qword [edi], xmm0
call fcn.004183e0
fstp qword [esp + 0x6c]
push 0x21eb380
push edi
movsd xmm0, qword [esp + 0x74]
movsd xmm1, qword [0x4fa938]
movsd xmm2, qword [0x4fa968]
movsd xmm3, qword [0x4fa978]
movsd qword [0x21eb378], xmm0
movsd qword [0x21eb388], xmm1
movsd qword [0x21eb390], xmm2
movsd qword [0x21eb380], xmm3
call fcn.004183e0
fstp qword [esp + 0x88]
movsd xmm0, qword [esp + 0x88]
add esp, 0x10
movsd qword [0x21eb398], xmm0
ucomisd xmm0, qword [0x4fa980]
jne 0x43334e
jp 0x43334e
mov eax, dword [0x21e9fa0]
movsd xmm0, qword [0x21eb380]
push 0x21eb380
push edi
subsd xmm0, qword [eax*8 + 0x5e4e1d0]
movsd qword [0x21eb380], xmm0
movsd qword [0x21eb388], xmm0
call fcn.004183e0
fstp qword [esp + 0x80]
movsd xmm0, qword [esp + 0x80]
add esp, 8
movsd qword [0x21eb398], xmm0
ucomisd xmm0, qword [0x4fa980]
jp 0x43334e
je 0x4332f6
movsd xmm3, qword [esi]
lea eax, [esp + 0x80]
movsd xmm1, qword [eax - 0x1c]
movsd xmm2, qword [0x4fa968]
subsd xmm3, xmm1
subsd xmm0, xmm1
divsd xmm3, xmm0
movsd xmm0, qword [0x21eb380]
subsd xmm0, xmm2
mulsd xmm3, xmm0
addsd xmm3, xmm2
movsd qword [eax], xmm3
push 0x21eb388
push 0x21eb390
push eax
call fcn.004489e0
push ebp
push edi
fstp qword [ebp]
call fcn.004183e0
fstp qword [esp + 0x8c]
movsd xmm0, qword [esp + 0x8c]
add esp, 0x14
movsd qword [0x21eb3a0], xmm0
ucomisd xmm0, qword [0x4fa980]
jne 0x433419
jp 0x433419
mov eax, dword [0x21e9fa0]
movsd xmm0, qword [ebp]
push ebp
push edi
subsd xmm0, qword [eax*8 + 0x5e4e1d0]
movsd qword [ebp], xmm0
movsd qword [0x21eb388], xmm0
call fcn.004183e0
fstp qword [esp + 0x80]
movsd xmm0, qword [esp + 0x80]
add esp, 8
movsd qword [0x21eb3a0], xmm0
ucomisd xmm0, qword [0x4fa980]
jp 0x433419
je 0x4333cb
lea eax, [esp + 0x90]
mov ebx, dword [esp + 0xcc]
push ebp
push edi
call fcn.004183e0
add esp, 8
mov dword [esp], ebp
mov edx, 0x4fa5e0
mov dword [esp + 4], esi
lea ecx, [esp + 0x90]
mov dword [esp + 8], 0x21eb3a0
mov dword [esp + 0xc], 0x4fa5b0
mov dword [esp + 0x10], 0x4fa5b8
mov dword [esp + 0x14], 0x21eb388
mov dword [esp + 0x18], 0x21eb390
mov eax, dword [ebx]
mov dword [esp + 0x1c], 0x4fa5e4
dec eax
mov dword [esp + 0x20], edx
mov dword [ecx], eax
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], 0x4fa5c0
mov eax, dword [esp + 0xc8]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], 0x525198
mov dword [esp + 0x38], 0x21eb3a8
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], 0x4faec8
mov dword [esp + 0x44], 0x4faed0
mov dword [esp + 0x48], str.V_VAP
mov dword [esp + 0x4c], 0x21eb180
mov dword [esp + 0x50], 0xc
mov dword [esp + 0x54], 6
mov dword [esp + 0x58], 0xc
mov dword [esp + 0x5c], 6
fstp qword [0x21eb3a0]
mov dword [esp + 0x60], 0x50
call fcn.004415b0
cmp eax, 1
je 0x433427
movq xmm0, qword [0x4fa958]
movq xmm1, qword [0x4fa960]
mov dword [esp], 0x21eb180
movq qword [esp + 4], xmm0
mov dword [esp + 0xc], 0x4faee8
movq qword [esp + 0x10], xmm1
mov ebx, dword [esp + 0xac]
movq qword [esp + 0x18], xmm1
call fcn.00449e00
test eax, eax
je 0x433bc0
movsd xmm1, qword [ebp]
movsd xmm0, qword [0x21eb390]
comisd xmm0, xmm1
ja 0x4331cf
comisd xmm1, xmmword [0x21eb388]
ja 0x4331cf
jmp 0x433bb3
mov eax, dword [0x21e9fa0]
push 0x4fa5c8
lea edx, [eax*8 + 0x5e4e230]
push edx
call fcn.00416e10
add esp, 8
fstp qword [esp + 0x78]
movsd xmm3, qword [ebx]
movsd xmm0, qword [esp + 0x78]
comisd xmm3, xmm0
ja 0x4338a6
push 0x4fa5c8
push ebx
call fcn.004163e0
push 0x4fa5c8
push edi
fstp qword [edi]
call fcn.004183e0
fstp qword [esp + 0x7c]
add esp, 0x10
movsd xmm0, qword [esp + 0x6c]
movsd qword [0x21eb3b0], xmm0
comisd xmm0, xmmword [esi]
jb 0x4338a2
push 0x21eb380
movsd xmm1, qword [0x4fa9b8]
movsd xmm2, qword [0x4fa990]
pxor xmm0, xmm0
push edi
movsd qword [0x21eb388], xmm0
movsd qword [0x21eb390], xmm1
movsd qword [0x21eb380], xmm2
call fcn.004183e0
fstp qword [esp + 0x80]
movsd xmm0, qword [esp + 0x80]
add esp, 8
movsd qword [0x21eb398], xmm0
ucomisd xmm0, qword [0x4fa980]
jne 0x433696
jp 0x433696
mov eax, dword [0x21e9fa0]
movsd xmm0, qword [0x21eb380]
push 0x21eb380
push edi
addsd xmm0, qword [eax*8 + 0x5e4e1d0]
movsd qword [0x21eb380], xmm0
movsd qword [0x21eb390], xmm0
call fcn.004183e0
fstp qword [esp + 0x80]
movsd xmm0, qword [esp + 0x80]
add esp, 8
movsd qword [0x21eb398], xmm0
ucomisd xmm0, qword [0x4fa980]
jp 0x433696
je 0x43363e
movsd xmm2, qword [esi]
lea eax, [esp + 0x64]
movsd xmm1, qword [eax + 8]
subsd xmm2, xmm1
subsd xmm0, xmm1
divsd xmm2, xmm0
mulsd xmm2, qword [0x21eb380]
movsd qword [eax], xmm2
push 0x21eb388
push 0x21eb390
push eax
call fcn.004489e0
push ebp
push edi
fstp qword [ebp]
call fcn.004183e0
fstp qword [esp + 0x8c]
movsd xmm0, qword [esp + 0x8c]
add esp, 0x14
movsd qword [0x21eb3a0], xmm0
ucomisd xmm0, qword [0x4fa980]
jne 0x43374a
jp 0x43374a
mov eax, dword [0x21e9fa0]
movsd xmm0, qword [ebp]
push ebp
push edi
addsd xmm0, qword [eax*8 + 0x5e4e1d0]
movsd qword [ebp], xmm0
movsd qword [0x21eb390], xmm0
call fcn.004183e0
fstp qword [esp + 0x80]
movsd xmm0, qword [esp + 0x80]
add esp, 8
movsd qword [0x21eb3a0], xmm0
ucomisd xmm0, qword [0x4fa980]
jp 0x43374a
je 0x4336fc
lea eax, [esp + 0x6c]
mov ebx, eax
push ebp
push edi
call fcn.004183e0
add esp, 8
mov edx, dword [esp + 0xcc]
mov dword [esp], ebp
mov dword [esp + 4], esi
mov dword [esp + 8], 0x21eb3a0
mov dword [esp + 0xc], 0x4fa5b0
mov dword [esp + 0x10], 0x4fa5b8
mov dword [esp + 0x14], 0x21eb388
mov dword [esp + 0x18], 0x21eb390
mov ecx, dword [edx]
mov edx, 0x4fa5e0
mov dword [esp + 0x1c], 0x4fa5e4
dec ecx
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], 0x4fa5c0
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0xc8]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], 0x525198
mov dword [esp + 0x38], 0x21eb3a8
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], 0x4faeec
mov dword [esp + 0x44], 0x4faef4
mov dword [esp + 0x48], str.V_LIQ
mov dword [esp + 0x4c], 0x21eb180
mov dword [esp + 0x50], 0xc
mov dword [esp + 0x54], 6
mov dword [esp + 0x58], 0xc
mov dword [esp + 0x5c], 6
fstp qword [0x21eb3a0]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x60], 0x50
call fcn.004415b0
cmp eax, 1
je 0x433750
movq xmm0, qword [0x4fa958]
movq xmm1, qword [0x4fa960]
mov dword [esp], 0x21eb180
movq qword [esp + 4], xmm0
mov dword [esp + 0xc], 0x4faf0c
movq qword [esp + 0x10], xmm1
mov ebx, dword [esp + 0xac]
movq qword [esp + 0x18], xmm1
call fcn.00449e00
test eax, eax
je 0x433bc0
movsd xmm1, qword [ebp]
movsd xmm0, qword [0x21eb390]
comisd xmm0, xmm1
ja 0x4331cf
comisd xmm1, xmmword [0x21eb388]
ja 0x4331cf
jmp 0x433bb3
movsd xmm3, qword [ebx]
movsd xmm2, qword [0x4fa968]
lea edx, [esp + 0x70]
mov eax, dword [0x21e9fa0]
subsd xmm3, xmm2
movsd qword [edx], xmm3
pxor xmm0, xmm0
push 0x4fa5a8
movsd xmm1, qword [eax*8 + 0x5e4e230]
push edx
movsd qword [0x21eb388], xmm2
movsd qword [0x21eb390], xmm0
movsd qword [0x21eb3b8], xmm1
call fcn.004163e0
push 0x4fa5c8
push edi
fst qword [0x21eb3c0]
fstp qword [edi]
call fcn.004183e0
fstp qword [esp + 0x74]
push 0x4fa5a8
push edi
movsd xmm0, qword [esp + 0x7c]
movsd qword [0x21eb3b0], xmm0
call fcn.004183e0
fstp qword [esp + 0x90]
movsd xmm1, qword [esp + 0x90]
movsd xmm2, qword [esi]
lea eax, [esp + 0x90]
movsd xmm0, qword [eax - 0x14]
movsd qword [0x21eb378], xmm1
subsd xmm2, xmm0
subsd xmm1, xmm0
divsd xmm2, xmm1
movsd qword [eax], xmm2
push 0x21eb388
push 0x21eb390
push eax
call fcn.004489e0
add esp, 0x24
fstp qword [ebp]
mov ebx, dword [esp + 0xcc]
mov esi, dword [esp + 0xc8]
push ebp
push edi
call fcn.004183e0
add esp, 8
mov edx, dword [esp + 0xbc]
mov ecx, 0x4fa5e0
mov dword [esp], ebp
mov dword [esp + 4], edx
mov dword [esp + 8], 0x21eb3a0
mov dword [esp + 0xc], 0x4fa5b0
mov dword [esp + 0x10], 0x4fa5b8
mov dword [esp + 0x14], 0x21eb388
mov dword [esp + 0x18], 0x21eb390
mov dword [esp + 0x1c], 0x4fa5e4
mov dword [esp + 0x20], ecx
mov eax, dword [ebx]
mov dword [esp + 0x24], ecx
dec eax
mov dword [esp + 0x28], 0x4fa5d0
mov dword [esp + 0x8c], eax
lea eax, [esp + 0x8c]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], 0x525198
mov dword [esp + 0x38], 0x21eb3a8
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], 0x4faf10
mov dword [esp + 0x44], 0x4faf18
mov dword [esp + 0x48], str.V_2PH
mov dword [esp + 0x4c], 0x21eb180
mov dword [esp + 0x50], 0xc
mov dword [esp + 0x54], 6
mov dword [esp + 0x58], 0xc
mov dword [esp + 0x5c], 6
fstp qword [0x21eb3a0]
mov dword [esp + 0x60], 0x50
call fcn.004415b0
cmp eax, 1
je 0x43397b
push ebp
push edi
call fcn.00416e10
add esp, 8
mov edx, dword [esp + 0xac]
mov ecx, 0x4fa5e0
mov dword [esp], edi
mov dword [esp + 4], edx
mov dword [esp + 8], 0x21eb3c8
mov dword [esp + 0xc], 0x4fa5d8
mov dword [esp + 0x10], 0x4fa5b8
mov dword [esp + 0x14], 0x21eb3b8
mov dword [esp + 0x18], 0x21eb3c0
mov dword [esp + 0x1c], 0x4fa5e4
mov dword [esp + 0x20], ecx
mov eax, dword [ebx]
mov dword [esp + 0x24], ecx
dec eax
mov dword [esp + 0x28], 0x4fa5d0
mov dword [esp + 0x88], eax
lea eax, [esp + 0x88]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], 0x52519c
mov dword [esp + 0x38], 0x21eb3a8
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], 0x4faf30
mov dword [esp + 0x44], str.state_idx26
mov dword [esp + 0x48], 0x4faf48
mov dword [esp + 0x4c], 0x21eb280
mov dword [esp + 0x50], 0xc
mov dword [esp + 0x54], 6
mov dword [esp + 0x58], 0xc
mov dword [esp + 0x5c], 6
fstp qword [0x21eb3c8]
mov dword [esp + 0x60], 0x50
call fcn.004415b0
cmp eax, 1
je 0x43397b
movq xmm0, qword [0x4fa958]
movq xmm1, qword [0x4fa960]
mov dword [esp], 0x21eb280
movq qword [esp + 4], xmm0
mov dword [esp + 0xc], 0x4faf50
movq qword [esp + 0x10], xmm1
mov ebx, dword [esp + 0xac]
mov esi, dword [esp + 0xbc]
movq qword [esp + 0x18], xmm1
call fcn.00449e00
test eax, eax
je 0x433bc0
movsd xmm1, qword [edi]
movsd xmm0, qword [0x21eb3c0]
comisd xmm0, xmm1
ja 0x4331cf
comisd xmm1, xmmword [0x21eb3b8]
ja 0x4331cf
mov eax, dword [esp + 0xd0]
mov dword [eax], 2
mov edx, 0x4fa5e0
mov eax, 0x4fa5e8
mov ecx, dword [esp + 0xa8]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ecx
mov ecx, eax
mov dword [esp + 0x24], ebx
mov ebx, dword [esp + 0xb4]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], esi
mov ebp, dword [esp + 0xc0]
mov esi, dword [esp + 0xc4]
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], esi
call fcn.0042deec
add esp, 0x94
pop ebp
pop ebx
pop edi
pop esi
ret