Function at 0x1400021a0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
lea rbp, [rax - 0x118]
sub rsp, 0x210
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
movaps xmmword [rax - 0x38], xmm8
movaps xmmword [rax - 0x48], xmm9
movaps xmmword [rax - 0x58], xmm10
movaps xmmword [rax - 0x68], xmm11
movaps xmmword [rax - 0x78], xmm12
movaps xmmword [rax - 0x88], xmm13
movaps xmmword [rax - 0x98], xmm14
movaps xmmword [rax - 0xa8], xmm15
mov rax, qword [0x140041040]
xor rax, rsp
mov qword [rbp + 0x60], rax
xor eax, eax
mov qword [rbp - 0x78], 0xfc6
xor ebx, ebx
mov dword [rbp - 0x10], eax
mov qword [rbp + 4], rax
lea r8, [rbp - 0x80]
mov rax, qword [0x1400418f0]
xorps xmm0, xmm0
add rax, 0x10cb8d0
mov qword [rsp + 0x38], rbx
mov qword [rbp - 0x70], rax
lea r9d, [rbx + 0x28]
lea rax, [rbp - 0x40]
mov qword [rsp + 0x30], rbx
mov qword [rbp - 0x68], rax
mov rdi, rdx
mov eax, dword [0x1400418f8]
mov rsi, rcx
mov rcx, qword [0x140041900]
xorps xmm1, xmm1
mov dword [rsp + 0x28], ebx
mov edx, 0x2209a4
mov dword [rbp - 0x7c], eax
movaps xmmword [rbp - 0x40], xmm0
movaps xmmword [rbp - 0x30], xmm1
movaps xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0xc], xmm0
mov dword [rbp - 0x80], 0xcabd5e5
mov qword [rbp - 0x60], 0x50
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
movaps xmm0, xmmword [rbp - 0x40]
lea rcx, [rbp + 0x10]
movaps xmm1, xmmword [rbp - 0x30]
mov dl, 0x40
movaps xmmword [rbp + 0x10], xmm0
movaps xmm0, xmmword [rbp - 0x20]
movaps xmmword [rbp + 0x30], xmm0
movaps xmm0, xmmword [rbp]
movaps xmmword [rbp + 0x20], xmm1
movaps xmm1, xmmword [rbp - 0x10]
movaps xmmword [rbp + 0x50], xmm0
movaps xmmword [rbp + 0x40], xmm1
xor byte [rcx], dl
lea eax, [rbx + 0x17]
add dl, al
lea rcx, [rcx + 1]
inc ebx
cmp ebx, 0x40
jl 0x1400022c0
cmp byte [0x14004190a], 0
movups xmm0, xmmword [rbp + 0x28]
movsd xmm5, qword [rbp + 0x20]
movsd xmm2, qword [rbp + 0x38]
movss xmm3, dword [rbp + 0x40]
movaps xmm4, xmmword [rbp + 0x10]
movups xmmword [rbp - 0x68], xmm0
movups xmm0, xmmword [rbp - 0x70]
movups xmm1, xmmword [rbp - 0x60]
movsd xmm0, xmm5
movups xmmword [rbp - 0x70], xmm0
movups xmmword [0x140041210], xmm0
movsd xmm0, qword [rbp - 0x50]
movss xmm0, xmm3
unpcklpd xmm1, xmm2
movsd qword [rbp - 0x50], xmm0
movsd qword [0x140041230], xmm0
movups xmmword [0x140041200], xmm4
movups xmmword [rbp - 0x60], xmm1
movups xmmword [0x140041220], xmm1
je 0x14000243d
movzx eax, word [0x140036790]
lea rdx, [rsp + 0x60]
xorps xmm0, xmm0
mov qword [rbp - 0x70], 0xa
movups xmmword [rbp - 0x80], xmm0
lea rcx, [rbp - 0x80]
mov qword [rbp - 0x68], 0xf
movsd xmm0, qword [str.Location:]
movsd qword [rbp - 0x80], xmm0
mov word [rbp - 0x78], ax
mov byte [rbp - 0x76], 0
movaps xmmword [rsp + 0x60], xmm4
movsd qword [rsp + 0x70], xmm5
call fcn.1400337a0
movzx eax, word [0x1400367a0]
lea rdx, [rsp + 0x60]
movsd xmm1, qword [0x140041228]
lea rcx, [rbp - 0x80]
xorps xmm0, xmm0
mov qword [rbp - 0x70], 0xa
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x68], 0xf
movsd xmm0, qword [str.Rotation:]
movsd qword [rbp - 0x80], xmm0
movups xmm0, xmmword [0x140041218]
mov word [rbp - 0x78], ax
mov byte [rbp - 0x76], 0
movaps xmmword [rsp + 0x60], xmm0
movsd qword [rsp + 0x70], xmm1
call fcn.1400337a0
mov eax, dword [str.Fov:]
lea rdx, [rsp + 0x50]
movss xmm1, dword [0x140041230]
lea rcx, [rbp - 0x80]
movsd xmm2, qword [0x14003aa88]
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
mov dword [rbp - 0x80], eax
movzx eax, byte [0x1400367a8]
cvtps2pd xmm1, xmm1
mov qword [rbp - 0x70], 5
mov qword [rbp - 0x68], 0xf
mov byte [rbp - 0x7c], al
mov byte [rbp - 0x7b], 0
unpcklpd xmm1, xmm2
movdqa xmmword [rsp + 0x50], xmm1
call fcn.1400336b0
movsd xmm4, qword [0x14003aa68]
movsd xmm3, qword [0x14003aa98]
movsd xmm0, qword [0x140041218]
movsd xmm1, qword [0x140041220]
movsd xmm2, qword [0x140041228]
mulsd xmm0, xmm4
mulsd xmm1, xmm4
mulsd xmm2, xmm4
divsd xmm0, xmm3
divsd xmm1, xmm3
divsd xmm2, xmm3
cvtpd2ps xmm6, xmm0
cvtpd2ps xmm7, xmm1
movaps xmm0, xmm6
cvtpd2ps xmm8, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
movaps xmm9, xmm0
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
movss dword [rsp + 0x40], xmm0
movaps xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
movaps xmm6, xmm0
movaps xmm0, xmm7
movss dword [rsp + 0x44], xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
movaps xmm14, xmm0
movaps xmm0, xmm8
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
movaps xmm15, xmm0
movaps xmm0, xmm8
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
movsd xmm10, qword [rdi]
movaps xmm13, xmm0
subsd xmm10, qword [0x140041200]
movsd xmm11, qword [rdi + 8]
xorps xmm2, xmm2
subsd xmm11, qword [0x140041208]
movsd xmm12, qword [rdi + 0x10]
movaps xmm1, xmm14
mulss xmm1, dword [rsp + 0x40]
movaps xmm8, xmm15
subsd xmm12, qword [0x140041210]
movss dword [rsp + 0x50], xmm0
movaps xmm0, xmm6
mulss xmm0, dword [rsp + 0x40]
xorps xmm6, xmm6
cvtsi2ss xmm6, dword [0x1400419b4]
cvtss2sd xmm2, xmm0
mulss xmm6, dword [0x14003aa08]
xorps xmm0, xmm0
cvtss2sd xmm0, xmm1
mulsd xmm2, xmm11
xorps xmm1, xmm1
mulsd xmm0, xmm10
cvtss2sd xmm1, xmm9
addsd xmm2, xmm0
mulss xmm8, xmm9
movss xmm0, dword [0x140041230]
mulss xmm0, dword [0x14003aa84]
mulss xmm13, xmm9
divss xmm0, dword [0x14003ab20]
movsd xmm9, qword [0x14003aa50]
mulsd xmm1, xmm12
addsd xmm2, xmm1
maxsd xmm9, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll_tanf
movss xmm3, dword [rsp + 0x50]
movaps xmm1, xmm6
divss xmm1, xmm0
movaps xmm2, xmm8
movaps xmm0, xmm3
mulss xmm2, dword [rsp + 0x44]
xorps xmm4, xmm4
mulss xmm0, xmm14
cvtps2pd xmm5, xmm1
addss xmm2, xmm0
mulss xmm8, xmm14
movaps xmm0, xmm3
cvtss2sd xmm4, xmm2
mulsd xmm4, xmm11
mulss xmm0, dword [rsp + 0x44]
xorps xmm1, xmm1
mov rax, rsi
movaps xmm2, xmm13
mulss xmm13, dword [rsp + 0x44]
subss xmm8, xmm0
mulss xmm2, xmm14
movaps xmm0, xmm15
xorps xmm0, xmmword [0x14003ac70]
mulss xmm0, dword [rsp + 0x40]
cvtss2sd xmm1, xmm8
cvtss2sd xmm0, xmm0
mulsd xmm1, xmm10
mulsd xmm0, xmm12
addsd xmm4, xmm1
xorps xmm1, xmm1
cvtsi2ss xmm1, dword [0x1400419b0]
addsd xmm4, xmm0
mulss xmm1, dword [0x14003aa08]
cvtps2pd xmm0, xmm6
mulsd xmm4, xmm5
divsd xmm4, xmm9
addsd xmm4, xmm0
movaps xmm0, xmm15
mulss xmm0, dword [rsp + 0x44]
mulss xmm15, xmm14
addss xmm2, xmm0
movsd qword [rsi], xmm4
cvtps2pd xmm4, xmm1
xorps xmm2, xmmword [0x14003ac70]
xorps xmm1, xmm1
xorps xmm0, xmm0
subss xmm15, xmm13
cvtss2sd xmm1, xmm2
cvtss2sd xmm0, xmm15
mulsd xmm1, xmm10
mulsd xmm0, xmm11
addsd xmm1, xmm0
movaps xmm0, xmm3
mulss xmm0, dword [rsp + 0x40]
cvtps2pd xmm0, xmm0
mulsd xmm0, xmm12
addsd xmm1, xmm0
mulsd xmm1, xmm5
divsd xmm1, xmm9
subsd xmm4, xmm1
movsd qword [rsi + 8], xmm4
mov rcx, qword [rbp + 0x60]
xor rcx, rsp
call fcn.140033e90
lea r11, [rsp + 0x210]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
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]
movaps xmm12, xmmword [r11 - 0x70]
movaps xmm13, xmmword [r11 - 0x80]
movaps xmm14, xmmword [r11 - 0x90]
movaps xmm15, xmmword [r11 - 0xa0]
mov rsp, r11
pop rbp
ret