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

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0xb8
mov rax, qword [0x1400f9010]
xor rax, rsp
mov qword [rsp + 0xa0], rax
movzx eax, byte [0x1400f9090]
test eax, eax
je 0x140007ada
jmp 0x14000802c
lea rcx, [rsp + 0x90]
call fcn.1400037b0
mov rax, qword [0x140113308]
vmovss xmm0, dword [rax + 0xe8]
vdivss xmm0, xmm0, dword [0x1400efed0]
vcvttss2si eax, xmm0
mov dword [rsp + 0x28], eax
mov rax, qword [0x140113308]
vmovss xmm0, dword [rax + 0xec]
vdivss xmm0, xmm0, dword [0x1400efed0]
vcvttss2si eax, xmm0
mov dword [rsp + 0x2c], eax
vxorps xmm0, xmm0, xmm0
vmovss dword [rsp + 0x24], xmm0
vxorps xmm0, xmm0, xmm0
vmovss dword [rsp + 0x20], xmm0
lea rax, [rsp + 0x60]
mov rdi, rax
mov rsi, qword [rsp + 0xd8]
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x7c]
mov rcx, qword [rsp + 0xe0]
call fcn.140007770
lea rcx, [rsp + 0x90]
mov rdi, rcx
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov edx, 2
vmovss xmm0, dword [rsp + 0x90]
call fcn.14001c4f0
vmovsd qword [rsp + 0x48], xmm0
mov edx, 2
vmovss xmm0, dword [rsp + 0x94]
call fcn.14001c4f0
vmovsd xmm1, qword [rsp + 0x48]
vaddsd xmm0, xmm1, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrt
vcvtsd2ss xmm0, xmm0, xmm0
vmovss dword [rsp + 0x38], xmm0
vmovss xmm1, dword [rsp + 0x90]
vmovss xmm0, dword [rsp + 0x94]
call sub.api_ms_win_crt_math_l1_1_0.dll_atan2f
vcvtss2sd xmm0, xmm0, xmm0
vmulsd xmm0, xmm0, qword [0x1400eff08]
mov rax, qword [rsp + 0xd0]
vcvtss2sd xmm1, xmm1, dword [rax + 0x64]
vsubsd xmm0, xmm0, xmm1
vcvtsd2ss xmm0, xmm0, xmm0
vmovss dword [rsp + 0x3c], xmm0
vmovss xmm0, dword [rsp + 0x98]
vdivss xmm0, xmm0, dword [rsp + 0x38]
call fcn.140007270
vxorps xmm0, xmm0, xmmword [0x1400f0140]
vcvtss2sd xmm0, xmm0, xmm0
vmulsd xmm0, xmm0, qword [0x1400eff08]
mov rax, qword [rsp + 0xd0]
vcvtss2sd xmm1, xmm1, dword [rax + 0x60]
vsubsd xmm0, xmm0, xmm1
vcvtsd2ss xmm0, xmm0, xmm0
vmovss dword [rsp + 0x40], xmm0
mov edx, 2
vmovss xmm0, dword [rsp + 0x3c]
call fcn.14001c4f0
vmovsd qword [rsp + 0x50], xmm0
mov edx, 2
vmovss xmm0, dword [rsp + 0x40]
call fcn.14001c4f0
vmovsd xmm1, qword [rsp + 0x50]
vaddsd xmm0, xmm1, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrt
vcvtsd2ss xmm0, xmm0, xmm0
vmovss dword [rsp + 0x30], xmm0
lea rcx, [rsp + 0x88]
call fcn.140003780
lea rax, [rsp + 0x70]
mov rdi, rax
mov rsi, qword [rsp + 0xe0]
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
lea r8, [rsp + 0x88]
lea rdx, [rsp + 0x70]
lea rcx, [0x1401132c8]
call fcn.140003800
vmovss xmm0, dword [rsp + 0x30]
vcomiss xmm0, dword [0x1400f90a4]
jae 0x14000802c
vcvtsi2ss xmm0, xmm0, dword [rsp + 0x28]
vmovss xmm1, dword [rsp + 0x88]
vcomiss xmm1, xmm0
jbe 0x140007d54
vcvtsi2ss xmm0, xmm0, dword [rsp + 0x28]
vsubss xmm0, xmm0, dword [rsp + 0x88]
vxorps xmm0, xmm0, xmmword [0x1400f0140]
vmovss dword [rsp + 0x24], xmm0
vmovss xmm0, dword [0x1400f90ac]
vucomiss xmm0, dword [0x1400efb58]
je 0x140007d2a
vmovss xmm0, dword [rsp + 0x24]
vdivss xmm0, xmm0, dword [0x1400f90ac]
vmovss dword [rsp + 0x24], xmm0
vcvtsi2ss xmm0, xmm0, dword [rsp + 0x28]
vmovss xmm1, dword [rsp + 0x24]
vaddss xmm0, xmm1, xmm0
mov eax, dword [rsp + 0x28]
shl eax, 1
vcvtsi2ss xmm1, xmm1, eax
vcomiss xmm0, xmm1
jbe 0x140007d54
vxorps xmm0, xmm0, xmm0
vmovss dword [rsp + 0x24], xmm0
vcvtsi2ss xmm0, xmm0, dword [rsp + 0x28]
vmovss xmm1, dword [rsp + 0x88]
vcomiss xmm1, xmm0
jae 0x140007dcc
vcvtsi2ss xmm0, xmm0, dword [rsp + 0x28]
vmovss xmm1, dword [rsp + 0x88]
vsubss xmm0, xmm1, xmm0
vmovss dword [rsp + 0x24], xmm0
vmovss xmm0, dword [0x1400f90ac]
vucomiss xmm0, dword [0x1400efb58]
je 0x140007da8
vmovss xmm0, dword [rsp + 0x24]
vdivss xmm0, xmm0, dword [0x1400f90ac]
vmovss dword [rsp + 0x24], xmm0
vcvtsi2ss xmm0, xmm0, dword [rsp + 0x28]
vmovss xmm1, dword [rsp + 0x24]
vaddss xmm0, xmm1, xmm0
vcomiss xmm0, dword [0x1400efb58]
jae 0x140007dcc
vxorps xmm0, xmm0, xmm0
vmovss dword [rsp + 0x24], xmm0
vmovss xmm0, dword [rsp + 0x8c]
vucomiss xmm0, dword [0x1400efb58]
je 0x140007edd
vcvtsi2ss xmm0, xmm0, dword [rsp + 0x2c]
vmovss xmm1, dword [rsp + 0x8c]
vcomiss xmm1, xmm0
jbe 0x140007e65
vcvtsi2ss xmm0, xmm0, dword [rsp + 0x2c]
vsubss xmm0, xmm0, dword [rsp + 0x8c]
vxorps xmm0, xmm0, xmmword [0x1400f0140]
vmovss dword [rsp + 0x20], xmm0
vmovss xmm0, dword [0x1400f90ac]
vucomiss xmm0, dword [0x1400efb58]
je 0x140007e3b
vmovss xmm0, dword [rsp + 0x20]
vdivss xmm0, xmm0, dword [0x1400f90ac]
vmovss dword [rsp + 0x20], xmm0
vcvtsi2ss xmm0, xmm0, dword [rsp + 0x2c]
vmovss xmm1, dword [rsp + 0x20]
vaddss xmm0, xmm1, xmm0
mov eax, dword [rsp + 0x2c]
shl eax, 1
vcvtsi2ss xmm1, xmm1, eax
vcomiss xmm0, xmm1
jbe 0x140007e65
vxorps xmm0, xmm0, xmm0
vmovss dword [rsp + 0x20], xmm0
vcvtsi2ss xmm0, xmm0, dword [rsp + 0x2c]
vmovss xmm1, dword [rsp + 0x8c]
vcomiss xmm1, xmm0
jae 0x140007edd
vcvtsi2ss xmm0, xmm0, dword [rsp + 0x2c]
vmovss xmm1, dword [rsp + 0x8c]
vsubss xmm0, xmm1, xmm0
vmovss dword [rsp + 0x20], xmm0
vmovss xmm0, dword [0x1400f90ac]
vucomiss xmm0, dword [0x1400efb58]
je 0x140007eb9
vmovss xmm0, dword [rsp + 0x20]
vdivss xmm0, xmm0, dword [0x1400f90ac]
vmovss dword [rsp + 0x20], xmm0
vcvtsi2ss xmm0, xmm0, dword [rsp + 0x2c]
vmovss xmm1, dword [rsp + 0x20]
vaddss xmm0, xmm1, xmm0
vcomiss xmm0, dword [0x1400efb58]
jae 0x140007edd
vxorps xmm0, xmm0, xmm0
vmovss dword [rsp + 0x20], xmm0
vmovss xmm0, dword [0x1400f90ac]
vucomiss xmm0, dword [0x1400efb58]
jne 0x140007f07
vcvttss2si eax, dword [rsp + 0x20]
vcvttss2si ecx, dword [rsp + 0x24]
mov edx, eax
call fcn.1400079c0
jmp 0x14000802c
vmovss xmm0, dword [rsp + 0x30]
vdivss xmm0, xmm0, dword [0x1400f90a4]
vmovss dword [rsp + 0x44], xmm0
vmovss xmm0, dword [0x1400efe40]
vsubss xmm0, xmm0, dword [rsp + 0x44]
vmovss xmm1, dword [0x1400efe40]
vaddss xmm0, xmm1, xmm0
vmovss dword [rsp + 0x34], xmm0
vmovss xmm0, dword [0x1400f90ac]
vmulss xmm0, xmm0, dword [rsp + 0x34]
vmovss xmm1, dword [rsp + 0x24]
vdivss xmm0, xmm1, xmm0
vmovss dword [rsp + 0x24], xmm0
vmovss xmm0, dword [0x1400f90ac]
vmulss xmm0, xmm0, dword [rsp + 0x34]
vmovss xmm1, dword [rsp + 0x20]
vdivss xmm0, xmm1, xmm0
vmovss dword [rsp + 0x20], xmm0
vmovss xmm0, dword [rsp + 0x24]
call fcn.140007090
vcomiss xmm0, dword [0x1400efe40]
jae 0x140007fc8
vmovss xmm0, dword [rsp + 0x24]
vcomiss xmm0, dword [0x1400efb58]
jbe 0x140007faa
vmovss xmm0, dword [0x1400efe40]
vmovss dword [rsp + 0x24], xmm0
vmovss xmm0, dword [rsp + 0x24]
vcomiss xmm0, dword [0x1400efb58]
jae 0x140007fc8
vmovss xmm0, dword [0x1400f00e4]
vmovss dword [rsp + 0x24], xmm0
vmovss xmm0, dword [rsp + 0x20]
call fcn.140007090
vcomiss xmm0, dword [0x1400efe40]
jae 0x140008019
vmovss xmm0, dword [rsp + 0x20]
vcomiss xmm0, dword [0x1400efb58]
jbe 0x140007ffb
vmovss xmm0, dword [0x1400efe40]
vmovss dword [rsp + 0x20], xmm0
vmovss xmm0, dword [rsp + 0x20]
vcomiss xmm0, dword [0x1400efb58]
jae 0x140008019
vmovss xmm0, dword [0x1400f00e4]
vmovss dword [rsp + 0x20], xmm0
vcvttss2si eax, dword [rsp + 0x20]
vcvttss2si ecx, dword [rsp + 0x24]
mov edx, eax
call fcn.1400079c0
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1400c7520
add rsp, 0xb8
pop rdi
pop rsi
ret