Function at 0x18004b320
Capabilities:
Link many functions at runtime
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 + 0x78], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1800fb008]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
mov r12, rcx
xor r13d, r13d
mov r14d, r13d
mov qword [rbp - 0x38], r13
mov qword [rbp - 0x30], r13
mov qword [rbp - 0x30], 7
mov qword [rbp - 0x38], r13
mov word [rbp - 0x48], r13w
lea r8d, [r13 + 9]
lea rdx, str.Ole32.dll
lea rcx, [rbp - 0x48]
call fcn.180003940
nop
call fcn.18000f330
mov rcx, rax
lea rdx, [rbp - 0x48]
call fcn.18000f3e0
mov rbx, rax
cmp qword [rbp - 0x30], 8
jb 0x18004b3bb
mov rcx, qword [rbp - 0x48]
call fcn.18008861c
mov qword [rbp - 0x30], 7
mov qword [rbp - 0x38], r13
mov word [rbp - 0x48], r13w
test rbx, rbx
je 0x18004bdc9
lea rdx, str.CoCreateInstance
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 0x18004bdc9
test rdi, rdi
je 0x18004bdc9
test rax, rax
je 0x18004bdc9
lea rcx, [rsp + 0x50]
call fcn.18004ae80
nop
mov qword [rsp + 0x40], r13
mov dword [rsp + 0x38], r13d
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
or edx, 0xffffffff
xor ecx, ecx
call rdi
mov qword [rbp - 0x80], r13
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
lea r9, [0x1800c0c68]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x1800c0d38]
call rsi
test eax, eax
js 0x18004bdb4
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x18004bdb4
mov qword [rbp - 0x78], r13
mov rax, qword [rcx]
lea rdx, [rbp - 0x78]
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r13
xor r9d, r9d
xor r8d, r8d
lea rdx, str.ROOTCIMV2
call qword [rax + 0x18]
test eax, eax
js 0x18004bdaa
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x18004bdaa
mov dword [rsp + 0x38], r13d
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0xa]
call rbx
mov rcx, qword [rbp - 0x78]
test eax, eax
jns 0x18004b517
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x18004bdaa
mov qword [rbp - 0x50], r13
mov rax, qword [rcx]
lea rdx, [rbp - 0x50]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], r13
mov r9d, 0x30
lea r8, str.SELECT__FROM_Win32_NetworkAdapter_WHERE__MACAddress_IS_NOT_NULL__AND__NOT__PNPDeviceID_LIKE_ROOT___
lea rdx, [0x1800c69a0]
call qword [rax + 0xa0]
test eax, eax
jns 0x18004b569
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 0x18004bdba
mov qword [rbp - 0x38], r13
mov qword [rbp - 0x30], r13
mov qword [rbp - 0x30], 7
mov qword [rbp - 0x38], r13
mov word [rbp - 0x48], r13w
mov r8d, 0xc
lea rdx, str.OleAut32.dll
lea rcx, [rbp - 0x48]
call fcn.180003940
nop
call fcn.18000f330
mov rcx, rax
lea rdx, [rbp - 0x48]
call fcn.18000f3e0
mov rbx, rax
cmp qword [rbp - 0x30], 8
jb 0x18004b5bd
mov rcx, qword [rbp - 0x48]
call fcn.18008861c
mov qword [rbp - 0x30], 7
mov qword [rbp - 0x38], r13
mov word [rbp - 0x48], r13w
test rbx, rbx
jne 0x18004b5f0
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 0x18004bdba
lea rdx, str.VariantInit
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r15, rax
lea rdx, str.VariantClear
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
test r15, r15
je 0x18004bd8e
test rax, rax
je 0x18004bd8e
mov rcx, qword [rbp - 0x50]
test rcx, rcx
je 0x18004bd78
nop word [rax + rax]
mov qword [rbp - 0x70], r13
mov dword [rbp - 0x28], r13d
mov rax, qword [rcx]
lea rdx, [rbp - 0x28]
mov qword [rsp + 0x20], rdx
lea r9, [rbp - 0x70]
mov r8d, 1
or edx, 0xffffffff
call qword [rax + 0x20]
cmp dword [rbp - 0x28], 0
je 0x18004bd69
cmp qword [rbp - 0x70], 0
je 0x18004bd69
lea rcx, [rbp - 0x68]
call r15
mov rcx, qword [rbp - 0x70]
mov rax, qword [rcx]
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
lea r9, [rbp - 0x68]
xor r8d, r8d
lea rdx, str.PNPDeviceID
call qword [rax + 0x20]
mov word [rbp + 0xd0], r13w
xor edx, edx
mov r8d, 0xfe
lea rcx, [rbp + 0xd2]
call fcn.18008c480
cmp word [rbp - 0x68], 8
jne 0x18004b715
mov r8, qword [rbp - 0x60]
test r8, r8
je 0x18004b715
mov edx, 0x7f
lea rcx, [rbp + 0xd0]
lea rax, [rbp + 0xd0]
sub r8, rax
lea rax, [rdx + 0x7fffff7f]
test rax, rax
je 0x18004b708
movzx eax, word [rcx + r8]
test ax, ax
je 0x18004b708
mov word [rcx], ax
add rcx, 2
dec rdx
jne 0x18004b6e4
jmp 0x18004b70d
test rdx, rdx
jne 0x18004b711
sub rcx, 2
mov word [rcx], r13w
lea rcx, [rbp - 0x68]
call rsi
mov qword [rbp - 0x10], r13
mov qword [rbp - 8], r13
mov qword [rbp - 8], 7
mov qword [rbp - 0x10], r13
mov word [rbp - 0x20], r13w
cmp word [rbp + 0xd0], 0
jne 0x18004b743
mov r8, r13
jmp 0x18004b75b
lea rax, [rbp + 0xd0]
or r8, 0xffffffffffffffff
nop
inc r8
cmp word [rax + r8*2], 0
jne 0x18004b750
lea rdx, [rbp + 0xd0]
lea rcx, [rbp - 0x20]
call fcn.180003940
nop
mov qword [rbp - 0x38], r13
mov qword [rbp - 0x30], r13
mov qword [rbp - 0x30], 7
mov qword [rbp - 0x38], r13
mov word [rbp - 0x48], r13w
mov rcx, qword [rbp - 0x10]
test rcx, rcx
je 0x18004b7eb
lea rax, [rbp - 0x20]
mov r10, qword [rbp - 0x20]
mov r11, qword [rbp - 8]
cmp r11, 8
cmovae rax, r10
lea r8, [rax + rcx*2]
lea r9, [rbp - 0x20]
cmovae r9, r10
cmp r9, r8
jae 0x18004b7eb
mov ecx, 2
lea rax, [0x1800c4820]
movzx edx, word [r9]
cmp word [rax], dx
je 0x18004b7d7
add rax, 2
dec rcx
jne 0x18004b7c3
add r9, 2
jmp 0x18004b7ae
lea rax, [rbp - 0x20]
cmp r11, 8
cmovae rax, r10
sub r9, rax
sar r9, 1
jmp 0x18004b7ef
or r9, 0xffffffffffffffff
cmp r9, 0xffffffffffffffff
je 0x18004b866
xor r8d, r8d
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x20]
call fcn.180007530
mov rbx, rax
lea rax, [rbp - 0x48]
cmp rax, rbx
je 0x18004b840
cmp qword [rbp - 0x30], 8
jb 0x18004b822
mov rcx, qword [rbp - 0x48]
call fcn.18008861c
mov qword [rbp - 0x30], 7
mov qword [rbp - 0x38], r13
mov word [rbp - 0x48], r13w
mov rdx, rbx
lea rcx, [rbp - 0x48]
call fcn.180003210
nop
cmp qword [rsp + 0x70], 8
jb 0x18004b852
mov rcx, qword [rsp + 0x58]
call fcn.18008861c
mov qword [rsp + 0x70], 7
mov qword [rsp + 0x68], r13
mov word [rsp + 0x58], r13w
lea rcx, [rbp - 0x48]
cmp qword [rbp - 0x30], 8
cmovae rcx, qword [rbp - 0x48]
lea rdx, str.ROOT
call fcn.180006d40
test al, al
je 0x18004b89a
mov qword [rbp - 0x10], r13
lea rax, [rbp - 0x20]
cmp qword [rbp - 8], 8
cmovae rax, qword [rbp - 0x20]
mov word [rax], r13w
mov r9d, 1
lea r8d, [r9 + 0x7f]
lea rdx, [rbp + 0xd0]
lea rcx, [rbp + 0xd0]
call fcn.18004b000
test eax, eax
je 0x18004bd0d
inc r14d
mov qword [rbp + 0x10], r13
mov qword [rbp + 0x18], r13
mov qword [rbp + 0x18], 7
mov qword [rbp + 0x10], r13
mov word [rbp], r13w
mov qword [rbp + 0x30], r13
mov qword [rbp + 0x38], r13
mov qword [rbp + 0x38], 7
mov qword [rbp + 0x30], r13
mov word [rbp + 0x20], r13w
mov qword [rbp + 0x50], r13
mov qword [rbp + 0x58], r13
mov qword [rbp + 0x58], 7
mov qword [rbp + 0x50], r13
mov word [rbp + 0x40], r13w
mov qword [rbp + 0x70], r13
mov qword [rbp + 0x78], r13
mov qword [rbp + 0x78], 7
mov qword [rbp + 0x70], r13
mov word [rbp + 0x60], r13w
mov qword [rbp + 0x98], r13
mov qword [rbp + 0xa0], r13
mov qword [rbp + 0xa0], 7
mov qword [rbp + 0x98], r13
mov word [rbp + 0x88], r13w
mov qword [rbp + 0xb8], r13
mov qword [rbp + 0xc0], r13
mov qword [rbp + 0xc0], 7
mov qword [rbp + 0xb8], r13
mov word [rbp + 0xa8], r13w
mov byte [rbp + 0x80], 0
cmp word [rbp + 0xd0], 0
jne 0x18004b98c
mov r8, r13
jmp 0x18004b9ab
lea rax, [rbp + 0xd0]
or r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x18004b9a0
lea rdx, [rbp + 0xd0]
lea rcx, [rbp + 0x20]
call fcn.180003940
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp - 0x20]
lea rcx, [rbp + 0xa8]
call fcn.1800032a0
mov rdi, qword [rbp + 0x30]
mov rbx, r13
test rdi, rdi
je 0x18004bd04
lea rax, [rbp + 0x20]
cmp qword [rbp + 0x38], 8
cmovae rax, qword [rbp + 0x20]
movzx ecx, word [rax + rbx*2]
call fcn.180088bac
lea rcx, [rbp + 0x20]
cmp qword [rbp + 0x38], 8
cmovae rcx, qword [rbp + 0x20]
mov word [rcx + rbx*2], ax
inc rbx
cmp rbx, rdi
jb 0x18004b9e2
mov rdi, qword [rbp + 0x30]
test rdi, rdi
je 0x18004bd04
lea rcx, [rbp - 0x68]
call r15
mov rcx, qword [rbp - 0x70]
mov rax, qword [rcx]
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
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.18008c480
cmp word [rbp - 0x68], 8
jne 0x18004bab4
mov r8, qword [rbp - 0x60]
test r8, r8
je 0x18004bab4
mov edx, 0x7f
lea rcx, [rbp + 0xd0]
lea rax, [rbp + 0xd0]
sub r8, rax
lea rax, [rdx + 0x7fffff7f]
test rax, rax
je 0x18004baa7
movzx eax, word [rcx + r8]
test ax, ax
je 0x18004baa7
mov word [rcx], ax
add rcx, 2
dec rdx
jne 0x18004ba83
jmp 0x18004baac
test rdx, rdx
jne 0x18004bab0
sub rcx, 2
mov word [rcx], r13w
lea rcx, [rbp - 0x68]
call rsi
lea rcx, [rbp + 0xd0]
or rax, 0xffffffffffffffff
lea rax, [rax + 1]
cmp word [rcx + rax*2], 0
jne 0x18004bac5
lea rdx, [rbp + 0xd2]
lea rdx, [rdx + rax*2]
lea rax, [rbp + 0xd0]
lea rcx, [rbp + 0xd0]
cmp rcx, rdx
je 0x18004bb41
nop
cmp word [rax], 0x3a
je 0x18004bb01
add rax, 2
cmp rax, rdx
jne 0x18004baf0
jmp 0x18004bb41
cmp rax, rdx
je 0x18004bb41
lea rcx, [rax + 2]
mov r8, r13
mov r9, rdx
sub r9, rcx
inc r9
shr r9, 1
cmp rcx, rdx
cmova r9, r13
test r9, r9
je 0x18004bb41
movzx edx, word [rcx]
cmp dx, 0x3a
je 0x18004bb35
mov word [rax], dx
add rax, 2
add rcx, 2
inc r8
cmp r8, r9
jne 0x18004bb25
test rax, rax
je 0x18004bb4a
mov word [rax], r13w
cmp word [rbp + 0xd0], 0
jne 0x18004bb59
mov r8, r13
jmp 0x18004bb6f
lea rax, [rbp + 0xd0]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x18004bb64
lea rdx, [rbp + 0xd0]
lea rcx, [rbp + 0x40]
call fcn.180003940
mov rdi, qword [rbp + 0x50]
mov rbx, r13
test rdi, rdi
je 0x18004bbc1
nop dword [rax + rax]
lea rax, [rbp + 0x40]
cmp qword [rbp + 0x58], 8
cmovae rax, qword [rbp + 0x40]
movzx ecx, word [rax + rbx*2]
call fcn.180088bac
lea rcx, [rbp + 0x40]
cmp qword [rbp + 0x58], 8
cmovae rcx, qword [rbp + 0x40]
mov word [rcx + rbx*2], ax
inc rbx
cmp rbx, rdi
jb 0x18004bb90
lea rcx, [rbp - 0x68]
call r15
mov rcx, qword [rbp - 0x70]
mov rax, qword [rcx]
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
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.18008c480
cmp word [rbp - 0x68], 8
jne 0x18004bc55
mov r8, qword [rbp - 0x60]
test r8, r8
je 0x18004bc55
mov edx, 0x7f
lea rcx, [rbp + 0xd0]
lea rax, [rbp + 0xd0]
sub r8, rax
lea rax, [rdx + 0x7fffff7f]
test rax, rax
je 0x18004bc48
movzx eax, word [rcx + r8]
test ax, ax
je 0x18004bc48
mov word [rcx], ax
add rcx, 2
dec rdx
jne 0x18004bc24
jmp 0x18004bc4d
test rdx, rdx
jne 0x18004bc51
sub rcx, 2
mov word [rcx], r13w
lea rcx, [rbp - 0x68]
call rsi
cmp word [rbp + 0xd0], 0
jne 0x18004bc6a
mov r8, r13
jmp 0x18004bc80
lea rax, [rbp + 0xd0]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x18004bc75
lea rdx, [rbp + 0xd0]
lea rcx, [rbp]
call fcn.180003940
mov qword [rbp + 0x70], r13
lea rax, [rbp + 0x60]
cmp qword [rbp + 0x78], 8
cmovae rax, qword [rbp + 0x60]
mov word [rax], r13w
lea rcx, [rbp - 0x68]
call r15
mov rcx, qword [rbp - 0x70]
mov rax, qword [rcx]
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
lea r9, [rbp - 0x68]
xor r8d, r8d
lea rdx, str.NetConnectionStatus
call qword [rax + 0x20]
cmp word [rbp - 0x68], 3
jne 0x18004bcea
mov r8d, dword [rbp - 0x60]
lea rdx, [0x1800c67d8]
lea rcx, [rbp + 0x60]
call fcn.180007300
lea rcx, [rbp - 0x68]
call rsi
mov byte [rbp + 0x80], 1
lea rdx, [rbp]
mov rcx, r12
call fcn.18003e910
nop
lea rcx, [rbp]
call fcn.180032a40
mov rcx, qword [rbp - 0x70]
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
cmp qword [rbp - 0x30], 8
jb 0x18004bd28
mov rcx, qword [rbp - 0x48]
call fcn.18008861c
mov qword [rbp - 0x30], 7
mov qword [rbp - 0x38], r13
mov word [rbp - 0x48], r13w
cmp qword [rbp - 8], 8
jb 0x18004bd49
mov rcx, qword [rbp - 0x20]
call fcn.18008861c
mov qword [rbp - 8], 7
mov qword [rbp - 0x10], r13
mov word [rbp - 0x20], r13w
mov rcx, qword [rbp - 0x50]
test rcx, rcx
jne 0x18004b640
jmp 0x18004bd78
mov rcx, qword [rbp - 0x50]
test rcx, rcx
je 0x18004bd78
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 0x18004bdba
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 0x18004bdba
mov rcx, qword [rbp - 0x80]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov r14d, 0xfffffffe
lea rcx, [rsp + 0x50]
call fcn.18004af50
mov eax, r14d
jmp 0x18004bdce
mov eax, 0xfffffffe
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.180087ea0
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