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

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0xc0
mov rbx, qword [rcx + 0x30]
xor esi, esi
movaps xmmword [r11 - 0x28], xmm6
mov rdi, rcx
movaps xmmword [r11 - 0x38], xmm7
movaps xmmword [r11 - 0x58], xmm9
xorps xmm9, xmm9
mov rbp, qword [rbx]
movzx eax, byte [rbp + 0x24]
cmp al, 5
jne 0x14005e642
mov rbp, qword [rbp + 0x18]
movsd xmm3, qword [rbx + 0x10]
movsd xmm4, qword [rbx + 8]
movaps xmm0, xmm3
movsd xmm2, qword [rbx + 0x18]
movaps xmm7, xmm4
movsd xmm6, qword [rbp + 0x18]
movaps xmm1, xmm2
mulsd xmm4, xmm4
movaps xmmword [r11 - 0x48], xmm8
movaps xmmword [r11 - 0x68], xmm10
movsd xmm10, qword [rbp + 0x20]
mulsd xmm7, xmm6
mulsd xmm0, xmm10
mulsd xmm3, xmm3
mulsd xmm2, xmm2
addsd xmm7, xmm0
movaps xmmword [r11 - 0x78], xmm11
movsd xmm11, qword [rbp + 0x28]
addsd xmm4, xmm3
mulsd xmm1, xmm11
xorps xmm0, xmm0
addsd xmm4, xmm2
addsd xmm7, xmm1
ucomisd xmm0, xmm4
ja 0x14005e5ac
sqrtpd xmm8, xmm4
jmp 0x14005e5b8
movaps xmm0, xmm4
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrt
movaps xmm8, xmm0
mulsd xmm6, xmm6
xorps xmm1, xmm1
mulsd xmm10, xmm10
mulsd xmm11, xmm11
addsd xmm6, xmm10
movaps xmm10, xmmword [rsp + 0x70]
addsd xmm6, xmm11
movaps xmm11, xmmword [rsp + 0x60]
ucomisd xmm1, xmm6
ja 0x14005e5eb
sqrtpd xmm0, xmm6
jmp 0x14005e5f3
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrt
mulsd xmm8, xmm0
divsd xmm7, xmm8
movaps xmm8, xmmword [rsp + 0x90]
andps xmm7, xmmword [0x140158810]
comisd xmm7, xmmword [0x140158828]
ja 0x14005e7aa
xor r9d, r9d
lea r8, [rbx + 8]
lea rdx, [rbp + 0x18]
mov rcx, rbp
call fcn.14005f510
lea rcx, str.Here_Ex_1_n
mov rbx, rax
call fcn.140001fb0
jmp 0x14005e741
cmp al, 1
jne 0x14005e7aa
movsd xmm6, qword [rbx + 8]
mov rbp, qword [rbp + 0x18]
movaps xmm4, xmm6
movsd xmm2, qword [rbx + 0x10]
movaps xmm7, xmm6
movsd xmm3, qword [rbx + 0x18]
movaps xmm0, xmm2
mulsd xmm4, xmm6
movaps xmm1, xmm3
mulsd xmm7, qword [rbp + 0x48]
mulsd xmm0, qword [rbp + 0x50]
mulsd xmm1, qword [rbp + 0x58]
mulsd xmm2, xmm2
addsd xmm7, xmm0
mulsd xmm3, xmm3
xorps xmm0, xmm0
addsd xmm4, xmm2
addsd xmm7, xmm1
addsd xmm4, xmm3
ucomisd xmm0, xmm4
ja 0x14005e6a3
sqrtpd xmm0, xmm4
jmp 0x14005e6ab
movaps xmm0, xmm4
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrt
movaps xmm1, xmm7
divsd xmm1, xmm0
movsd xmm0, qword [0x140158a70]
andps xmm1, xmmword [0x140158810]
comisd xmm0, xmm1
ja 0x14005e7aa
comisd xmm9, xmm7
seta sil
test esi, esi
je 0x14005e701
movsd xmm2, qword [0x140158af0]
xorps xmm6, xmm2
movsd qword [rsp + 0x40], xmm6
movsd xmm0, qword [rbx + 0x10]
xorps xmm0, xmm2
movsd qword [rsp + 0x48], xmm0
movsd xmm1, qword [rbx + 0x18]
xorps xmm1, xmm2
jmp 0x14005e717
movsd qword [rsp + 0x40], xmm6
movsd xmm0, qword [rbx + 0x10]
movsd qword [rsp + 0x48], xmm0
movsd xmm1, qword [rbx + 0x18]
movaps xmm0, xmmword [0x140158ac0]
lea r8, [rbp + 0x30]
lea rdx, [rbp + 0x18]
movsd qword [rsp + 0x50], xmm1
lea r9, [rsp + 0x40]
mov rcx, rbp
movups xmmword [rsp + 0x20], xmm0
call fcn.14005e3b0
mov rbx, rax
mov eax, dword [rdi + 0x38]
test al, 1
je 0x14005e74f
xor dword [rbx + 0x38], 1
mov eax, dword [rdi + 0x38]
test al, 4
je 0x14005e75f
or dword [rbx + 0x38], 4
mov rax, qword [rdi + 0x28]
mov qword [rbx + 0x28], rax
lea r9, [rdi + 0x18]
mov edx, 3
lea r8, [rdi + 8]
mov rcx, rbx
test esi, esi
je 0x14005e7a0
subsd xmm9, qword [r9]
xorps xmm0, xmm0
lea r9, [rsp + 0x30]
subsd xmm0, qword [rdi + 0x20]
movsd qword [rsp + 0x38], xmm9
movsd qword [rsp + 0x30], xmm0
call fcn.140062960
xor dword [rbx + 0x38], 1
mov rax, rbx
jmp 0x14005e7ac
call fcn.140062960
mov rax, rbx
jmp 0x14005e7ac
xor eax, eax
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm9, xmmword [r11 - 0x40]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
push rbp
push rdi
push r12
push r13
push r14
lea rbp, [rax - 0x5f]
sub rsp, 0x100
mov r14, qword [rcx + 0x30]
xor r12d, r12d
movaps xmmword [rax - 0x38], xmm6
mov rbx, rcx
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
mov rsi, qword [r14]
movaps xmmword [rax - 0x68], xmm9
movaps xmmword [rax - 0x78], xmm10
movaps xmmword [rax - 0x88], xmm12
movaps xmmword [rax - 0x98], xmm13
movaps xmmword [rax - 0xa8], xmm14
movzx eax, byte [rsi + 0x24]
cmp al, 5
jne 0x14005f9fa
mov rdi, qword [rsi + 0x18]
movsd xmm7, qword [rdi + 0x20]
movsd xmm8, qword [rdi + 0x18]
movaps xmm0, xmm7
movsd xmm9, qword [rdi + 0x28]
movaps xmm2, xmm8
mulsd xmm2, xmm8
movaps xmm1, xmm9
mulsd xmm0, xmm7
mulsd xmm1, xmm9
addsd xmm2, xmm0
xorps xmm0, xmm0
addsd xmm2, xmm1
ucomisd xmm0, xmm2
ja 0x14005f70c
sqrtpd xmm10, xmm2
jmp 0x14005f718
movaps xmm0, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrt
movaps xmm10, xmm0
movaps xmm2, xmm9
movaps xmm3, xmm8
mulsd xmm3, qword [r14 + 0x38]
movaps xmm1, xmm7
mulsd xmm2, qword [r14 + 0x48]
movaps xmm0, xmm10
mulsd xmm1, qword [r14 + 0x40]
addsd xmm3, xmm1
addsd xmm3, xmm2
movsd xmm2, qword [0x140158828]
mulsd xmm0, xmm2
andps xmm3, xmmword [0x140158810]
comisd xmm3, xmm0
ja 0x14005fe87
movsd xmm13, qword [r14 + 0x28]
movsd xmm12, qword [r14 + 0x20]
movaps xmm0, xmm13
movsd xmm14, qword [r14 + 0x30]
movaps xmm6, xmm12
mulsd xmm6, xmm8
movaps xmm1, xmm14
mulsd xmm0, xmm7
mulsd xmm1, xmm9
addsd xmm6, xmm0
addsd xmm6, xmm1
movaps xmm0, xmm6
andps xmm0, xmmword [0x140158810]
comisd xmm2, xmm0
ja 0x14005fe87
movsd xmm7, qword [rdi]
movsd xmm0, qword [rdi + 8]
movaps xmm4, xmm7
subsd xmm0, qword [r14 + 0x10]
subsd xmm4, qword [r14 + 8]
movsd xmm1, qword [rdi + 0x10]
subsd xmm1, qword [r14 + 0x18]
mulsd xmm0, xmm13
mulsd xmm4, xmm12
mulsd xmm1, xmm14
addsd xmm4, xmm0
addsd xmm4, xmm1
mulsd xmm12, xmm4
mulsd xmm13, xmm4
mulsd xmm14, xmm4
addsd xmm12, qword [r14 + 8]
addsd xmm13, qword [r14 + 0x10]
addsd xmm14, qword [r14 + 0x18]
subsd xmm7, xmm12
movsd qword [rbp - 0x79], xmm12
movsd qword [rbp - 0x71], xmm13
movsd qword [rbp - 0x69], xmm14
movsd qword [rbp - 0x61], xmm7
movsd xmm0, qword [rdi + 8]
subsd xmm0, xmm13
mulsd xmm7, xmm7
movsd qword [rbp - 0x59], xmm0
movsd xmm8, qword [rdi + 0x10]
mulsd xmm0, xmm0
subsd xmm8, xmm14
addsd xmm7, xmm0
movsd qword [rbp - 0x51], xmm8
movaps xmm0, xmm8
mulsd xmm0, xmm8
addsd xmm7, xmm0
xorps xmm0, xmm0
ucomisd xmm0, xmm7
ja 0x14005f865
sqrtpd xmm7, xmm7
jmp 0x14005f870
movaps xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrt
movaps xmm7, xmm0
movaps xmm1, xmm6
movaps xmm2, xmm7
divsd xmm1, xmm10
unpcklpd xmm2, xmm2
xorps xmm0, xmm0
andps xmm1, xmmword [0x140158810]
comisd xmm1, xmmword [0x140158a70]
jbe 0x14005f8cf
ucomisd xmm7, xmm0
jp 0x14005f89f
je 0x14005fe87
movsd xmm0, qword [0x1401587f0]
lea r9, [r14 + 0x20]
movsd qword [rsp + 0x28], xmm6
lea rdx, [rbp - 0x61]
xor r8d, r8d
movsd qword [rsp + 0x20], xmm0
lea rcx, [rbp - 0x79]
call fcn.14005e3b0
mov rdi, rax
jmp 0x14005fe42
ucomisd xmm7, xmm0
jp 0x14005f983
jne 0x14005f983
movaps xmm0, xmm6
movaps xmm1, xmm6
mulsd xmm0, qword [r14 + 0x20]
movaps xmm2, xmm6
movsd qword [rbp - 0x61], xmm0
mulsd xmm1, qword [r14 + 0x28]
movsd qword [rbp - 0x59], xmm1
mulsd xmm2, qword [r14 + 0x30]
movsd qword [rbp - 0x51], xmm2
movsd xmm3, qword [rdi + 0x18]
subsd xmm3, xmm0
movsd qword [rbp - 0x61], xmm3
movsd xmm4, qword [rdi + 0x20]
subsd xmm4, xmm1
mulsd xmm3, xmm3
movsd qword [rbp - 0x59], xmm4
movsd xmm8, qword [rdi + 0x28]
subsd xmm8, xmm2
mulsd xmm4, xmm4
movaps xmm0, xmm8
addsd xmm4, xmm3
mulsd xmm0, xmm8
addsd xmm4, xmm0
xorps xmm0, xmm0
ucomisd xmm0, xmm4
ja 0x14005f958
sqrtpd xmm3, xmm4
jmp 0x14005f963
movaps xmm0, xmm4
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrt
movaps xmm3, xmm0
movups xmm2, xmmword [rbp - 0x61]
movaps xmm1, xmm3
unpcklpd xmm1, xmm1
divpd xmm2, xmm1
divsd xmm8, xmm3
movups xmmword [rbp - 0x61], xmm2
movsd qword [rbp - 0x51], xmm8
jmp 0x14005f9be
movups xmm0, xmmword [rbp - 0x61]
divsd xmm8, xmm7
divpd xmm0, xmm2
movsd qword [rbp - 0x51], xmm8
movups xmmword [rbp - 0x61], xmm0
mulsd xmm8, qword [rdi + 0x28]
movaps xmm3, xmm0
mulsd xmm3, qword [rdi + 0x18]
unpckhpd xmm0, xmm0
mulsd xmm0, qword [rdi + 0x20]
addsd xmm3, xmm0
addsd xmm3, xmm8
addsd xmm3, xmm7
movsd xmm0, qword [0x1401587f0]
lea r9, [r14 + 0x20]
movsd qword [rsp + 0x38], xmm3
lea rdx, [rbp - 0x61]
movsd qword [rsp + 0x30], xmm7
lea rcx, [rbp - 0x79]
movsd qword [rsp + 0x28], xmm6
xor r8d, r8d
movsd qword [rsp + 0x20], xmm0
call fcn.14005e230
mov rdi, rax
jmp 0x14005fe42
cmp al, 1
jne 0x14005fe87
mov rsi, qword [rsi + 0x18]
lea r13, [r14 + 0x20]
movsd xmm7, qword [r13]
movsd xmm8, qword [r14 + 0x28]
movaps xmm2, xmm7
movsd xmm9, qword [r14 + 0x30]
movaps xmm0, xmm8
mulsd xmm2, qword [rsi + 0x48]
movaps xmm1, xmm9
mulsd xmm0, qword [rsi + 0x50]
mulsd xmm1, qword [rsi + 0x58]
addsd xmm2, xmm0
addsd xmm2, xmm1
andps xmm2, xmmword [0x140158810]
comisd xmm2, xmmword [0x140158828]
ja 0x14005fe87
movsd xmm6, qword [rsi]
movsd xmm0, qword [rsi + 8]
movaps xmm4, xmm6
subsd xmm0, qword [r14 + 0x10]
subsd xmm4, qword [r14 + 8]
movsd xmm1, qword [rsi + 0x10]
subsd xmm1, qword [r14 + 0x18]
mulsd xmm0, xmm8
mulsd xmm4, xmm7
mulsd xmm1, xmm9
addsd xmm4, xmm0
addsd xmm4, xmm1
mulsd xmm8, xmm4
mulsd xmm7, xmm4
mulsd xmm9, xmm4
addsd xmm8, qword [r14 + 0x10]
addsd xmm7, qword [r14 + 8]
addsd xmm9, qword [r14 + 0x18]
movsd qword [rbp - 0x71], xmm8
subsd xmm6, xmm7
movsd qword [rbp - 0x79], xmm7
movsd qword [rbp - 0x69], xmm9
movsd qword [rbp - 0x61], xmm6
movsd xmm1, qword [rsi + 8]
subsd xmm1, xmm8
mulsd xmm6, xmm6
movsd qword [rbp - 0x59], xmm1
movsd xmm8, qword [rsi + 0x10]
subsd xmm8, xmm9
mulsd xmm1, xmm1
movaps xmm0, xmm8
movsd qword [rbp - 0x51], xmm8
mulsd xmm0, xmm8
addsd xmm1, xmm6
addsd xmm1, xmm0
xorps xmm0, xmm0
ucomisd xmm0, xmm1
ja 0x14005fb0e
sqrtpd xmm6, xmm1
jmp 0x14005fb19
movaps xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrt
movaps xmm6, xmm0
movsd xmm1, qword [rsi + 0x20]
xorps xmm0, xmm0
movsd xmm3, qword [rsi + 0x18]
movsd xmm2, qword [rsi + 0x28]
mulsd xmm3, xmm3
mulsd xmm1, xmm1
mulsd xmm2, xmm2
addsd xmm3, xmm1
addsd xmm3, xmm2
ucomisd xmm0, xmm3
ja 0x14005fb4b
sqrtpd xmm7, xmm3
jmp 0x14005fb56
movaps xmm0, xmm3
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrt
movaps xmm7, xmm0
movaps xmm1, xmm7
mov r9, r13
mulsd xmm1, qword [0x140158a60]
mulsd xmm1, qword [0x1401587d0]
comisd xmm1, xmm6
jbe 0x14005fc7b
movsd xmm1, qword [rsi + 0x48]
lea r8, [rbp - 0x61]
movsd xmm2, qword [0x140158af0]
xor edx, edx
xorps xmm1, xmm2
movsd qword [rsp + 0x20], xmm7
movsd qword [rbp - 0x61], xmm1
mov rcx, rsi
movsd xmm0, qword [rsi + 0x50]
xorps xmm0, xmm2
movsd qword [rbp - 0x59], xmm0
movsd xmm1, qword [rsi + 0x58]
xorps xmm1, xmm2
movsd qword [rbp - 0x51], xmm1
call fcn.1400603d0
movsd xmm6, qword [rsi + 0x20]
mov rdi, rax
movsd xmm8, qword [rsi + 0x18]
movaps xmm0, xmm6
movsd xmm9, qword [rsi + 0x28]
movaps xmm2, xmm8
mov rax, qword [rax + 0x30]
movaps xmm1, xmm9
mulsd xmm7, xmm7
mulsd xmm2, qword [rax + 0x18]
mulsd xmm0, qword [rax + 0x20]
mulsd xmm1, qword [rax + 0x28]
addsd xmm2, xmm0
movsd xmm0, qword [0x140158a70]
addsd xmm2, xmm1
divsd xmm2, xmm7
comisd xmm0, xmm2
jbe 0x14005fe42
movsd xmm0, qword [0x140158800]
comisd xmm0, xmm2
jb 0x14005fc25
movsd xmm1, qword [0x1401588e0]
jmp 0x14005fc30
movaps xmm0, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll_acos
movaps xmm1, xmm0
mulsd xmm6, qword [r14 + 0x28]
xorps xmm0, xmm0
mulsd xmm8, qword [r13]
mulsd xmm9, qword [r14 + 0x30]
addsd xmm6, xmm8
addsd xmm6, xmm9
comisd xmm0, xmm6
jbe 0x14005fc60
subsd xmm0, xmm1
movaps xmm1, xmm0
nop dword [rax]
movups xmm0, xmmword [rbx + 0x18]
mov r12d, 1
unpcklpd xmm1, xmm1
addpd xmm0, xmm1
movups xmmword [rbp - 0x79], xmm0
jmp 0x14005fe42
movsd xmm2, qword [0x1401587f0]
lea rax, [rbp - 0x61]
movups xmm1, xmmword [rbp - 0x61]
xor r8d, r8d
lea rdx, [rbp - 0x61]
divsd xmm2, xmm6
lea rcx, [rbp - 0x79]
mov qword [rsp + 0x130], r15
movsd qword [rsp + 0x40], xmm7
mov qword [rsp + 0x38], r12
movaps xmm0, xmm2
unpcklpd xmm0, xmm0
mulpd xmm1, xmm0
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], rax
mulsd xmm8, xmm2
movups xmmword [rbp - 0x61], xmm1
movsd qword [rsp + 0x20], xmm6
movsd qword [rbp - 0x51], xmm8
call fcn.140062410
movsd xmm6, qword [rsi + 0x20]
mov rdi, rax
movsd xmm8, qword [rsi + 0x18]
movaps xmm0, xmm6
movsd xmm9, qword [rsi + 0x28]
movaps xmm2, xmm8
mov r15, qword [rax + 0x30]
movaps xmm1, xmm9
mulsd xmm7, xmm7
mulsd xmm2, qword [r15 + 0x60]
mulsd xmm0, qword [r15 + 0x68]
mulsd xmm1, qword [r15 + 0x70]
addsd xmm2, xmm0
movsd xmm0, qword [0x140158a70]
addsd xmm2, xmm1
divsd xmm2, xmm7
comisd xmm0, xmm2
jbe 0x14005fdde
movsd xmm0, qword [0x140158800]
comisd xmm0, xmm2
jb 0x14005fd4b
movsd xmm3, qword [0x1401588e0]
jmp 0x14005fd56
movaps xmm0, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll_acos
movaps xmm3, xmm0
mulsd xmm6, qword [r14 + 0x28]
xorps xmm4, xmm4
mulsd xmm8, qword [r13]
mulsd xmm9, qword [r14 + 0x30]
addsd xmm6, xmm8
addsd xmm6, xmm9
comisd xmm4, xmm6
jbe 0x14005fd85
xorps xmm0, xmm0
subsd xmm0, xmm3
movaps xmm3, xmm0
movsd xmm2, qword [r15 + 0x98]
mulsd xmm2, qword [rsi + 0x50]
movsd xmm0, qword [r15 + 0x90]
mulsd xmm0, qword [rsi + 0x48]
movsd xmm1, qword [r15 + 0xa0]
mulsd xmm1, qword [rsi + 0x58]
addsd xmm2, xmm0
unpcklpd xmm3, xmm3
addsd xmm2, xmm1
comisd xmm4, xmm2
jbe 0x14005fdd0
xor dword [rdi + 0x38], 1
movaps xmm0, xmm3
jmp 0x14005fe20
movups xmm0, xmmword [rbx + 0x18]
addpd xmm0, xmm3
movups xmmword [rbp - 0x79], xmm0
jmp 0x14005fe34
movsd xmm2, qword [r15 + 0x98]
xorps xmm3, xmm3
mulsd xmm2, qword [rsi + 0x50]
movsd xmm0, qword [r15 + 0x90]
mulsd xmm0, qword [rsi + 0x48]
movsd xmm1, qword [r15 + 0xa0]
mulsd xmm1, qword [rsi + 0x58]
addsd xmm2, xmm0
addsd xmm2, xmm1
comisd xmm3, xmm2
jbe 0x14005fe3a
xor dword [rax + 0x38], 1
xorps xmm0, xmm0
subsd xmm3, qword [rbx + 0x18]
subsd xmm0, qword [rbx + 0x20]
movsd qword [rbp - 0x71], xmm3
movsd qword [rbp - 0x79], xmm0
mov r12d, 1
mov r15, qword [rsp + 0x130]
mov eax, dword [rbx + 0x38]
test al, 1
je 0x14005fe50
xor dword [rdi + 0x38], 1
mov eax, dword [rbx + 0x38]
test al, 4
je 0x14005fe60
or dword [rdi + 0x38], 4
mov rax, qword [rbx + 0x28]
mov qword [rdi + 0x28], rax
test r12d, r12d
jne 0x14005fe6d
movups xmm0, xmmword [rbx + 0x18]
movups xmmword [rbp - 0x79], xmm0
lea r8, [rbx + 8]
mov edx, 3
lea r9, [rbp - 0x79]
mov rcx, rdi
call fcn.140062960
mov rax, rdi
jmp 0x14005fe89
xor eax, eax
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
movaps xmm12, xmmword [r11 - 0x60]
movaps xmm13, xmmword [r11 - 0x70]
movaps xmm14, xmmword [r11 - 0x80]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rbp
ret
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x110
mov rsi, qword [rcx + 0x30]
xor r14d, r14d
movaps xmmword [rax - 0x28], xmm6
mov rdi, rcx
movaps xmmword [rax - 0x38], xmm7
movaps xmmword [rax - 0x48], xmm8
mov rbx, qword [rsi]
movaps xmmword [rax - 0x58], xmm9
movaps xmmword [rax - 0x68], xmm10
movaps xmmword [rax - 0x78], xmm11
test rbx, rbx
je 0x14006038e
mov rcx, qword [rsi + 8]
test rcx, rcx
je 0x14006038e
movzx eax, byte [rbx + 0x24]
cmp al, byte [rcx + 0x24]
jne 0x14006038e
xorps xmm8, xmm8
cmp al, 5
jne 0x14006004c
mov rax, qword [rbx + 0x18]
movsd xmm3, qword [rax + 0x18]
lea rdx, [rax + 0x18]
mov r8, qword [rcx + 0x18]
movaps xmm0, xmm3
mulsd xmm0, xmm3
movsd xmm4, qword [rax + 0x20]
movsd xmm5, qword [rax + 0x28]
movaps xmm10, xmm4
movsd xmm7, qword [r8 + 0x20]
movaps xmm1, xmm5
movsd xmm6, qword [r8 + 0x18]
movsd xmm9, qword [r8 + 0x28]
movaps xmm2, xmm6
mulsd xmm1, xmm5
mulsd xmm2, xmm3
mulsd xmm10, xmm4
addsd xmm10, xmm0
movaps xmm0, xmm7
mulsd xmm0, xmm4
addsd xmm10, xmm1
movaps xmm1, xmm9
addsd xmm2, xmm0
mulsd xmm1, xmm5
movsd xmm0, qword [0x1401587f0]
addsd xmm2, xmm1
movsd xmm1, qword [0x140158828]
divsd xmm2, xmm10
subsd xmm0, xmm2
comisd xmm0, xmm1
ja 0x14006038e
mulsd xmm6, xmm6
mulsd xmm7, xmm7
mulsd xmm9, xmm9
addsd xmm6, xmm7
addsd xmm6, xmm9
subsd xmm6, xmm10
divsd xmm6, xmm10
andps xmm6, xmmword [0x140158810]
comisd xmm6, xmm1
ja 0x14006038e
movsd xmm0, qword [r8]
xor r9d, r9d
subsd xmm0, qword [rax]
mov rcx, rax
movsd qword [rsp + 0x68], xmm0
movsd xmm1, qword [r8 + 8]
subsd xmm1, qword [rax + 8]
movsd qword [rsp + 0x70], xmm1
movsd xmm0, qword [r8 + 0x10]
lea r8, [rsp + 0x68]
subsd xmm0, qword [rax + 0x10]
movsd qword [rsp + 0x78], xmm0
call fcn.14005f510
mov rbx, rax
jmp 0x140060301
cmp al, 1
jne 0x14006038e
mov rbp, qword [rcx + 0x18]
mov rbx, qword [rbx + 0x18]
movsd xmm6, qword [rbp]
subsd xmm6, qword [rbx]
movsd qword [rsp + 0x50], xmm6
movaps xmm0, xmm6
movsd xmm9, qword [rbp + 8]
subsd xmm9, qword [rbx + 8]
mulsd xmm0, xmm6
movsd qword [rsp + 0x58], xmm9
movaps xmm2, xmm9
movsd xmm10, qword [rbp + 0x10]
subsd xmm10, qword [rbx + 0x10]
mulsd xmm2, xmm9
movaps xmm1, xmm10
movsd qword [rsp + 0x60], xmm10
addsd xmm2, xmm0
mulsd xmm1, xmm10
xorps xmm0, xmm0
addsd xmm2, xmm1
ucomisd xmm0, xmm2
ja 0x1400600c1
sqrtpd xmm4, xmm2
jmp 0x1400600cc
movaps xmm0, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrt
movaps xmm4, xmm0
movaps xmm7, xmmword [0x140158ac0]
movaps xmm3, xmm6
mulsd xmm3, qword [rbx + 0x48]
movaps xmm1, xmm9
mulsd xmm1, qword [rbx + 0x50]
movaps xmm2, xmm10
mulsd xmm2, qword [rbx + 0x58]
movsd xmm11, qword [0x140158828]
addsd xmm3, xmm1
addsd xmm3, xmm2
divsd xmm3, xmm4
movaps xmm0, xmm3
addsd xmm0, xmm7
comisd xmm11, xmm0
jbe 0x140060118
mov r14d, 1
jmp 0x14006012a
movaps xmm0, xmm7
subsd xmm0, xmm3
comisd xmm0, xmm11
ja 0x14006038e
mulsd xmm6, qword [rbp + 0x48]
mov rcx, qword [rsi + 8]
mulsd xmm9, qword [rbp + 0x50]
mov rax, qword [rsi]
mulsd xmm10, qword [rbp + 0x58]
mov edx, dword [rcx + 0x20]
xor edx, dword [rax + 0x20]
addsd xmm6, xmm9
addsd xmm6, xmm10
divsd xmm6, xmm4
test dl, 1
je 0x140060165
xorps xmm0, xmm0
subsd xmm0, xmm6
movaps xmm6, xmm0
test r14d, r14d
je 0x140060174
xorps xmm0, xmm0
subsd xmm0, xmm6
movaps xmm6, xmm0
movaps xmm0, xmm7
subsd xmm0, xmm6
comisd xmm0, xmm11
ja 0x14006038e
movsd xmm9, qword [rbx + 0x18]
movsd xmm0, qword [rbx + 0x20]
movaps xmm2, xmm9
movsd xmm1, qword [rbx + 0x28]
mulsd xmm2, xmm9
mulsd xmm0, xmm0
mulsd xmm1, xmm1
movaps xmmword [rsp + 0xa0], xmm12
addsd xmm2, xmm0
xorps xmm0, xmm0
addsd xmm2, xmm1
ucomisd xmm0, xmm2
ja 0x1400601c7
sqrtpd xmm6, xmm2
jmp 0x1400601d2
movaps xmm0, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrt
movaps xmm6, xmm0
movsd xmm10, qword [rbp + 0x20]
xorps xmm0, xmm0
movsd xmm12, qword [rbp + 0x28]
movaps xmm1, xmm10
movsd xmm3, qword [rbp + 0x18]
movaps xmm2, xmm12
mulsd xmm3, xmm3
mulsd xmm1, xmm10
mulsd xmm2, xmm12
addsd xmm3, xmm1
addsd xmm3, xmm2
ucomisd xmm0, xmm3
ja 0x140060210
sqrtpd xmm4, xmm3
jmp 0x14006021b
movaps xmm0, xmm3
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrt
movaps xmm4, xmm0
mulsd xmm12, qword [rbx + 0x28]
movaps xmm2, xmm9
mulsd xmm2, qword [rbp + 0x18]
movaps xmm1, xmm4
mulsd xmm10, qword [rbx + 0x20]
movaps xmm0, xmm7
mulsd xmm1, xmm6
addsd xmm2, xmm10
addsd xmm2, xmm12
movaps xmm12, xmmword [rsp + 0xa0]
divsd xmm2, xmm1
subsd xmm0, xmm2
comisd xmm0, xmm11
ja 0x14006038e
movsd xmm0, qword [0x140158a58]
lea r9, [rsp + 0x50]
movaps xmm1, xmm6
xor r8d, r8d
divsd xmm1, xmm4
mov rcx, rbx
subsd xmm1, xmm7
andps xmm1, xmmword [0x140158810]
comisd xmm0, xmm1
jbe 0x1400602a0
lea rdx, [rbx + 0x18]
movups xmmword [rsp + 0x20], xmm7
call fcn.14005e3b0
jmp 0x1400602f1
divsd xmm9, xmm6
lea rdx, [rsp + 0x80]
movsd qword [rsp + 0x38], xmm4
movsd qword [rsp + 0x80], xmm9
movsd xmm0, qword [rbx + 0x20]
divsd xmm0, xmm6
movsd qword [rsp + 0x30], xmm6
movsd qword [rsp + 0x88], xmm0
movsd xmm1, qword [rbx + 0x28]
divsd xmm1, xmm6
movups xmmword [rsp + 0x20], xmm7
movsd qword [rsp + 0x90], xmm1
call fcn.14005e230
mov rbx, rax
mov rax, qword [rsi]
test byte [rax + 0x20], 1
je 0x140060301
xor dword [rbx + 0x38], 1
mov eax, dword [rdi + 0x38]
test al, 1
je 0x14006030f
xor dword [rbx + 0x38], 1
mov eax, dword [rdi + 0x38]
test al, 4
je 0x14006031f
or dword [rbx + 0x38], 4
mov rax, qword [rdi + 0x28]
mov qword [rbx + 0x28], rax
mov rax, qword [rsi]
movsd xmm0, qword [rax + 8]
movsd xmm1, qword [rax + 0x10]
subsd xmm1, xmm0
movaps xmm2, xmm1
mulsd xmm1, qword [rdi + 0x10]
mulsd xmm2, qword [rdi + 8]
addsd xmm1, xmm0
addsd xmm2, xmm0
movsd qword [rsp + 0x48], xmm1
movsd qword [rsp + 0x40], xmm2
test r14d, r14d
je 0x140060373
xor dword [rbx + 0x38], 1
subsd xmm8, xmm2
xorps xmm0, xmm0
subsd xmm0, xmm1
movsd qword [rsp + 0x48], xmm8
movsd qword [rsp + 0x40], xmm0
lea r9, [rdi + 0x18]
mov edx, 3
lea r8, [rsp + 0x40]
mov rcx, rbx
call fcn.140062960
mov rax, rbx
jmp 0x140060390
xor eax, eax
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
movaps xmm11, xmmword [r11 - 0x60]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
sub rsp, 0x28
movzx edx, byte [rcx + 0x3c]
sub edx, 3
je 0x140062371
sub edx, 1
je 0x14006235e
sub edx, 2
je 0x140062355
cmp edx, 1
jne 0x14006236a
add rsp, 0x28
jmp 0x14005fed0
add rsp, 0x28
jmp 0x14005f660
lea rcx, str.dglSurfaceFromSurface_TODO_n
call fcn.140001320
xor eax, eax
add rsp, 0x28
ret
add rsp, 0x28
jmp 0x14005e4f0