Function at 0x140048c50
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x188]
sub rsp, 0x260
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 [0x1400a3040]
xor rax, rsp
mov qword [rbp + 0xb8], rax
xor esi, esi
cmp byte [0x1400cf2e0], sil
jne 0x140048ce7
xor ecx, ecx
call fcn.140062820
mov rcx, rax
call fcn.140061fa0
mov byte [0x1400cf2e0], 1
mov r15d, esi
mov rcx, qword [0x1400cf288]
mov r8, qword [0x1400cf280]
sub rcx, r8
movabs rax, 0x4924924924924925
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
je 0x14004971b
mov rdi, rsi
mov r13d, dword [0x1400a3088]
xorps xmm15, xmm15
movss xmm10, dword [0x140092be4]
movss xmm11, dword [0x140092c48]
movss xmm12, dword [0x140092c20]
movss xmm13, dword [0x140092af4]
movss xmm14, dword [0x140092abc]
nop word [rax + rax]
mov rax, qword [rdi + r8]
mov qword [rbp + 0x50], rax
mov rax, qword [rdi + r8 + 8]
mov qword [rbp + 0x58], rax
mov eax, dword [rdi + r8 + 0x10]
mov dword [rbp + 0x60], eax
lea rdx, [r8 + 0x18]
add rdx, rdi
lea rcx, [rbp + 0x68]
call fcn.14002d020
nop
mov rax, qword [rbp + 0x50]
test rax, rax
je 0x14004969e
add rax, 0x308
mov qword [rbp - 0x28], rsi
mov dword [rbp - 0x20], 0xeac
mov qword [rbp - 0x18], rax
lea rax, [rbp - 0x28]
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], 8
mov eax, dword [0x1400cf248]
mov dword [rbp - 0x1c], eax
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rsi
mov r9d, 0x20
lea r8, [rbp - 0x20]
mov edx, 0x2201c4
mov rcx, qword [0x1400cf240]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov r14, qword [rbp - 0x28]
mov qword [rbp + 0x28], rsi
mov dword [rbp], 0xeac
lea rax, [r14 + 0x318]
mov qword [rbp + 8], rax
lea rax, [rbp + 0x28]
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x18], 8
mov eax, dword [0x1400cf248]
mov dword [rbp + 4], eax
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rsi
mov r9d, 0x20
lea r8, [rbp]
mov edx, 0x2201c4
mov rcx, qword [0x1400cf240]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
cmp r14, qword [0x1400cf1e8]
je 0x14004969e
mov r8d, r15d
lea rcx, [rbp + 0x30]
call fcn.140047e90
nop
mov rcx, qword [0x1400cf280]
add rcx, 0x18
add rcx, rdi
lea rax, [rbp + 0x30]
cmp rcx, rax
je 0x140048ed0
mov rbx, qword [rbp + 0x40]
lea r9, [rbp + 0x30]
cmp qword [rbp + 0x48], 0xf
cmova r9, qword [rbp + 0x30]
mov rax, qword [rcx + 0x18]
cmp rbx, rax
ja 0x140048ec8
mov rsi, rcx
cmp rax, 0xf
jbe 0x140048eae
mov rsi, qword [rcx]
mov qword [rcx + 0x10], rbx
mov r8, rbx
mov rdx, r9
mov rcx, rsi
call fcn.14007e600
mov byte [rbx + rsi], 0
xor esi, esi
jmp 0x140048ed0
mov rdx, rbx
call fcn.14004d110
mov qword [rbp - 0x28], rsi
mov dword [rbp - 0x20], 0xeac
lea rax, [r14 + 0xb68]
mov qword [rbp - 0x18], rax
lea rax, [rbp - 0x28]
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], 8
mov eax, dword [0x1400cf248]
mov dword [rbp - 0x1c], eax
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rsi
mov r9d, 0x20
lea r8, [rbp - 0x20]
mov edx, 0x2201c4
mov rcx, qword [0x1400cf240]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov dword [rbp + 0x20], esi
mov dword [rbp], 0xeac
mov rax, qword [rbp - 0x28]
add rax, 0xd08
mov qword [rbp + 8], rax
lea rax, [rbp + 0x20]
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x18], 4
mov eax, dword [0x1400cf248]
mov dword [rbp + 4], eax
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rsi
mov r9d, 0x20
lea r8, [rbp]
mov edx, 0x2201c4
mov rcx, qword [0x1400cf240]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov r12d, dword [rbp + 0x20]
mov dword [rbp - 0x28], 0
mov dword [rbp - 0x20], 0xeac
lea rax, [r14 + 0x12f4]
mov qword [rbp - 0x18], rax
lea rax, [rbp - 0x28]
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], 4
mov eax, dword [0x1400cf248]
mov dword [rbp - 0x1c], eax
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rsi
mov r9d, 0x20
lea r8, [rbp - 0x20]
mov edx, 0x2201c4
mov rcx, qword [0x1400cf240]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
movups xmm0, xmmword [str.qWZY_o_V_Q_f_17]
movups xmmword [rbp - 0x20], xmm0
movsd xmm0, qword [0x1400928c8]
movsd qword [rbp - 0x10], xmm0
movzx eax, word [0x1400928d0]
mov word [rbp - 8], ax
movzx eax, byte [0x1400928d2]
mov byte [rbp - 6], al
mov r8d, esi
cmp r13d, 2
jl 0x140049165
movdqa xmm5, xmmword [0x140092ce0]
movdqa xmm4, xmmword [0x140092d70]
movdqa xmm6, xmmword [0x140092d10]
movdqa xmm0, xmmword [0x140092d90]
movdqa xmmword [rsp + 0x60], xmm0
lea rcx, [rbp - 0x1c]
mov edx, dword [rsp + 0x60]
nop dword [rax + rax]
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140092d60]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140092d60]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x18
jl 0x140049060
cmp r8d, 0x1b
jge 0x14004919f
movsxd rax, r8d
lea r9, [rbp - 0x20]
add r9, rax
nop
mov eax, 0x94f2095
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x37
movzx eax, r8b
sub al, cl
add al, 0x35
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x1b
jl 0x140049170
movss xmm1, dword [rbp - 0x28]
cvtps2pd xmm1, xmm1
movq rdx, xmm1
lea rcx, [rbp - 0x20]
call fcn.140001390
mov rax, qword [0x1400cf1e8]
add rax, 0x198
mov qword [rbp - 0x28], rsi
mov dword [rbp], 0xeac
mov qword [rbp + 8], rax
lea rax, [rbp - 0x28]
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x18], 8
mov eax, dword [0x1400cf248]
mov dword [rbp + 4], eax
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rsi
mov r9d, 0x20
lea r8, [rbp]
mov edx, 0x2201c4
mov rcx, qword [0x1400cf240]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
xorps xmm0, xmm0
movups xmmword [rbp + 0x88], xmm0
movsd qword [rbp + 0x98], xmm15
mov dword [rbp - 0x20], 0xeac
mov rax, qword [rbp - 0x28]
add rax, 0x128
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x88]
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], 0x18
mov eax, dword [0x1400cf248]
mov dword [rbp - 0x1c], eax
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rsi
mov r9d, 0x20
lea r8, [rbp - 0x20]
mov edx, 0x2201c4
mov rcx, qword [0x1400cf240]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov qword [rbp - 0x28], rsi
mov dword [rbp], 0xeac
lea rax, [r14 + 0x198]
mov qword [rbp + 8], rax
lea rax, [rbp - 0x28]
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x18], 8
mov eax, dword [0x1400cf248]
mov dword [rbp + 4], eax
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rsi
mov r9d, 0x20
lea r8, [rbp]
mov edx, 0x2201c4
mov rcx, qword [0x1400cf240]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
xorps xmm0, xmm0
movups xmmword [rbp + 0xa0], xmm0
movsd qword [rbp + 0xb0], xmm15
mov dword [rbp - 0x20], 0xeac
mov rax, qword [rbp - 0x28]
add rax, 0x128
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0xa0]
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], 0x18
mov eax, dword [0x1400cf248]
mov dword [rbp - 0x1c], eax
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rsi
mov r9d, 0x20
lea r8, [rbp - 0x20]
mov edx, 0x2201c4
mov rcx, qword [0x1400cf240]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
cmp byte [0x1400cf303], 0
je 0x140049653
movups xmm7, xmmword [0x1400cf298]
movups xmm8, xmmword [0x1400cf2a8]
movups xmm9, xmmword [0x1400cf2b8]
movsd xmm6, qword [0x1400cf2c8]
mov r8d, 0x6d
mov rsi, qword [rbp + 0x28]
mov rdx, rsi
lea rcx, [rbp - 0x20]
call fcn.140047b40
movaps xmmword [rbp - 0x80], xmm7
movaps xmmword [rbp - 0x70], xmm8
movaps xmmword [rbp - 0x60], xmm9
movsd qword [rbp - 0x50], xmm6
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x60], xmm0
movsd xmm1, qword [rax + 0x10]
movsd qword [rsp + 0x70], xmm1
lea r8, [rbp - 0x80]
lea rdx, [rsp + 0x60]
lea rcx, [rbp]
call fcn.140047820
movups xmm7, xmmword [0x1400cf298]
movups xmm8, xmmword [0x1400cf2a8]
movups xmm9, xmmword [0x1400cf2b8]
movsd xmm6, qword [0x1400cf2c8]
xor r8d, r8d
mov rdx, rsi
lea rcx, [rbp - 0x20]
call fcn.140047b40
movaps xmmword [rbp - 0x80], xmm7
movaps xmmword [rbp - 0x70], xmm8
movaps xmmword [rbp - 0x60], xmm9
movsd qword [rbp - 0x50], xmm6
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x60], xmm0
movsd xmm1, qword [rax + 0x10]
movsd qword [rsp + 0x70], xmm1
lea r8, [rbp - 0x80]
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x40]
call fcn.140047820
movss xmm0, dword [0x1400ccf98]
mulss xmm0, xmm10
cvttss2si rax, xmm0
mov dword [rsp + 0x50], eax
movss xmm1, dword [0x1400ccf9c]
mulss xmm1, xmm10
cvttss2si rax, xmm1
mov dword [rsp + 0x54], eax
movss xmm0, dword [0x1400ccfa0]
mulss xmm0, xmm10
cvttss2si rax, xmm0
mov dword [rsp + 0x58], eax
movss xmm1, dword [0x1400ccfa4]
mulss xmm1, xmm10
cvttss2si rax, xmm1
mov dword [rsp + 0x5c], eax
cmp byte [0x1400cf300], 0
je 0x140049640
mov rbx, qword [0x1400cf280]
add rbx, 0x18
add rbx, rdi
cmp qword [rbx + 0x18], 0xf
jbe 0x1400494ba
mov rbx, qword [rbx]
mov rax, qword [0x1400cf1b8]
xor r14d, r14d
test rbx, rbx
jne 0x1400494ce
xorps xmm0, xmm0
jmp 0x14004951d
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], rbx
movss dword [rsp + 0x20], xmm11
movaps xmm3, xmm12
movss xmm2, dword [rax + 0x3c00]
lea rdx, [rsp + 0x48]
mov rcx, qword [rax + 0x3bf8]
call fcn.140029290
movss xmm0, dword [rsp + 0x48]
addss xmm0, xmm13
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rsp + 0x48], xmm0
movsd xmm6, qword [rbp - 0x38]
cvttsd2si edx, xmm6
mulss xmm0, xmm14
cvtps2pd xmm1, xmm0
movsd xmm7, qword [rbp]
movaps xmm0, xmm7
subsd xmm0, xmm1
cvtpd2ps xmm0, xmm0
cvttss2si ecx, xmm0
mov r9, rbx
lea r8, [rsp + 0x50]
call fcn.1400469e0
mov edx, r12d
lea rcx, [rbp - 0x20]
call fcn.14004c980
lea rbx, [rbp - 0x20]
mov rdx, qword [rbp - 8]
cmp rdx, 0xf
seta al
mov rcx, qword [rbp - 0x20]
cmova rbx, rcx
test al, al
je 0x1400495a3
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004959e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004978f
call fcn.14004d7f0
mov qword [rbp - 0x10], r14
mov qword [rbp - 8], 0xf
mov byte [rbp - 0x20], 0
mov rax, qword [0x1400cf1b8]
test rbx, rbx
jne 0x1400495c4
xorps xmm0, xmm0
jmp 0x140049613
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], rbx
movss dword [rsp + 0x20], xmm11
movaps xmm3, xmm12
movss xmm2, dword [rax + 0x3c00]
lea rdx, [rsp + 0x40]
mov rcx, qword [rax + 0x3bf8]
call fcn.140029290
movss xmm0, dword [rsp + 0x40]
addss xmm0, xmm13
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rsp + 0x40], xmm0
mulss xmm0, xmm14
cvtps2pd xmm0, xmm0
subsd xmm7, xmm0
cvtpd2ps xmm1, xmm7
addsd xmm6, qword [0x140092b40]
cvttsd2si edx, xmm6
cvttss2si ecx, xmm1
mov r9, rbx
lea r8, [rsp + 0x50]
call fcn.1400469e0
cmp byte [0x1400cf301], 0
je 0x140049651
mov rcx, rsi
call fcn.140047f80
xor esi, esi
mov rdx, qword [rbp + 0x48]
cmp rdx, 0xf
jbe 0x14004968e
inc rdx
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140049689
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140049783
call fcn.14004d7f0
mov qword [rbp + 0x40], rsi
mov qword [rbp + 0x48], 0xf
mov byte [rbp + 0x30], 0
mov rdx, qword [rbp + 0x80]
cmp rdx, 0xf
jbe 0x1400496dc
mov rcx, qword [rbp + 0x68]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400496d7
mov rcx, qword [rcx - 8]
sub rax, rcx
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140049789
call fcn.14004d7f0
inc r15d
add rdi, 0x38
mov rcx, qword [0x1400cf288]
mov r8, qword [0x1400cf280]
sub rcx, r8
movabs rax, 0x4924924924924925
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
movsxd rax, r15d
cmp rax, rdx
jb 0x140048d60
mov rcx, qword [rbp + 0xb8]
xor rcx, rsp
call fcn.14004d700
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, 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 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
call fcn.1400614e4
nop
call fcn.1400614e4
nop
call fcn.1400614e4
int3