Function at 0x180081710
Capabilities:
Reference sql statements
Reference wmi statements

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x208]
sub rsp, 0x2e0
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x18015c950]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
mov r13, rcx
xor r15d, r15d
mov r14d, r15d
lea rdx, str.Ole32.dll
lea rcx, [rbp - 0x40]
call fcn.180002af0
nop
call fcn.180034920
mov rcx, rax
lea rdx, [rbp - 0x40]
call fcn.1800349d0
mov rbx, rax
lea rcx, [rbp - 0x40]
call fcn.180002be0
test rbx, rbx
je 0x180081de2
lea rdx, str.CoCreateInstance
mov rcx, rbx
call qword [0x1800fc1f8]
mov rsi, rax
lea rdx, str.CoInitializeSecurity
mov rcx, rbx
call qword [0x1800fc1f8]
mov rdi, rax
lea rdx, str.CoSetProxyBlanket
mov rcx, rbx
call qword [0x1800fc1f8]
mov rbx, rax
test rsi, rsi
je 0x180081de2
test rdi, rdi
je 0x180081de2
test rax, rax
je 0x180081de2
lea rcx, [rsp + 0x50]
call fcn.180073ad0
nop
mov qword [rsp + 0x40], r15
mov dword [rsp + 0x38], r15d
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
or edx, 0xffffffff
xor ecx, ecx
call rdi
xor edi, edi
mov qword [rbp - 0x80], rdi
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
lea r9, [0x180105648]
xor edx, edx
lea r8d, [r15 + 1]
lea rcx, [0x180105718]
call rsi
test eax, eax
js 0x180081dcd
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x180081dcd
mov qword [rbp - 0x78], rdi
mov rax, qword [rcx]
lea rdx, [rbp - 0x78]
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
lea rdx, str.ROOTCIMV2
call qword [rax + 0x18]
test eax, eax
js 0x180081dc3
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x180081dc3
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, [rdi + 0xa]
call rbx
mov rcx, qword [rbp - 0x78]
test eax, eax
jns 0x1800818d1
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x180081dc3
mov qword [rbp - 0x50], rdi
mov rax, qword [rcx]
lea rdx, [rbp - 0x50]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rdi
mov r9d, 0x30
lea r8, str.SELECT__FROM_Win32_NetworkAdapter_WHERE__MACAddress_IS_NOT_NULL__AND__NOT__PNPDeviceID_LIKE_ROOT___
lea rdx, [0x180110870]
call qword [rax + 0xa0]
test eax, eax
jns 0x180081923
mov rcx, qword [rbp - 0x78]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x80]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov r14d, 0xfffffffd
jmp 0x180081dd3
lea rdx, str.OleAut32.dll
lea rcx, [rbp - 0x40]
call fcn.180002af0
nop
call fcn.180034920
mov rcx, rax
lea rdx, [rbp - 0x40]
call fcn.1800349d0
mov rbx, rax
lea rcx, [rbp - 0x40]
call fcn.180002be0
test rbx, rbx
jne 0x180081973
mov rcx, qword [rbp - 0x78]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x80]
mov rax, qword [rcx]
call qword [rax + 0x10]
lea r14d, [rbx - 4]
jmp 0x180081dd3
lea rdx, str.VariantInit
mov rcx, rbx
call qword [0x1800fc1f8]
mov r12, rax
lea rdx, str.VariantClear
mov rcx, rbx
call qword [0x1800fc1f8]
mov r15, rax
test r12, r12
je 0x180081da7
test rax, rax
je 0x180081da7
mov rcx, qword [rbp - 0x50]
test rcx, rcx
je 0x180081d91
nop dword [rax + rax]
mov qword [rbp - 0x70], rdi
mov dword [rbp - 0x48], edi
mov rax, qword [rcx]
lea rdx, [rbp - 0x48]
mov qword [rsp + 0x20], rdx
lea r9, [rbp - 0x70]
mov r8d, 1
or edx, 0xffffffff
call qword [rax + 0x20]
cmp dword [rbp - 0x48], 0
je 0x180081d82
cmp qword [rbp - 0x70], 0
je 0x180081d82
lea rcx, [rbp - 0x68]
call r12
mov rcx, qword [rbp - 0x70]
mov rax, qword [rcx]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
lea r9, [rbp - 0x68]
xor r8d, r8d
lea rdx, str.PNPDeviceID
call qword [rax + 0x20]
mov word [rbp + 0xd0], di
xor edx, edx
mov r8d, 0xfe
lea rcx, [rbp + 0xd2]
call fcn.1800b7620
cmp word [rbp - 0x68], 8
jne 0x180081a92
mov r8, qword [rbp - 0x60]
test r8, r8
je 0x180081a92
mov edx, 0x7f
lea rcx, [rbp + 0xd0]
lea rax, [rbp + 0xd0]
sub r8, rax
lea rax, [rdx + 0x7fffff7f]
test rax, rax
je 0x180081a86
movzx eax, word [rcx + r8]
test ax, ax
je 0x180081a86
mov word [rcx], ax
add rcx, 2
dec rdx
jne 0x180081a62
jmp 0x180081a8b
test rdx, rdx
jne 0x180081a8f
sub rcx, 2
mov word [rcx], di
lea rcx, [rbp - 0x68]
call r15
lea rdx, [rbp + 0xd0]
lea rcx, [rbp - 0x20]
call fcn.180002af0
nop
lea rcx, [rbp - 0x40]
call fcn.180002ab0
nop
lea rcx, [0x18010b560]
call fcn.180002290
mov rdi, rax
test rax, rax
je 0x180081b2b
cmp qword [rbp - 0x10], 0
jbe 0x180081b2b
lea rcx, [rbp - 0x20]
call fcn.180003190
mov rcx, qword [rbp - 0x10]
lea rsi, [rax + rcx*2]
lea rcx, [rbp - 0x20]
call fcn.180003190
mov rbx, rax
cmp rax, rsi
jae 0x180081b2b
test rdi, rdi
je 0x180081b11
mov rcx, rdi
lea rax, [0x18010b560]
movzx edx, word [rbx]
cmp word [rax], dx
je 0x180081b1a
add rax, 2
dec rcx
jne 0x180081b03
add rbx, 2
cmp rbx, rsi
jmp 0x180081aef
lea rcx, [rbp - 0x20]
call fcn.180003190
sub rbx, rax
sar rbx, 1
jmp 0x180081b2f
or rbx, 0xffffffffffffffff
cmp rbx, 0xffffffffffffffff
je 0x180081b61
mov r9, rbx
xor r8d, r8d
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x20]
call fcn.1800125a0
nop
mov rdx, rax
lea rcx, [rbp - 0x40]
call fcn.180004c40
nop
lea rcx, [rsp + 0x60]
call fcn.180002be0
lea rdx, str.ROOT
lea rcx, [rbp - 0x40]
call fcn.18001df80
test al, al
je 0x180081b7e
lea rcx, [rbp - 0x20]
call fcn.18000ad00
lea rdx, [rbp + 0xd0]
xor ecx, ecx
call fcn.1800815c0
test eax, eax
je 0x180081d50
inc r14d
lea rcx, [rbp]
call fcn.1800798f0
nop
lea rdx, [rbp + 0xd0]
lea rcx, [rbp + 0x20]
call fcn.180004dd0
lea rdx, [rbp - 0x20]
lea rcx, [rbp + 0xa8]
call fcn.180004d50
lea rcx, [rbp + 0x20]
call fcn.18001e390
lea rcx, [rbp + 0x20]
call fcn.180004f00
test al, al
jne 0x180081d47
lea rcx, [rbp - 0x68]
call r12
mov rcx, qword [rbp - 0x70]
mov rax, qword [rcx]
xor ebx, ebx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
lea r9, [rbp - 0x68]
xor r8d, r8d
lea rdx, str.MACAddress
call qword [rax + 0x20]
xor edx, edx
mov r8d, 0x100
lea rcx, [rbp + 0xd0]
call fcn.1800b7620
cmp word [rbp - 0x68], 8
jne 0x180081c39
mov r8, qword [rbp - 0x60]
test r8, r8
je 0x180081c39
lea edx, [rbx + 0x7f]
lea rcx, [rbp + 0xd0]
call fcn.18001da10
lea rcx, [rbp - 0x68]
call r15
lea rdx, [rbp + 0xd0]
mov ecx, 6
call fcn.1800815c0
lea rdx, [rbp + 0xd0]
lea rcx, [rbp + 0x40]
call fcn.180004dd0
lea rcx, [rbp + 0x40]
call fcn.18001e390
lea rcx, [rbp - 0x68]
call r12
mov rcx, qword [rbp - 0x70]
mov rax, qword [rcx]
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
lea r9, [rbp - 0x68]
xor r8d, r8d
lea rdx, str.GUID
call qword [rax + 0x20]
xor edx, edx
mov r8d, 0x100
lea rcx, [rbp + 0xd0]
call fcn.1800b7620
cmp word [rbp - 0x68], 8
jne 0x180081cc8
mov r8, qword [rbp - 0x60]
test r8, r8
je 0x180081cc8
mov edx, 0x7f
lea rcx, [rbp + 0xd0]
call fcn.18001da10
lea rcx, [rbp - 0x68]
call r15
lea rdx, [rbp + 0xd0]
lea rcx, [rbp]
call fcn.180004dd0
lea rcx, [rbp + 0x60]
call fcn.18000ad00
lea rcx, [rbp - 0x68]
call r12
mov rcx, qword [rbp - 0x70]
mov rax, qword [rcx]
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
lea r9, [rbp - 0x68]
xor r8d, r8d
lea rdx, str.NetConnectionStatus
call qword [rax + 0x20]
cmp word [rbp - 0x68], 3
jne 0x180081d2c
mov r8d, dword [rbp - 0x60]
lea rdx, [0x1801058d0]
lea rcx, [rbp + 0x60]
call fcn.18001e620
lea rcx, [rbp - 0x68]
call r15
mov byte [rbp + 0x80], 1
lea rdx, [rbp]
mov rcx, r13
call fcn.18007e1d0
nop
lea rcx, [rbp]
call fcn.1800770c0
mov rcx, qword [rbp - 0x70]
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
lea rcx, [rbp - 0x40]
call fcn.180002be0
nop
lea rcx, [rbp - 0x20]
call fcn.180002be0
mov rcx, qword [rbp - 0x50]
test rcx, rcx
mov edi, 0
jne 0x1800819c0
jmp 0x180081d91
mov rcx, qword [rbp - 0x50]
test rcx, rcx
je 0x180081d91
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x78]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x80]
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x180081dd3
mov rcx, qword [rbp - 0x78]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x80]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov r14d, 0xfffffffb
jmp 0x180081dd3
mov rcx, qword [rbp - 0x80]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov r14d, 0xfffffffe
lea rcx, [rsp + 0x50]
call fcn.180073b60
mov eax, r14d
jmp 0x180081de7
mov eax, 0xfffffffe
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.1800b2920
lea r11, [rsp + 0x2e0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret