Function at 0x140004360
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xd0
mov rax, qword [0x14001a010]
xor rax, rsp
mov qword [rbp + 0x47], rax
cmp qword [0x14001b418], 0
je 0x14000439b
xor al, al
jmp 0x1400049d9
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
lea rax, [0x14001b328]
mov qword [rsp + 0x20], rax
lea r9, [0x140013638]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x140013628]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov r11, qword [0x14001b360]
movsxd r10, dword [0x14001b390]
lea rsi, [0x14001b3a0]
mov rcx, qword [rsi + r10*8]
inc r10d
mov rdx, rcx
lea r9, [0x14001a1b8]
sub r9, rcx
mov r8d, 0xa
movzx eax, byte [r9 + rdx]
xor al, 0x48
mov byte [rdx], al
lea rdx, [rdx + 1]
sub r8, 1
jne 0x140004402
mov byte [rcx + 0xa], r8b
xor edi, edi
cmp r10d, 0xf
cmovge r10d, edi
mov dword [0x14001b390], r10d
call r11
mov qword [0x14001b378], rax
movsxd r8, dword [0x14001b390]
mov r9, qword [rsi + r8*8]
inc r8d
mov rcx, r9
lea r10, str._t__:___h__h___:_h_:
sub r10, r9
lea edx, [rdi + 0x16]
movzx eax, byte [r10 + rcx]
xor al, 0x48
mov byte [rcx], al
lea rcx, [rcx + 1]
sub rdx, 1
jne 0x140004452
mov byte [r9 + 0x16], dil
cmp r8d, 0xf
cmovge r8d, edi
mov dword [0x14001b390], r8d
mov qword [rbp + 0x27], rdi
mov qword [rbp + 0x37], rdi
mov qword [rbp + 0x3f], 0xf
mov byte [rbp + 0x27], dil
mov r8, 0xffffffffffffffff
inc r8
cmp byte [r9 + r8], dil
jne 0x140004493
mov rdx, r9
lea rcx, [rbp + 0x27]
call fcn.140006c60
nop
movsxd r8, dword [0x14001b390]
mov r9, qword [rsi + r8*8]
inc r8d
mov rcx, r9
lea r10, str._t__:___h.____
sub r10, r9
mov edx, 0xd
nop dword [rax]
movzx eax, byte [r10 + rcx]
xor al, 0x48
mov byte [rcx], al
lea rcx, [rcx + 1]
sub rdx, 1
jne 0x1400044d0
mov byte [r9 + 0xd], dl
cmp r8d, 0xf
cmovge r8d, edi
mov dword [0x14001b390], r8d
mov qword [rbp + 7], rdi
mov qword [rbp + 0x17], rdi
mov qword [rbp + 0x1f], 0xf
mov byte [rbp + 7], dl
mov r8, 0xffffffffffffffff
inc r8
cmp byte [r9 + r8], 0
jne 0x140004510
mov rdx, r9
lea rcx, [rbp + 7]
call fcn.140006c60
nop
movsxd r8, dword [0x14001b390]
mov r9, qword [rsi + r8*8]
inc r8d
mov rcx, r9
lea r10, str.h:h___:h___:___
sub r10, r9
mov edx, 0x11
nop word [rax + rax]
movzx eax, byte [rcx + r10]
xor al, 0x48
mov byte [rcx], al
lea rcx, [rcx + 1]
sub rdx, 1
jne 0x140004550
mov byte [r9 + 0x11], dl
cmp r8d, 0xf
cmovge r8d, edi
mov dword [0x14001b390], r8d
mov qword [rbp - 0x19], rdi
mov qword [rbp - 9], rdi
mov qword [rbp - 1], 0xf
mov byte [rbp - 0x19], dl
mov r8, 0xffffffffffffffff
inc r8
cmp byte [r9 + r8], 0
jne 0x140004590
mov rdx, r9
lea rcx, [rbp - 0x19]
call fcn.140006c60
nop
lea r8, [rbp + 0x27]
cmp qword [rbp + 0x3f], 0x10
cmovae r8, qword [rbp + 0x27]
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rdi
xor edx, edx
mov ecx, 0xfde9
lea r9d, [rdx - 1]
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movsxd rbx, eax
mov qword [rbp - 0x39], rdi
mov qword [rbp - 0x29], rdi
mov qword [rbp - 0x21], 7
mov rdx, rbx
lea rcx, [rbp - 0x39]
call fcn.140006950
lea rcx, [rbp - 0x39]
cmp qword [rbp - 0x21], 8
cmovae rcx, qword [rbp - 0x39]
lea r8, [rbp + 0x27]
cmp qword [rbp + 0x3f], 0x10
cmovae r8, qword [rbp + 0x27]
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rcx
xor edx, edx
mov ecx, 0xfde9
lea r9d, [rdx - 1]
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea rdx, [rbp - 0x39]
lea rcx, [0x14001a4e8]
call fcn.140006420
mov rdx, qword [rbp - 0x21]
cmp rdx, 8
jb 0x140004677
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x39]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004672
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004672
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400104a8
lea r8, [rbp + 7]
cmp qword [rbp + 0x1f], 0x10
cmovae r8, qword [rbp + 7]
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rdi
xor edx, edx
mov ecx, 0xfde9
lea r9d, [rdx - 1]
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movsxd rbx, eax
mov qword [rbp - 0x39], rdi
mov qword [rbp - 0x29], rdi
mov qword [rbp - 0x21], 7
mov rdx, rbx
lea rcx, [rbp - 0x39]
call fcn.140006950
lea rcx, [rbp - 0x39]
cmp qword [rbp - 0x21], 8
cmovae rcx, qword [rbp - 0x39]
lea r8, [rbp + 7]
cmp qword [rbp + 0x1f], 0x10
cmovae r8, qword [rbp + 7]
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rcx
xor edx, edx
mov ecx, 0xfde9
lea r9d, [rdx - 1]
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea rdx, [rbp - 0x39]
lea rcx, [0x14001a508]
call fcn.140006420
mov rdx, qword [rbp - 0x21]
cmp rdx, 8
jb 0x140004747
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x39]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004742
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004742
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400104a8
lea r8, [rbp - 0x19]
cmp qword [rbp - 1], 0x10
cmovae r8, qword [rbp - 0x19]
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rdi
xor edx, edx
mov ecx, 0xfde9
lea r9d, [rdx - 1]
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movsxd rbx, eax
mov qword [rbp - 0x39], rdi
mov qword [rbp - 0x29], rdi
mov qword [rbp - 0x21], 7
mov rdx, rbx
lea rcx, [rbp - 0x39]
call fcn.140006950
lea rdx, [rbp - 0x39]
cmp qword [rbp - 0x21], 8
cmovae rdx, qword [rbp - 0x39]
lea r8, [rbp - 0x19]
cmp qword [rbp - 1], 0x10
cmovae r8, qword [rbp - 0x19]
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rdx
xor edx, edx
mov ecx, 0xfde9
lea r9d, [rdx - 1]
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea rdx, [rbp - 0x39]
lea rcx, [0x14001a528]
call fcn.140006420
mov rdx, qword [rbp - 0x21]
cmp rdx, 8
jb 0x140004817
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x39]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004812
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004812
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400104a8
mov qword [rbp - 0x29], rdi
mov qword [rbp - 0x21], 7
mov word [rbp - 0x39], di
movsxd rbx, dword [0x14001b390]
mov rdx, qword [rsi + rbx*8]
inc ebx
mov rcx, rdx
lea r9, str._t_______a___
sub r9, rdx
mov r8d, 0x19
nop word [rax + rax]
movzx eax, byte [r9 + rcx]
xor al, 0x48
mov byte [rcx], al
lea rcx, [rcx + 1]
sub r8, 1
jne 0x140004850
mov byte [rdx + 0x19], r8b
cmp ebx, 0xf
cmovge ebx, edi
mov rcx, qword [0x14001b378]
call fcn.1400016a0
mov qword [0x14001b330], rax
movsxd rax, ebx
mov rdx, qword [rsi + rax*8]
inc ebx
mov rcx, rdx
lea r9, [0x14001a148]
sub r9, rdx
mov r8d, 0xf
nop dword [rax]
movzx eax, byte [r9 + rcx]
xor al, 0x48
mov byte [rcx], al
lea rcx, [rcx + 1]
sub r8, 1
jne 0x1400048a0
mov byte [rdx + 0xf], r8b
cmp ebx, 0xf
cmovge ebx, edi
mov dword [0x14001b390], ebx
mov rcx, qword [0x14001b380]
call fcn.1400016a0
mov qword [0x14001b358], rax
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
lea r9, [0x1400041c0]
xor r8d, r8d
mov edx, 0x800e
lea ecx, [rdx - 9]
call rax
mov qword [0x14001b418], rax
mov rdx, qword [rbp - 1]
cmp rdx, 0x10
jb 0x14000493b
inc rdx
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004936
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004936
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400104a8
mov qword [rbp - 9], rdi
mov qword [rbp - 1], 0xf
mov byte [rbp - 0x19], 0
mov rdx, qword [rbp + 0x1f]
cmp rdx, 0x10
jb 0x140004989
inc rdx
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004984
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004984
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400104a8
mov qword [rbp + 0x17], rdi
mov qword [rbp + 0x1f], 0xf
mov byte [rbp + 7], 0
mov rdx, qword [rbp + 0x3f]
cmp rdx, 0x10
jb 0x1400049d7
inc rdx
mov rcx, qword [rbp + 0x27]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400049d2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400049d2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400104a8
mov al, 1
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.140010140
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret