Function at 0x1800c6160
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 - 0x228]
sub rsp, 0x300
mov qword [rbp - 0x70], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x18020d140]
xor rax, rsp
mov qword [rbp + 0x1f0], rax
mov qword [rbp - 0x78], rcx
xor r15d, r15d
mov r14d, r15d
mov dword [rsp + 0x50], r15d
mov r13d, r15d
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x18], xmm0
movdqa xmm1, xmmword [0x1801bc8a0]
movdqu xmmword [rbp - 0x18], xmm1
mov word [rbp - 0x28], r15w
lea r8d, [r15 + 9]
lea rdx, str.Ole32.dll
lea rcx, [rbp - 0x28]
call fcn.180005390
nop
call fcn.180019930
mov rcx, rax
lea rdx, [rbp - 0x28]
call fcn.1800199d0
mov rbx, rax
mov rdx, qword [rbp - 0x10]
cmp rdx, 8
jb 0x1800c6234
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800c622f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800c6d8c
call fcn.180148104
movdqa xmm0, xmmword [0x1801bc8a0]
movdqu xmmword [rbp - 0x18], xmm0
mov word [rbp - 0x28], r15w
test rbx, rbx
je 0x1800c6d51
lea rdx, [0x1801b89f8]
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 0x1800c6d51
test rdi, rdi
je 0x1800c6d51
test rax, rax
je 0x1800c6d51
lea rcx, [rsp + 0x54]
call fcn.180011790
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
lea edx, [r9 - 1]
xor ecx, ecx
call rdi
mov qword [rbp - 0x58], r15
lea rax, [rbp - 0x58]
mov qword [rsp + 0x20], rax
lea r9, [0x1801b0588]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x1801b0658]
call rsi
test eax, eax
js 0x1800c638a
mov rcx, qword [rbp - 0x58]
test rcx, rcx
je 0x1800c638a
xor esi, esi
mov qword [rbp - 0x60], rsi
mov rax, qword [rcx]
lea rdx, [rbp - 0x60]
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
lea rdx, str.ROOTCIMV2
call qword [rax + 0x18]
test eax, eax
js 0x1800c6380
mov rcx, qword [rbp - 0x60]
test rcx, rcx
je 0x1800c6380
mov dword [rsp + 0x38], esi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
lea edx, [rsi + 0xa]
call rbx
mov rcx, qword [rbp - 0x60]
test eax, eax
jns 0x1800c63a2
mov rax, qword [rcx]
call qword [rax + InitCommonControls]
mov rcx, qword [rbp - 0x58]
mov rax, qword [rcx]
call qword [rax + InitCommonControls]
mov r13d, 0xfffffffe
lea rcx, [rsp + 0x54]
call fcn.1800118b0
mov eax, r13d
jmp 0x1800c6d56
mov qword [rbp - 0x30], rsi
mov rax, qword [rcx]
lea rdx, [rbp - 0x30]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rsi
mov r9d, gethostbyname
lea r8, str.SELECT__FROM_Win32_NetworkAdapter_WHERE__MACAddress_IS_NOT_NULL__AND__NOT__PNPDeviceID_LIKE_ROOT___
lea rdx, [0x1801bb760]
call qword [rax + 0xa0]
test eax, eax
jns 0x1800c63f1
mov rcx, qword [rbp - 0x60]
mov rax, qword [rcx]
call qword [rax + InitCommonControls]
mov rcx, qword [rbp - 0x58]
mov rax, qword [rcx]
call qword [rax + InitCommonControls]
mov r13d, 0xfffffffd
jmp 0x1800c6390
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x18], xmm0
movdqa xmm1, xmmword [0x1801bc8a0]
movdqu xmmword [rbp - 0x18], xmm1
mov word [rbp - 0x28], si
mov r8d, InitCommonControls
lea rdx, str.OleAut32.dll
lea rcx, [rbp - 0x28]
call fcn.180005390
nop
call fcn.180019930
mov rcx, rax
lea rdx, [rbp - 0x28]
call fcn.1800199d0
mov rbx, rax
mov rdx, qword [rbp - 0x10]
cmp rdx, 8
jb 0x1800c6475
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800c6470
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800c6d92
call fcn.180148104
movdqa xmm0, xmmword [0x1801bc8a0]
movdqu xmmword [rbp - 0x18], xmm0
mov word [rbp - 0x28], si
test rbx, rbx
jne 0x1800c64a8
mov rcx, qword [rbp - 0x60]
mov rax, qword [rcx]
call qword [rax + InitCommonControls]
mov rcx, qword [rbp - 0x58]
mov rax, qword [rcx]
call qword [rax + InitCommonControls]
lea r13d, [rbx - 4]
jmp 0x1800c6390
lea rdx, str.VariantInit
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
mov qword [rbp - 0x80], rax
lea rdx, str.VariantClear
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
mov qword [rsp + 0x58], rax
test rdi, rdi
je 0x1800c6d32
test rax, rax
je 0x1800c6d32
mov rcx, qword [rbp - 0x30]
test rcx, rcx
je 0x1800c6d19
mov qword [rbp - 0x50], rsi
mov dword [rbp - 8], esi
mov rax, qword [rcx]
lea rdx, [rbp - 8]
mov qword [rsp + 0x20], rdx
lea r9, [rbp - 0x50]
mov edx, 0xffffffff
lea r8d, [rdx + 2]
call qword [rax + 0x20]
cmp dword [rbp - 8], 0
je 0x1800c6d0a
cmp qword [rbp - 0x50], 0
je 0x1800c6d0a
lea rcx, [rbp - 0x48]
call rdi
mov rcx, qword [rbp - 0x50]
mov rax, qword [rcx]
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
lea r9, [rbp - 0x48]
xor r8d, r8d
lea rdx, str.PNPDeviceID
call qword [rax + 0x20]
xor edx, edx
mov r8d, 0x100
lea rcx, [rbp + 0xf0]
call fcn.18014be70
cmp word [rbp - 0x48], 8
jne 0x1800c65c1
mov r8, qword [rbp - 0x40]
test r8, r8
je 0x1800c65c1
mov edx, 0x7f
lea rcx, [rbp + 0xf0]
lea rax, [rbp + 0xf0]
sub r8, rax
lea rax, [rdx + 0x7fffff7f]
test rax, rax
je 0x1800c65b3
movzx eax, word [r8 + rcx]
test ax, ax
je 0x1800c65b3
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x1800c6590
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], si
lea rcx, [rbp - 0x48]
call rbx
mov qword [rbp + 0x10], rsi
mov qword [rbp + 0x18], rsi
mov qword [rbp + 0x10], rsi
mov qword [rbp + 0x18], 7
mov word [rbp], si
lea rax, [rbp + 0xf0]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x1800c65f0
lea rdx, [rbp + 0xf0]
lea rcx, [rbp]
call fcn.180005390
nop
mov qword [rbp - 0x18], rsi
mov qword [rbp - 0x10], rsi
mov qword [rbp - 0x18], rsi
mov r12d, 7
mov qword [rbp - 0x10], r12
mov word [rbp - 0x28], si
xor r8d, r8d
lea rdx, [0x1801b3278]
lea rcx, [rbp]
call fcn.1800197c0
mov r8, rax
cmp rax, 0xffffffffffffffff
je 0x1800c66cf
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], rsi
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], r12
mov word [rsp + 0x60], si
cmp qword [rbp + 0x10], rax
cmovb r8, qword [rbp + 0x10]
lea rdx, [rbp]
cmp qword [rbp + 0x18], 8
cmovae rdx, qword [rbp]
lea rcx, [rsp + 0x60]
call fcn.180005390
or r14d, 1
mov dword [rsp + 0x50], r14d
lea rcx, [rbp - 0x28]
call fcn.180005300
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [rbp - 0x28], xmm0
movups xmm1, xmmword [rsp + 0x70]
movups xmmword [rbp - 0x18], xmm1
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], r12
mov word [rsp + 0x60], si
and r14d, 0xfffffffe
mov dword [rsp + 0x50], r14d
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], r12
mov word [rsp + 0x60], si
mov r12, qword [rbp - 0x10]
lea rcx, [rbp - 0x28]
mov r15, qword [rbp - 0x28]
cmp r12, 8
cmovae rcx, r15
lea rdx, str.ROOT
call fcn.18000dff0
test al, al
je 0x1800c6704
mov qword [rbp + 0x10], rsi
lea rax, [rbp]
cmp qword [rbp + 0x18], 8
cmovae rax, qword [rbp]
mov word [rax], si
mov r9d, 1
lea r8d, [r9 + 0x7f]
lea rdx, [rbp + 0xf0]
lea rcx, [rbp + 0xf0]
call fcn.1800c5ec0
test eax, eax
je 0x1800c6c5f
inc r13d
mov qword [rbp + 0x30], rsi
mov qword [rbp + 0x38], rsi
mov qword [rbp + 0x30], rsi
mov qword [rbp + 0x38], 7
mov word [rbp + 0x20], si
mov qword [rbp + 0x50], rsi
mov qword [rbp + 0x58], rsi
mov qword [rbp + 0x50], rsi
mov qword [rbp + 0x58], 7
mov word [rbp + 0x40], si
mov qword [rbp + 0x70], rsi
mov qword [rbp + 0x78], rsi
mov qword [rbp + 0x70], rsi
mov qword [rbp + 0x78], 7
mov word [rbp + 0x60], si
mov qword [rbp + 0x90], rsi
mov qword [rbp + 0x98], rsi
mov qword [rbp + 0x90], rsi
mov qword [rbp + 0x98], 7
mov word [rbp + 0x80], si
mov qword [rbp + 0xb8], rsi
mov qword [rbp + 0xc0], rsi
mov qword [rbp + 0xb8], rsi
mov qword [rbp + 0xc0], 7
mov word [rbp + 0xa8], si
mov qword [rbp + 0xd8], rsi
mov qword [rbp + 0xe0], rsi
mov qword [rbp + 0xd8], rsi
mov qword [rbp + 0xe0], 7
mov word [rbp + 0xc8], si
mov byte [rbp + 0xa0], 0
lea rax, [rbp + 0xf0]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rax + r8*2], 0
jne 0x1800c6800
lea rdx, [rbp + 0xf0]
lea rcx, [rbp + 0x40]
call fcn.180005390
lea rdx, [rbp]
cmp qword [rbp + 0x18], 8
cmovae rdx, qword [rbp]
mov r8, qword [rbp + 0x10]
lea rcx, [rbp + 0xc8]
call fcn.180005390
mov r14, qword [rbp + 0x50]
test r14, r14
je 0x1800c6c0f
nop word [rax + rax]
lea rax, [rbp + 0x40]
cmp qword [rbp + 0x58], 8
cmovae rax, qword [rbp + 0x40]
movzx ecx, word [rax + rsi*2]
call fcn.18014edb8
lea rcx, [rbp + 0x40]
cmp qword [rbp + 0x58], 8
cmovae rcx, qword [rbp + 0x40]
mov word [rcx + rsi*2], ax
inc rsi
cmp rsi, r14
jb 0x1800c6850
mov r14, qword [rbp + 0x50]
mov rbx, qword [rsp + 0x58]
mov rdi, qword [rbp - 0x80]
test r14, r14
je 0x1800c6c0f
lea rcx, [rbp - 0x48]
call rdi
mov rcx, qword [rbp - 0x50]
mov rax, qword [rcx]
xor esi, esi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
lea r9, [rbp - 0x48]
xor r8d, r8d
lea rdx, str.MACAddress
call qword [rax + 0x20]
xor edx, edx
mov r8d, 0x100
lea rcx, [rbp + 0xf0]
call fcn.18014be70
cmp word [rbp - 0x48], 8
jne 0x1800c6931
mov r8, qword [rbp - 0x40]
test r8, r8
je 0x1800c6931
mov edx, 0x7f
lea rcx, [rbp + 0xf0]
lea rax, [rbp + 0xf0]
sub r8, rax
nop dword [rax + rax]
lea rax, [rdx + 0x7fffff7f]
test rax, rax
je 0x1800c6923
movzx eax, word [rcx + r8]
test ax, ax
je 0x1800c6923
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x1800c6900
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], si
lea rcx, [rbp - 0x48]
call rbx
lea rcx, [rbp + 0xf0]
mov rax, 0xffffffffffffffff
lea rax, [rax + 1]
cmp word [rcx + rax*2], si
jne 0x1800c6945
lea rdx, [rbp + 0xf2]
lea rdx, [rdx + rax*2]
lea rax, [rbp + 0xf0]
lea rcx, [rbp + 0xf0]
cmp rcx, rdx
je 0x1800c697f
nop dword [rax]
cmp word [rax], 0x3a
je 0x1800c697f
add rax, 2
cmp rax, rdx
jne 0x1800c6970
cmp rax, rdx
je 0x1800c69bf
lea rcx, [rax + 2]
mov r8, rsi
mov r9, rdx
sub r9, rcx
inc r9
shr r9, 1
cmp rcx, rdx
cmova r9, rsi
test r9, r9
je 0x1800c69bf
movzx edx, word [rcx]
cmp dx, 0x3a
je 0x1800c69b3
mov word [rax], dx
add rax, 2
add rcx, 2
inc r8
cmp r8, r9
jne 0x1800c69a3
test rax, rax
je 0x1800c69c7
mov word [rax], si
lea rax, [rbp + 0xf0]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], si
jne 0x1800c69d5
lea rdx, [rbp + 0xf0]
lea rcx, [rbp + 0x60]
call fcn.180005390
mov r14, qword [rbp + 0x70]
test r14, r14
je 0x1800c6a3a
nop dword [rax + rax]
lea rax, [rbp + 0x60]
cmp qword [rbp + 0x78], 8
cmovae rax, qword [rbp + 0x60]
movzx ecx, word [rax + rsi*2]
call fcn.18014edb8
lea rcx, [rbp + 0x60]
cmp qword [rbp + 0x78], 8
cmovae rcx, qword [rbp + 0x60]
mov word [rcx + rsi*2], ax
inc rsi
cmp rsi, r14
jb 0x1800c6a00
mov rbx, qword [rsp + 0x58]
mov rdi, qword [rbp - 0x80]
lea rcx, [rbp - 0x48]
call rdi
mov rcx, qword [rbp - 0x50]
mov rax, qword [rcx]
xor esi, esi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
lea r9, [rbp - 0x48]
xor r8d, r8d
lea rdx, str.GUID
call qword [rax + 0x20]
xor edx, edx
mov r8d, 0x100
lea rcx, [rbp + 0xf0]
call fcn.18014be70
cmp word [rbp - 0x48], 8
jne 0x1800c6ad1
mov r8, qword [rbp - 0x40]
test r8, r8
je 0x1800c6ad1
mov edx, 0x7f
lea rcx, [rbp + 0xf0]
lea rax, [rbp + 0xf0]
sub r8, rax
nop
lea rax, [rdx + 0x7fffff7f]
test rax, rax
je 0x1800c6ac3
movzx eax, word [r8 + rcx]
test ax, ax
je 0x1800c6ac3
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x1800c6aa0
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], si
lea rcx, [rbp - 0x48]
call rbx
lea rax, [rbp + 0xf0]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], si
jne 0x1800c6ae5
lea rdx, [rbp + 0xf0]
lea rcx, [rbp + 0x20]
call fcn.180005390
mov qword [rbp + 0x90], rsi
lea rax, [rbp + 0x80]
cmp qword [rbp + 0x98], 8
cmovae rax, qword [rbp + 0x80]
mov word [rax], si
lea rcx, [rbp - 0x48]
call rdi
mov rcx, qword [rbp - 0x50]
mov rax, qword [rcx]
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
lea r9, [rbp - 0x48]
xor r8d, r8d
lea rdx, str.NetConnectionStatus
call qword [rax + 0x20]
cmp word [rbp - 0x48], 3
jne 0x1800c6b66
mov r8d, dword [rbp - 0x40]
lea rdx, [0x1801b80fc]
lea rcx, [rbp + 0x80]
call fcn.18000e6d0
lea rcx, [rbp - 0x48]
call rbx
mov byte [rbp + 0xa0], 1
mov r14, qword [rbp - 0x78]
mov rbx, qword [r14 + 8]
cmp qword [r14 + 0x10], rbx
je 0x1800c6bfe
mov qword [rbp - 0x68], rbx
lea rdx, [rbp + 0x20]
mov rcx, rbx
call fcn.1800051e0
nop
lea rcx, [rbx + 0x20]
lea rdx, [rbp + 0x40]
call fcn.1800051e0
nop
lea rcx, [rbx + 0x40]
lea rdx, [rbp + 0x60]
call fcn.1800051e0
nop
lea rcx, [rbx + 0x60]
lea rdx, [rbp + 0x80]
call fcn.1800051e0
nop
movzx eax, byte [rbp + 0xa0]
mov byte [rbx + 0x80], al
lea rcx, [rbx + 0x88]
lea rdx, [rbp + 0xa8]
call fcn.1800051e0
nop
lea rcx, [rbx + 0xa8]
lea rdx, [rbp + 0xc8]
call fcn.1800051e0
nop
add qword [r14 + 8], 0xc8
jmp 0x1800c6c11
lea r8, [rbp + 0x20]
mov rdx, rbx
mov rcx, r14
call fcn.1800b9220
jmp 0x1800c6c11
xor esi, esi
lea rcx, [rbp + 0xc8]
call fcn.180005300
nop
lea rcx, [rbp + 0xa8]
call fcn.180005300
nop
lea rcx, [rbp + 0x80]
call fcn.180005300
nop
lea rcx, [rbp + 0x60]
call fcn.180005300
nop
lea rcx, [rbp + 0x40]
call fcn.180005300
nop
lea rcx, [rbp + 0x20]
call fcn.180005300
mov rbx, qword [rsp + 0x58]
mov r14d, dword [rsp + 0x50]
mov rcx, qword [rbp - 0x50]
mov rax, qword [rcx]
call qword [rax + InitCommonControls]
nop
cmp r12, 8
jb 0x1800c6ca5
lea rdx, [r12*2 + 2]
mov rax, r15
cmp rdx, 0x1000
jb 0x1800c6c9d
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800c6d98
mov rcx, r15
call fcn.180148104
mov qword [rbp - 0x18], rsi
mov qword [rbp - 0x10], 7
mov word [rbp - 0x28], si
mov rdx, qword [rbp + 0x18]
cmp rdx, 8
jb 0x1800c6cf5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800c6cf0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800c6d86
call fcn.180148104
mov qword [rbp + 0x10], rsi
mov qword [rbp + 0x18], 7
mov word [rbp], si
jmp 0x1800c64e9
mov rcx, qword [rbp - 0x30]
test rcx, rcx
je 0x1800c6d19
mov rax, qword [rcx]
call qword [rax + InitCommonControls]
mov rcx, qword [rbp - 0x60]
mov rax, qword [rcx]
call qword [rax + InitCommonControls]
mov rcx, qword [rbp - 0x58]
mov rax, qword [rcx]
call qword [rax + InitCommonControls]
jmp 0x1800c6390
mov rcx, qword [rbp - 0x60]
mov rax, qword [rcx]
call qword [rax + InitCommonControls]
mov rcx, qword [rbp - 0x58]
mov rax, qword [rcx]
call qword [rax + InitCommonControls]
mov r13d, 0xfffffffb
jmp 0x1800c6390
mov eax, 0xfffffffe
mov rcx, qword [rbp + 0x1f0]
xor rcx, rsp
call fcn.180147bf0
lea r11, [rsp + 0x300]
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
call fcn.18014ebe4
nop
call fcn.18014ebe4
nop
call fcn.18014ebe4
nop
call fcn.18014ebe4
int3