Function at 0x1400bc9f0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x3c0]
sub rsp, 0x4c0
mov rax, qword [0x14031d480]
xor rax, rsp
mov qword [rbp + 0x3b0], rax
mov ebx, r8d
mov rdi, rdx
mov qword [rsp + 0x50], rdx
xor r13d, r13d
mov dword [rsp + 0x48], r13d
mov eax, r8d
sar eax, 0x10
lea ecx, [rax*8]
add rcx, qword [0x140322fe8]
mov rax, qword [0x1403230e0]
add rax, 0x10
add rcx, rax
call fcn.1400c7810
mov rcx, rax
movzx eax, bx
lea r12, [rcx + rax*2]
mov rcx, r12
call fcn.1400c7b30
movzx r15d, ax
shr r15d, 6
test r15d, r15d
je 0x1400bcc8a
mov r14d, r13d
mov ebx, r15d
mov esi, r13d
nop word [rax + rax]
mov byte [rsp + 0x40], r13b
mov dword [rsp + 0x79], r13d
mov word [rsp + 0x7d], r13w
mov byte [rsp + 0x7f], r13b
mov dword [rsp + 0x58], 0x85b3e12
mov ecx, r14d
add rcx, 2
add rcx, r12
mov qword [rsp + 0x60], rcx
lea rax, [rsp + 0x40]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], 1
mov eax, dword [0x140322f10]
mov dword [rsp + 0x5c], eax
mov byte [rsp + 0x78], r13b
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r13
mov r9d, Ordinal_45
lea r8, [rsp + 0x58]
mov edx, 0x220d08
mov rcx, qword [0x140322f08]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
movzx eax, byte [rsp + 0x40]
mov byte [rbp + rsi - 0x50], al
inc r14d
inc rsi
cmp rsi, rbx
jl 0x1400bca90
lea rsi, [rbp - 0x50]
mov rax, qword [0x1403230e0]
add rax, 0x12894800
mov dword [rsp + 0x44], r13d
mov dword [rbp - 0x5f], r13d
mov word [rbp - 0x5b], r13w
mov byte [rbp - 0x59], r13b
mov dword [rbp - 0x80], 0x85b3e12
mov qword [rbp - 0x78], rax
lea rax, [rsp + 0x44]
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], 4
mov eax, dword [0x140322f10]
mov dword [rbp - 0x7c], eax
mov byte [rbp - 0x60], r13b
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r13
mov r9d, Ordinal_45
lea r8, [rbp - 0x80]
mov edx, 0x220d08
mov rcx, qword [0x140322f08]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov r8d, dword [rsp + 0x44]
shr r8d, 5
mov edx, r13d
nop
movsx ecx, byte [rsi]
mov eax, ecx
shr eax, 4
shl cl, 4
xor cl, al
xor cl, r8b
lea r8d, [r8 + rdx*8]
inc edx
and cl, 0xf0
xor cl, al
mov byte [rsi], cl
lea rsi, [rsi + 1]
cmp edx, r15d
jl 0x1400bcbb0
mov byte [rbp + r15 - 0x50], r13b
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r13
mov qword [rdi + 0x18], r13
lea rax, [rbp - 0x50]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], r13b
jne 0x1400bcbf4
lea rdx, [rbp - 0x50]
mov rcx, rdi
call fcn.14005f9e0
mov dword [rsp + 0x48], 1
mov rcx, qword [rdi + 0x10]
cmp rbx, rcx
ja 0x1400bcc32
mov qword [rdi + 0x10], rbx
mov rax, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x1400bcc2b
mov rax, qword [rdi]
mov byte [rax + r15], 0
jmp 0x1400bcc87
mov rsi, rbx
sub rsi, rcx
mov rdx, qword [rdi + 0x18]
mov rax, rdx
sub rax, rcx
cmp rsi, rax
ja 0x1400bcc6e
mov qword [rdi + 0x10], rbx
mov rax, rdi
cmp rdx, 0xf
jbe 0x1400bcc57
mov rax, qword [rdi]
lea rbx, [rax + rcx]
mov r8, rsi
xor edx, edx
mov rcx, rbx
call sub.VCRUNTIME140.dll_memset
mov byte [rbx + rsi], 0
jmp 0x1400bcc87
mov byte [rsp + 0x20], 0
mov r9, rsi
movzx r8d, byte [rsp + 0x40]
mov rdx, rsi
mov rcx, rdi
call fcn.140066440
mov rax, rdi
mov rcx, qword [rbp + 0x3b0]
xor rcx, rsp
call fcn.140256390
mov rbx, qword [rsp + 0x500]
add rsp, 0x4c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret