Function at 0x1801bcab0
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, 0xe8
mov eax, dword [rsp + 0x108]
cmp dword [rsp + 0x100], eax
jne 0x1801bcae1
xorps xmm0, xmm0
jmp 0x1801bd188
mov eax, dword [rsp + 0x108]
cmp dword [rsp + 0x100], eax
jae 0x1801bcb48
mov eax, dword [rsp + 0x100]
cmp dword [rsp + 0xf8], eax
jae 0x1801bcb0e
mov eax, dword [rsp + 0x100]
mov dword [rsp + 0x3c], eax
jmp 0x1801bcb3e
mov eax, dword [rsp + 0x108]
cmp dword [rsp + 0xf8], eax
jbe 0x1801bcb2b
mov eax, dword [rsp + 0x108]
mov dword [rsp + 0x38], eax
jmp 0x1801bcb36
mov eax, dword [rsp + 0xf8]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x48], eax
jmp 0x1801bcb9d
mov eax, dword [rsp + 0x108]
cmp dword [rsp + 0xf8], eax
jae 0x1801bcb65
mov eax, dword [rsp + 0x108]
mov dword [rsp + 0x44], eax
jmp 0x1801bcb95
mov eax, dword [rsp + 0x100]
cmp dword [rsp + 0xf8], eax
jbe 0x1801bcb82
mov eax, dword [rsp + 0x100]
mov dword [rsp + 0x40], eax
jmp 0x1801bcb8d
mov eax, dword [rsp + 0xf8]
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x28], eax
movzx eax, byte [rsp + 0x110]
test eax, eax
je 0x1801bd15b
mov eax, dword [rsp + 0x100]
cmp dword [rsp + 0x108], eax
jae 0x1801bcbcf
mov dword [rsp + 0x4c], 1
jmp 0x1801bcbd7
mov dword [rsp + 0x4c], 0
movzx eax, byte [rsp + 0x4c]
mov byte [rsp + 0x20], al
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x1801bcc0d
mov eax, dword [rsp + 0x100]
mov dword [rsp + 0x68], eax
mov eax, dword [rsp + 0x108]
mov dword [rsp + 0x100], eax
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x108], eax
mov eax, dword [rsp + 0x100]
cvtsi2ss xmm0, rax
movss dword [rsp + 0x70], xmm0
cvtss2sd xmm0, dword [rsp + 0x70]
andps xmm0, xmmword [0x1802d2a20]
cvtsd2ss xmm0, xmm0
comiss xmm0, dword [rsp + 0x118]
jae 0x1801bcc84
mov eax, dword [rsp + 0x100]
cvtsi2ss xmm0, rax
comiss xmm0, dword [0x1802d2514]
jae 0x1801bcc67
movss xmm0, dword [rsp + 0x118]
xorps xmm0, xmmword [0x1802d2a40]
movss dword [rsp + 0x50], xmm0
jmp 0x1801bcc76
movss xmm0, dword [rsp + 0x118]
movss dword [rsp + 0x50], xmm0
movss xmm0, dword [rsp + 0x50]
movss dword [rsp + 0x54], xmm0
jmp 0x1801bcc96
mov eax, dword [rsp + 0x100]
cvtsi2ss xmm0, rax
movss dword [rsp + 0x54], xmm0
movss xmm0, dword [rsp + 0x54]
movss dword [rsp + 0x30], xmm0
mov eax, dword [rsp + 0x108]
cvtsi2ss xmm0, rax
movss dword [rsp + 0x78], xmm0
cvtss2sd xmm0, dword [rsp + 0x78]
andps xmm0, xmmword [0x1802d2a20]
cvtsd2ss xmm0, xmm0
comiss xmm0, dword [rsp + 0x118]
jae 0x1801bcd19
mov eax, dword [rsp + 0x108]
cvtsi2ss xmm0, rax
comiss xmm0, dword [0x1802d2514]
jae 0x1801bccfc
movss xmm0, dword [rsp + 0x118]
xorps xmm0, xmmword [0x1802d2a40]
movss dword [rsp + 0x58], xmm0
jmp 0x1801bcd0b
movss xmm0, dword [rsp + 0x118]
movss dword [rsp + 0x58], xmm0
movss xmm0, dword [rsp + 0x58]
movss dword [rsp + 0x5c], xmm0
jmp 0x1801bcd2b
mov eax, dword [rsp + 0x108]
cvtsi2ss xmm0, rax
movss dword [rsp + 0x5c], xmm0
movss xmm0, dword [rsp + 0x5c]
movss dword [rsp + 0x2c], xmm0
mov eax, dword [rsp + 0x100]
cvtsi2ss xmm0, rax
ucomiss xmm0, dword [0x1802d2514]
jne 0x1801bcd79
mov eax, dword [rsp + 0x108]
cvtsi2ss xmm0, rax
comiss xmm0, dword [0x1802d2514]
jae 0x1801bcd79
movss xmm0, dword [rsp + 0x118]
xorps xmm0, xmmword [0x1802d2a40]
movss dword [rsp + 0x30], xmm0
jmp 0x1801bcdb9
mov eax, dword [rsp + 0x108]
cvtsi2ss xmm0, rax
ucomiss xmm0, dword [0x1802d2514]
jne 0x1801bcdb9
mov eax, dword [rsp + 0x100]
cvtsi2ss xmm0, rax
comiss xmm0, dword [0x1802d2514]
jae 0x1801bcdb9
movss xmm0, dword [rsp + 0x118]
xorps xmm0, xmmword [0x1802d2a40]
movss dword [rsp + 0x2c], xmm0
mov eax, dword [rsp + 0x28]
cvtsi2ss xmm0, rax
comiss xmm0, dword [rsp + 0x30]
ja 0x1801bcdd7
xorps xmm0, xmm0
movss dword [rsp + 0x24], xmm0
jmp 0x1801bd126
mov eax, dword [rsp + 0x28]
cvtsi2ss xmm0, rax
comiss xmm0, dword [rsp + 0x2c]
jb 0x1801bcdfa
movss xmm0, dword [0x1802d2644]
movss dword [rsp + 0x24], xmm0
jmp 0x1801bd126
mov eax, dword [rsp + 0x100]
imul eax, dword [rsp + 0x108]
mov eax, eax
cvtsi2ss xmm0, rax
comiss xmm0, dword [0x1802d2514]
jae 0x1801bcfed
mov eax, dword [rsp + 0x100]
cvtsi2ss xmm0, rax
xorps xmm0, xmmword [0x1802d2a40]
mov eax, dword [rsp + 0x108]
cvtsi2ss xmm1, rax
mov eax, dword [rsp + 0x100]
cvtsi2ss xmm2, rax
subss xmm1, xmm2
divss xmm0, xmm1
movss dword [rsp + 0x34], xmm0
movss xmm0, dword [rsp + 0x34]
subss xmm0, dword [rsp + 0x120]
movss dword [rsp + 0x94], xmm0
movss xmm0, dword [rsp + 0x34]
addss xmm0, dword [rsp + 0x120]
movss dword [rsp + 0x60], xmm0
mov eax, dword [rsp + 0xf8]
cvtsi2ss xmm0, rax
ucomiss xmm0, dword [0x1802d2514]
jne 0x1801bcea9
movss xmm0, dword [rsp + 0x34]
movss dword [rsp + 0x24], xmm0
jmp 0x1801bcfe8
mov eax, dword [rsp + 0xf8]
cvtsi2ss xmm0, rax
comiss xmm0, dword [0x1802d2514]
jae 0x1801bcf5b
mov eax, dword [rsp + 0x28]
cvtsi2ss xmm0, rax
xorps xmm0, xmmword [0x1802d2a40]
divss xmm0, dword [rsp + 0x118]
movss dword [rsp + 0x80], xmm0
movss xmm0, dword [rsp + 0x80]
call sub.api_ms_win_crt_math_l1_1_0.dll_logf
movss dword [rsp + 0x90], xmm0
movss xmm0, dword [rsp + 0x30]
xorps xmm0, xmmword [0x1802d2a40]
divss xmm0, dword [rsp + 0x118]
movss dword [rsp + 0x88], xmm0
movss xmm0, dword [rsp + 0x88]
call sub.api_ms_win_crt_math_l1_1_0.dll_logf
movss xmm1, dword [rsp + 0x90]
divss xmm1, xmm0
movaps xmm0, xmm1
movss xmm1, dword [0x1802d2644]
subss xmm1, xmm0
movaps xmm0, xmm1
mulss xmm0, dword [rsp + 0x94]
movss dword [rsp + 0x24], xmm0
jmp 0x1801bcfe8
mov eax, dword [rsp + 0x28]
cvtsi2ss xmm0, rax
divss xmm0, dword [rsp + 0x118]
movss dword [rsp + 0x98], xmm0
movss xmm0, dword [rsp + 0x98]
call sub.api_ms_win_crt_math_l1_1_0.dll_logf
movss dword [rsp + 0xa8], xmm0
movss xmm0, dword [rsp + 0x2c]
divss xmm0, dword [rsp + 0x118]
movss dword [rsp + 0xa0], xmm0
movss xmm0, dword [rsp + 0xa0]
call sub.api_ms_win_crt_math_l1_1_0.dll_logf
movss xmm1, dword [rsp + 0xa8]
divss xmm1, xmm0
movaps xmm0, xmm1
movss xmm1, dword [0x1802d2644]
subss xmm1, dword [rsp + 0x60]
mulss xmm0, xmm1
movss xmm1, dword [rsp + 0x60]
addss xmm1, xmm0
movaps xmm0, xmm1
movss dword [rsp + 0x24], xmm0
jmp 0x1801bd126
mov eax, dword [rsp + 0x100]
cvtsi2ss xmm0, rax
comiss xmm0, dword [0x1802d2514]
jb 0x1801bd01b
mov eax, dword [rsp + 0x108]
cvtsi2ss xmm0, rax
comiss xmm0, dword [0x1802d2514]
jae 0x1801bd0be
movss xmm0, dword [rsp + 0x2c]
xorps xmm0, xmmword [0x1802d2a40]
mov eax, dword [rsp + 0x28]
cvtsi2ss xmm1, rax
xorps xmm1, xmmword [0x1802d2a40]
divss xmm1, xmm0
movaps xmm0, xmm1
movss dword [rsp + 0xb0], xmm0
movss xmm0, dword [rsp + 0xb0]
call sub.api_ms_win_crt_math_l1_1_0.dll_logf
movss dword [rsp + 0xc0], xmm0
movss xmm0, dword [rsp + 0x2c]
xorps xmm0, xmmword [0x1802d2a40]
movss xmm1, dword [rsp + 0x30]
xorps xmm1, xmmword [0x1802d2a40]
divss xmm1, xmm0
movaps xmm0, xmm1
movss dword [rsp + 0xb8], xmm0
movss xmm0, dword [rsp + 0xb8]
call sub.api_ms_win_crt_math_l1_1_0.dll_logf
movss xmm1, dword [rsp + 0xc0]
divss xmm1, xmm0
movaps xmm0, xmm1
movss xmm1, dword [0x1802d2644]
subss xmm1, xmm0
movaps xmm0, xmm1
movss dword [rsp + 0x24], xmm0
jmp 0x1801bd126
mov eax, dword [rsp + 0x28]
cvtsi2ss xmm0, rax
divss xmm0, dword [rsp + 0x30]
movss dword [rsp + 0xc8], xmm0
movss xmm0, dword [rsp + 0xc8]
call sub.api_ms_win_crt_math_l1_1_0.dll_logf
movss dword [rsp + 0xd8], xmm0
movss xmm0, dword [rsp + 0x2c]
divss xmm0, dword [rsp + 0x30]
movss dword [rsp + 0xd0], xmm0
movss xmm0, dword [rsp + 0xd0]
call sub.api_ms_win_crt_math_l1_1_0.dll_logf
movss xmm1, dword [rsp + 0xd8]
divss xmm1, xmm0
movaps xmm0, xmm1
movss dword [rsp + 0x24], xmm0
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x1801bd145
movss xmm0, dword [0x1802d2644]
subss xmm0, dword [rsp + 0x24]
movss dword [rsp + 0x64], xmm0
jmp 0x1801bd151
movss xmm0, dword [rsp + 0x24]
movss dword [rsp + 0x64], xmm0
movss xmm0, dword [rsp + 0x64]
jmp 0x1801bd188
mov eax, dword [rsp + 0x100]
mov ecx, dword [rsp + 0x28]
sub ecx, eax
mov eax, ecx
cvtsi2ss xmm0, eax
mov eax, dword [rsp + 0x100]
mov ecx, dword [rsp + 0x108]
sub ecx, eax
mov eax, ecx
cvtsi2ss xmm1, eax
divss xmm0, xmm1
add rsp, 0xe8
ret