Function at 0x140003990
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 - 0xf8]
sub rsp, 0x1f0
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 [0x140129f70]
xor rax, rsp
mov qword [rbp + 0x40], rax
mov rbx, qword [0x14016f7b8]
mov rsi, rdx
mov rdi, rcx
xorps xmm0, xmm0
xorps xmm1, xmm1
add rbx, 0xf0e8bd0
je 0x140003a95
xor eax, eax
movaps xmmword [rbp - 0x70], xmm0
mov dword [rbp - 0x40], eax
mov qword [rbp - 0x2c], rax
mov dword [rbp + 0x38], eax
mov eax, dword [0x14016fc20]
mov qword [rbp - 0x20], rax
movaps xmmword [rbp - 0x60], xmm1
movaps xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x3c], xmm0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor edx, edx
mov qword [rbp + 0x18], rbx
mov eax, eax
lea rcx, [rbp - 0x20]
mov qword [rbp - 0x18], rax
lea rax, [rbp - 0x70]
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x20], 0x50
call qword [0x14016fc18]
movaps xmm0, xmmword [rbp - 0x70]
movaps xmm1, xmmword [rbp - 0x60]
movaps xmmword [rsp + 0x40], xmm0
movaps xmm0, xmmword [rbp - 0x50]
movaps xmmword [rsp + 0x60], xmm0
movaps xmm0, xmmword [rbp - 0x30]
movaps xmmword [rsp + 0x50], xmm1
movaps xmm1, xmmword [rbp - 0x40]
movaps xmmword [rbp - 0x80], xmm0
movaps xmmword [rsp + 0x70], xmm1
jmp 0x140003aaf
movdqa xmmword [rsp + 0x70], xmm0
movdqa xmmword [rbp - 0x80], xmm1
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x50], xmm1
movaps xmmword [rsp + 0x60], xmm0
lea rcx, [rsp + 0x40]
mov r8b, 0x40
xor edx, edx
nop dword [rax]
xor byte [rcx], r8b
lea eax, [rdx + 0x17]
add r8b, al
lea rcx, [rcx + 1]
inc edx
cmp edx, 0x40
jl 0x140003ac0
movaps xmm10, xmmword [rsp + 0x50]
xorps xmm6, xmm6
movaps xmm4, xmmword [rsp + 0x60]
movaps xmm3, xmm10
movaps xmm9, xmmword [rsp + 0x40]
xorps xmm0, xmm0
movss xmm11, dword [rsp + 0x70]
xorps xmm7, xmm7
unpckhpd xmm3, xmm10
movsd qword [0x14016fc28], xmm3
mulsd xmm3, qword [0x1400f1180]
movsd qword [0x14016fc30], xmm4
mulsd xmm4, qword [0x1400f1180]
divsd xmm3, qword [0x1400f11d0]
divsd xmm4, qword [0x1400f11d0]
cvtsd2ss xmm6, xmm3
movsd qword [0x14016fc38], xmm0
movaps xmm0, xmm6
movss dword [0x14016f8c8], xmm11
movups xmmword [0x14016fc90], xmm9
movsd qword [0x14016fca0], xmm10
cvtsd2ss xmm7, xmm4
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
movaps xmm8, xmm0
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
movss dword [rsp + 0x24], xmm0
movaps xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
movss dword [rsp + 0x20], xmm0
movaps xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
movaps xmm6, xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x30], xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
movaps xmm12, xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x34], xmm12
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
movsd xmm13, qword [rsi]
movaps xmm1, xmm6
mulss xmm1, dword [rsp + 0x24]
subsd xmm13, xmm9
movsd xmm14, qword [rsi + 8]
xorps xmm6, xmm6
movsd xmm15, qword [rsi + 0x10]
cvtsi2ss xmm6, dword [0x140129fd4]
mov qword [rdi + 0x10], 0
movss dword [rsp + 0x28], xmm0
subsd xmm15, xmm10
movsd xmm10, qword [0x1400f1158]
movaps xmm7, xmm6
mulss xmm7, dword [0x1400f10e0]
mulss xmm0, xmm8
unpckhpd xmm9, xmm9
subsd xmm14, xmm9
mulss xmm12, xmm8
movss dword [rsp + 0x2c], xmm0
xorps xmm9, xmm9
movss xmm0, dword [rsp + 0x20]
mulss xmm0, dword [rsp + 0x24]
cvtsi2ss xmm9, dword [0x140129fd0]
cvtps2pd xmm2, xmm0
xorps xmm0, xmm0
cvtss2sd xmm0, xmm1
mulsd xmm2, xmm14
xorps xmm1, xmm1
mulsd xmm0, xmm13
cvtss2sd xmm1, xmm8
addsd xmm2, xmm0
cvtps2pd xmm0, xmm11
mulsd xmm1, xmm15
mulsd xmm0, qword [0x1400f1178]
addsd xmm2, xmm1
divsd xmm0, qword [0x1400f11d8]
maxsd xmm10, xmm2
cvtpd2ps xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_tanf
movss xmm1, dword [0x1400f112c]
divss xmm6, xmm9
movss xmm11, dword [rsp + 0x34]
maxss xmm1, xmm6
movss xmm6, dword [rsp + 0x30]
mov rax, rdi
movss xmm5, dword [rsp + 0x28]
mulss xmm9, dword [0x1400f10e0]
movaps xmm2, xmm5
divss xmm1, dword [0x1400f1148]
mulss xmm2, xmm6
mulss xmm0, xmm1
movaps xmm1, xmm7
divss xmm1, xmm0
movaps xmm0, xmm12
mulss xmm12, xmm6
mulss xmm0, dword [rsp + 0x20]
cvtps2pd xmm4, xmm1
addss xmm2, xmm0
xorps xmm1, xmm1
movaps xmm0, xmm5
movss xmm5, dword [rsp + 0x2c]
mulss xmm0, dword [rsp + 0x20]
cvtps2pd xmm3, xmm2
subss xmm12, xmm0
xorps xmm2, xmm2
mulsd xmm3, xmm14
movaps xmm0, xmm11
xorps xmm0, xmmword [0x1400f15b0]
mulss xmm0, dword [rsp + 0x24]
cvtss2sd xmm1, xmm12
cvtss2sd xmm0, xmm0
mulsd xmm1, xmm13
mulsd xmm0, xmm15
addsd xmm3, xmm1
movaps xmm1, xmm11
mulss xmm1, dword [rsp + 0x20]
mulss xmm11, xmm6
addsd xmm3, xmm0
cvtps2pd xmm0, xmm7
mulsd xmm3, xmm4
divsd xmm3, xmm10
addsd xmm3, xmm0
movaps xmm0, xmm5
mulss xmm5, dword [rsp + 0x20]
mulss xmm0, xmm6
subss xmm11, xmm5
movsd qword [rdi], xmm3
cvtps2pd xmm3, xmm9
addss xmm1, xmm0
cvtps2pd xmm0, xmm11
xorps xmm1, xmmword [0x1400f15b0]
cvtss2sd xmm2, xmm1
mulsd xmm0, xmm14
mulsd xmm2, xmm13
addsd xmm2, xmm0
movss xmm0, dword [rsp + 0x28]
mulss xmm0, dword [rsp + 0x24]
cvtps2pd xmm0, xmm0
mulsd xmm0, xmm15
addsd xmm2, xmm0
mulsd xmm2, xmm4
divsd xmm2, xmm10
subsd xmm3, xmm2
movsd qword [rdi + 8], xmm3
mov rcx, qword [rbp + 0x40]
xor rcx, rsp
call fcn.1400bf8d0
lea r11, [rsp + 0x1f0]
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