Function at 0x140003060
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, [0x1400346c8]
xor edx, edx
lea r8d, [rdi + 1]
lea rcx, [0x140034668]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x1400031b6
mov qword [rbp + 0x7f], rdi
lea ecx, [rdi + 0x18]
call fcn.14001594c
mov rsi, rax
mov qword [rbp + 0x6f], rax
test rax, rax
je 0x1400030f2
mov qword [rax + 8], rdi
mov dword [rax + 0x10], 1
lea rcx, str.ROOTWMI
call qword [0x14002c438]
mov qword [rsi], rax
test rax, rax
jne 0x1400030f5
mov ecx, 0x8007000e
call fcn.140015690
int3
mov rsi, rdi
mov qword [rbp + 0x6f], rsi
test rsi, rsi
jne 0x140003109
mov ecx, 0x8007000e
call fcn.140015690
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.1400039c0
test ebx, ebx
js 0x1400031ac
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 0x1400031a6
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 0x1400031c0
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 0x1400033e8
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 0x1400033d2
lea rcx, [rbp + 0x1f]
call qword [0x14002c428]
mov ecx, 0x18
call fcn.14001594c
mov rsi, rax
mov qword [rbp + 0x17], rax
test rax, rax
je 0x14000322b
mov qword [rax + 8], rdi
mov dword [rax + 0x10], 1
lea rcx, str.SmbiosMajorVersion
call fcn.1400156a0
mov qword [rsi], rax
jmp 0x14000322e
mov rsi, rdi
mov qword [rbp + 0x17], rsi
test rsi, rsi
jne 0x140003242
mov ecx, 0x8007000e
call fcn.140015690
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.1400039c0
lea rcx, [rbp + 0x1f]
test ebx, ebx
js 0x1400033cc
movzx eax, byte [rbp + 0x27]
mov byte [r14], al
call qword [0x14002c428]
mov ecx, 0x18
call fcn.14001594c
mov rsi, rax
mov qword [rbp + 0x17], rax
test rax, rax
je 0x1400032b9
mov qword [rax + 8], rdi
mov dword [rax + 0x10], 1
lea rcx, str.SmbiosMinorVersion
call fcn.1400156a0
mov qword [rsi], rax
jmp 0x1400032bc
mov rsi, rdi
mov qword [rbp + 0x17], rsi
test rsi, rsi
jne 0x1400032d0
mov ecx, 0x8007000e
call fcn.140015690
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.1400039c0
lea rcx, [rbp + 0x1f]
test ebx, ebx
js 0x1400033cc
movzx eax, byte [rbp + 0x27]
mov byte [r14 + 1], al
call qword [0x14002c428]
mov ecx, 0x18
call fcn.14001594c
mov rsi, rax
mov qword [rbp + 0x17], rax
test rax, rax
je 0x140003348
mov qword [rax + 8], rdi
mov dword [rax + 0x10], 1
lea rcx, [0x14002c708]
call fcn.1400156a0
mov qword [rsi], rax
jmp 0x14000334b
mov rsi, rdi
mov qword [rbp + 0x17], rsi
test rsi, rsi
jne 0x14000335f
mov ecx, 0x8007000e
call fcn.140015690
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.1400039c0
test ebx, ebx
js 0x1400033c8
mov eax, 0x2011
cmp ax, word [rbp + 0x1f]
jne 0x1400033c8
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.140015468
mov qword [r14 + 8], rax
mov r8d, dword [r14 + 0x10]
mov rdx, rbx
mov rcx, rax
call fcn.1400161f0
mov edi, 1
lea rcx, [rbp + 0x1f]
call qword [0x14002c420]
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