Function at 0x140082440
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 - 0x208]
sub rsp, 0x2e0
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x140222080]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
mov r15, rcx
xor r12d, r12d
mov r14d, r12d
lea rdx, str.Ole32.dll
lea rcx, [rbp - 0x40]
call fcn.140002630
nop
call fcn.140070510
mov rcx, rax
lea rdx, [rbp - 0x40]
call fcn.1400705b0
mov rbx, rax
lea rcx, [rbp - 0x40]
call fcn.140002550
test rbx, rbx
je 0x140082d0f
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 0x140082d0f
test rdi, rdi
je 0x140082d0f
test rax, rax
je 0x140082d0f
lea rcx, [rsp + 0x54]
call fcn.14006de80
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 - 0x78], r12
lea rax, [rbp - 0x78]
mov qword [rsp + 0x20], rax
lea r9, [0x1401b6e08]
xor edx, edx
lea r8d, [r12 + 1]
lea rcx, [0x1401b6df8]
call rsi
test eax, eax
js 0x1400825fe
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x1400825fe
mov qword [rbp - 0x80], r12
mov rax, qword [rcx]
lea rdx, [rbp - 0x80]
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 0x1400825f4
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x1400825f4
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 - 0x80]
test eax, eax
jns 0x140082616
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x78]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov r14d, 0xfffffffe
lea rcx, [rsp + 0x54]
call fcn.14006df20
mov eax, r14d
jmp 0x140082d14
mov qword [rbp - 0x50], r12
mov rax, qword [rcx]
lea rdx, [rbp - 0x50]
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, [0x1401d7348]
call qword [rax + 0xa0]
test eax, eax
jns 0x140082665
mov rcx, qword [rbp - 0x80]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x78]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov r14d, 0xfffffffd
jmp 0x140082604
lea rdx, str.OleAut32.dll
lea rcx, [rbp - 0x40]
call fcn.140002630
nop
call fcn.140070510
mov rcx, rax
lea rdx, [rbp - 0x40]
call fcn.1400705b0
mov rbx, rax
lea rcx, [rbp - 0x40]
call fcn.140002550
test rbx, rbx
jne 0x1400826b5
mov rcx, qword [rbp - 0x80]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x78]
mov rax, qword [rcx]
call qword [rax + 0x10]
lea r14d, [rbx - 4]
jmp 0x140082604
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 0x140082cf0
test rax, rax
je 0x140082cf0
mov rcx, qword [rbp - 0x50]
test rcx, rcx
je 0x140082cd7
nop word [rax + rax]
mov qword [rbp - 0x70], r12
mov dword [rbp - 0x48], r12d
mov rax, qword [rcx]
lea rdx, [rbp - 0x48]
mov qword [rsp + 0x20], rdx
lea r9, [rbp - 0x70]
mov edx, 0xffffffff
lea r8d, [rdx + 2]
call qword [rax + 0x20]
cmp dword [rbp - 0x48], 0
je 0x140082cc8
cmp qword [rbp - 0x70], 0
je 0x140082cc8
lea rcx, [rbp - 0x68]
call rsi
mov rcx, qword [rbp - 0x70]
mov rax, qword [rcx]
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
lea r9, [rbp - 0x68]
xor r8d, r8d
lea rdx, str.PNPDeviceID
call qword [rax + 0x20]
xor edx, edx
mov r8d, 0x100
lea rcx, [rbp + 0xd0]
call fcn.140177d50
cmp word [rbp - 0x68], 8
jne 0x1400827d2
mov r8, qword [rbp - 0x60]
test r8, r8
je 0x1400827d2
mov edx, 0x7f
lea rcx, [rbp + 0xd0]
lea rax, [rbp + 0xd0]
sub r8, rax
nop dword [rax + rax]
lea rax, [rdx + 0x7fffff7f]
test rax, rax
je 0x1400827c3
movzx eax, word [r8 + rcx]
test ax, ax
je 0x1400827c3
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x1400827a0
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r12w
lea rcx, [rbp - 0x68]
call rdi
lea rdx, [rbp + 0xd0]
lea rcx, [rbp - 0x20]
call fcn.140002630
nop
lea rcx, [rbp - 0x40]
call fcn.140002670
nop
xor r8d, r8d
lea rdx, [0x1401c951c]
lea rcx, [rbp - 0x20]
call fcn.140063180
cmp rax, 0xffffffffffffffff
je 0x14008285f
mov r9, rax
xor r8d, r8d
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x20]
call fcn.14000b1f0
mov rbx, rax
lea rax, [rbp - 0x40]
cmp rax, rbx
je 0x140082855
lea rcx, [rbp - 0x40]
call fcn.1400026a0
mov rcx, rbx
call fcn.140002690
mov rcx, rax
call fcn.140002690
mov rdx, rax
xor r8d, r8d
lea rcx, [rbp - 0x40]
call fcn.140004b20
nop
lea rcx, [rsp + 0x60]
call fcn.140002550
lea rcx, [rbp - 0x40]
call fcn.1400030b0
mov rcx, rax
lea rdx, str.ROOT
call fcn.140063ee0
test al, al
je 0x1400828a5
lea rcx, [rbp - 0x20]
call fcn.140002690
mov word [rsp + 0x50], r12w
mov qword [rax + 0x10], r12
cmp qword [rax + 0x18], 8
jb 0x140082898
mov rax, qword [rax]
lea rdx, [rsp + 0x50]
mov rcx, rax
call fcn.1400028d0
mov r9d, 1
lea r8d, [r9 + 0x7f]
lea rdx, [rbp + 0xd0]
lea rcx, [rbp + 0xd0]
call fcn.140082110
test eax, eax
je 0x140082c9b
inc r14d
lea rcx, [rbp]
call fcn.140002670
nop
lea rcx, [rbp + 0x20]
call fcn.140002670
nop
lea rcx, [rbp + 0x40]
call fcn.140002670
nop
lea rcx, [rbp + 0x60]
call fcn.140002670
nop
lea rcx, [rbp + 0x88]
call fcn.140002670
nop
lea rcx, [rbp + 0xa8]
call fcn.140002670
nop
mov byte [rbp + 0x80], 0
lea rcx, [rbp + 0xd0]
call fcn.140002910
mov r8, rax
lea rdx, [rbp + 0xd0]
lea rcx, [rbp + 0x20]
call fcn.140002710
lea rcx, [rbp - 0x20]
call fcn.140002690
lea rcx, [rbp + 0xa8]
cmp rcx, rax
je 0x140082970
lea rcx, [rbp - 0x20]
call fcn.140002690
mov rdx, rax
cmp qword [rax + 0x18], 8
jb 0x140082960
mov rdx, qword [rax]
mov r8, qword [rax + 0x10]
lea rcx, [rbp + 0xa8]
call fcn.140002710
lea rcx, [rbp + 0x20]
call fcn.140064300
lea rcx, [rbp + 0x20]
call fcn.1400030a0
test al, al
jne 0x140082c5a
lea rcx, [rbp - 0x68]
call rsi
mov rcx, qword [rbp - 0x70]
mov rax, qword [rcx]
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
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.140177d50
cmp word [rbp - 0x68], 8
jne 0x140082a22
mov r8, qword [rbp - 0x60]
test r8, r8
je 0x140082a22
mov edx, 0x7f
lea rcx, [rbp + 0xd0]
lea rax, [rbp + 0xd0]
sub r8, rax
nop dword [rax]
lea rax, [rdx + 0x7fffff7f]
test rax, rax
je 0x140082a13
movzx eax, word [r8 + rcx]
test ax, ax
je 0x140082a13
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x1400829f0
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r12w
lea rcx, [rbp - 0x68]
call rdi
lea rcx, [rbp + 0xd0]
mov rax, 0xffffffffffffffff
nop word [rax + rax]
lea rax, [rax + 1]
cmp word [rcx + rax*2], 0
jne 0x140082a40
lea rdx, [rbp + 0xd2]
lea rdx, [rdx + rax*2]
lea rax, [rbp + 0xd0]
lea rcx, [rbp + 0xd0]
cmp rcx, rdx
je 0x140082a7f
nop dword [rax]
cmp word [rax], 0x3a
je 0x140082a7f
add rax, 2
cmp rax, rdx
jne 0x140082a70
cmp rax, rdx
je 0x140082abf
lea rcx, [rax + 2]
mov r8, r12
mov r9, rdx
sub r9, rcx
inc r9
shr r9, 1
cmp rcx, rdx
cmova r9, r12
test r9, r9
je 0x140082abf
movzx edx, word [rcx]
cmp dx, 0x3a
je 0x140082ab3
mov word [rax], dx
add rax, 2
add rcx, 2
inc r8
cmp r8, r9
jne 0x140082aa3
test rax, rax
je 0x140082ac8
mov word [rax], r12w
lea rcx, [rbp + 0xd0]
call fcn.140002910
mov r8, rax
lea rdx, [rbp + 0xd0]
lea rcx, [rbp + 0x40]
call fcn.140002710
lea rcx, [rbp + 0x40]
call fcn.140064300
lea rcx, [rbp - 0x68]
call rsi
mov rcx, qword [rbp - 0x70]
mov rax, qword [rcx]
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
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.140177d50
cmp word [rbp - 0x68], 8
jne 0x140082b84
mov r8, qword [rbp - 0x60]
test r8, r8
je 0x140082b84
mov edx, 0x7f
lea rcx, [rbp + 0xd0]
lea rax, [rbp + 0xd0]
sub r8, rax
lea rax, [rdx + 0x7fffff7f]
test rax, rax
je 0x140082b75
movzx eax, word [r8 + rcx]
test ax, ax
je 0x140082b75
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x140082b52
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r12w
lea rcx, [rbp - 0x68]
call rdi
lea rcx, [rbp + 0xd0]
call fcn.140002910
mov r8, rax
lea rdx, [rbp + 0xd0]
lea rcx, [rbp]
call fcn.140002710
lea rcx, [rbp + 0x60]
call fcn.140002690
mov word [rsp + 0x50], r12w
mov qword [rax + 0x10], r12
cmp qword [rax + 0x18], 8
jb 0x140082bc6
mov rax, qword [rax]
lea rdx, [rsp + 0x50]
mov rcx, rax
call fcn.1400028d0
lea rcx, [rbp - 0x68]
call rsi
mov rcx, qword [rbp - 0x70]
mov rax, qword [rcx]
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
lea r9, [rbp - 0x68]
xor r8d, r8d
lea rdx, str.NetConnectionStatus
call qword [rax + 0x20]
cmp word [rbp - 0x68], 3
jne 0x140082c16
mov r8d, dword [rbp - 0x60]
lea rdx, [0x1401c97d8]
lea rcx, [rbp + 0x60]
call fcn.140064620
lea rcx, [rbp - 0x68]
call rdi
mov byte [rbp + 0x80], 1
mov rdx, qword [r15 + 8]
cmp qword [r15 + 0x10], rdx
je 0x140082c4d
mov ecx, 0xc8
call fcn.1400023e0
lea rdx, [rbp]
mov rcx, rax
call fcn.140074c30
add qword [r15 + 8], 0xc8
jmp 0x140082c5a
lea r8, [rbp]
mov rcx, r15
call fcn.1400804e0
nop
lea rcx, [rbp + 0xa8]
call fcn.140002550
nop
lea rcx, [rbp + 0x88]
call fcn.140002550
nop
lea rcx, [rbp + 0x60]
call fcn.140002550
nop
lea rcx, [rbp + 0x40]
call fcn.140002550
nop
lea rcx, [rbp + 0x20]
call fcn.140002550
nop
lea rcx, [rbp]
call fcn.140002550
mov rcx, qword [rbp - 0x70]
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
lea rcx, [rbp - 0x40]
call fcn.140002550
nop
lea rcx, [rbp - 0x20]
call fcn.140002550
mov rcx, qword [rbp - 0x50]
test rcx, rcx
jne 0x140082700
jmp 0x140082cd7
mov rcx, qword [rbp - 0x50]
test rcx, rcx
je 0x140082cd7
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x80]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x78]
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x140082604
mov rcx, qword [rbp - 0x80]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x78]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov r14d, 0xfffffffb
jmp 0x140082604
mov eax, 0xfffffffe
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.140158860
lea r11, [rsp + 0x2e0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret