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

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov dword [rsp + 8], ecx
sub rsp, 0x78
mov eax, dword [rsp + 0x98]
cmp dword [rsp + 0x90], eax
jne 0x14004e52e
xorps xmm0, xmm0
jmp 0x14004e7f2
movss xmm0, dword [rsp + 0xa0]
ucomiss xmm0, dword [0x140087200]
jp 0x14004e542
je 0x14004e55d
cmp dword [rsp + 0x80], 4
je 0x14004e556
cmp dword [rsp + 0x80], 5
jne 0x14004e55d
mov byte [rsp + 0x20], 1
jmp 0x14004e562
mov byte [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
mov byte [rsp + 0x21], al
mov eax, dword [rsp + 0x98]
cmp dword [rsp + 0x90], eax
jae 0x14004e5d2
mov eax, dword [rsp + 0x90]
cmp dword [rsp + 0x88], eax
jae 0x14004e598
mov eax, dword [rsp + 0x90]
mov dword [rsp + 0x2c], eax
jmp 0x14004e5c8
mov eax, dword [rsp + 0x98]
cmp dword [rsp + 0x88], eax
jbe 0x14004e5b5
mov eax, dword [rsp + 0x98]
mov dword [rsp + 0x28], eax
jmp 0x14004e5c0
mov eax, dword [rsp + 0x88]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x28]
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x2c]
mov dword [rsp + 0x38], eax
jmp 0x14004e627
mov eax, dword [rsp + 0x98]
cmp dword [rsp + 0x88], eax
jae 0x14004e5ef
mov eax, dword [rsp + 0x98]
mov dword [rsp + 0x34], eax
jmp 0x14004e61f
mov eax, dword [rsp + 0x90]
cmp dword [rsp + 0x88], eax
jbe 0x14004e60c
mov eax, dword [rsp + 0x90]
mov dword [rsp + 0x30], eax
jmp 0x14004e617
mov eax, dword [rsp + 0x88]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x24], eax
movzx eax, byte [rsp + 0x21]
test eax, eax
je 0x14004e7bf
mov eax, dword [rsp + 0x24]
cvtsi2ss xmm0, rax
xorps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x14004e6f9
cmp dword [rsp + 0x98], 0
jbe 0x14004e665
mov dword [rsp + 0x3c], 0
jmp 0x14004e670
mov eax, dword [rsp + 0x98]
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x90]
mov ecx, dword [rsp + 0x24]
sub ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x90]
mov edx, dword [rsp + 0x3c]
sub edx, ecx
mov ecx, edx
xor edx, edx
div ecx
mov eax, eax
cvtsi2ss xmm0, rax
movss xmm1, dword [0x140087200]
subss xmm1, xmm0
movaps xmm0, xmm1
movss dword [rsp + 0x50], xmm0
movss xmm0, dword [0x140087200]
divss xmm0, dword [rsp + 0xa0]
movss dword [rsp + 0x48], xmm0
movss xmm1, dword [rsp + 0x48]
movss xmm0, dword [rsp + 0x50]
call qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_powf]
movss xmm1, dword [0x140087200]
subss xmm1, xmm0
movaps xmm0, xmm1
mulss xmm0, dword [rsp + 0xa8]
jmp 0x14004e7f2
cmp dword [rsp + 0x90], 0
ja 0x14004e70d
mov dword [rsp + 0x40], 0
jmp 0x14004e718
mov eax, dword [rsp + 0x90]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x90], 0
ja 0x14004e72c
mov dword [rsp + 0x44], 0
jmp 0x14004e737
mov eax, dword [rsp + 0x90]
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x24]
sub ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x44]
mov edx, dword [rsp + 0x98]
sub edx, ecx
mov ecx, edx
xor edx, edx
div ecx
mov eax, eax
cvtsi2ss xmm0, rax
movss dword [rsp + 0x60], xmm0
movss xmm0, dword [0x140087200]
divss xmm0, dword [rsp + 0xa0]
movss dword [rsp + 0x58], xmm0
movss xmm0, dword [0x140087200]
subss xmm0, dword [rsp + 0xa8]
movss dword [rsp + 0x64], xmm0
movss xmm1, dword [rsp + 0x58]
movss xmm0, dword [rsp + 0x60]
call qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_powf]
movss xmm1, dword [rsp + 0x64]
mulss xmm0, xmm1
movss xmm1, dword [rsp + 0xa8]
addss xmm1, xmm0
movaps xmm0, xmm1
jmp 0x14004e7f2
mov eax, dword [rsp + 0x90]
mov ecx, dword [rsp + 0x24]
sub ecx, eax
mov eax, ecx
mov eax, eax
cvtsi2ss xmm0, rax
mov eax, dword [rsp + 0x90]
mov ecx, dword [rsp + 0x98]
sub ecx, eax
mov eax, ecx
mov eax, eax
cvtsi2ss xmm1, rax
divss xmm0, xmm1
add rsp, 0x78
ret