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

Disassembly:
push esi
push edi
push ebx
sub esp, 0xa0
mov edi, dword [esp + 0xc4]
movsd xmm0, qword [0x4fa9b0]
comisd xmm0, xmmword [edi]
jbe 0x43a4b0
mov eax, dword [esp + 0xd8]
mov dword [eax], 1
jmp 0x43acb7
mov esi, dword [esp + 0xc8]
mov eax, dword [0x21e9fa0]
pxor xmm3, xmm3
movsd xmm1, qword [0x4fa940]
movsd xmm2, qword [esi]
movsd xmm0, qword [eax*8 + 0x5e4e230]
lea eax, [eax*8 + 0x5e4e230]
mov ebx, dword [esp + 0xb8]
movsd qword [0x21ecb10], xmm0
movsd qword [0x21ecb18], xmm1
comisd xmm2, xmm3
jb 0x43a8ae
push 0x4fa800
push eax
call fcn.004183e0
add esp, 8
fstp qword [esp + 0x88]
movsd xmm0, qword [esp + 0x88]
comisd xmm0, xmmword [edi]
jbe 0x43a533
mov eax, dword [esp + 0xd8]
mov dword [eax], 9
jmp 0x43acb7
push 0x21ecb20
push 0x21ecb28
movsd xmm0, qword [0x4fa968]
movsd xmm1, qword [0x4fa938]
push 0x4fa808
movsd qword [0x21ecb28], xmm0
movsd qword [0x21ecb20], xmm1
call fcn.004489e0
mov edx, dword [0x21e9fa0]
lea ecx, [esp + 0x70]
mov eax, dword [esp + 0xcc]
movsd xmm0, qword [edx*8 + 0x5e4e230]
mulsd xmm0, qword [0x4fa930]
movsd qword [ecx], xmm0
push 0x21ecb10
push 0x21ecb18
push ecx
fstp qword [eax]
call fcn.004489e0
add esp, 0x18
mov dword [esp + 0x84], ebp
fstp qword [ebx]
mov ebp, dword [esp + 0xd4]
mov esi, dword [esp + 0xd0]
mov edi, dword [esp + 0xc0]
push edi
push ebx
call fcn.00418810
add esp, 8
mov edx, dword [esp + 0xc8]
mov ecx, 0x4fa840
mov dword [esp], edi
mov eax, dword [ebp]
mov dword [esp + 4], edx
dec eax
mov dword [esp + 8], 0x21ecb30
mov dword [esp + 0xc], 0x4fa810
mov dword [esp + 0x10], 0x4fa818
mov dword [esp + 0x14], 0x21ecb20
mov dword [esp + 0x18], 0x21ecb28
mov dword [esp + 0x1c], 0x4fa844
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], 0x4fa820
mov dword [esp + 0x98], eax
lea eax, [esp + 0x98]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], 0x5251ec
mov dword [esp + 0x38], 0x21ecb38
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], 0x4fb58c
mov dword [esp + 0x44], 0x4fb594
mov dword [esp + 0x48], 0x4fb5a4
mov dword [esp + 0x4c], 0x21ec920
mov dword [esp + 0x50], 0xc
mov dword [esp + 0x54], 6
mov dword [esp + 0x58], 0xd
mov dword [esp + 0x5c], 9
fstp qword [0x21ecb30]
mov dword [esp + 0x60], 0x50
call fcn.004415b0
cmp eax, 1
je 0x43a5c0
movsd xmm2, qword [edi]
movaps xmm1, xmm2
movsd xmm0, qword [0x21ecb28]
subsd xmm1, qword [0x4fa940]
comisd xmm0, xmm1
jbe 0x43acc1
push 0x21ecb40
push ebx
addsd xmm2, qword [0x4fa940]
movsd qword [0x21ecb40], xmm2
call fcn.00418810
fstp qword [esp + 0x90]
movsd xmm1, qword [esp + 0x90]
add esp, 8
subsd xmm1, qword [0x21ecb30]
divsd xmm1, qword [0x4fa940]
movsd qword [0x21ecb48], xmm1
pxor xmm0, xmm0
ucomisd xmm1, xmm0
jp 0x43a71a
je 0x43a747
movsd xmm0, qword [0x21ecb38]
lea eax, [esp + 0x74]
divsd xmm0, xmm1
addsd xmm0, qword [edi]
movsd qword [eax], xmm0
push 0x21ecb20
push 0x21ecb28
push eax
call fcn.004489e0
add esp, 0xc
fstp qword [edi]
push edi
push ebx
call fcn.004183e0
add esp, 8
mov edx, dword [esp + 0xc4]
mov ecx, 0x4fa840
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], 0x21ecb50
mov dword [esp + 0xc], 0x4fa828
mov dword [esp + 0x10], 0x4fa820
mov dword [esp + 0x14], 0x21ecb10
mov dword [esp + 0x18], 0x21ecb18
mov dword [esp + 0x1c], 0x4fa844
mov dword [esp + 0x20], ecx
mov eax, dword [ebp]
mov dword [esp + 0x24], 0x4fa848
dec eax
mov dword [esp + 0x28], 0x4fa818
mov dword [esp + 0x90], eax
lea eax, [esp + 0x90]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], 0x5251f0
mov dword [esp + 0x38], 0x21ecb38
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], 0x4fb5b0
mov dword [esp + 0x44], 0x4fb5b8
mov dword [esp + 0x48], str.V___VAP
mov dword [esp + 0x4c], 0x21eca20
mov dword [esp + 0x50], 0xc
mov dword [esp + 0x54], 6
mov dword [esp + 0x58], 0xc
mov dword [esp + 0x5c], 8
fstp qword [0x21ecb50]
mov dword [esp + 0x60], 0x50
call fcn.004415b0
cmp eax, 1
je 0x43a5c0
movq xmm0, qword [0x4fa958]
movq xmm1, qword [0x4fa960]
mov ebp, dword [esp + 0x84]
mov dword [esp], 0x21eca20
movq qword [esp + 4], xmm0
mov dword [esp + 0xc], 0x4fb5d4
movq qword [esp + 0x10], xmm1
mov esi, dword [esp + 0xc8]
mov edi, dword [esp + 0xc4]
movq qword [esp + 0x18], xmm1
call fcn.00449e00
test eax, eax
je 0x43ac55
movsd xmm1, qword [ebx]
movsd xmm0, qword [0x21ecb18]
comisd xmm0, xmm1
jae 0x43a49e
comisd xmm1, xmmword [0x21ecb10]
jae 0x43a49e
jmp 0x43ac48
push 0x4fa830
push eax
call fcn.004183e0
add esp, 8
fstp qword [esp + 0x88]
movsd xmm0, qword [edi]
movsd xmm1, qword [esp + 0x88]
comisd xmm0, xmm1
ja 0x43a521
push 0x21ecb20
push 0x21ecb28
movsd xmm0, qword [0x4fa988]
push 0x4fa838
pxor xmm1, xmm1
movsd qword [0x21ecb28], xmm0
movsd qword [0x21ecb20], xmm1
call fcn.004489e0
mov edx, dword [0x21e9fa0]
lea ecx, [esp + 0x78]
mov eax, dword [esp + 0xcc]
movsd xmm0, qword [edx*8 + 0x5e4e230]
mulsd xmm0, qword [0x4fa930]
movsd qword [ecx], xmm0
push 0x21ecb10
push 0x21ecb18
push ecx
fstp qword [eax]
call fcn.004489e0
add esp, 0x18
mov dword [esp + 0x84], ebp
fstp qword [ebx]
mov ebp, dword [esp + 0xd4]
mov esi, dword [esp + 0xd0]
mov edi, dword [esp + 0xc0]
push edi
push ebx
call fcn.00418810
add esp, 8
mov edx, dword [esp + 0xc8]
mov ecx, 0x4fa840
mov dword [esp], edi
mov dword [esp + 4], edx
mov dword [esp + 8], 0x21ecb30
mov dword [esp + 0xc], 0x4fa810
mov dword [esp + 0x10], 0x4fa818
mov dword [esp + 0x14], 0x21ecb20
mov dword [esp + 0x18], 0x21ecb28
mov dword [esp + 0x1c], 0x4fa844
mov dword [esp + 0x20], ecx
mov eax, dword [ebp]
mov dword [esp + 0x24], ecx
dec eax
mov dword [esp + 0x28], 0x4fa820
mov dword [esp + 0x9c], eax
lea eax, [esp + 0x9c]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], 0x5251ec
mov dword [esp + 0x38], 0x21ecb38
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], 0x4fb5d8
mov dword [esp + 0x44], 0x4fb5e0
mov dword [esp + 0x48], 0x4fb5f0
mov dword [esp + 0x4c], 0x21ec920
mov dword [esp + 0x50], 0xc
mov dword [esp + 0x54], 6
mov dword [esp + 0x58], 0xd
mov dword [esp + 0x5c], 9
fstp qword [0x21ecb30]
mov dword [esp + 0x60], 0x50
call fcn.004415b0
cmp eax, 1
je 0x43a963
movsd xmm2, qword [edi]
movaps xmm1, xmm2
movsd xmm0, qword [0x21ecb28]
subsd xmm1, qword [0x4fa940]
comisd xmm0, xmm1
jbe 0x43ad08
push 0x21ecb40
push ebx
addsd xmm2, qword [0x4fa940]
movsd qword [0x21ecb40], xmm2
call fcn.00418810
fstp qword [esp + 0x90]
movsd xmm1, qword [esp + 0x90]
add esp, 8
subsd xmm1, qword [0x21ecb30]
divsd xmm1, qword [0x4fa940]
movsd qword [0x21ecb48], xmm1
pxor xmm0, xmm0
ucomisd xmm1, xmm0
jp 0x43aabd
je 0x43aaea
movsd xmm0, qword [0x21ecb38]
lea eax, [esp + 0x7c]
divsd xmm0, xmm1
addsd xmm0, qword [edi]
movsd qword [eax], xmm0
push 0x21ecb20
push 0x21ecb28
push eax
call fcn.004489e0
add esp, 0xc
fstp qword [edi]
push edi
push ebx
call fcn.004183e0
add esp, 8
mov edx, dword [esp + 0xc4]
mov ecx, 0x4fa840
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], 0x21ecb50
mov dword [esp + 0xc], 0x4fa828
mov dword [esp + 0x10], 0x4fa820
mov dword [esp + 0x14], 0x21ecb10
mov dword [esp + 0x18], 0x21ecb18
mov dword [esp + 0x1c], 0x4fa844
mov dword [esp + 0x20], ecx
mov eax, dword [ebp]
mov dword [esp + 0x24], 0x4fa848
dec eax
mov dword [esp + 0x28], 0x4fa818
mov dword [esp + 0x94], eax
lea eax, [esp + 0x94]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], 0x5251f0
mov dword [esp + 0x38], 0x21ecb38
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], 0x4fb5fc
mov dword [esp + 0x44], str.STATE_IDX67
mov dword [esp + 0x48], str.V___LIQ
mov dword [esp + 0x4c], 0x21eca20
mov dword [esp + 0x50], 0xc
mov dword [esp + 0x54], 6
mov dword [esp + 0x58], 0xc
mov dword [esp + 0x5c], 8
fstp qword [0x21ecb50]
mov dword [esp + 0x60], 0x50
call fcn.004415b0
cmp eax, 1
je 0x43a963
movq xmm0, qword [0x4fa958]
movq xmm1, qword [0x4fa960]
mov ebp, dword [esp + 0x84]
mov dword [esp], 0x21eca20
movq qword [esp + 4], xmm0
mov dword [esp + 0xc], 0x4fb620
movq qword [esp + 0x10], xmm1
mov esi, dword [esp + 0xc8]
mov edi, dword [esp + 0xc4]
movq qword [esp + 0x18], xmm1
call fcn.00449e00
test eax, eax
je 0x43ac55
movsd xmm1, qword [ebx]
movsd xmm0, qword [0x21ecb18]
comisd xmm0, xmm1
jae 0x43a49e
comisd xmm1, xmmword [0x21ecb10]
jae 0x43a49e
mov eax, dword [esp + 0xd8]
mov dword [eax], 2
mov ecx, 0x4fa840
mov edx, 0x4fa84c
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ecx
mov ecx, edx
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ebx
mov ebx, dword [esp + 0xc0]
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x1c], ebx
mov ebx, dword [esp + 0xb4]
mov dword [esp + 0x20], eax
mov eax, edx
mov dword [esp + 0x24], ebx
mov ebx, dword [esp + 0xbc]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], esi
mov esi, dword [esp + 0xcc]
mov dword [esp + 0x34], esi
call fcn.0042deec
add esp, 0xa0
pop ebx
pop edi
pop esi
ret
push 0x21ecb40
push ebx
movsd qword [0x21ecb40], xmm1
call fcn.00418810
fstp qword [esp + 0x90]
movsd xmm0, qword [esp + 0x90]
add esp, 8
movsd xmm1, qword [0x21ecb30]
subsd xmm1, xmm0
divsd xmm1, qword [0x4fa940]
movsd qword [0x21ecb48], xmm1
jmp 0x43a70e
push 0x21ecb40
push ebx
movsd qword [0x21ecb40], xmm1
call fcn.00418810
fstp qword [esp + 0x90]
movsd xmm0, qword [esp + 0x90]
add esp, 8
movsd xmm1, qword [0x21ecb30]
subsd xmm1, xmm0
divsd xmm1, qword [0x4fa940]
movsd qword [0x21ecb48], xmm1
jmp 0x43aab1