Function at 0x140041070
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
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xf8]
sub rsp, 0x1d0
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
movaps xmmword [rax - 0x68], xmm9
movaps xmmword [rax - 0x78], xmm10
movaps xmmword [rax - 0x88], xmm11
movaps xmmword [rax - 0x98], xmm12
movaps xmmword [rax - 0xa8], xmm13
movaps xmmword [rax - 0xb8], xmm14
movaps xmmword [rax - 0xc8], xmm15
mov rax, qword [0x140052098]
xor rax, rsp
mov qword [rbp + 0x20], rax
xor eax, eax
mov qword [rsp + 0x38], rcx
mov qword [rbp - 0x60], rax
lea rdi, [rsp + 0x78]
mov qword [rsp + 0x70], rax
xor ecx, ecx
mov qword [rbp - 0x20], rax
movsxd rax, dword [0x140052200]
mov qword [rbp - 0x80], rax
mov rax, qword [0x140052208]
add rax, 0xe2ced18
mov qword [rsp + 0x78], 3
mov qword [rbp - 0x78], rax
lea rax, [rbp - 0x20]
mov qword [rbp - 0x70], rax
xor eax, eax
mov qword [rbp - 0x68], 8
rep stosb byte [rdi], al
lea rcx, [rsp + 0x78]
mov qword [rsp + 0x30], rdx
call qword [0x1400521f8]
mov r15, qword [rbp - 0x20]
lea rbx, [rbp - 0x18]
mov rax, qword [0x140052208]
movabs r13, 0x4ef1f15dfe2d977f
movdqa xmm6, xmmword [0x14004a7f0]
add rax, 0xe2ced58
movdqa xmm7, xmmword [0x14004a770]
test r15, r15
movabs r12, 0x4ef29a7e813efc5d
cmove r15, rax
xor edi, edi
mov esi, edi
lea r14d, [rdi + 7]
nop
movsxd rax, dword [0x140052200]
xor ecx, ecx
mov qword [rbp - 0x50], rax
lea rax, [r15 + rsi]
mov qword [rbp - 0x48], rax
lea rax, [rbp - 0x28]
mov qword [rbp - 0x40], rax
xor eax, eax
mov qword [rbp - 0x28], rdi
mov qword [rbp - 0x30], rdi
lea rdi, [rbp - 0x58]
mov qword [rbp - 0x58], 3
mov qword [rbp - 0x38], 8
rep stosb byte [rdi], al
lea rcx, [rbp - 0x58]
call qword [0x1400521f8]
mov rax, qword [rbp - 0x28]
lea rsi, [rsi + 8]
mov qword [rbx], rax
lea rbx, [rbx + 8]
movdqu xmm0, xmmword [rbp - 0x18]
mov rax, qword [rbp - 8]
movabs rdi, 0x4e1772384c14291f
mov rcx, qword [rbp + 0x10]
xor rax, r13
mov rdx, qword [rbp + 0x18]
xor rcx, r12
xor rdx, rdi
mov qword [rbp - 8], rax
mov qword [rbp + 0x10], rcx
movdqa xmm14, xmm6
mov qword [rbp + 0x18], rdx
xorps xmm14, xmm0
movdqa xmm4, xmm7
mov edi, 0
movdqu xmm0, xmmword [rbp]
movdqu xmmword [rbp - 0x18], xmm14
xorps xmm4, xmm0
movdqu xmmword [rbp], xmm4
sub r14, 1
jne 0x140041190
movsd xmm10, qword [0x14004a740]
movaps xmm2, xmm4
unpckhpd xmm2, xmm4
movq xmm3, rcx
movq xmm12, rax
movd xmm15, edx
movaps xmm13, xmm14
movaps xmm1, xmm12
unpcklpd xmm1, xmm2
xorps xmm6, xmm6
unpckhpd xmm13, xmm14
xorps xmm7, xmm7
mulsd xmm2, xmm10
movaps xmm0, xmm13
unpcklpd xmm0, xmm14
movups xmmword [0x140052050], xmm0
movaps xmm0, xmm4
mulsd xmm4, xmm10
unpcklpd xmm0, xmm3
mulsd xmm3, xmm10
movups xmmword [0x140052060], xmm1
movsd xmm1, qword [0x14004a748]
divsd xmm2, xmm1
movups xmmword [0x140052070], xmm0
movsd xmm0, qword [rsp + 0x70]
divsd xmm4, xmm1
divsd xmm3, xmm1
movss xmm0, xmm15
cvtsd2ss xmm6, xmm2
movsd qword [0x140052080], xmm0
movaps xmm0, xmm6
cvtsd2ss xmm7, xmm4
cvtpd2ps xmm8, xmm3
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 + 0x20], 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 + 0x2c], xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
movss dword [rsp + 0x24], xmm0
movaps xmm0, xmm8
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
movaps xmm11, xmm0
movaps xmm0, xmm8
movss dword [rsp + 0x28], xmm11
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
mov r12, qword [rsp + 0x30]
movaps xmm7, xmm0
movsd xmm8, qword [0x140046298]
movaps xmm0, xmm11
mulss xmm0, xmm9
xorps xmm2, xmm2
movsd xmm11, qword [r12]
subsd xmm11, xmm13
movss dword [rbp - 0x28], xmm7
movsd xmm13, qword [r12 + 8]
movss dword [rbp - 0x20], xmm0
subsd xmm13, xmm14
movsd xmm14, qword [r12 + 0x10]
movaps xmm0, xmm6
mulss xmm0, dword [rsp + 0x20]
subsd xmm14, xmm12
movss xmm12, dword [rsp + 0x24]
movaps xmm1, xmm12
mulss xmm7, xmm9
mulss xmm1, dword [rsp + 0x20]
cvtss2sd xmm2, xmm0
cvtps2pd xmm0, xmm1
xorps xmm1, xmm1
mulsd xmm2, xmm13
cvtss2sd xmm1, xmm9
mulsd xmm0, xmm11
mulsd xmm1, xmm14
addsd xmm2, xmm0
addsd xmm2, xmm1
maxsd xmm8, xmm2
mov edi, dword [0x140052238]
xorps xmm6, xmm6
cvtps2pd xmm0, xmm15
cvtsi2ss xmm6, edi
mulsd xmm0, xmm10
divsd xmm0, qword [0x14004a750]
cvtpd2ps xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_tanf
movss xmm9, dword [rsp + 0x2c]
xorps xmm2, xmm2
movss xmm10, dword [rsp + 0x28]
xorps xmm5, xmm5
cvtsi2sd xmm5, dword [0x14005223c]
mov r13, qword [rsp + 0x38]
mov rax, r13
movaps xmm1, xmm10
divss xmm6, xmm0
mulss xmm1, xmm9
movaps xmm0, xmm7
mulss xmm0, xmm12
mulss xmm7, xmm9
addss xmm1, xmm0
movaps xmm0, xmm10
xorps xmm10, xmmword [0x140046250]
mulss xmm10, dword [rsp + 0x20]
mulss xmm0, xmm12
xorps xmm1, xmmword [0x140046250]
cvtss2sd xmm2, xmm1
subss xmm0, xmm7
movss xmm7, dword [rbp - 0x28]
mulsd xmm2, xmm11
cvtps2pd xmm4, xmm6
movss xmm6, dword [rbp - 0x20]
cvtps2pd xmm0, xmm0
mulsd xmm0, xmm13
addsd xmm2, xmm0
movaps xmm0, xmm7
mulss xmm0, dword [rsp + 0x20]
cvtps2pd xmm1, xmm0
movaps xmm0, xmm7
mulss xmm7, xmm12
mulss xmm0, xmm9
mulsd xmm1, xmm14
addsd xmm2, xmm1
movaps xmm1, xmm6
mulss xmm1, xmm12
mulss xmm6, xmm9
mulsd xmm2, xmm4
subss xmm1, xmm0
addss xmm7, xmm6
divsd xmm2, xmm8
cvtps2pd xmm0, xmm7
subsd xmm5, xmm2
mulsd xmm0, xmm13
cvtps2pd xmm2, xmm1
movsd qword [r13 + 8], xmm5
mulsd xmm2, xmm11
addsd xmm2, xmm0
xorps xmm0, xmm0
cvtss2sd xmm0, xmm10
mulsd xmm0, xmm14
addsd xmm2, xmm0
xorps xmm0, xmm0
cvtsi2sd xmm0, edi
mulsd xmm2, xmm4
divsd xmm2, xmm8
addsd xmm2, xmm0
movsd qword [r13], xmm2
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.140042610
lea r11, [rsp + 0x1d0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
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 r15
pop r14
pop r13
pop r12
pop rbp
ret