Function at 0x140004e70
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xa0
mov rax, qword [0x14001a010]
xor rax, rsp
mov qword [rbp + 0x1f], rax
mov rsi, rdx
mov rdi, rcx
xor ebx, ebx
mov qword [rbp - 0x39], rbx
mov qword [rbp - 0x31], rbx
movsxd r9, dword [0x14001b390]
lea r15, [0x14001b3a0]
mov r10, qword [r15 + r9*8]
inc r9d
lea rcx, str.__8
mov rdx, r10
lea r8d, [rbx + 4]
nop dword [rax]
movzx eax, byte [rcx]
xor al, 0x48
movzx eax, al
mov word [rdx], ax
lea rcx, [rcx + 1]
lea rdx, [rdx + 2]
sub r8, 1
jne 0x140004ed0
mov word [r10 + 8], bx
cmp r9d, 0xf
cmovge r9d, ebx
mov dword [0x14001b390], r9d
mov qword [rbp - 1], rbx
mov qword [rbp + 0xf], rbx
mov qword [rbp + 0x17], 7
mov word [rbp - 1], bx
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [r10 + r8*2], bx
jne 0x140004f20
mov rdx, r10
lea rcx, [rbp - 1]
call fcn.140006ae0
nop
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x21], xmm0
mov qword [rbp - 0x11], rax
lea rcx, [rbp - 1]
cmp qword [rbp + 0x17], 8
cmovae rcx, qword [rbp - 1]
mov edx, dword [rbp + 0xf]
call qword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov r14, rax
mov qword [rbp - 0x19], rax
mov eax, 8
mov word [rbp - 0x21], ax
mov rcx, qword [0x14001b328]
mov rax, qword [rcx]
movups xmm0, xmmword [rbp - 0x21]
movaps xmmword [rbp - 0x59], xmm0
movsd xmm1, qword [rbp - 0x11]
movsd qword [rbp - 0x49], xmm1
lea r9, [rbp - 0x39]
lea r8, [rbp - 0x59]
mov edx, 0x7594
call qword [rax + 0xb8]
test eax, eax
jns 0x140004fac
mov rcx, r14
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x1400052d5
mov rax, qword [rdi]
lea r9, [rbp - 0x31]
mov r8, qword [rbp - 0x39]
mov edx, 7
mov rcx, rdi
call qword [rax + 0x30]
test eax, eax
jns 0x140004fde
mov rcx, r14
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, qword [rbp - 0x39]
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x1400052d5
mov rcx, qword [rbp - 0x31]
test rcx, rcx
jne 0x140005004
mov rcx, qword [rbp - 0x39]
test rcx, rcx
je 0x140004ff6
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, r14
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x1400052d5
mov dword [rbp - 9], ebx
mov rax, qword [rcx]
lea rdx, [rbp - 9]
call qword [rax + 0x18]
test rsi, rsi
jne 0x14000503c
mov rcx, qword [rbp - 0x39]
test rcx, rcx
je 0x140005025
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, r14
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, r14
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x1400052c8
mov edi, ebx
cmp dword [rbp - 9], ebx
jle 0x1400052b5
lea r12, str.___8_rgg___f__f_g__w
lea r13, str.___8_rgg___f____f_g__w
nop word [rax + rax]
mov qword [rbp - 0x29], rbx
mov rcx, qword [rbp - 0x31]
mov rax, qword [rcx]
lea r8, [rbp - 0x29]
mov edx, edi
call qword [rax + 0x20]
mov rcx, qword [rbp - 0x29]
test rcx, rcx
je 0x1400052aa
mov rax, qword [rcx]
lea r8, [rbp - 0x21]
mov edx, 0x755d
call qword [rax + 0x50]
mov rcx, qword [rbp - 0x19]
call qword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
je 0x1400052aa
movsxd r10, dword [0x14001b390]
mov rdx, qword [r15 + r10*8]
inc r10d
mov rcx, r12
mov r8, rdx
mov r9d, 0x1a
nop dword [rax]
movzx eax, byte [rcx]
xor al, 0x48
movzx eax, al
mov word [r8], ax
lea rcx, [rcx + 1]
lea r8, [r8 + 2]
sub r9, 1
jne 0x1400050c0
mov word [rdx + 0x34], bx
cmp r10d, 0xf
cmovge r10d, ebx
mov dword [0x14001b390], r10d
mov rcx, qword [rbp - 0x19]
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
test rax, rax
jne 0x14000527c
movsxd r10, dword [0x14001b390]
mov rdx, qword [r15 + r10*8]
inc r10d
mov rcx, r13
mov r8, rdx
lea r9d, [rax + 0x1c]
nop dword [rax + rax]
movzx eax, byte [rcx]
xor al, 0x48
movzx eax, al
mov word [r8], ax
lea rcx, [rcx + 1]
lea r8, [r8 + 2]
sub r9, 1
jne 0x140005120
mov word [rdx + 0x38], bx
cmp r10d, 0xf
cmovge r10d, ebx
mov dword [0x14001b390], r10d
mov rcx, qword [rbp - 0x19]
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
test rax, rax
jne 0x14000527c
movsxd r10, dword [0x14001b390]
mov rdx, qword [r15 + r10*8]
inc r10d
lea rcx, str.___8_rgg_1_________:_f__
mov r8, rdx
lea r9d, [rax + 0x1d]
nop dword [rax]
movzx eax, byte [rcx]
xor al, 0x48
movzx eax, al
mov word [r8], ax
lea rcx, [rcx + 1]
lea r8, [r8 + 2]
sub r9, 1
jne 0x140005180
mov word [rdx + 0x3a], bx
cmp r10d, 0xf
cmovge r10d, ebx
mov dword [0x14001b390], r10d
mov rcx, qword [rbp - 0x19]
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
test rax, rax
jne 0x14000527c
movsxd r10, dword [0x14001b390]
mov rdx, qword [r15 + r10*8]
inc r10d
lea rcx, str.___8_rgg___f____________:____f_
mov r8, rdx
lea r9d, [rax + 0x26]
nop dword [rax]
movzx eax, byte [rcx]
xor al, 0x48
movzx eax, al
mov word [r8], ax
lea rcx, [rcx + 1]
lea r8, [r8 + 2]
sub r9, 1
jne 0x1400051e0
mov word [rdx + 0x4c], bx
cmp r10d, 0xf
cmovge r10d, ebx
mov dword [0x14001b390], r10d
mov rcx, qword [rbp - 0x19]
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
test rax, rax
jne 0x14000527c
movsxd r10, dword [0x14001b390]
mov rdx, qword [r15 + r10*8]
inc r10d
lea rcx, str.___8_rgg___f________:____f_g8_____g__w
mov r8, rdx
lea r9d, [rax + 0x2d]
nop dword [rax + rax]
movzx eax, byte [rcx]
xor al, 0x48
movzx eax, al
mov word [r8], ax
lea rcx, [rcx + 1]
lea r8, [r8 + 2]
sub r9, 1
jne 0x140005240
mov word [rdx + 0x5a], bx
cmp r10d, 0xf
cmovge r10d, ebx
mov dword [0x14001b390], r10d
mov rcx, qword [rbp - 0x19]
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
test rax, rax
je 0x1400052a0
mov rdx, qword [rsi + 8]
cmp rdx, qword [rsi + 0x10]
je 0x140005294
mov rax, qword [rbp - 0x29]
mov qword [rdx], rax
add qword [rsi + 8], 8
jmp 0x1400052a0
lea r8, [rbp - 0x29]
mov rcx, rsi
call fcn.140006ff0
mov rcx, qword [rbp - 0x19]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
inc edi
cmp edi, dword [rbp - 9]
jl 0x140005060
mov rcx, r14
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, qword [rbp - 0x39]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x31]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov ebx, dword [rbp - 9]
mov rdx, qword [rbp + 0x17]
cmp rdx, 8
jb 0x140005318
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005313
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005313
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400104a8
mov eax, ebx
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.140010140
mov rbx, qword [rsp + 0xf0]
add rsp, 0xa0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret