Function at 0x140001b48
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax + 8], rcx
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x2e8]
sub rsp, 0x3c0
mov r14, qword [0x1400061b0]
lea r8, [rsp + 0x50]
xorps xmm0, xmm0
mov qword [rsp + 0x48], r14
xor ebx, ebx
mov r13, rdx
xor edx, edx
mov qword [rsp + 0x20], rbx
mov rcx, r14
mov esi, ebx
movups xmmword [rsp + 0x50], xmm0
lea r9d, [rbx + 0x30]
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
call qword [0x1400061d0]
test eax, eax
js 0x140001e1b
mov rdx, qword [rsp + 0x58]
test rdx, rdx
je 0x140001e1b
lea edi, [rbx + 8]
mov qword [rbp + 0x2f0], rbx
mov r9d, edi
mov qword [rsp + 0x20], rbx
add rdx, 0x18
lea r8, [rbp + 0x2f0]
mov rcx, r14
call qword [0x1400061e0]
test eax, eax
js 0x140001e1b
mov rdx, qword [rbp + 0x2f0]
lea r8, [rsp + 0x40]
add rdx, 0x10
mov qword [rsp + 0x40], rbx
mov r9d, edi
mov qword [rsp + 0x20], rbx
mov rcx, r14
call qword [0x1400061e0]
test eax, eax
js 0x140001e1b
mov rax, qword [rsp + 0x40]
test rax, rax
je 0x140001e1b
mov edi, ebx
movzx r12d, bx
mov r15d, ebx
mov r9d, 0x128
mov qword [rsp + 0x20], rbx
lea r8, [rbp - 0x80]
mov rdx, rax
mov rcx, r14
call qword [0x1400061e0]
test eax, eax
js 0x140001e1b
xor edx, edx
lea rcx, [rbp + 0xb0]
mov r8d, 0x104
call sub.VCRUNTIME140.dll_memset
movzx r9d, word [rbp - 0x28]
lea r8, [rbp + 0xb0]
mov rdx, qword [rbp - 0x20]
mov rcx, r14
mov qword [rsp + 0x20], rbx
call qword [0x1400061e0]
test eax, eax
js 0x140001e1b
test rdi, rdi
cmove rdi, qword [rbp - 0x78]
mov rcx, qword [r13 + rbx*8]
lea rdx, [rbp + 0xb0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x140001cc6
inc rbx
mov ecx, 0x12
cmp rbx, rcx
jl 0x140001c9e
jmp 0x140001df8
movzx eax, word [0x140004698]
lea r9, [rsp + 0x30]
movsd xmm0, qword [str._KXIIJ]
xor r8d, r8d
mov word [rsp + 0x38], ax
mov al, byte [0x14000469a]
mov byte [rsp + 0x3a], al
lea r14d, [r8 + 1]
movsd qword [rsp + 0x30], xmm0
mov eax, 0x2f684bdb
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul ecx, eax, 0x36
mov al, r8b
add r8d, r14d
sub al, cl
add al, 0x37
xor byte [r9], al
add r9, r14
cmp r8d, 0xb
jl 0x140001cf6
mov r14, qword [rsp + 0x48]
lea rcx, [rsp + 0x30]
call fcn.14000179c
mov rcx, qword [r13 + rbx*8]
mov rdx, rax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
mov eax, 1
cmove r15d, eax
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, 8
mov r8d, 0x220
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbx, rax
test rax, rax
je 0x140001e1b
and qword [rax], 0
mov rcx, qword [rbp - 0x50]
mov qword [rax + 8], rcx
mov ecx, dword [rbp - 0x40]
mov dword [rax + 0x10], ecx
mov ecx, dword [rbp]
mov dword [rax + 0x218], ecx
mov ecx, dword [rbp + 0xa0]
mov dword [rax + 0x21c], ecx
mov eax, 0x200
mov r9d, eax
cmp word [rbp - 0x38], ax
ja 0x140001dae
movzx r9d, word [rbp - 0x38]
mov rdx, qword [rbp - 0x30]
lea r8, [rbx + 0x14]
and qword [rsp + 0x20], 0
mov rcx, r14
call qword [0x1400061e0]
test eax, eax
js 0x140001e1b
test rsi, rsi
jne 0x140001dd3
mov rsi, rbx
jmp 0x140001def
mov rcx, qword [rsi]
mov rdx, rsi
test rcx, rcx
je 0x140001dec
mov rax, qword [rcx]
mov rdx, rcx
mov rcx, rax
test rax, rax
jne 0x140001dde
mov qword [rdx], rbx
inc r12w
mov ecx, 0x12
mov rax, qword [rbp - 0x80]
cmp rax, rdi
je 0x140001e10
mov ebx, 0
cmp r12w, cx
jl 0x140001c39
neg r15d
sbb rax, rax
and rax, rsi
jmp 0x140001e1d
xor eax, eax
lea r11, [rsp + 0x3c0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret