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

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x470]
sub rsp, 0x570
mov qword [rbp - 0x68], 0xfffffffffffffffe
mov qword [rsp + 0x5b0], rbx
mov rax, qword [0x180141088]
xor rax, rsp
mov qword [rbp + 0x460], rax
mov qword [rsp + 0x68], r9
mov r13, r8
mov rdi, rdx
mov r12, qword [rbp + 0x4d0]
xor esi, esi
mov dword [rsp + 0x58], esi
cmp dword [rcx], esi
jge 0x18007540e
mov qword [rdx + 0x18], 0xf
mov qword [rdx + 0x10], rsi
mov byte [rdx], sil
xor r8d, r8d
lea rdx, [0x1800fd01d]
mov rcx, rdi
call fcn.180009ff0
jmp 0x180075b40
mov qword [rbp + 0x400], rsi
lea rax, [rbp + 0x400]
mov qword [rsp + 0x20], rax
lea r9, [0x180106e98]
xor edx, edx
lea r8d, [rdx + 0x17]
lea rcx, [0x1800f19b8]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov r14d, eax
test eax, eax
jns 0x1800754b6
mov edx, 0x1e
lea rcx, [rbp - 0x20]
call fcn.180032090
mov rbx, rax
test rax, rax
lea rcx, [rax + 0x10]
jne 0x18007545f
mov rcx, rsi
lea rdx, str.Error_during_CoCreateInstance:
call fcn.18000c960
lea rcx, [rbx + 0x10]
mov edx, r14d
call fcn.180008040
nop
lea rcx, [rbp - 0x20]
call fcn.180032150
mov qword [rdi + 0x18], 0xf
mov qword [rdi + 0x10], rsi
cmp qword [rdi + 0x18], 0x10
jb 0x180075499
mov rax, qword [rdi]
jmp 0x18007549c
mov rax, rdi
mov byte [rax], 0
xor r8d, r8d
lea rdx, [0x1800fd01d]
mov rcx, rdi
call fcn.180009ff0
jmp 0x180075b2e
mov qword [rbp + 0x3f8], rsi
mov rbx, qword [rbp + 0x400]
test rbx, rbx
jne 0x1800754d4
mov ecx, 0x80004003
call fcn.1800afeb0
int3
mov ecx, 0x18
call fcn.1800aeed4
mov r14, rax
mov qword [rsp + 0x50], rax
test rax, rax
je 0x180075520
xor eax, eax
mov qword [r14], rax
mov qword [r14 + 0x10], rax
mov qword [r14 + 8], rsi
mov dword [r14 + 0x10], 1
lea rcx, str.ROOTCIMV2
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [r14], rax
test rax, rax
jne 0x180075523
mov ecx, 0x8007000e
call fcn.1800afeb0
int3
mov r14, rsi
mov qword [rsp + 0x70], r14
test r14, r14
jne 0x180075538
mov ecx, 0x8007000e
call fcn.1800afeb0
nop
mov rcx, qword [rbp + 0x3f8]
test rcx, rcx
je 0x18007554a
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rbp + 0x3f8], rsi
mov rax, qword [rbx]
lea rcx, [rbp + 0x3f8]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [r14]
mov rcx, rbx
call qword [rax + 0x18]
mov r15d, eax
or ecx, 0xffffffff
lock xadd dword [r14 + 0x10], ecx
cmp ecx, 1
jne 0x1800755c3
mov rcx, qword [r14]
test rcx, rcx
je 0x1800755a4
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [r14], rsi
mov rcx, qword [r14 + 8]
test rcx, rcx
je 0x1800755b6
call fcn.1800ae8f4
mov qword [r14 + 8], rsi
mov edx, 0x18
mov rcx, r14
call fcn.1800ae8f4
test r15d, r15d
jns 0x180075642
mov edx, 0x1e
lea rcx, [rbp + 0xe0]
call fcn.180032090
mov rbx, rax
test rax, rax
lea rcx, [rax + 0x10]
jne 0x1800755e8
mov rcx, rsi
lea rdx, str.Error_during_IWbemLocatorPtr__ConnectServer:
call fcn.18000c960
lea rcx, [rbx + 0x10]
mov edx, r15d
call fcn.180008040
nop
lea rcx, [rbp + 0xe0]
call fcn.180032150
mov qword [rdi + 0x18], 0xf
mov qword [rdi + 0x10], rsi
cmp qword [rdi + 0x18], 0x10
jb 0x180075625
mov rax, qword [rdi]
jmp 0x180075628
mov rax, rdi
mov byte [rax], 0
xor r8d, r8d
lea rdx, [0x1800fd01d]
mov rcx, rdi
call fcn.180009ff0
jmp 0x180075b1b
mov dword [rsp + 0x38], esi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], esi
or r9, 0xffffffffffffffff
or r8d, 0xffffffff
or edx, r8d
mov rcx, qword [rbp + 0x3f8]
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov r14d, eax
test eax, eax
jns 0x1800756bb
mov edx, 0x1e
lea rcx, [rbp + 0x1e0]
call fcn.180032090
mov rbx, rax
test rax, rax
lea rcx, [rax + 0x10]
jne 0x180075696
mov rcx, rsi
lea rdx, str.Error_during_CoSetProxyBlanket:
call fcn.18000c960
lea rcx, [rbx + 0x10]
mov edx, r14d
call fcn.180008040
nop
lea rcx, [rbp + 0x1e0]
jmp 0x180075608
mov qword [rbp + 0x408], rsi
mov qword [rbp + 0x440], 0xf
mov qword [rbp + 0x438], rsi
mov byte [rbp + 0x428], 0
mov r8d, 0xe
lea rdx, str.SELECT__FROM
lea rcx, [rbp + 0x428]
call fcn.180009ff0
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, r13
lea rcx, [rbp + 0x428]
call fcn.18000a4c0
lea rdx, [0x1800fd01d]
mov rcx, r12
call fcn.1800190f0
test eax, eax
je 0x180075784
mov qword [rbp - 0x70], 0xf
mov qword [rbp - 0x78], rsi
mov byte [rsp + 0x78], 0
mov r8d, 1
lea rdx, [0x1800fd5b4]
lea rcx, [rsp + 0x78]
call fcn.180009ff0
nop
mov r8, r12
lea rdx, [rsp + 0x78]
lea rcx, [rbp - 0x40]
call fcn.18001b990
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rax
lea rcx, [rbp + 0x428]
call fcn.18000a4c0
nop
lea rcx, [rbp - 0x40]
call fcn.1800077c0
nop
lea rcx, [rsp + 0x78]
call fcn.1800077c0
mov rbx, qword [rbp + 0x3f8]
test rbx, rbx
jne 0x18007579b
mov ecx, 0x80004003
call fcn.1800afeb0
int3
lea rdx, [rbp + 0x428]
cmp qword [rbp + 0x440], 0x10
cmovae rdx, qword [rbp + 0x428]
lea rcx, [rsp + 0x50]
call fcn.180075160
mov r15, rax
mov ecx, 0x18
call fcn.1800aeed4
mov r14, rax
mov qword [rsp + 0x70], rax
test rax, rax
je 0x1800757fc
xor eax, eax
mov qword [r14], rax
mov qword [r14 + 0x10], rax
mov qword [r14 + 8], rsi
mov dword [r14 + 0x10], 1
lea rcx, [0x180106e60]
call fcn.1800b0000
mov qword [r14], rax
jmp 0x1800757ff
mov r14, rsi
mov qword [rsp + 0x60], r14
test r14, r14
jne 0x180075814
mov ecx, 0x8007000e
call fcn.1800afeb0
nop
mov rcx, qword [rbp + 0x408]
test rcx, rcx
je 0x180075826
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rbp + 0x408], rsi
mov rax, qword [r15]
test rax, rax
je 0x18007583a
mov r8, qword [rax]
jmp 0x18007583d
mov r8, rsi
mov rax, qword [rbx]
lea rcx, [rbp + 0x408]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rsi
mov r9d, 0x30
mov rdx, qword [r14]
mov rcx, rbx
call qword [rax + 0xa0]
mov r14d, eax
lea rcx, [rsp + 0x60]
call fcn.1800751e0
nop
lea rcx, [rsp + 0x50]
call fcn.1800751e0
test r14d, r14d
jns 0x1800758fa
mov edx, 0x1e
lea rcx, [rbp + 0x2e0]
call fcn.180032090
mov rbx, rax
test rax, rax
lea rcx, [rax + 0x10]
jne 0x1800758a0
mov rcx, rsi
lea rdx, str.Error_during_IWbemServicesPtr__ExecQuery:
call fcn.18000c960
lea rcx, [rbx + 0x10]
mov edx, r14d
call fcn.180008040
nop
lea rcx, [rbp + 0x2e0]
call fcn.180032150
mov qword [rdi + 0x18], 0xf
mov qword [rdi + 0x10], rsi
cmp qword [rdi + 0x18], 0x10
jb 0x1800758dd
mov rax, qword [rdi]
jmp 0x1800758e0
mov rax, rdi
mov byte [rax], 0
xor r8d, r8d
lea rdx, [0x1800fd01d]
mov rcx, rdi
call fcn.180009ff0
jmp 0x180075afb
mov qword [rbp + 0x418], rsi
mov dword [rbp + 0x420], esi
mov rcx, qword [rbp + 0x408]
test rcx, rcx
jne 0x18007591e
mov ecx, 0x80004003
call fcn.1800afeb0
int3
mov qword [rbp + 0x418], rsi
mov rax, qword [rcx]
lea r9, [rbp + 0x420]
mov qword [rsp + 0x20], r9
lea r9, [rbp + 0x418]
mov r8d, 1
or edx, 0xffffffff
call qword [rax + 0x20]
test eax, eax
jne 0x180075ab7
lea rcx, [rbp + 0x448]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
nop
mov rbx, qword [rbp + 0x418]
test rbx, rbx
jne 0x180075974
mov ecx, 0x80004003
call fcn.1800afeb0
int3
mov rdx, qword [rsp + 0x68]
lea rcx, [rbp - 0x60]
call fcn.180033ea0
mov rdx, rax
cmp qword [rax + 0x18], 8
jb 0x18007598f
mov rdx, qword [rax]
mov rax, qword [rbx]
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
lea r9, [rbp + 0x448]
xor r8d, r8d
mov rcx, rbx
call qword [rax + 0x20]
test eax, eax
sete bl
mov r8, qword [rbp - 0x48]
cmp r8, 8
jb 0x1800759cb
inc r8
mov rdx, qword [rbp - 0x60]
lea rcx, [rbp - 0x60]
call fcn.180031a90
test bl, bl
je 0x180075aaa
movzx eax, word [rbp + 0x448]
cmp ax, 1
je 0x180075aaa
mov qword [rbp + 0x410], rsi
cmp ax, 8
jne 0x180075a06
mov rdx, qword [rbp + 0x450]
lea rcx, [rbp + 0x410]
call fcn.180075260
jmp 0x180075a5f
lea rcx, [rbp + 0x3e0]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
nop
mov r9d, 8
xor r8d, r8d
lea rdx, [rbp + 0x448]
lea rcx, [rbp + 0x3e0]
call qword [sym.imp.OLEAUT32.dll_VariantTimeToDosDateTime]
test eax, eax
jns 0x180075a3d
mov ecx, eax
call fcn.1800afeb0
int3
mov rdx, qword [rbp + 0x3e8]
lea rcx, [rbp + 0x410]
call fcn.180075260
nop
lea rcx, [rbp + 0x3e0]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop
mov rbx, qword [rbp + 0x410]
test rbx, rbx
je 0x180075a82
cmp qword [rbx + 8], 0
jne 0x180075a7e
mov rcx, qword [rbx]
call fcn.1800afee0
mov qword [rbx + 8], rax
mov rsi, qword [rbx + 8]
mov rdx, rsi
mov rcx, rdi
call fcn.180007850
nop
lea rcx, [rbp + 0x410]
call fcn.1800751e0
nop
lea rcx, [rbp + 0x448]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
jmp 0x180075ae8
lea rcx, [rbp + 0x448]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov qword [rdi + 0x18], 0xf
mov qword [rdi + 0x10], rsi
cmp qword [rdi + 0x18], 0x10
jb 0x180075acf
mov rax, qword [rdi]
jmp 0x180075ad2
mov rax, rdi
mov byte [rax], 0
xor r8d, r8d
lea rdx, [0x1800fd01d]
mov rcx, rdi
call fcn.180009ff0
nop
mov rcx, qword [rbp + 0x418]
test rcx, rcx
je 0x180075afb
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
lea rcx, [rbp + 0x428]
call fcn.1800077c0
nop
mov rcx, qword [rbp + 0x408]
test rcx, rcx
je 0x180075b1b
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rbp + 0x3f8]
test rcx, rcx
je 0x180075b2e
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rbp + 0x400]
test rcx, rcx
je 0x180075b40
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rax, rdi
mov rcx, qword [rbp + 0x460]
xor rcx, rsp
call fcn.1800ae8d0
mov rbx, qword [rsp + 0x5b0]
add rsp, 0x570
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret