Function at 0x140002f70
Capabilities:
Encode data using xor

Disassembly:
test rcx, rcx
je 0x140003228
push rbp
push rbx
push rdi
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x140017010]
xor rax, rsp
mov qword [rbp - 0x28], rax
mov rbx, rcx
mov qword [rsp + 0xb0], rsi
mov rcx, qword [0x1400180a0]
xor esi, esi
mov qword [rbp - 0x50], rsi
mov rdi, rdx
mov qword [rbp - 0x58], rsi
lea rdx, [rbp - 0x50]
mov rax, qword [rcx]
call qword [rax + 0xa8]
mov rax, qword [rbx]
lea r9, [rbp - 0x58]
mov r8, qword [rbp - 0x50]
lea edx, [rsi + 2]
mov rcx, rbx
call qword [rax + 0x30]
mov rcx, qword [rbp - 0x58]
test rcx, rcx
jne 0x140002fef
mov rcx, qword [rbp - 0x50]
test rcx, rcx
je 0x14000320a
jmp 0x140003204
mov dword [rbp - 0x30], esi
lea rdx, [rbp - 0x30]
mov rax, qword [rcx]
call qword [rax + 0x18]
mov ebx, esi
cmp dword [rbp - 0x30], ebx
jle 0x1400031f6
mov qword [rsp + 0x78], r12
lea r12, str.___8_rgg___f____f_g__w
mov qword [rsp + 0x70], r13
lea r13, str.___8_rgg___f________:____f_g8_____g__w
mov qword [rsp + 0x68], r14
lea r14, [0x140018020]
mov qword [rsp + 0x60], r15
lea r15, str.___8_rgg___f__f_g__w
nop word [rax + rax]
mov rcx, qword [rbp - 0x58]
lea r8, [rbp - 0x60]
mov qword [rbp - 0x60], rsi
mov edx, ebx
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, qword [rbp - 0x60]
test rcx, rcx
je 0x1400031d7
mov rax, qword [rcx]
lea r8, [rbp - 0x48]
mov edx, 0x755d
call qword [rax + 0x50]
mov rcx, qword [rbp - 0x40]
call qword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
je 0x1400031cb
movsxd r10, dword [0x1400180b0]
mov rcx, r15
mov r9d, 0x1a
mov rdx, qword [r14 + r10*8]
inc r10d
mov r8, rdx
nop dword [rax]
movzx eax, byte [rcx]
lea r8, [r8 + 2]
xor al, 0x48
lea rcx, [rcx + 1]
movzx eax, al
mov word [r8 - 2], ax
sub r9, 1
jne 0x1400030a0
cmp r10d, 0xf
mov word [rdx + 0x34], si
mov rcx, qword [rbp - 0x40]
cmovge r10d, esi
mov dword [0x1400180b0], r10d
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
test rax, rax
jne 0x14000319d
movsxd r10, dword [0x1400180b0]
lea r9d, [rax + 0x1c]
mov rcx, r12
mov rdx, qword [r14 + r10*8]
inc r10d
mov r8, rdx
nop dword [rax]
movzx eax, byte [rcx]
lea r8, [r8 + 2]
xor al, 0x48
lea rcx, [rcx + 1]
movzx eax, al
mov word [r8 - 2], ax
sub r9, 1
jne 0x140003100
cmp r10d, 0xf
mov word [rdx + 0x38], si
mov rcx, qword [rbp - 0x40]
cmovge r10d, esi
mov dword [0x1400180b0], r10d
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
test rax, rax
jne 0x14000319d
movsxd r10, dword [0x1400180b0]
lea r9d, [rax + 0x2d]
mov rcx, r13
mov rdx, qword [r14 + r10*8]
inc r10d
mov r8, rdx
nop word [rax + rax]
movzx eax, byte [rcx]
lea r8, [r8 + 2]
xor al, 0x48
lea rcx, [rcx + 1]
movzx eax, al
mov word [r8 - 2], ax
sub r9, 1
jne 0x140003160
cmp r10d, 0xf
mov word [rdx + 0x5a], si
mov rcx, qword [rbp - 0x40]
cmovge r10d, esi
mov dword [0x1400180b0], r10d
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
test rax, rax
je 0x1400031c1
mov rdx, qword [rdi + 8]
cmp rdx, qword [rdi + 0x10]
je 0x1400031b5
mov rax, qword [rbp - 0x60]
mov qword [rdx], rax
add qword [rdi + 8], 8
jmp 0x1400031c1
lea r8, [rbp - 0x60]
mov rcx, rdi
call fcn.1400067e0
mov rcx, qword [rbp - 0x40]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, qword [rbp - 0x60]
mov rdx, rdi
call fcn.140002f70
inc ebx
cmp ebx, dword [rbp - 0x30]
jl 0x140003040
mov r15, qword [rsp + 0x60]
mov r14, qword [rsp + 0x68]
mov r13, qword [rsp + 0x70]
mov r12, qword [rsp + 0x78]
mov rcx, qword [rbp - 0x58]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x50]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rsi, qword [rsp + 0xb0]
mov rcx, qword [rbp - 0x28]
xor rcx, rsp
call fcn.14000e9b0
add rsp, 0x80
pop rdi
pop rbx
pop rbp
ret