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

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x37]
sub rsp, 0x90
mov qword [rbp + 0xf], 0xfffffffffffffffe
mov r14, rcx
xor edi, edi
mov qword [rbp - 9], rdi
lea rax, [rbp - 9]
mov qword [rsp + 0x20], rax
lea r9, [0x140053400]
xor edx, edx
lea r8d, [rdi + 1]
lea rcx, [0x1400533a0]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x1400014c6
mov qword [rbp + 0x7f], rdi
lea ecx, [rdi + 0x18]
call fcn.1400195b0
mov rsi, rax
mov qword [rbp + 0x6f], rax
test rax, rax
je 0x140001402
mov qword [rax + 8], rdi
mov dword [rax + 0x10], 1
lea rcx, str.ROOTWMI
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rsi], rax
test rax, rax
jne 0x140001405
mov ecx, 0x8007000e
call fcn.140018610
int3
mov rsi, rdi
mov qword [rbp + 0x6f], rsi
test rsi, rsi
jne 0x140001419
mov ecx, 0x8007000e
call fcn.140018610
nop
mov rcx, qword [rbp - 9]
mov rax, qword [rcx]
lea rdx, [rbp + 0x7f]
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rdi
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsi]
call qword [rax + 0x18]
mov ebx, eax
mov rcx, rsi
call fcn.140002360
test ebx, ebx
js 0x1400014bc
mov dword [rsp + 0x38], edi
mov qword [rsp + 0x30], rdi
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]
mov rcx, qword [rbp + 0x7f]
test eax, eax
js 0x1400014b6
mov qword [rbp + 7], rdi
mov rax, qword [rcx]
lea rdx, [rbp + 7]
mov qword [rsp + 0x20], rdx
xor r9d, r9d
xor r8d, r8d
lea rdx, str.MSSMBios_RawSMBiosTables
call qword [rax + 0x90]
test eax, eax
jns 0x1400014d0
mov rcx, qword [rbp + 0x7f]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 9]
mov rax, qword [rcx]
call qword [rax + 0x10]
xor eax, eax
jmp 0x1400016f8
mov qword [rbp - 1], rdi
mov dword [rbp + 0x77], edi
mov rcx, qword [rbp + 7]
mov rax, qword [rcx]
lea rdx, [rbp + 0x77]
mov qword [rsp + 0x20], rdx
lea r9, [rbp - 1]
mov r8d, 1
or edx, 0xffffffff
call qword [rax + 0x20]
test eax, eax
js 0x1400016e2
lea rcx, [rbp + 0x1f]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
mov ecx, 0x18
call fcn.1400195b0
mov rsi, rax
mov qword [rbp + 0x17], rax
test rax, rax
je 0x14000153b
mov qword [rax + 8], rdi
mov dword [rax + 0x10], 1
lea rcx, str.SmbiosMajorVersion
call fcn.140018880
mov qword [rsi], rax
jmp 0x14000153e
mov rsi, rdi
mov qword [rbp + 0x17], rsi
test rsi, rsi
jne 0x140001552
mov ecx, 0x8007000e
call fcn.140018610
nop
mov rcx, qword [rbp - 1]
mov rax, qword [rcx]
mov qword [rsp + 0x28], rdi
lea rdx, [rbp + 0x6f]
mov qword [rsp + 0x20], rdx
lea r9, [rbp + 0x1f]
xor r8d, r8d
mov rdx, qword [rsi]
call qword [rax + 0x20]
mov ebx, eax
mov rcx, rsi
call fcn.140002360
lea rcx, [rbp + 0x1f]
test ebx, ebx
js 0x1400016dc
movzx eax, byte [rbp + 0x27]
mov byte [r14], al
call qword [sym.imp.OLEAUT32.dll_VariantClear]
mov ecx, 0x18
call fcn.1400195b0
mov rsi, rax
mov qword [rbp + 0x17], rax
test rax, rax
je 0x1400015c9
mov qword [rax + 8], rdi
mov dword [rax + 0x10], 1
lea rcx, str.SmbiosMinorVersion
call fcn.140018880
mov qword [rsi], rax
jmp 0x1400015cc
mov rsi, rdi
mov qword [rbp + 0x17], rsi
test rsi, rsi
jne 0x1400015e0
mov ecx, 0x8007000e
call fcn.140018610
nop
mov rcx, qword [rbp - 1]
mov rax, qword [rcx]
mov qword [rsp + 0x28], rdi
lea rdx, [rbp + 0x6f]
mov qword [rsp + 0x20], rdx
lea r9, [rbp + 0x1f]
xor r8d, r8d
mov rdx, qword [rsi]
call qword [rax + 0x20]
mov ebx, eax
mov rcx, rsi
call fcn.140002360
lea rcx, [rbp + 0x1f]
test ebx, ebx
js 0x1400016dc
movzx eax, byte [rbp + 0x27]
mov byte [r14 + 1], al
call qword [sym.imp.OLEAUT32.dll_VariantClear]
mov ecx, 0x18
call fcn.1400195b0
mov rsi, rax
mov qword [rbp + 0x17], rax
test rax, rax
je 0x140001658
mov qword [rax + 8], rdi
mov dword [rax + 0x10], 1
lea rcx, [0x140046818]
call fcn.140018880
mov qword [rsi], rax
jmp 0x14000165b
mov rsi, rdi
mov qword [rbp + 0x17], rsi
test rsi, rsi
jne 0x14000166f
mov ecx, 0x8007000e
call fcn.140018610
nop
mov rcx, qword [rbp - 1]
mov rax, qword [rcx]
mov qword [rsp + 0x28], rdi
lea rdx, [rbp + 0x6f]
mov qword [rsp + 0x20], rdx
lea r9, [rbp + 0x1f]
xor r8d, r8d
mov rdx, qword [rsi]
call qword [rax + 0x20]
mov ebx, eax
mov rcx, rsi
call fcn.140002360
test ebx, ebx
js 0x1400016d8
mov eax, 0x2011
cmp ax, word [rbp + 0x1f]
jne 0x1400016d8
mov rax, qword [rbp + 0x27]
mov rbx, qword [rax + 0x10]
mov eax, dword [rax + 0x18]
mov dword [r14 + 0x10], eax
mov ecx, eax
call fcn.140017d00
mov qword [r14 + 8], rax
mov r8d, dword [r14 + 0x10]
mov rdx, rbx
mov rcx, rax
call fcn.14001a150
mov edi, 1
lea rcx, [rbp + 0x1f]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rcx, qword [rbp + 0x7f]
mov rdx, qword [rcx]
call qword [rdx + 0x10]
mov rcx, qword [rbp - 9]
mov rdx, qword [rcx]
call qword [rdx + 0x10]
mov eax, edi
add rsp, 0x90
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret