Function at 0x14000c0e8
Capabilities:
Connect to wmi namespace via wbemlocator
Get hostname
Get session user name
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x1d0]
sub rsp, 0x2d0
mov rax, qword [0x14003b008]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
mov edi, 0x212
lea rcx, [rbp - 0x60]
mov r8d, edi
xor edx, edx
call fcn.140015d40
mov ebx, 0x28
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x2e]
mov dword [rsp + 0x50], ebx
call qword [sym.imp.KERNEL32.dll_GetComputerNameA]
lea rdx, [rsp + 0x50]
mov dword [rsp + 0x50], ebx
lea rcx, [rbp - 0x1a]
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
lea rax, [rsp + 0x78]
mov dword [rsp + 0x54], 0xff
mov r9d, 0x20019
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftWindows_NTCurrentVersion_
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
xor ebx, ebx
test eax, eax
jne 0x14000c1e7
mov rcx, qword [rsp + 0x78]
lea rax, [rsp + 0x54]
mov qword [rsp + 0x28], rax
lea rdx, str.ProductName
lea rax, [rbp + 0xc2]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, qword [rsp + 0x78]
lea rax, [rsp + 0x54]
mov qword [rsp + 0x28], rax
lea rdx, str.ProductId
lea rax, [rbp - 0x60]
mov dword [rsp + 0x54], 0xff
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r8d, 0x104
lea rdx, [rbp - 6]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
js 0x14000c445
mov qword [rsp + 0x40], rbx
xor r9d, r9d
mov dword [rsp + 0x38], ebx
xor r8d, r8d
mov qword [rsp + 0x30], rbx
or edx, 0xffffffff
mov dword [rsp + 0x28], 3
xor ecx, ecx
mov dword [rsp + 0x20], ebx
call qword [sym.imp.ole32.dll_CoInitializeSecurity]
xor edx, edx
mov qword [rsp + 0x60], rbx
lea rax, [rsp + 0x60]
lea r9, [0x14002d6c8]
mov qword [rsp + 0x20], rax
lea rcx, [0x14002d6b8]
lea r8d, [rdx + 1]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x14000c43f
mov rcx, qword [rsp + 0x60]
lea rdx, [rsp + 0x58]
mov qword [rsp + 0x40], rdx
xor r9d, r9d
mov qword [rsp + 0x38], rbx
lea rdx, str.RootSecurityCenter2
mov qword [rsp + 0x58], rbx
xor r8d, r8d
mov rax, qword [rcx]
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rbx
call qword [rax + 0x18]
test eax, eax
jns 0x14000c2ed
mov rcx, qword [rsp + 0x60]
lea rdx, [rsp + 0x58]
mov qword [rsp + 0x40], rdx
xor r9d, r9d
mov qword [rsp + 0x38], rbx
lea rdx, str.RootSecurityCenter
mov qword [rsp + 0x30], rbx
xor r8d, r8d
mov rax, qword [rcx]
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rbx
call qword [rax + 0x18]
test eax, eax
js 0x14000c434
mov rcx, qword [rsp + 0x58]
xor r9d, r9d
mov dword [rsp + 0x38], ebx
xor r8d, r8d
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 3
lea edx, [r9 + 0xa]
mov dword [rsp + 0x20], 3
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov rcx, qword [rsp + 0x58]
test eax, eax
js 0x14000c42e
mov qword [rsp + 0x70], rbx
lea rdx, [rsp + 0x70]
mov rax, qword [rcx]
lea r8, str.SELECT__FROM_AntiVirusProduct
mov qword [rsp + 0x28], rdx
mov r9d, 0x30
lea rdx, [0x140036590]
mov qword [rsp + 0x20], rbx
call qword [rax + 0xa0]
test eax, eax
js 0x14000c429
jmp 0x14000c40e
lea rdx, [rsp + 0x68]
mov dword [rsp + 0x68], ebx
mov rax, qword [rcx]
lea r9, [rbp - 0x80]
mov qword [rsp + 0x20], rdx
mov r8d, 1
or edx, 0xffffffff
call qword [rax + 0x20]
test eax, eax
js 0x14000c41e
cmp dword [rsp + 0x68], ebx
je 0x14000c41e
mov rcx, qword [rbp - 0x80]
lea r9, [rbp - 0x78]
mov qword [rsp + 0x28], rbx
lea rdx, str.DisplayName
xor r8d, r8d
mov qword [rsp + 0x20], rbx
mov rax, qword [rcx]
call qword [rax + 0x20]
test eax, eax
js 0x14000c404
lea rcx, [rbp + 0x112]
cmp word [rbp + 0x112], bx
jne 0x14000c3e2
mov r8, qword [rbp - 0x70]
lea rdx, [0x1400365b0]
call qword [sym.imp.USER32.dll_wsprintfW]
jmp 0x14000c3fa
mov r9, qword [rbp - 0x70]
lea r8, [rbp + 0x112]
lea rdx, str._s__s
call qword [sym.imp.USER32.dll_wsprintfW]
lea rcx, [rbp - 0x78]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rcx, qword [rbp - 0x80]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rsp + 0x70]
test rcx, rcx
jne 0x14000c366
jmp 0x14000c423
mov rcx, qword [rsp + 0x70]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
call qword [sym.imp.ole32.dll_CoUninitialize]
lea rax, [rbp - 0x60]
mov r9d, edi
mov r8b, 0xb
mov qword [rsp + 0x20], rax
mov dl, recv
xor ecx, ecx
call qword [0x14003d358]
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.140012de0
lea r11, [rsp + 0x2d0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret