Function at 0x140055010
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xb0
mov rdi, rcx
xor r13d, r13d
mov ecx, 0x10
mov rax, qword gs:[0x58]
mov rax, qword [rax]
mov eax, dword [rcx + rax]
cmp dword [0x14031e2d0], eax
jle 0x14005509e
lea rcx, [0x14031e2d0]
call fcn.1400cf68c
cmp dword [0x14031e2d0], 0xffffffff
jne 0x14005509e
xorps xmm0, xmm0
movups xmmword [0x14031e388], xmm0
mov qword [0x14031e398], r13
mov qword [0x14031e3a0], 0xf
mov byte [0x14031e388], r13b
lea rcx, [0x1400d37a0]
call fcn.1400cf968
lea rcx, [0x14031e2d0]
call fcn.1400cf620
cmp qword [0x14031e398], r13
je 0x140055107
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r13
mov qword [rdi + 0x18], r13
mov r8d, Ordinal_23
cmp qword [0x14031e398], r8
cmovb r8, qword [0x14031e398]
lea rdx, [0x14031e388]
cmp qword [0x14031e3a0], 0xf
cmova rdx, qword [0x14031e388]
mov rcx, rdi
call fcn.1400311f0
mov rax, rdi
mov rbx, qword [rsp + 0xf0]
add rsp, 0xb0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov qword [rbp - 0x39], r13
mov qword [rbp + 0x7f], r13
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
js 0x14005514a
lea rax, [rbp - 0x39]
mov qword [rsp + 0x20], rax
lea r9, [0x1400f0e10]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x1400f0e20]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x140055161
call qword [sym.imp.ole32.dll_CoUninitialize]
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r13
mov qword [rdi + 0x18], 0xf
mov byte [rdi], r13b
jmp 0x1400550e9
mov rax, qword [rbp - 0x39]
mov rcx, qword [rax]
mov rsi, qword [rcx + 0x18]
mov ecx, 0x18
call fcn.1400cf704
mov rbx, rax
mov qword [rbp + 0x77], rax
test rax, rax
je 0x1400551a8
mov qword [rax + 8], r13
mov dword [rax + 0x10], 1
lea rcx, [0x1400ff5f8]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rbx], rax
test rax, rax
je 0x1400555df
jmp 0x1400551ab
mov rbx, r13
mov qword [rbp - 1], rbx
test rbx, rbx
je 0x1400555f5
lea rax, [rbp + 0x7f]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r13
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rbx]
mov rcx, qword [rbp - 0x39]
call rsi
mov esi, eax
mov r14, 0xffffffffffffffff
mov ecx, r14d
lock xadd dword [rbx + 0x10], ecx
cmp ecx, 1
jne 0x14005522a
mov rcx, qword [rbx]
test rcx, rcx
je 0x14005520b
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], r13
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14005521d
call fcn.1400cf980
mov qword [rbx + 8], r13
mov edx, 0x18
mov rcx, rbx
call fcn.1400cf980
test esi, esi
js 0x14005526a
mov dword [rsp + 0x38], r13d
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0xa]
mov rcx, qword [rbp + 0x7f]
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jns 0x140055294
mov rcx, qword [rbp + 0x7f]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x39]
mov rax, qword [rcx]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r13
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
jmp 0x1400550e9
mov qword [rbp - 0x31], r13
mov rax, qword [rbp + 0x7f]
mov rcx, qword [rax]
mov r12, qword [rcx + 0xa0]
mov ecx, 0x18
call fcn.1400cf704
mov rbx, rax
mov qword [rbp + 0x77], rax
test rax, rax
je 0x1400552d8
mov qword [rax + 8], r13
mov dword [rax + 0x10], 1
lea rcx, str.SELECT_SerialNumber_FROM_Win32_BaseBoard
call fcn.1400d07c0
mov qword [rbx], rax
jmp 0x1400552db
mov rbx, r13
mov qword [rbp + 7], rbx
test rbx, rbx
je 0x1400555f5
mov r15, qword [rbx]
mov ecx, 0x18
call fcn.1400cf704
mov rsi, rax
mov qword [rbp + 0x77], rax
test rax, rax
je 0x14005531d
mov qword [rax + 8], r13
mov dword [rax + 0x10], 1
lea rcx, [0x1400ff640]
call fcn.1400d07c0
mov qword [rsi], rax
jmp 0x140055320
mov rsi, r13
mov qword [rbp + 0xf], rsi
test rsi, rsi
je 0x140055600
lea rax, [rbp - 0x31]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r13
mov r9d, 0x30
mov r8, r15
mov rdx, qword [rsi]
mov rcx, qword [rbp + 0x7f]
call r12
mov r15d, eax
mov ecx, r14d
lock xadd dword [rsi + 0x10], ecx
cmp ecx, 1
jne 0x14005538f
mov rcx, qword [rsi]
test rcx, rcx
je 0x14005536f
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rsi], r13
mov rcx, qword [rsi + 8]
test rcx, rcx
je 0x140055381
call fcn.1400cf980
mov qword [rsi + 8], r13
mov edx, 0x18
mov rcx, rsi
call fcn.1400cf980
nop
mov eax, r14d
lock xadd dword [rbx + 0x10], eax
cmp eax, 1
jne 0x1400553cc
mov rcx, qword [rbx]
test rcx, rcx
je 0x1400553ad
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], r13
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x1400553bf
call fcn.1400cf980
mov qword [rbx + 8], r13
mov edx, 0x18
mov rcx, rbx
call fcn.1400cf980
test r15d, r15d
js 0x140055260
mov qword [rbp - 0x29], r13
mov dword [rbp + 0x6f], r13d
mov rcx, qword [rbp - 0x31]
test rcx, rcx
je 0x140055451
nop word [rax + rax]
mov rax, qword [rcx]
lea rdx, [rbp + 0x6f]
mov qword [rsp + 0x20], rdx
lea r9, [rbp - 0x29]
mov r8d, 1
mov edx, r14d
call qword [rax + 0x20]
cmp eax, 1
je 0x140055451
mov rcx, qword [rbp - 0x29]
mov rax, qword [rcx]
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
lea r9, [rbp - 0x19]
xor r8d, r8d
lea rdx, str.SerialNumber
call qword [rax + 0x20]
test eax, eax
js 0x14005543e
cmp word [rbp - 0x19], 8
je 0x14005546e
mov rcx, qword [rbp - 0x29]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x31]
test rcx, rcx
jne 0x1400553f0
mov rcx, qword [rbp + 0x7f]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x39]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x31]
jmp 0x14005526e
mov rsi, qword [rbp - 0x11]
mov ecx, 0x18
call fcn.1400cf704
mov rbx, rax
mov qword [rbp + 0x77], rax
test rax, rax
je 0x1400554af
mov qword [rax + 8], r13
mov dword [rax + 0x10], 1
mov rcx, rsi
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rbx], rax
test rax, rax
jne 0x1400554b2
test rsi, rsi
jne 0x1400555ea
jmp 0x1400554b2
mov rbx, r13
mov qword [rbp + 0x17], rbx
test rbx, rbx
je 0x1400555d4
mov rax, qword [rbx + 8]
test rax, rax
jne 0x1400554d4
mov rcx, qword [rbx]
call fcn.1400d06a0
mov qword [rbx + 8], rax
mov r8, r14
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1400554e0
mov rdx, rax
lea rsi, [0x14031e388]
mov rcx, rsi
call fcn.1400618d0
nop
lock xadd dword [rbx + 0x10], r14d
cmp r14d, 1
jne 0x140055539
mov rcx, qword [rbx]
test rcx, rcx
je 0x14005551a
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], r13
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14005552c
call fcn.1400cf980
mov qword [rbx + 8], r13
mov edx, 0x18
mov rcx, rbx
call fcn.1400cf980
lea rcx, [rbp - 0x19]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp qword [0x14031e398], 8
jne 0x140055599
mov rcx, qword [0x14031e3a0]
lea rax, [rcx - 8]
cmp rax, 1
jb 0x140055591
mov qword [0x14031e398], 9
mov rbx, rsi
cmp rcx, 0xf
cmova rbx, qword [0x14031e388]
lea rcx, [rbx + 5]
mov r8d, 5
lea rdx, [rbx + 4]
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 4], 0x2d
jmp 0x140055599
mov rcx, rsi
call fcn.1400634a0
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r13
mov qword [rdi + 0x18], r13
mov r8d, Ordinal_23
cmp qword [0x14031e398], r8
cmovb r8, qword [0x14031e398]
cmp qword [0x14031e3a0], 0xf
cmova rsi, qword [0x14031e388]
mov rdx, rsi
jmp 0x1400550e1
mov ecx, 0x8007000e
call fcn.1400d0690
nop
mov ecx, 0x8007000e
call fcn.1400d0690
nop
mov ecx, 0x8007000e
call fcn.1400d0690
nop
mov ecx, 0x8007000e
call fcn.1400d0690
nop
mov ecx, 0x8007000e
call fcn.1400d0690
int3