Function at 0x180089030
Capabilities:
Link many functions at runtime
Reference sql statements
Reference wmi statements

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x218]
sub rsp, 0x2f0
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x180122010]
xor rax, rsp
mov qword [rbp + 0x1e0], rax
mov r15, rcx
xor r12d, r12d
mov r14d, r12d
lea rdx, str.Ole32.dll
lea rcx, [rbp - 0x38]
call fcn.180005fa4
nop
call fcn.180073db0
mov rcx, rax
lea rdx, [rbp - 0x38]
call fcn.180073e50
mov rbx, rax
lea rcx, [rbp - 0x38]
call fcn.180005bf8
test rbx, rbx
je 0x1800898f8
lea rdx, [0x1800edd28]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
lea rdx, str.CoInitializeSecurity
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
lea rdx, str.CoSetProxyBlanket
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test rsi, rsi
je 0x1800898f8
test rdi, rdi
je 0x1800898f8
test rax, rax
je 0x1800898f8
lea rcx, [rsp + 0x50]
call fcn.18006f7c0
nop
mov qword [rsp + 0x40], r12
mov dword [rsp + 0x38], r12d
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
lea edx, [r12 - 1]
xor ecx, ecx
call rdi
mov qword [rbp - 0x70], r12
lea rax, [rbp - 0x70]
mov qword [rsp + 0x20], rax
lea r9, [0x1800d9dc8]
xor edx, edx
lea r8d, [r12 + 1]
lea rcx, [0x1800d9e98]
call rsi
test eax, eax
js 0x1800891ee
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x1800891ee
mov qword [rbp - 0x78], r12
mov rax, qword [rcx]
lea rdx, [rbp - 0x78]
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r12
xor r9d, r9d
xor r8d, r8d
lea rdx, str.ROOTCIMV2
call qword [rax + 0x18]
test eax, eax
js 0x1800891e4
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x1800891e4
mov dword [rsp + 0x38], r12d
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
lea edx, [r12 + 0xa]
call rbx
mov rcx, qword [rbp - 0x78]
test eax, eax
jns 0x180089206
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x70]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov r14d, 0xfffffffe
lea rcx, [rsp + 0x50]
call fcn.18006f860
mov eax, r14d
jmp 0x1800898fd
mov qword [rbp - 0x48], r12
mov rax, qword [rcx]
lea rdx, [rbp - 0x48]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], r12
mov r9d, 0x30
lea r8, str.SELECT__FROM_Win32_NetworkAdapter_WHERE__MACAddress_IS_NOT_NULL__AND__NOT__PNPDeviceID_LIKE_ROOT___
lea rdx, [0x1800f00a8]
call qword [rax + 0xa0]
test eax, eax
jns 0x180089255
mov rcx, qword [rbp - 0x78]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x70]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov r14d, 0xfffffffd
jmp 0x1800891f4
lea rdx, str.OleAut32.dll
lea rcx, [rbp - 0x38]
call fcn.180005fa4
nop
call fcn.180073db0
mov rcx, rax
lea rdx, [rbp - 0x38]
call fcn.180073e50
mov rbx, rax
lea rcx, [rbp - 0x38]
call fcn.180005bf8
test rbx, rbx
jne 0x1800892a5
mov rcx, qword [rbp - 0x78]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x70]
mov rax, qword [rcx]
call qword [rax + 0x10]
lea r14d, [rbx - 4]
jmp 0x1800891f4
lea rdx, str.VariantInit
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
lea rdx, str.VariantClear
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
test rsi, rsi
je 0x1800898d9
test rax, rax
je 0x1800898d9
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x1800898c0
nop word [rax + rax]
mov qword [rbp - 0x68], r12
mov dword [rbp - 0x40], r12d
mov rax, qword [rcx]
lea rdx, [rbp - 0x40]
mov qword [rsp + 0x20], rdx
lea r9, [rbp - 0x68]
mov edx, 0xffffffff
lea r8d, [rdx + 2]
call qword [rax + 0x20]
cmp dword [rbp - 0x40], 0
je 0x1800898b1
cmp qword [rbp - 0x68], 0
je 0x1800898b1
lea rcx, [rbp - 0x60]
call rsi
mov rcx, qword [rbp - 0x68]
mov rax, qword [rcx]
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
lea r9, [rbp - 0x60]
xor r8d, r8d
lea rdx, str.PNPDeviceID
call qword [rax + 0x20]
xor edx, edx
mov r8d, 0x100
lea rcx, [rbp + 0xe0]
call fcn.1800a0440
cmp word [rbp - 0x60], 8
jne 0x1800893c2
mov r8, qword [rbp - 0x58]
test r8, r8
je 0x1800893c2
mov edx, 0x7f
lea rcx, [rbp + 0xe0]
lea rax, [rbp + 0xe0]
sub r8, rax
nop dword [rax + rax]
lea rax, [rdx + 0x7fffff7f]
test rax, rax
je 0x1800893b3
movzx eax, word [r8 + rcx]
test ax, ax
je 0x1800893b3
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x180089390
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r12w
lea rcx, [rbp - 0x60]
call rdi
lea rdx, [rbp + 0xe0]
lea rcx, [rbp - 0x18]
call fcn.180005fa4
nop
lea rcx, [rbp - 0x38]
call fcn.180005c00
nop
xor r8d, r8d
lea rdx, [0x1800ee49c]
lea rcx, [rbp - 0x18]
call fcn.180068ab0
cmp rax, 0xffffffffffffffff
je 0x180089428
mov r9, rax
xor r8d, r8d
lea rdx, [rsp + 0x68]
lea rcx, [rbp - 0x18]
call fcn.18000a2d0
nop
mov rdx, rax
lea rcx, [rbp - 0x38]
call fcn.180005f0c
nop
lea rcx, [rsp + 0x68]
call fcn.180005bf8
lea rcx, [rbp - 0x38]
call fcn.180005be8
mov rcx, rax
lea rdx, str.ROOT
call fcn.18006a200
test al, al
je 0x18008944d
lea rcx, [rbp - 0x18]
call fcn.180009ce0
mov r9d, 1
lea r8d, [r9 + 0x7f]
lea rdx, [rbp + 0xe0]
lea rcx, [rbp + 0xe0]
call fcn.180088d90
test eax, eax
je 0x180089884
inc r14d
lea rcx, [rbp + 0x10]
call fcn.180005c00
nop
lea rcx, [rbp + 0x30]
call fcn.180005c00
nop
lea rcx, [rbp + 0x50]
call fcn.180005c00
nop
lea rcx, [rbp + 0x70]
call fcn.180005c00
nop
lea rcx, [rbp + 0x98]
call fcn.180005c00
nop
lea rcx, [rbp + 0xb8]
call fcn.180005c00
nop
mov byte [rbp + 0x90], 0
lea rcx, [rbp + 0xe0]
call fcn.1800063e0
mov r8, rax
lea rdx, [rbp + 0xe0]
lea rcx, [rbp + 0x30]
call fcn.180006148
lea rcx, [rbp - 0x18]
call fcn.180005c20
lea rcx, [rbp + 0xb8]
cmp rcx, rax
je 0x180089518
lea rcx, [rbp - 0x18]
call fcn.180005c20
mov rdx, rax
cmp qword [rax + 0x18], 8
jb 0x180089508
mov rdx, qword [rax]
mov r8, qword [rax + 0x10]
lea rcx, [rbp + 0xb8]
call fcn.180006148
lea rcx, [rbp + 0x30]
call fcn.18006a5e0
lea rcx, [rbp + 0x30]
call fcn.180005ea0
test al, al
jne 0x180089843
lea rcx, [rbp - 0x60]
call rsi
mov rcx, qword [rbp - 0x68]
mov rax, qword [rcx]
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
lea r9, [rbp - 0x60]
xor r8d, r8d
lea rdx, str.MACAddress
call qword [rax + 0x20]
xor edx, edx
mov r8d, 0x100
lea rcx, [rbp + 0xe0]
call fcn.1800a0440
cmp word [rbp - 0x60], 8
jne 0x1800895c6
mov r8, qword [rbp - 0x58]
test r8, r8
je 0x1800895c6
mov edx, 0x7f
lea rcx, [rbp + 0xe0]
lea rax, [rbp + 0xe0]
sub r8, rax
lea rax, [rdx + 0x7fffff7f]
test rax, rax
je 0x1800895b7
movzx eax, word [r8 + rcx]
test ax, ax
je 0x1800895b7
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x180089594
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r12w
lea rcx, [rbp - 0x60]
call rdi
lea rcx, [rbp + 0xe0]
mov rax, 0xffffffffffffffff
nop word [rax + rax]
lea rax, [rax + 1]
cmp word [rcx + rax*2], 0
jne 0x1800895e0
lea r9, [rbp + 0xe2]
lea r9, [r9 + rax*2]
lea rdx, [rbp + 0xe0]
lea rax, [rbp + 0xe0]
cmp rax, r9
je 0x18008961f
nop dword [rax]
cmp word [rdx], 0x3a
je 0x18008961f
add rdx, 2
cmp rdx, r9
jne 0x180089610
cmp rdx, r9
je 0x180089652
lea r8, [rdx + 2]
cmp r8, r9
je 0x180089652
nop dword [rax]
cmp word [r8], 0x3a
je 0x180089649
mov rcx, r8
call fcn.180005c20
movzx ecx, word [rax]
mov word [rdx], cx
add rdx, 2
add r8, 2
cmp r8, r9
jne 0x180089630
test rdx, rdx
je 0x18008965b
mov word [rdx], r12w
lea rcx, [rbp + 0xe0]
call fcn.1800063e0
mov r8, rax
lea rdx, [rbp + 0xe0]
lea rcx, [rbp + 0x50]
call fcn.180006148
lea rcx, [rbp + 0x50]
call fcn.18006a5e0
lea rcx, [rbp - 0x60]
call rsi
mov rcx, qword [rbp - 0x68]
mov rax, qword [rcx]
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
lea r9, [rbp - 0x60]
xor r8d, r8d
lea rdx, str.GUID
call qword [rax + 0x20]
xor edx, edx
mov r8d, 0x100
lea rcx, [rbp + 0xe0]
call fcn.1800a0440
cmp word [rbp - 0x60], 8
jne 0x180089722
mov r8, qword [rbp - 0x58]
test r8, r8
je 0x180089722
mov edx, 0x7f
lea rcx, [rbp + 0xe0]
lea rax, [rbp + 0xe0]
sub r8, rax
nop word [rax + rax]
lea rax, [rdx + 0x7fffff7f]
test rax, rax
je 0x180089713
movzx eax, word [r8 + rcx]
test ax, ax
je 0x180089713
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x1800896f0
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r12w
lea rcx, [rbp - 0x60]
call rdi
lea rcx, [rbp + 0xe0]
call fcn.1800063e0
mov r8, rax
lea rdx, [rbp + 0xe0]
lea rcx, [rbp + 0x10]
call fcn.180006148
lea rcx, [rbp + 0x70]
call fcn.180009ce0
lea rcx, [rbp - 0x60]
call rsi
mov rcx, qword [rbp - 0x68]
mov rax, qword [rcx]
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
lea r9, [rbp - 0x60]
xor r8d, r8d
lea rdx, str.NetConnectionStatus
call qword [rax + 0x20]
cmp word [rbp - 0x60], 3
jne 0x180089793
mov r8d, dword [rbp - 0x58]
lea rdx, [0x1800ed620]
lea rcx, [rbp + 0x70]
call fcn.18006a830
lea rcx, [rbp - 0x60]
call rdi
mov byte [rbp + 0x90], 1
mov rdx, qword [r15 + 8]
cmp qword [r15 + 0x10], rdx
je 0x180089836
mov ecx, 0xc8
call fcn.180005d08
mov rbx, rax
mov qword [rsp + 0x60], rax
lea rdx, [rbp + 0x10]
mov rcx, rax
call fcn.180006e50
nop
lea rcx, [rbx + 0x20]
lea rdx, [rbp + 0x30]
call fcn.180006e50
nop
lea rcx, [rbx + 0x40]
lea rdx, [rbp + 0x50]
call fcn.180006e50
nop
lea rcx, [rbx + 0x60]
lea rdx, [rbp + 0x70]
call fcn.180006e50
nop
movzx eax, byte [rbp + 0x90]
mov byte [rbx + 0x80], al
lea rcx, [rbx + 0x88]
lea rdx, [rbp + 0x98]
call fcn.180006e50
nop
lea rcx, [rbx + 0xa8]
lea rdx, [rbp + 0xb8]
call fcn.180006e50
nop
add qword [r15 + 8], 0xc8
jmp 0x180089843
lea r8, [rbp + 0x10]
mov rcx, r15
call fcn.180084ec0
nop
lea rcx, [rbp + 0xb8]
call fcn.180005bf8
nop
lea rcx, [rbp + 0x98]
call fcn.180005bf8
nop
lea rcx, [rbp + 0x70]
call fcn.180005bf8
nop
lea rcx, [rbp + 0x50]
call fcn.180005bf8
nop
lea rcx, [rbp + 0x30]
call fcn.180005bf8
nop
lea rcx, [rbp + 0x10]
call fcn.180005bf8
mov rcx, qword [rbp - 0x68]
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
lea rcx, [rbp - 0x38]
call fcn.180005bf8
nop
lea rcx, [rbp - 0x18]
call fcn.180005bf8
mov rcx, qword [rbp - 0x48]
test rcx, rcx
jne 0x1800892f0
jmp 0x1800898c0
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x1800898c0
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 - 0x70]
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x1800891f4
mov rcx, qword [rbp - 0x78]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x70]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov r14d, 0xfffffffb
jmp 0x1800891f4
mov eax, 0xfffffffe
mov rcx, qword [rbp + 0x1e0]
xor rcx, rsp
call fcn.18009c630
lea r11, [rsp + 0x2f0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret