Function at 0x140014120
Capabilities:
Encode data using xor
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x1c0]
sub rsp, 0x2c0
mov rax, qword [0x1400781b0]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
mov r8d, 0x104
lea rdx, [rbp + 0xa0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
movdqa xmm0, xmmword [0x140066860]
xor edi, edi
movdqa xmm1, xmmword [str._syusoECWKC_r_b]
mov ecx, edi
movdqu xmmword [rsp + 0x60], xmm0
mov byte [rbp - 0x80], 1
movdqu xmmword [rsp + 0x70], xmm1
nop
lea eax, [rcx + 0x1e]
xor byte [rsp + rcx + 0x60], al
inc rcx
cmp rcx, 0x1f
jb 0x140014180
lea r8, [rbp - 0x70]
mov byte [rbp - 0x80], dil
lea rdx, [rsp + 0x60]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
cmp qword [rbp - 0x70], rdi
je 0x1400142f3
mov qword [rsp + 0x2d0], rbx
mov ebx, edi
mov qword [rsp + 0x2d8], rsi
lea rsi, [0x1401c7828]
nop dword [rax]
mov edx, ebx
mov dword [rbp - 0x68], 0x100
lea rcx, [rsp + 0x40]
call fcn.140001bf0
mov r8, rax
cmp qword [rax + 0x18], 0x10
jb 0x1400141f0
mov r8, qword [rax]
movdqa xmm0, xmmword [0x140066860]
mov rax, rdi
movdqa xmm1, xmmword [str._syusoECWKC_r_b]
movdqu xmmword [rsp + 0x60], xmm0
mov byte [rbp - 0x80], 1
movdqu xmmword [rsp + 0x70], xmm1
nop dword [rax]
nop word [rax + rax]
lea ecx, [rax + 0x1e]
xor byte [rsp + rax + 0x60], cl
inc rax
cmp rax, 0x1f
jb 0x140014220
lea rax, [rbp - 0x68]
mov byte [rbp - 0x80], dil
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x60]
lea rax, [rbp - 0x60]
mov r9d, 0xffff
mov qword [rsp + 0x28], rax
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegGetValueA]
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x14001429c
mov rcx, qword [rsp + 0x40]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140014297
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140014313
call fcn.14004dbe0
lea rdx, [rbp + 0xa0]
lea rcx, [rbp - 0x60]
call qword [sym.imp.VCRUNTIME140.dll_strstr]
test rax, rax
jne 0x140014366
cmp qword [0x1401c7840], 0x10
lea rcx, [rbp - 0x60]
mov rdx, rsi
cmovae rdx, qword [0x1401c7828]
call qword [sym.imp.VCRUNTIME140.dll_strstr]
test rax, rax
jne 0x14001431a
inc ebx
cmp ebx, 0xa
jl 0x1400141d0
mov rbx, qword [rsp + 0x2d0]
mov rsi, qword [rsp + 0x2d8]
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.14004dbc0
mov rdi, qword [rsp + 0x2e0]
add rsp, 0x2c0
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
movdqa xmm0, xmmword [0x1400668e0]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x50], 0x11495d41
movdqu xmmword [rsp + 0x40], xmm0
mov dword [rsp + 0x54], 0x50405676
mov dword [rsp + 0x58], 0x5d5d4355
mov word [rsp + 0x5c], 0x100
call fcn.14001ba60
mov rdx, rax
mov cl, 1
call fcn.14000cac0
call fcn.140011dc0
int3
movdqa xmm0, xmmword [0x1400668e0]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x50], 0x11495d41
movdqu xmmword [rsp + 0x40], xmm0
mov dword [rsp + 0x54], 0x50405676
mov dword [rsp + 0x58], 0x5d5d4355
mov word [rsp + 0x5c], 0x100
call fcn.14001ba60
mov rdx, rax
mov cl, 1
call fcn.14000cac0
call fcn.140011dc0
int3