Function at 0x42ea00
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 [0x4fbf60]
comisd xmm0, xmmword [esi]
jbe 0x42ea37
mov eax, dword [esp + 0xd0]
mov dword [eax], 1
add esp, 0x94
pop ebp
pop ebx
pop edi
pop esi
ret
mov eax, dword [0x2dd71a0]
push 0x4fbb58
lea edx, [eax*8 + 0x2e018d0]
push edx
call fcn.004242f0
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 0x42ea1f
push 0x4fbb58
push ebx
call fcn.004238c0
push 0x4fbb58
push 0x2dd8a70
fstp qword [0x2dd8a70]
call fcn.004258c0
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 [0x2dd8a78]
comisd xmm0, xmm1
jb 0x42edc7
push 0x4fbb58
movsd xmm0, qword [0x2dd8a70]
push edi
movsd qword [edi], xmm0
call fcn.004258c0
fstp qword [esp + 0x6c]
push 0x2dd8a80
push edi
movsd xmm0, qword [esp + 0x74]
movsd xmm1, qword [0x4fbee8]
movsd xmm2, qword [0x4fbf18]
movsd xmm3, qword [0x4fbf28]
movsd qword [0x2dd8a78], xmm0
movsd qword [0x2dd8a88], xmm1
movsd qword [0x2dd8a90], xmm2
movsd qword [0x2dd8a80], xmm3
call fcn.004258c0
fstp qword [esp + 0x88]
movsd xmm0, qword [esp + 0x88]
add esp, 0x10
movsd qword [0x2dd8a98], xmm0
ucomisd xmm0, qword [0x4fbf30]
jne 0x42eb9e
jp 0x42eb9e
mov eax, dword [0x2dd71a0]
movsd xmm0, qword [0x2dd8a80]
push 0x2dd8a80
push edi
subsd xmm0, qword [eax*8 + 0x2e01870]
movsd qword [0x2dd8a80], xmm0
movsd qword [0x2dd8a88], xmm0
call fcn.004258c0
fstp qword [esp + 0x80]
movsd xmm0, qword [esp + 0x80]
add esp, 8
movsd qword [0x2dd8a98], xmm0
ucomisd xmm0, qword [0x4fbf30]
jp 0x42eb9e
je 0x42eb46
movsd xmm3, qword [esi]
lea eax, [esp + 0x80]
movsd xmm1, qword [eax - 0x1c]
movsd xmm2, qword [0x4fbf18]
subsd xmm3, xmm1
subsd xmm0, xmm1
divsd xmm3, xmm0
movsd xmm0, qword [0x2dd8a80]
subsd xmm0, xmm2
mulsd xmm3, xmm0
addsd xmm3, xmm2
movsd qword [eax], xmm3
push 0x2dd8a88
push 0x2dd8a90
push eax
call fcn.0044b3c0
push ebp
push edi
fstp qword [ebp]
call fcn.004258c0
fstp qword [esp + 0x8c]
movsd xmm0, qword [esp + 0x8c]
add esp, 0x14
movsd qword [0x2dd8aa0], xmm0
ucomisd xmm0, qword [0x4fbf30]
jne 0x42ec69
jp 0x42ec69
mov eax, dword [0x2dd71a0]
movsd xmm0, qword [ebp]
push ebp
push edi
subsd xmm0, qword [eax*8 + 0x2e01870]
movsd qword [ebp], xmm0
movsd qword [0x2dd8a88], xmm0
call fcn.004258c0
fstp qword [esp + 0x80]
movsd xmm0, qword [esp + 0x80]
add esp, 8
movsd qword [0x2dd8aa0], xmm0
ucomisd xmm0, qword [0x4fbf30]
jp 0x42ec69
je 0x42ec1b
lea eax, [esp + 0x90]
mov ebx, dword [esp + 0xcc]
push ebp
push edi
call fcn.004258c0
add esp, 8
mov dword [esp], ebp
mov edx, 0x4fbb90
mov dword [esp + 4], esi
lea ecx, [esp + 0x90]
mov dword [esp + 8], 0x2dd8aa0
mov dword [esp + 0xc], 0x4fbb60
mov dword [esp + 0x10], 0x4fbb68
mov dword [esp + 0x14], 0x2dd8a88
mov dword [esp + 0x18], 0x2dd8a90
mov eax, dword [ebx]
mov dword [esp + 0x1c], 0x4fbb94
dec eax
mov dword [esp + 0x20], edx
mov dword [ecx], eax
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], 0x4fbb70
mov eax, dword [esp + 0xc8]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], 0x52c978
mov dword [esp + 0x38], 0x2dd8aa8
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], 0x4fc478
mov dword [esp + 0x44], 0x4fc480
mov dword [esp + 0x48], str.V_VAP
mov dword [esp + 0x4c], 0x2dd8880
mov dword [esp + 0x50], 0xc
mov dword [esp + 0x54], 6
mov dword [esp + 0x58], 0xc
mov dword [esp + 0x5c], 6
fstp qword [0x2dd8aa0]
mov dword [esp + 0x60], 0x50
call fcn.00443f90
cmp eax, 1
je 0x42ec77
movq xmm0, qword [0x4fbf08]
movq xmm1, qword [0x4fbf10]
mov dword [esp], 0x2dd8880
movq qword [esp + 4], xmm0
mov dword [esp + 0xc], 0x4fc498
movq qword [esp + 0x10], xmm1
mov ebx, dword [esp + 0xac]
movq qword [esp + 0x18], xmm1
call fcn.00465770
test eax, eax
je 0x42f410
movsd xmm1, qword [ebp]
movsd xmm0, qword [0x2dd8a90]
comisd xmm0, xmm1
ja 0x42ea1f
comisd xmm1, xmmword [0x2dd8a88]
ja 0x42ea1f
jmp 0x42f403
mov eax, dword [0x2dd71a0]
push 0x4fbb78
lea edx, [eax*8 + 0x2e018d0]
push edx
call fcn.004242f0
add esp, 8
fstp qword [esp + 0x78]
movsd xmm3, qword [ebx]
movsd xmm0, qword [esp + 0x78]
comisd xmm3, xmm0
ja 0x42f0f6
push 0x4fbb78
push ebx
call fcn.004238c0
push 0x4fbb78
push edi
fstp qword [edi]
call fcn.004258c0
fstp qword [esp + 0x7c]
add esp, 0x10
movsd xmm0, qword [esp + 0x6c]
movsd qword [0x2dd8ab0], xmm0
comisd xmm0, xmmword [esi]
jb 0x42f0f2
push 0x2dd8a80
movsd xmm1, qword [0x4fbf68]
movsd xmm2, qword [0x4fbf40]
pxor xmm0, xmm0
push edi
movsd qword [0x2dd8a88], xmm0
movsd qword [0x2dd8a90], xmm1
movsd qword [0x2dd8a80], xmm2
call fcn.004258c0
fstp qword [esp + 0x80]
movsd xmm0, qword [esp + 0x80]
add esp, 8
movsd qword [0x2dd8a98], xmm0
ucomisd xmm0, qword [0x4fbf30]
jne 0x42eee6
jp 0x42eee6
mov eax, dword [0x2dd71a0]
movsd xmm0, qword [0x2dd8a80]
push 0x2dd8a80
push edi
addsd xmm0, qword [eax*8 + 0x2e01870]
movsd qword [0x2dd8a80], xmm0
movsd qword [0x2dd8a90], xmm0
call fcn.004258c0
fstp qword [esp + 0x80]
movsd xmm0, qword [esp + 0x80]
add esp, 8
movsd qword [0x2dd8a98], xmm0
ucomisd xmm0, qword [0x4fbf30]
jp 0x42eee6
je 0x42ee8e
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 [0x2dd8a80]
movsd qword [eax], xmm2
push 0x2dd8a88
push 0x2dd8a90
push eax
call fcn.0044b3c0
push ebp
push edi
fstp qword [ebp]
call fcn.004258c0
fstp qword [esp + 0x8c]
movsd xmm0, qword [esp + 0x8c]
add esp, 0x14
movsd qword [0x2dd8aa0], xmm0
ucomisd xmm0, qword [0x4fbf30]
jne 0x42ef9a
jp 0x42ef9a
mov eax, dword [0x2dd71a0]
movsd xmm0, qword [ebp]
push ebp
push edi
addsd xmm0, qword [eax*8 + 0x2e01870]
movsd qword [ebp], xmm0
movsd qword [0x2dd8a90], xmm0
call fcn.004258c0
fstp qword [esp + 0x80]
movsd xmm0, qword [esp + 0x80]
add esp, 8
movsd qword [0x2dd8aa0], xmm0
ucomisd xmm0, qword [0x4fbf30]
jp 0x42ef9a
je 0x42ef4c
lea eax, [esp + 0x6c]
mov ebx, eax
push ebp
push edi
call fcn.004258c0
add esp, 8
mov edx, dword [esp + 0xcc]
mov dword [esp], ebp
mov dword [esp + 4], esi
mov dword [esp + 8], 0x2dd8aa0
mov dword [esp + 0xc], 0x4fbb60
mov dword [esp + 0x10], 0x4fbb68
mov dword [esp + 0x14], 0x2dd8a88
mov dword [esp + 0x18], 0x2dd8a90
mov ecx, dword [edx]
mov edx, 0x4fbb90
mov dword [esp + 0x1c], 0x4fbb94
dec ecx
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], 0x4fbb70
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0xc8]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], 0x52c978
mov dword [esp + 0x38], 0x2dd8aa8
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], 0x4fc49c
mov dword [esp + 0x44], 0x4fc4a4
mov dword [esp + 0x48], str.V_LIQ
mov dword [esp + 0x4c], 0x2dd8880
mov dword [esp + 0x50], 0xc
mov dword [esp + 0x54], 6
mov dword [esp + 0x58], 0xc
mov dword [esp + 0x5c], 6
fstp qword [0x2dd8aa0]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x60], 0x50
call fcn.00443f90
cmp eax, 1
je 0x42efa0
movq xmm0, qword [0x4fbf08]
movq xmm1, qword [0x4fbf10]
mov dword [esp], 0x2dd8880
movq qword [esp + 4], xmm0
mov dword [esp + 0xc], 0x4fc4bc
movq qword [esp + 0x10], xmm1
mov ebx, dword [esp + 0xac]
movq qword [esp + 0x18], xmm1
call fcn.00465770
test eax, eax
je 0x42f410
movsd xmm1, qword [ebp]
movsd xmm0, qword [0x2dd8a90]
comisd xmm0, xmm1
ja 0x42ea1f
comisd xmm1, xmmword [0x2dd8a88]
ja 0x42ea1f
jmp 0x42f403
movsd xmm3, qword [ebx]
movsd xmm2, qword [0x4fbf18]
lea edx, [esp + 0x70]
mov eax, dword [0x2dd71a0]
subsd xmm3, xmm2
movsd qword [edx], xmm3
pxor xmm0, xmm0
push 0x4fbb58
movsd xmm1, qword [eax*8 + 0x2e018d0]
push edx
movsd qword [0x2dd8a88], xmm2
movsd qword [0x2dd8a90], xmm0
movsd qword [0x2dd8ab8], xmm1
call fcn.004238c0
push 0x4fbb78
push edi
fst qword [0x2dd8ac0]
fstp qword [edi]
call fcn.004258c0
fstp qword [esp + 0x74]
push 0x4fbb58
push edi
movsd xmm0, qword [esp + 0x7c]
movsd qword [0x2dd8ab0], xmm0
call fcn.004258c0
fstp qword [esp + 0x90]
movsd xmm1, qword [esp + 0x90]
movsd xmm2, qword [esi]
lea eax, [esp + 0x90]
movsd xmm0, qword [eax - 0x14]
movsd qword [0x2dd8a78], xmm1
subsd xmm2, xmm0
subsd xmm1, xmm0
divsd xmm2, xmm1
movsd qword [eax], xmm2
push 0x2dd8a88
push 0x2dd8a90
push eax
call fcn.0044b3c0
add esp, 0x24
fstp qword [ebp]
mov ebx, dword [esp + 0xcc]
mov esi, dword [esp + 0xc8]
push ebp
push edi
call fcn.004258c0
add esp, 8
mov edx, dword [esp + 0xbc]
mov ecx, 0x4fbb90
mov dword [esp], ebp
mov dword [esp + 4], edx
mov dword [esp + 8], 0x2dd8aa0
mov dword [esp + 0xc], 0x4fbb60
mov dword [esp + 0x10], 0x4fbb68
mov dword [esp + 0x14], 0x2dd8a88
mov dword [esp + 0x18], 0x2dd8a90
mov dword [esp + 0x1c], 0x4fbb94
mov dword [esp + 0x20], ecx
mov eax, dword [ebx]
mov dword [esp + 0x24], ecx
dec eax
mov dword [esp + 0x28], 0x4fbb80
mov dword [esp + 0x8c], eax
lea eax, [esp + 0x8c]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], 0x52c978
mov dword [esp + 0x38], 0x2dd8aa8
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], 0x4fc4c0
mov dword [esp + 0x44], 0x4fc4c8
mov dword [esp + 0x48], str.V_2PH
mov dword [esp + 0x4c], 0x2dd8880
mov dword [esp + 0x50], 0xc
mov dword [esp + 0x54], 6
mov dword [esp + 0x58], 0xc
mov dword [esp + 0x5c], 6
fstp qword [0x2dd8aa0]
mov dword [esp + 0x60], 0x50
call fcn.00443f90
cmp eax, 1
je 0x42f1cb
push ebp
push edi
call fcn.004242f0
add esp, 8
mov edx, dword [esp + 0xac]
mov ecx, 0x4fbb90
mov dword [esp], edi
mov dword [esp + 4], edx
mov dword [esp + 8], 0x2dd8ac8
mov dword [esp + 0xc], 0x4fbb88
mov dword [esp + 0x10], 0x4fbb68
mov dword [esp + 0x14], 0x2dd8ab8
mov dword [esp + 0x18], 0x2dd8ac0
mov dword [esp + 0x1c], 0x4fbb94
mov dword [esp + 0x20], ecx
mov eax, dword [ebx]
mov dword [esp + 0x24], ecx
dec eax
mov dword [esp + 0x28], 0x4fbb80
mov dword [esp + 0x88], eax
lea eax, [esp + 0x88]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], 0x52c97c
mov dword [esp + 0x38], 0x2dd8aa8
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], 0x4fc4e0
mov dword [esp + 0x44], str.state_idx26
mov dword [esp + 0x48], 0x4fc4f8
mov dword [esp + 0x4c], 0x2dd8980
mov dword [esp + 0x50], 0xc
mov dword [esp + 0x54], 6
mov dword [esp + 0x58], 0xc
mov dword [esp + 0x5c], 6
fstp qword [0x2dd8ac8]
mov dword [esp + 0x60], 0x50
call fcn.00443f90
cmp eax, 1
je 0x42f1cb
movq xmm0, qword [0x4fbf08]
movq xmm1, qword [0x4fbf10]
mov dword [esp], 0x2dd8980
movq qword [esp + 4], xmm0
mov dword [esp + 0xc], 0x4fc500
movq qword [esp + 0x10], xmm1
mov ebx, dword [esp + 0xac]
mov esi, dword [esp + 0xbc]
movq qword [esp + 0x18], xmm1
call fcn.00465770
test eax, eax
je 0x42f410
movsd xmm1, qword [edi]
movsd xmm0, qword [0x2dd8ac0]
comisd xmm0, xmm1
ja 0x42ea1f
comisd xmm1, xmmword [0x2dd8ab8]
ja 0x42ea1f
mov eax, dword [esp + 0xd0]
mov dword [eax], 2
mov edx, 0x4fbb90
mov eax, 0x4fbb98
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.0042973c
add esp, 0x94
pop ebp
pop ebx
pop edi
pop esi
ret