Function at 0x140063f00
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
push r12
push r13
sub rsp, 0x4a0
mov rax, qword [0x1400db010]
xor rax, rsp
mov qword [rsp + 0x480], rax
mov rax, qword [0x1401904d0]
mov rsi, rcx
mov qword [rsp + 0x48], rcx
add rax, 0xeefe2d0
mov ecx, edx
mov ebx, edx
sar ecx, 0x10
xor edi, edi
shl ecx, 3
add rcx, rax
call fcn.140080c90
mov rcx, rax
movzx eax, bx
lea r13, [rcx + rax*4]
mov rcx, r13
call fcn.140080d30
movzx r12d, ax
shr r12d, 6
test r12d, r12d
je 0x1400641ba
mov qword [rsp + 0x4e0], rbp
mov ebx, edi
mov qword [rsp + 0x498], r14
mov ebp, edi
mov qword [rsp + 0x490], r15
mov r15d, r12d
nop dword [rax]
mov ecx, ebp
add rcx, 4
add rcx, r13
call fcn.140080dd0
mov byte [rsp + rbx + 0x80], al
inc ebp
inc rbx
cmp rbx, r15
jl 0x140063f90
mov rcx, qword [0x1401904d0]
lea r14, [rsp + 0x80]
add rcx, 0xee02330
call fcn.140080c90
mov rbx, rax
mov qword [rsp + 0x38], rdi
lea rax, [r13 + 4]
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x58], rax
lea ecx, [r12 + r12]
lea rax, [rsp + 0x80]
mov qword [rsp + 0x68], rcx
mov rcx, qword [0x140190388]
lea r8, [rsp + 0x50]
mov qword [rsp + 0x60], rax
mov r9d, 0x28
mov eax, dword [0x140190374]
mov edx, 0x2201c4
shr rbx, 5
mov ebp, edi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x54], eax
mov dword [rsp + 0x71], edi
mov word [rsp + 0x75], di
mov byte [rsp + 0x77], dil
mov dword [rsp + 0x50], 0x85b3e12
mov byte [rsp + 0x70], dil
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
nop word [rax + rax]
movsx ecx, byte [r14]
add ebx, 0x60
add ebx, ebp
mov eax, ecx
shr eax, 4
mov rdx, r14
xor al, bl
shl cl, 4
and al, 0xf
inc r14
or al, cl
inc ebp
mov byte [rdx], al
cmp ebp, r12d
jl 0x140064050
mov r14, qword [rsp + 0x498]
lea rax, [rsp + 0x80]
mov r15, qword [rsp + 0x490]
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], rdi
mov rbx, 0xffffffffffffffff
mov qword [rsi + 0x18], rdi
mov byte [rsp + r12 + 0x80], dil
nop dword [rax + rax]
inc rbx
cmp byte [rax + rbx], dil
jne 0x1400640b0
movabs rbp, 0x7fffffffffffffff
cmp rbx, rbp
ja 0x1400641d4
mov qword [rsi + 0x18], 0xf
cmp rbx, 0x10
jae 0x1400640fa
mov r8, rbx
mov qword [rsi + 0x10], rbx
lea rdx, [rsp + 0x80]
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbx + rsi], dil
jmp 0x140064190
mov rax, rbx
or rax, 0xf
cmp rax, rbp
jbe 0x14006412f
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.140082cac
test rax, rax
je 0x14006415a
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x14006416e
mov ecx, 0x16
mov rbp, rax
cmp rax, rcx
cmovb rbp, rcx
lea rcx, [rbp + 1]
cmp rcx, 0x1000
jb 0x140064161
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400641da
jmp 0x140064114
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x14006416e
call fcn.140082cac
mov rdi, rax
mov r8, rbx
mov qword [rsi], rdi
lea rdx, [rsp + 0x80]
mov qword [rsi + 0x10], rbx
mov rcx, rdi
mov qword [rsi + 0x18], rbp
call sub.VCRUNTIME140.dll_memcpy
mov byte [rdi + rbx], 0
mov rbp, qword [rsp + 0x4e0]
mov rax, rsi
mov rcx, qword [rsp + 0x480]
xor rcx, rsp
call fcn.140082680
add rsp, 0x4a0
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
xorps xmm0, xmm0
mov rax, rsi
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], rdi
mov qword [rsi + 0x18], 0xf
mov byte [rsi], dil
jmp 0x14006419b
call fcn.140039340
int3
call fcn.1400392a0
int3