Function at 0x18004c6e0
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 0x18004c70e
xorps xmm0, xmm0
jmp 0x18004cc6e
mov eax, dword [rsp + 0x98]
cmp dword [rsp + 0x90], eax
jae 0x18004c73f
mov r8d, dword [rsp + 0x98]
mov edx, dword [rsp + 0x90]
mov ecx, dword [rsp + 0x88]
call fcn.18004b270
mov dword [rsp + 0x38], eax
jmp 0x18004c75e
mov r8d, dword [rsp + 0x90]
mov edx, dword [rsp + 0x98]
mov ecx, dword [rsp + 0x88]
call fcn.18004b270
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x28], eax
movzx eax, byte [rsp + 0xa0]
test eax, eax
je 0x18004cc41
mov eax, dword [rsp + 0x90]
cmp dword [rsp + 0x98], eax
jae 0x18004c790
mov dword [rsp + 0x3c], 1
jmp 0x18004c798
mov dword [rsp + 0x3c], 0
movzx eax, byte [rsp + 0x3c]
mov byte [rsp + 0x20], al
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x18004c7c0
lea rdx, [rsp + 0x98]
lea rcx, [rsp + 0x90]
call fcn.18004ba10
nop
mov eax, dword [rsp + 0x90]
cvtsi2ss xmm0, rax
call fcn.18001b360
movss xmm1, dword [rsp + 0xa8]
comiss xmm1, xmm0
jbe 0x18004c828
mov eax, dword [rsp + 0x90]
cvtsi2ss xmm0, rax
xorps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x18004c80b
movss xmm0, dword [rsp + 0xa8]
xorps xmm0, xmmword [0x1801c2410]
movss dword [rsp + 0x40], xmm0
jmp 0x18004c81a
movss xmm0, dword [rsp + 0xa8]
movss dword [rsp + 0x40], xmm0
movss xmm0, dword [rsp + 0x40]
movss dword [rsp + 0x44], xmm0
jmp 0x18004c83a
mov eax, dword [rsp + 0x90]
cvtsi2ss xmm0, rax
movss dword [rsp + 0x44], xmm0
movss xmm0, dword [rsp + 0x44]
movss dword [rsp + 0x30], xmm0
mov eax, dword [rsp + 0x98]
cvtsi2ss xmm0, rax
call fcn.18001b360
movss xmm1, dword [rsp + 0xa8]
comiss xmm1, xmm0
jbe 0x18004c8ae
mov eax, dword [rsp + 0x98]
cvtsi2ss xmm0, rax
xorps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x18004c891
movss xmm0, dword [rsp + 0xa8]
xorps xmm0, xmmword [0x1801c2410]
movss dword [rsp + 0x48], xmm0
jmp 0x18004c8a0
movss xmm0, dword [rsp + 0xa8]
movss dword [rsp + 0x48], xmm0
movss xmm0, dword [rsp + 0x48]
movss dword [rsp + 0x4c], xmm0
jmp 0x18004c8c0
mov eax, dword [rsp + 0x98]
cvtsi2ss xmm0, rax
movss dword [rsp + 0x4c], xmm0
movss xmm0, dword [rsp + 0x4c]
movss dword [rsp + 0x2c], xmm0
mov eax, dword [rsp + 0x90]
cvtsi2ss xmm0, rax
ucomiss xmm0, dword [0x1801c2324]
jp 0x18004c90f
jne 0x18004c90f
mov eax, dword [rsp + 0x98]
cvtsi2ss xmm0, rax
xorps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x18004c90f
movss xmm0, dword [rsp + 0xa8]
xorps xmm0, xmmword [0x1801c2410]
movss dword [rsp + 0x30], xmm0
jmp 0x18004c950
mov eax, dword [rsp + 0x98]
cvtsi2ss xmm0, rax
ucomiss xmm0, dword [0x1801c2324]
jp 0x18004c950
jne 0x18004c950
mov eax, dword [rsp + 0x90]
cvtsi2ss xmm0, rax
xorps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x18004c950
movss xmm0, dword [rsp + 0xa8]
xorps xmm0, xmmword [0x1801c2410]
movss dword [rsp + 0x2c], xmm0
mov eax, dword [rsp + 0x28]
cvtsi2ss xmm0, rax
movss xmm1, dword [rsp + 0x30]
comiss xmm1, xmm0
jb 0x18004c972
xorps xmm0, xmm0
movss dword [rsp + 0x24], xmm0
jmp 0x18004cc0c
mov eax, dword [rsp + 0x28]
cvtsi2ss xmm0, rax
comiss xmm0, dword [rsp + 0x2c]
jb 0x18004c995
movss xmm0, dword [0x1801bdfc4]
movss dword [rsp + 0x24], xmm0
jmp 0x18004cc0c
mov eax, dword [rsp + 0x90]
imul eax, dword [rsp + 0x98]
mov eax, eax
cvtsi2ss xmm0, rax
xorps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x18004cb2d
mov eax, dword [rsp + 0x90]
cvtsi2ss xmm0, rax
xorps xmm0, xmmword [0x1801c2410]
mov eax, dword [rsp + 0x98]
cvtsi2ss xmm1, rax
mov eax, dword [rsp + 0x90]
cvtsi2ss xmm2, rax
subss xmm1, xmm2
divss xmm0, xmm1
movss dword [rsp + 0x34], xmm0
movss xmm0, dword [rsp + 0x34]
subss xmm0, dword [rsp + 0xb0]
movss dword [rsp + 0x5c], xmm0
movss xmm0, dword [rsp + 0x34]
addss xmm0, dword [rsp + 0xb0]
movss dword [rsp + 0x50], xmm0
mov eax, dword [rsp + 0x88]
cvtsi2ss xmm0, rax
ucomiss xmm0, dword [0x1801c2324]
jp 0x18004ca42
jne 0x18004ca42
movss xmm0, dword [rsp + 0x34]
movss dword [rsp + 0x24], xmm0
jmp 0x18004cb28
mov eax, dword [rsp + 0x88]
cvtsi2ss xmm0, rax
xorps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x18004cac2
mov eax, dword [rsp + 0x28]
cvtsi2ss xmm0, rax
xorps xmm0, xmmword [0x1801c2410]
divss xmm0, dword [rsp + 0xa8]
call fcn.1800666e0
movss dword [rsp + 0x58], xmm0
movss xmm1, dword [rsp + 0x30]
xorps xmm1, xmmword [0x1801c2410]
divss xmm1, dword [rsp + 0xa8]
movaps xmm0, xmm1
call fcn.1800666e0
movss xmm1, dword [rsp + 0x58]
divss xmm1, xmm0
movaps xmm0, xmm1
movss xmm1, dword [0x1801bdfc4]
subss xmm1, xmm0
movaps xmm0, xmm1
mulss xmm0, dword [rsp + 0x5c]
movss dword [rsp + 0x24], xmm0
jmp 0x18004cb28
mov eax, dword [rsp + 0x28]
cvtsi2ss xmm0, rax
divss xmm0, dword [rsp + 0xa8]
call fcn.1800666e0
movss dword [rsp + 0x60], xmm0
movss xmm1, dword [rsp + 0x2c]
divss xmm1, dword [rsp + 0xa8]
movaps xmm0, xmm1
call fcn.1800666e0
movss xmm1, dword [rsp + 0x60]
divss xmm1, xmm0
movaps xmm0, xmm1
movss xmm1, dword [0x1801bdfc4]
subss xmm1, dword [rsp + 0x50]
mulss xmm0, xmm1
movss xmm1, dword [rsp + 0x50]
addss xmm1, xmm0
movaps xmm0, xmm1
movss dword [rsp + 0x24], xmm0
jmp 0x18004cc0c
mov eax, dword [rsp + 0x90]
cvtsi2ss xmm0, rax
xorps xmm1, xmm1
comiss xmm1, xmm0
ja 0x18004cb55
mov eax, dword [rsp + 0x98]
cvtsi2ss xmm0, rax
xorps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x18004cbcb
mov eax, dword [rsp + 0x28]
cvtsi2ss xmm0, rax
xorps xmm0, xmmword [0x1801c2410]
movss xmm1, dword [rsp + 0x2c]
xorps xmm1, xmmword [0x1801c2410]
divss xmm0, xmm1
call fcn.1800666e0
movss dword [rsp + 0x64], xmm0
movss xmm1, dword [rsp + 0x30]
xorps xmm1, xmmword [0x1801c2410]
movss xmm2, dword [rsp + 0x2c]
xorps xmm2, xmmword [0x1801c2410]
divss xmm1, xmm2
movaps xmm0, xmm1
call fcn.1800666e0
movss xmm1, dword [rsp + 0x64]
divss xmm1, xmm0
movaps xmm0, xmm1
movss xmm1, dword [0x1801bdfc4]
subss xmm1, xmm0
movaps xmm0, xmm1
movss dword [rsp + 0x24], xmm0
jmp 0x18004cc0c
mov eax, dword [rsp + 0x28]
cvtsi2ss xmm0, rax
divss xmm0, dword [rsp + 0x30]
call fcn.1800666e0
movss dword [rsp + 0x68], xmm0
movss xmm1, dword [rsp + 0x2c]
divss xmm1, dword [rsp + 0x30]
movaps xmm0, xmm1
call fcn.1800666e0
movss xmm1, dword [rsp + 0x68]
divss xmm1, xmm0
movaps xmm0, xmm1
movss dword [rsp + 0x24], xmm0
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x18004cc2b
movss xmm0, dword [0x1801bdfc4]
subss xmm0, dword [rsp + 0x24]
movss dword [rsp + 0x54], xmm0
jmp 0x18004cc37
movss xmm0, dword [rsp + 0x24]
movss dword [rsp + 0x54], xmm0
movss xmm0, dword [rsp + 0x54]
jmp 0x18004cc6e
mov eax, dword [rsp + 0x90]
mov ecx, dword [rsp + 0x28]
sub ecx, eax
mov eax, ecx
cvtsi2ss xmm0, eax
mov eax, dword [rsp + 0x90]
mov ecx, dword [rsp + 0x98]
sub ecx, eax
mov eax, ecx
cvtsi2ss xmm1, eax
divss xmm0, xmm1
add rsp, 0x78
ret