Function at 0x180091af0
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 [0x180132010]
xor rax, rsp
mov qword [rbp + 0x1e0], rax
mov r15, rcx
xor r12d, r12d
mov r14d, r12d
lea rdx, [0x1800fa420]
lea rcx, [rbp - 0x38]
call fcn.180005e38
nop
call fcn.18007caa0
mov rcx, rax
lea rdx, [rbp - 0x38]
call fcn.18007cb40
mov rbx, rax
lea rcx, [rbp - 0x38]
call fcn.180005de4
test rbx, rbx
je 0x1800923b8
lea rdx, [0x1800fa448]
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 0x1800923b8
test rdi, rdi
je 0x1800923b8
test rax, rax
je 0x1800923b8
lea rcx, [rsp + 0x50]
call fcn.18007ab10
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, [0x1800e5dd8]
xor edx, edx
lea r8d, [r12 + 1]
lea rcx, [0x1800e5ea8]
call rsi
test eax, eax
js 0x180091cae
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x180091cae
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 0x180091ca4
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x180091ca4
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 0x180091cc6
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.18007abb0
mov eax, r14d
jmp 0x1800923bd
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, [0x1800fd380]
call qword [rax + 0xa0]
test eax, eax
jns 0x180091d15
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 0x180091cb4
lea rdx, str.OleAut32.dll
lea rcx, [rbp - 0x38]
call fcn.180005e38
nop
call fcn.18007caa0
mov rcx, rax
lea rdx, [rbp - 0x38]
call fcn.18007cb40
mov rbx, rax
lea rcx, [rbp - 0x38]
call fcn.180005de4
test rbx, rbx
jne 0x180091d65
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 0x180091cb4
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 0x180092399
test rax, rax
je 0x180092399
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x180092380
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 0x180092371
cmp qword [rbp - 0x68], 0
je 0x180092371
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.1800a8e10
cmp word [rbp - 0x60], 8
jne 0x180091e82
mov r8, qword [rbp - 0x58]
test r8, r8
je 0x180091e82
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 0x180091e73
movzx eax, word [r8 + rcx]
test ax, ax
je 0x180091e73
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x180091e50
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.180005e38
nop
lea rcx, [rbp - 0x38]
call fcn.180005e80
nop
xor r8d, r8d
lea rdx, [0x1800fab88]
lea rcx, [rbp - 0x18]
call fcn.18006ab30
cmp rax, 0xffffffffffffffff
je 0x180091ee8
mov r9, rax
xor r8d, r8d
lea rdx, [rsp + 0x68]
lea rcx, [rbp - 0x18]
call fcn.180008670
nop
mov rdx, rax
lea rcx, [rbp - 0x38]
call fcn.18000681c
nop
lea rcx, [rsp + 0x68]
call fcn.180005de4
lea rcx, [rbp - 0x38]
call fcn.18000618c
mov rcx, rax
lea rdx, str.ROOT
call fcn.18006ba60
test al, al
je 0x180091f0d
lea rcx, [rbp - 0x18]
call fcn.18000b510
mov r9d, 1
lea r8d, [r9 + 0x7f]
lea rdx, [rbp + 0xe0]
lea rcx, [rbp + 0xe0]
call fcn.180091850
test eax, eax
je 0x180092344
inc r14d
lea rcx, [rbp + 0x10]
call fcn.180005e80
nop
lea rcx, [rbp + 0x30]
call fcn.180005e80
nop
lea rcx, [rbp + 0x50]
call fcn.180005e80
nop
lea rcx, [rbp + 0x70]
call fcn.180005e80
nop
lea rcx, [rbp + 0x98]
call fcn.180005e80
nop
lea rcx, [rbp + 0xb8]
call fcn.180005e80
nop
mov byte [rbp + 0x90], 0
lea rcx, [rbp + 0xe0]
call fcn.18000608c
mov r8, rax
lea rdx, [rbp + 0xe0]
lea rcx, [rbp + 0x30]
call fcn.180005f18
lea rcx, [rbp - 0x18]
call fcn.180005ea0
lea rcx, [rbp + 0xb8]
cmp rcx, rax
je 0x180091fd8
lea rcx, [rbp - 0x18]
call fcn.180005ea0
mov rdx, rax
cmp qword [rax + 0x18], 8
jb 0x180091fc8
mov rdx, qword [rax]
mov r8, qword [rax + 0x10]
lea rcx, [rbp + 0xb8]
call fcn.180005f18
lea rcx, [rbp + 0x30]
call fcn.18006be40
lea rcx, [rbp + 0x30]
call fcn.180005da8
test al, al
jne 0x180092303
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.1800a8e10
cmp word [rbp - 0x60], 8
jne 0x180092086
mov r8, qword [rbp - 0x58]
test r8, r8
je 0x180092086
mov edx, 0x7f
lea rcx, [rbp + 0xe0]
lea rax, [rbp + 0xe0]
sub r8, rax
lea rax, [rdx + 0x7fffff7f]
test rax, rax
je 0x180092077
movzx eax, word [r8 + rcx]
test ax, ax
je 0x180092077
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x180092054
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 0x1800920a0
lea r9, [rbp + 0xe2]
lea r9, [r9 + rax*2]
lea rdx, [rbp + 0xe0]
lea rax, [rbp + 0xe0]
cmp rax, r9
je 0x1800920df
nop dword [rax]
cmp word [rdx], 0x3a
je 0x1800920df
add rdx, 2
cmp rdx, r9
jne 0x1800920d0
cmp rdx, r9
je 0x180092112
lea r8, [rdx + 2]
cmp r8, r9
je 0x180092112
nop dword [rax]
cmp word [r8], 0x3a
je 0x180092109
mov rcx, r8
call fcn.180005ea0
movzx ecx, word [rax]
mov word [rdx], cx
add rdx, 2
add r8, 2
cmp r8, r9
jne 0x1800920f0
test rdx, rdx
je 0x18009211b
mov word [rdx], r12w
lea rcx, [rbp + 0xe0]
call fcn.18000608c
mov r8, rax
lea rdx, [rbp + 0xe0]
lea rcx, [rbp + 0x50]
call fcn.180005f18
lea rcx, [rbp + 0x50]
call fcn.18006be40
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.1800a8e10
cmp word [rbp - 0x60], 8
jne 0x1800921e2
mov r8, qword [rbp - 0x58]
test r8, r8
je 0x1800921e2
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 0x1800921d3
movzx eax, word [r8 + rcx]
test ax, ax
je 0x1800921d3
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x1800921b0
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.18000608c
mov r8, rax
lea rdx, [rbp + 0xe0]
lea rcx, [rbp + 0x10]
call fcn.180005f18
lea rcx, [rbp + 0x70]
call fcn.18000b510
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 0x180092253
mov r8d, dword [rbp - 0x58]
lea rdx, [0x1800f9d40]
lea rcx, [rbp + 0x70]
call fcn.18006c090
lea rcx, [rbp - 0x60]
call rdi
mov byte [rbp + 0x90], 1
mov rdx, qword [r15 + 8]
cmp qword [r15 + 0x10], rdx
je 0x1800922f6
mov ecx, 0xc8
call fcn.180005ca4
mov rbx, rax
mov qword [rsp + 0x60], rax
lea rdx, [rbp + 0x10]
mov rcx, rax
call fcn.180007554
nop
lea rcx, [rbx + 0x20]
lea rdx, [rbp + 0x30]
call fcn.180007554
nop
lea rcx, [rbx + 0x40]
lea rdx, [rbp + 0x50]
call fcn.180007554
nop
lea rcx, [rbx + 0x60]
lea rdx, [rbp + 0x70]
call fcn.180007554
nop
movzx eax, byte [rbp + 0x90]
mov byte [rbx + 0x80], al
lea rcx, [rbx + 0x88]
lea rdx, [rbp + 0x98]
call fcn.180007554
nop
lea rcx, [rbx + 0xa8]
lea rdx, [rbp + 0xb8]
call fcn.180007554
nop
add qword [r15 + 8], 0xc8
jmp 0x180092303
lea r8, [rbp + 0x10]
mov rcx, r15
call fcn.18008d980
nop
lea rcx, [rbp + 0xb8]
call fcn.180005de4
nop
lea rcx, [rbp + 0x98]
call fcn.180005de4
nop
lea rcx, [rbp + 0x70]
call fcn.180005de4
nop
lea rcx, [rbp + 0x50]
call fcn.180005de4
nop
lea rcx, [rbp + 0x30]
call fcn.180005de4
nop
lea rcx, [rbp + 0x10]
call fcn.180005de4
mov rcx, qword [rbp - 0x68]
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
lea rcx, [rbp - 0x38]
call fcn.180005de4
nop
lea rcx, [rbp - 0x18]
call fcn.180005de4
mov rcx, qword [rbp - 0x48]
test rcx, rcx
jne 0x180091db0
jmp 0x180092380
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x180092380
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 0x180091cb4
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 0x180091cb4
mov eax, 0xfffffffe
mov rcx, qword [rbp + 0x1e0]
xor rcx, rsp
call fcn.1800a5000
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