Function at 0x140099f60
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
mov eax, 0x27e8
call fcn.1400afb60
sub rsp, rax
movzx eax, byte [0x14039acd1]
cmp eax, 1
jne 0x140099fe9
lea rcx, [rsp + 0x28]
call fcn.140002fe0
lea rcx, [rsp + 0x28]
call fcn.140099ae0
mov edx, eax
lea rcx, [rsp + 0xc0]
call fcn.140098080
vmovss xmm2, dword [0x1400c67e0]
vmovss xmm1, dword [0x1400c0938]
lea rcx, [rsp + 0xa0]
call fcn.140098220
lea rdx, [rsp + 0xc0]
lea rcx, [rsp + 0xa0]
call fcn.140095800
vcvttss2si eax, xmm0
mov dword [0x14039acfc], eax
movzx eax, byte [0x14039acd2]
cmp eax, 1
jne 0x14009a052
lea rcx, [rsp + 0x29]
call fcn.140002fe0
lea rcx, [rsp + 0x29]
call fcn.140099ae0
mov edx, eax
lea rcx, [rsp + 0x1450]
call fcn.140098080
vmovss xmm2, dword [0x1400c9030]
vmovss xmm1, dword [0x1400ba544]
lea rcx, [rsp + 0xa8]
call fcn.140098220
lea rdx, [rsp + 0x1450]
lea rcx, [rsp + 0xa8]
call fcn.140095800
vmovss dword [0x14039ad00], xmm0
mov r8, qword [rsp + 0x2808]
mov rdx, qword [rsp + 0x2810]
lea rcx, [rsp + 0x40]
call fcn.1400992d0
vmovss xmm0, dword [rsp + 0x40]
vmulss xmm0, xmm0, dword [rsp + 0x40]
vmovss dword [rsp + 0x74], xmm0
vmovss xmm0, dword [rsp + 0x44]
vmulss xmm0, xmm0, dword [rsp + 0x44]
vmovss dword [rsp + 0x78], xmm0
vmovss xmm0, dword [rsp + 0x48]
vmulss xmm0, xmm0, dword [rsp + 0x48]
vmovss dword [rsp + 0x98], xmm0
vmovss xmm0, dword [rsp + 0x74]
vaddss xmm0, xmm0, dword [rsp + 0x78]
vmovss dword [rsp + 0x50], xmm0
vmovss xmm0, dword [rsp + 0x50]
call fcn.1400a4d60
vmovss dword [rsp + 0x9c], xmm0
vmovss xmm1, dword [rsp + 0x40]
vmovss xmm0, dword [rsp + 0x44]
call qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_atan2f]
vcvtss2sd xmm0, xmm0, xmm0
vmulsd xmm0, xmm0, qword [0x1400c9038]
mov rax, qword [rsp + 0x2800]
vcvtss2sd xmm1, xmm1, dword [rax + 0x74]
vsubsd xmm0, xmm0, xmm1
vcvtsd2ss xmm0, xmm0, xmm0
vmovss dword [rsp + 0x54], xmm0
vmovss xmm0, dword [rsp + 0x50]
call fcn.1400a4d60
vmovss xmm1, dword [rsp + 0x48]
vdivss xmm0, xmm1, xmm0
call fcn.1400a3400
vxorps xmm0, xmm0, xmmword [0x1400ba5d0]
vcvtss2sd xmm0, xmm0, xmm0
vmulsd xmm0, xmm0, qword [0x1400c9038]
mov rax, qword [rsp + 0x2800]
vcvtss2sd xmm1, xmm1, dword [rax + 0x70]
vsubsd xmm0, xmm0, xmm1
vcvtsd2ss xmm0, xmm0, xmm0
vmovss dword [rsp + 0x58], xmm0
vmovss xmm0, dword [rsp + 0x54]
vmulss xmm0, xmm0, dword [rsp + 0x54]
vmovss xmm1, dword [rsp + 0x58]
vmulss xmm1, xmm1, dword [rsp + 0x58]
vaddss xmm0, xmm0, xmm1
vmovss dword [rsp + 0x7c], xmm0
vmovss xmm0, dword [rsp + 0x7c]
call fcn.1400a4d60
vmovss dword [rsp + 0x80], xmm0
mov rax, qword [0x140399aa0]
vmovss xmm0, dword [rax + 0xe8]
vdivss xmm0, xmm0, dword [0x1400ba3b0]
vcvttss2si eax, xmm0
mov dword [rsp + 0x2c], eax
mov rax, qword [0x140399aa0]
vmovss xmm0, dword [rax + 0xec]
vdivss xmm0, xmm0, dword [0x1400ba3b0]
vcvttss2si eax, xmm0
mov dword [rsp + 0x30], eax
vxorps xmm0, xmm0, xmm0
vmovss dword [rsp + 0x24], xmm0
vxorps xmm0, xmm0, xmm0
vmovss dword [rsp + 0x20], xmm0
lea rcx, [rsp + 0x38]
call fcn.140005e20
lea rax, [rsp + 0xb0]
mov rdi, rax
mov rsi, qword [rsp + 0x2810]
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0xb0]
lea rcx, [0x140399b00]
call fcn.1400065c0
vcvtsi2ss xmm0, xmm0, dword [0x14039acfc]
vmovss xmm1, dword [rsp + 0x80]
vcomiss xmm1, xmm0
jae 0x14009a513
vcvtsi2ss xmm0, xmm0, dword [rsp + 0x2c]
vmovss xmm1, dword [rsp + 0x38]
vucomiss xmm1, xmm0
je 0x14009a333
vcvtsi2ss xmm0, xmm0, dword [rsp + 0x2c]
vmovss xmm1, dword [rsp + 0x38]
vcomiss xmm1, xmm0
jbe 0x14009a271
vcvtsi2ss xmm0, xmm0, dword [rsp + 0x2c]
vsubss xmm0, xmm0, dword [rsp + 0x38]
vxorps xmm0, xmm0, xmmword [0x1400ba5d0]
vmovss dword [rsp + 0x5c], xmm0
jmp 0x14009a287
vcvtsi2ss xmm0, xmm0, dword [rsp + 0x2c]
vmovss xmm1, dword [rsp + 0x38]
vsubss xmm0, xmm1, xmm0
vmovss dword [rsp + 0x5c], xmm0
vmovss xmm0, dword [rsp + 0x5c]
vmovss dword [rsp + 0x24], xmm0
vmovss xmm0, dword [0x14039ad00]
vucomiss xmm0, dword [0x1400ba4dc]
je 0x14009a2b5
vmovss xmm0, dword [0x14039ad00]
vmovss dword [rsp + 0x60], xmm0
jmp 0x14009a2c3
vmovss xmm0, dword [0x1400ba544]
vmovss dword [rsp + 0x60], xmm0
vmovss xmm0, dword [rsp + 0x24]
vdivss xmm0, xmm0, dword [rsp + 0x60]
vmovss dword [rsp + 0x24], xmm0
vcvtsi2ss xmm0, xmm0, dword [rsp + 0x2c]
vmovss xmm1, dword [rsp + 0x24]
vaddss xmm0, xmm1, xmm0
mov eax, dword [rsp + 0x2c]
shl eax, 1
vcvtsi2ss xmm1, xmm1, eax
vcomiss xmm0, xmm1
ja 0x14009a31d
vcvtsi2ss xmm0, xmm0, dword [rsp + 0x2c]
vmovss xmm1, dword [rsp + 0x24]
vaddss xmm0, xmm1, xmm0
vcomiss xmm0, dword [0x1400ba4dc]
jb 0x14009a31d
vmovss xmm0, dword [rsp + 0x24]
vmovss dword [rsp + 0x64], xmm0
jmp 0x14009a327
vxorps xmm0, xmm0, xmm0
vmovss dword [rsp + 0x64], xmm0
vmovss xmm0, dword [rsp + 0x64]
vmovss dword [rsp + 0x24], xmm0
vcvtsi2ss xmm0, xmm0, dword [rsp + 0x30]
vmovss xmm1, dword [rsp + 0x3c]
vucomiss xmm1, xmm0
je 0x14009a439
vcvtsi2ss xmm0, xmm0, dword [rsp + 0x30]
vmovss xmm1, dword [rsp + 0x3c]
vcomiss xmm1, xmm0
jbe 0x14009a377
vcvtsi2ss xmm0, xmm0, dword [rsp + 0x30]
vsubss xmm0, xmm0, dword [rsp + 0x3c]
vxorps xmm0, xmm0, xmmword [0x1400ba5d0]
vmovss dword [rsp + 0x68], xmm0
jmp 0x14009a38d
vcvtsi2ss xmm0, xmm0, dword [rsp + 0x30]
vmovss xmm1, dword [rsp + 0x3c]
vsubss xmm0, xmm1, xmm0
vmovss dword [rsp + 0x68], xmm0
vmovss xmm0, dword [rsp + 0x68]
vmovss dword [rsp + 0x20], xmm0
vmovss xmm0, dword [0x14039ad00]
vucomiss xmm0, dword [0x1400ba4dc]
je 0x14009a3bb
vmovss xmm0, dword [0x14039ad00]
vmovss dword [rsp + 0x6c], xmm0
jmp 0x14009a3c9
vmovss xmm0, dword [0x1400ba544]
vmovss dword [rsp + 0x6c], xmm0
vmovss xmm0, dword [rsp + 0x20]
vdivss xmm0, xmm0, dword [rsp + 0x6c]
vmovss dword [rsp + 0x20], xmm0
vcvtsi2ss xmm0, xmm0, dword [rsp + 0x30]
vmovss xmm1, dword [rsp + 0x20]
vaddss xmm0, xmm1, xmm0
mov eax, dword [rsp + 0x30]
shl eax, 1
vcvtsi2ss xmm1, xmm1, eax
vcomiss xmm0, xmm1
ja 0x14009a423
vcvtsi2ss xmm0, xmm0, dword [rsp + 0x30]
vmovss xmm1, dword [rsp + 0x20]
vaddss xmm0, xmm1, xmm0
vcomiss xmm0, dword [0x1400ba4dc]
jb 0x14009a423
vmovss xmm0, dword [rsp + 0x20]
vmovss dword [rsp + 0x70], xmm0
jmp 0x14009a42d
vxorps xmm0, xmm0, xmm0
vmovss dword [rsp + 0x70], xmm0
vmovss xmm0, dword [rsp + 0x70]
vmovss dword [rsp + 0x20], xmm0
vmovss xmm0, dword [0x14039ad00]
vucomiss xmm0, dword [0x1400ba4dc]
jne 0x14009a45e
vcvttss2si eax, dword [rsp + 0x20]
vcvttss2si ecx, dword [rsp + 0x24]
mov edx, eax
call fcn.14009f360
vmovss xmm0, dword [rsp + 0x24]
call fcn.140043350
vcomiss xmm0, dword [0x1400ba544]
jae 0x14009a491
vmovss xmm1, dword [rsp + 0x24]
vmovsd xmm0, qword [0x1400c67f8]
call fcn.1400973c0
vmovsd qword [rsp + 0x88], xmm0
jmp 0x14009a4a0
vcvtss2sd xmm0, xmm0, dword [rsp + 0x24]
vmovsd qword [rsp + 0x88], xmm0
vcvtsd2ss xmm0, xmm0, qword [rsp + 0x88]
vmovss dword [rsp + 0x24], xmm0
vmovss xmm0, dword [rsp + 0x20]
call fcn.140043350
vcomiss xmm0, dword [0x1400ba544]
jae 0x14009a4e2
vmovss xmm1, dword [rsp + 0x20]
vmovsd xmm0, qword [0x1400c67f8]
call fcn.1400973c0
vmovsd qword [rsp + 0x90], xmm0
jmp 0x14009a4f1
vcvtss2sd xmm0, xmm0, dword [rsp + 0x20]
vmovsd qword [rsp + 0x90], xmm0
vcvtsd2ss xmm0, xmm0, qword [rsp + 0x90]
vmovss dword [rsp + 0x20], xmm0
vcvttss2si eax, dword [rsp + 0x20]
vcvttss2si ecx, dword [rsp + 0x24]
mov edx, eax
call fcn.14009f360
add rsp, 0x27e8
pop rdi
pop rsi
ret