Function at 0x14021d450
Capabilities:
Reference sql statements
Reference wmi statements

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x5d8
lea rax, [rsp + 0x488]
mov qword [rsp + 0x408], rax
lea rdx, str.ROOTCIMV2
mov rcx, qword [rsp + 0x408]
call fcn.140014930
mov qword [rsp + 0x150], rax
mov rdx, qword [rsp + 0x150]
lea rcx, [rsp + 0x98]
call fcn.1400aaa00
nop
lea rax, [rsp + 0x4a8]
mov qword [rsp + 0x158], rax
lea rdx, str.SELECT__FROM_Win32_NetworkAdapterConfiguration_WHERE_IPEnabled_TRUE
mov rcx, qword [rsp + 0x158]
call fcn.140014930
mov qword [rsp + 0x160], rax
mov rdx, qword [rsp + 0x160]
lea rcx, [rsp + 0x90]
call fcn.1400aaa00
nop
lea rax, [rsp + 0x4c8]
mov qword [rsp + 0x168], rax
lea rdx, [0x1402d12b0]
mov rcx, qword [rsp + 0x168]
call fcn.140014930
mov qword [rsp + 0x170], rax
mov rdx, qword [rsp + 0x170]
lea rcx, [rsp + 0x88]
call fcn.1400aaa00
nop
lea rax, [rsp + 0x4e8]
mov qword [rsp + 0x178], rax
lea rdx, str.DefaultIPGateway
mov rcx, qword [rsp + 0x178]
call fcn.140014930
mov qword [rsp + 0x180], rax
mov rdx, qword [rsp + 0x180]
lea rcx, [rsp + 0x80]
call fcn.1400aaa00
nop
lea rax, [rsp + 0x508]
mov qword [rsp + 0x188], rax
lea rdx, str.IpAddress
mov rcx, qword [rsp + 0x188]
call fcn.140014930
mov qword [rsp + 0x190], rax
mov rdx, qword [rsp + 0x190]
lea rcx, [rsp + 0xb0]
call fcn.1400aaa00
nop
lea rax, [rsp + 0x528]
mov qword [rsp + 0x198], rax
lea rdx, str.IPSubnet
mov rcx, qword [rsp + 0x198]
call fcn.140014930
mov qword [rsp + 0x1a0], rax
mov rdx, qword [rsp + 0x1a0]
lea rcx, [rsp + 0xa8]
call fcn.1400aaa00
nop
lea rax, [rsp + 0x458]
mov qword [rsp + 0x1a8], rax
lea rdx, [rsp + 0x98]
mov rcx, qword [rsp + 0x1a8]
call fcn.1400133e0
mov qword [rsp + 0x1b0], rax
mov rdx, qword [rsp + 0x1b0]
lea rcx, [rsp + 0x1c8]
call fcn.1400aa010
mov qword [rsp + 0x1b8], rax
mov rax, qword [rsp + 0x1b8]
mov qword [rsp + 0x1c0], rax
mov rcx, qword [rsp + 0x1c0]
call fcn.14000f0c0
mov rdx, rax
lea rcx, [rsp + 0xa0]
call fcn.14021ab30
nop
lea rcx, [rsp + 0x1c8]
call fcn.1400165c0
nop
mov rax, qword [rsp + 0x5f0]
mov rax, qword [rax + 0x88]
mov qword [rsp + 0x1d8], rax
mov rax, qword [rsp + 0x5f0]
mov rax, qword [rax + 0x88]
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x1e0], rax
lea rcx, [rsp + 0xa0]
call fcn.14000f0c0
mov qword [rsp + 0x1d0], rax
mov rax, qword [rsp + 0x5f0]
add rax, 0x90
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x1d0]
mov rcx, qword [rsp + 0x1d8]
call qword [rsp + 0x1e0]
test eax, eax
jge 0x14021d9be
lea rax, [rsp + 0x548]
mov qword [rsp + 0x1e8], rax
lea rdx, [0x1402d1310]
mov rcx, qword [rsp + 0x1e8]
call fcn.140014930
mov qword [rsp + 0x1f0], rax
mov rdx, qword [rsp + 0x1f0]
lea rcx, [rsp + 0x110]
call fcn.1400aaa00
nop
lea rax, [rsp + 0x568]
mov qword [rsp + 0x1f8], rax
lea rdx, str.lspots_connection_error
mov rcx, qword [rsp + 0x1f8]
call fcn.140014930
mov qword [rsp + 0x200], rax
mov rdx, qword [rsp + 0x200]
lea rcx, [rsp + 0x108]
call fcn.1400aaa00
nop
lea rdx, [0x1402d1358]
lea rcx, [rsp + 0x100]
call fcn.140013470
nop
lea rdx, [0x1402d135c]
lea rcx, [rsp + 0xf8]
call fcn.140013470
nop
lea rdx, [0x1402d1360]
lea rcx, [rsp + 0xf0]
call fcn.140013470
nop
lea rax, [rsp + 0x410]
mov qword [rsp + 0x208], rax
lea rdx, [rsp + 0x108]
mov rcx, qword [rsp + 0x208]
call fcn.1400133e0
mov qword [rsp + 0x210], rax
mov rdx, qword [rsp + 0x210]
lea rcx, [rsp + 0x260]
call fcn.1400aa010
mov qword [rsp + 0x218], rax
mov rax, qword [rsp + 0x218]
mov qword [rsp + 0x220], rax
mov rax, qword [rsp + 0x220]
mov qword [rsp + 0x248], rax
lea rax, [rsp + 0x418]
mov qword [rsp + 0x228], rax
lea rdx, [rsp + 0x110]
mov rcx, qword [rsp + 0x228]
call fcn.1400133e0
mov qword [rsp + 0x230], rax
mov rdx, qword [rsp + 0x230]
lea rcx, [rsp + 0x258]
call fcn.1400aa010
mov qword [rsp + 0x238], rax
mov rax, qword [rsp + 0x238]
mov qword [rsp + 0x240], rax
mov rax, qword [rsp + 0x240]
mov qword [rsp + 0x250], rax
mov byte [rsp + 0x28], 1
lea rax, [rsp + 0x100]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0xf8]
lea r8, [rsp + 0xf0]
mov rdx, qword [rsp + 0x248]
mov rcx, qword [rsp + 0x250]
call fcn.1400cadf0
nop
lea rcx, [rsp + 0x258]
call fcn.1400165c0
nop
lea rcx, [rsp + 0x260]
call fcn.1400165c0
nop
lea rcx, [rsp + 0xf0]
call fcn.1400165c0
nop
lea rcx, [rsp + 0xf8]
call fcn.1400165c0
nop
lea rcx, [rsp + 0x100]
call fcn.1400165c0
nop
mov dword [rsp + 0xd0], 0
lea rcx, [rsp + 0x108]
call fcn.1400165c0
nop
lea rcx, [rsp + 0x110]
call fcn.1400165c0
nop
lea rcx, [rsp + 0xa0]
call fcn.1400b8440
nop
lea rcx, [rsp + 0xa8]
call fcn.1400165c0
nop
lea rcx, [rsp + 0xb0]
call fcn.1400165c0
nop
lea rcx, [rsp + 0x80]
call fcn.1400165c0
nop
lea rcx, [rsp + 0x88]
call fcn.1400165c0
nop
lea rcx, [rsp + 0x90]
call fcn.1400165c0
nop
lea rcx, [rsp + 0x98]
call fcn.1400165c0
mov eax, dword [rsp + 0xd0]
jmp 0x14021e3a7
mov dword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0xa
mov rax, qword [rsp + 0x5f0]
mov rcx, qword [rax + 0x90]
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov qword [rsp + 0x60], 0
lea rax, [rsp + 0x420]
mov qword [rsp + 0x268], rax
lea rdx, [rsp + 0x88]
mov rcx, qword [rsp + 0x268]
call fcn.1400133e0
mov qword [rsp + 0x270], rax
mov rdx, qword [rsp + 0x270]
lea rcx, [rsp + 0x288]
call fcn.1400aa010
mov qword [rsp + 0x278], rax
mov rax, qword [rsp + 0x278]
mov qword [rsp + 0x280], rax
mov rcx, qword [rsp + 0x280]
call fcn.14003b490
mov rdx, rax
lea rcx, [rsp + 0xe8]
call fcn.14021ab30
nop
lea rcx, [rsp + 0x288]
call fcn.1400165c0
nop
lea rax, [rsp + 0x428]
mov qword [rsp + 0x290], rax
lea rdx, [rsp + 0x90]
mov rcx, qword [rsp + 0x290]
call fcn.1400133e0
mov qword [rsp + 0x298], rax
mov rdx, qword [rsp + 0x298]
lea rcx, [rsp + 0x2b0]
call fcn.1400aa010
mov qword [rsp + 0x2a0], rax
mov rax, qword [rsp + 0x2a0]
mov qword [rsp + 0x2a8], rax
mov rcx, qword [rsp + 0x2a8]
call fcn.14003b490
mov rdx, rax
lea rcx, [rsp + 0xe0]
call fcn.14021ab30
nop
lea rcx, [rsp + 0x2b0]
call fcn.1400165c0
nop
mov rax, qword [rsp + 0x5f0]
mov rax, qword [rax + 0x90]
mov qword [rsp + 0x2c8], rax
mov rax, qword [rsp + 0x5f0]
mov rax, qword [rax + 0x90]
mov rax, qword [rax]
mov rax, qword [rax + 0xa0]
mov qword [rsp + 0x2d0], rax
lea rcx, [rsp + 0xe0]
call fcn.14000f0c0
mov qword [rsp + 0x2b8], rax
lea rcx, [rsp + 0xe8]
call fcn.14000f0c0
mov qword [rsp + 0x2c0], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
mov r9d, 0x30
mov r8, qword [rsp + 0x2b8]
mov rdx, qword [rsp + 0x2c0]
mov rcx, qword [rsp + 0x2c8]
call qword [rsp + 0x2d0]
test eax, eax
jge 0x14021de7b
lea rax, [rsp + 0x588]
mov qword [rsp + 0x2d8], rax
lea rdx, [0x1402d1368]
mov rcx, qword [rsp + 0x2d8]
call fcn.140014930
mov qword [rsp + 0x2e0], rax
mov rdx, qword [rsp + 0x2e0]
lea rcx, [rsp + 0x138]
call fcn.1400aaa00
nop
lea rax, [rsp + 0x5a8]
mov qword [rsp + 0x2e8], rax
lea rdx, str.lNetwork_query_error
mov rcx, qword [rsp + 0x2e8]
call fcn.140014930
mov qword [rsp + 0x2f0], rax
mov rdx, qword [rsp + 0x2f0]
lea rcx, [rsp + 0x130]
call fcn.1400aaa00
nop
lea rdx, [0x1402d13ac]
lea rcx, [rsp + 0x128]
call fcn.140013470
nop
lea rdx, [0x1402d13b0]
lea rcx, [rsp + 0x120]
call fcn.140013470
nop
lea rdx, [0x1402d13b4]
lea rcx, [rsp + 0x118]
call fcn.140013470
nop
lea rax, [rsp + 0x430]
mov qword [rsp + 0x2f8], rax
lea rdx, [rsp + 0x130]
mov rcx, qword [rsp + 0x2f8]
call fcn.1400133e0
mov qword [rsp + 0x300], rax
mov rdx, qword [rsp + 0x300]
lea rcx, [rsp + 0x350]
call fcn.1400aa010
mov qword [rsp + 0x308], rax
mov rax, qword [rsp + 0x308]
mov qword [rsp + 0x310], rax
mov rax, qword [rsp + 0x310]
mov qword [rsp + 0x338], rax
lea rax, [rsp + 0x438]
mov qword [rsp + 0x318], rax
lea rdx, [rsp + 0x138]
mov rcx, qword [rsp + 0x318]
call fcn.1400133e0
mov qword [rsp + 0x320], rax
mov rdx, qword [rsp + 0x320]
lea rcx, [rsp + 0x348]
call fcn.1400aa010
mov qword [rsp + 0x328], rax
mov rax, qword [rsp + 0x328]
mov qword [rsp + 0x330], rax
mov rax, qword [rsp + 0x330]
mov qword [rsp + 0x340], rax
mov byte [rsp + 0x28], 1
lea rax, [rsp + 0x128]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x120]
lea r8, [rsp + 0x118]
mov rdx, qword [rsp + 0x338]
mov rcx, qword [rsp + 0x340]
call fcn.1400cadf0
nop
lea rcx, [rsp + 0x348]
call fcn.1400165c0
nop
lea rcx, [rsp + 0x350]
call fcn.1400165c0
nop
lea rcx, [rsp + 0x118]
call fcn.1400165c0
nop
lea rcx, [rsp + 0x120]
call fcn.1400165c0
nop
lea rcx, [rsp + 0x128]
call fcn.1400165c0
nop
mov dword [rsp + 0xd4], 0
lea rcx, [rsp + 0x130]
call fcn.1400165c0
nop
lea rcx, [rsp + 0x138]
call fcn.1400165c0
nop
lea rcx, [rsp + 0xe0]
call fcn.1400b8440
nop
lea rcx, [rsp + 0xe8]
call fcn.1400b8440
nop
lea rcx, [rsp + 0xa0]
call fcn.1400b8440
nop
lea rcx, [rsp + 0xa8]
call fcn.1400165c0
nop
lea rcx, [rsp + 0xb0]
call fcn.1400165c0
nop
lea rcx, [rsp + 0x80]
call fcn.1400165c0
nop
lea rcx, [rsp + 0x88]
call fcn.1400165c0
nop
lea rcx, [rsp + 0x90]
call fcn.1400165c0
nop
lea rcx, [rsp + 0x98]
call fcn.1400165c0
mov eax, dword [rsp + 0xd4]
jmp 0x14021e3a7
mov qword [rsp + 0x58], 0
mov dword [rsp + 0x68], 0
mov dword [rsp + 0x78], 1
cmp qword [rsp + 0x60], 0
je 0x14021e307
mov rax, qword [rsp + 0x60]
mov rax, qword [rax]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x358], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
mov r8d, 1
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x60]
call qword [rsp + 0x358]
nop
cmp dword [rsp + 0x68], 0
jne 0x14021deef
mov dword [rsp + 0x78], 0
jmp 0x14021e307
lea rcx, [rsp + 0xb8]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
nop
mov rax, qword [rsp + 0x58]
mov rax, qword [rax]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x388], rax
lea rax, [rsp + 0x440]
mov qword [rsp + 0x360], rax
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x360]
call fcn.1400133e0
mov qword [rsp + 0x368], rax
mov rdx, qword [rsp + 0x368]
lea rcx, [rsp + 0x390]
call fcn.1400aa010
mov qword [rsp + 0x370], rax
mov rax, qword [rsp + 0x370]
mov qword [rsp + 0x378], rax
mov rcx, qword [rsp + 0x378]
call fcn.14003b490
mov qword [rsp + 0x380], rax
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0xb8]
xor r8d, r8d
mov rdx, qword [rsp + 0x380]
mov rcx, qword [rsp + 0x58]
call qword [rsp + 0x388]
test eax, eax
jl 0x14021dfc0
mov dword [rsp + 0x6c], 1
jmp 0x14021dfc8
mov dword [rsp + 0x6c], 0
movzx eax, byte [rsp + 0x6c]
mov byte [rsp + 0x50], al
lea rcx, [rsp + 0x390]
call fcn.1400165c0
movzx eax, byte [rsp + 0x50]
test eax, eax
je 0x14021e094
cmp qword [rsp + 0xc0], 0
je 0x14021e085
mov qword [rsp + 0x140], 0
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x140], rax
mov dword [rsp + 0xd8], 0
lea r8, [rsp + 0x148]
lea rdx, [rsp + 0xd8]
mov rcx, qword [rsp + 0x140]
call qword [sym.imp.OLEAUT32.dll_SafeArrayPutElement]
test eax, eax
jl 0x14021e085
mov rdx, qword [rsp + 0x148]
lea rcx, [rsp + 0x460]
call fcn.14021ae30
mov rax, qword [rsp + 0x5f0]
lea rcx, [rsp + 0x460]
lea rdi, [rax + 0x18]
mov rsi, rcx
mov ecx, socket
rep movsb byte [rdi], byte [rsi]
mov rcx, qword [rsp + 0x148]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop
lea rcx, [rsp + 0xb8]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop
lea rcx, [rsp + 0xb8]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
nop
mov rax, qword [rsp + 0x58]
mov rax, qword [rax]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x3c0], rax
lea rax, [rsp + 0x448]
mov qword [rsp + 0x398], rax
lea rdx, [rsp + 0xb0]
mov rcx, qword [rsp + 0x398]
call fcn.1400133e0
mov qword [rsp + 0x3a0], rax
mov rdx, qword [rsp + 0x3a0]
lea rcx, [rsp + 0x3c8]
call fcn.1400aa010
mov qword [rsp + 0x3a8], rax
mov rax, qword [rsp + 0x3a8]
mov qword [rsp + 0x3b0], rax
mov rcx, qword [rsp + 0x3b0]
call fcn.14003b490
mov qword [rsp + 0x3b8], rax
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0xb8]
xor r8d, r8d
mov rdx, qword [rsp + 0x3b8]
mov rcx, qword [rsp + 0x58]
call qword [rsp + 0x3c0]
test eax, eax
jl 0x14021e165
mov dword [rsp + 0x70], 1
jmp 0x14021e16d
mov dword [rsp + 0x70], 0
movzx eax, byte [rsp + 0x70]
mov byte [rsp + 0x51], al
lea rcx, [rsp + 0x3c8]
call fcn.1400165c0
movzx eax, byte [rsp + 0x51]
test eax, eax
je 0x14021e1ea
cmp qword [rsp + 0xc0], 0
je 0x14021e1db
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0xc0]
mov rcx, qword [rcx + 0x10]
mov rdx, qword [rcx + rax]
lea rcx, [rsp + 0x474]
call fcn.14021ae30
mov rax, qword [rsp + 0x5f0]
lea rcx, [rsp + 0x474]
lea rdi, [rax + 0x2c]
mov rsi, rcx
mov ecx, socket
rep movsb byte [rdi], byte [rsi]
lea rcx, [rsp + 0xb8]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop
lea rcx, [rsp + 0xb8]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
nop
mov rax, qword [rsp + 0x58]
mov rax, qword [rax]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x3f8], rax
lea rax, [rsp + 0x450]
mov qword [rsp + 0x3d0], rax
lea rdx, [rsp + 0xa8]
mov rcx, qword [rsp + 0x3d0]
call fcn.1400133e0
mov qword [rsp + 0x3d8], rax
mov rdx, qword [rsp + 0x3d8]
lea rcx, [rsp + 0x400]
call fcn.1400aa010
mov qword [rsp + 0x3e0], rax
mov rax, qword [rsp + 0x3e0]
mov qword [rsp + 0x3e8], rax
mov rcx, qword [rsp + 0x3e8]
call fcn.14003b490
mov qword [rsp + 0x3f0], rax
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0xb8]
xor r8d, r8d
mov rdx, qword [rsp + 0x3f0]
mov rcx, qword [rsp + 0x58]
call qword [rsp + 0x3f8]
test eax, eax
jl 0x14021e2bb
mov dword [rsp + 0x74], 1
jmp 0x14021e2c3
mov dword [rsp + 0x74], 0
movzx eax, byte [rsp + 0x74]
mov byte [rsp + 0x52], al
lea rcx, [rsp + 0x400]
call fcn.1400165c0
movzx eax, byte [rsp + 0x52]
test eax, eax
je 0x14021e2f1
lea rcx, [rsp + 0xb8]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop
mov rax, qword [rsp + 0x58]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x58]
call qword [rax + reloc.WS2_32.dll_recv]
nop
jmp 0x14021de94
mov rax, qword [rsp + 0x60]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x60]
call qword [rax + reloc.WS2_32.dll_recv]
nop
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0xdc], eax
lea rcx, [rsp + 0xe0]
call fcn.1400b8440
nop
lea rcx, [rsp + 0xe8]
call fcn.1400b8440
nop
lea rcx, [rsp + 0xa0]
call fcn.1400b8440
nop
lea rcx, [rsp + 0xa8]
call fcn.1400165c0
nop
lea rcx, [rsp + 0xb0]
call fcn.1400165c0
nop
lea rcx, [rsp + 0x80]
call fcn.1400165c0
nop
lea rcx, [rsp + 0x88]
call fcn.1400165c0
nop
lea rcx, [rsp + 0x90]
call fcn.1400165c0
nop
lea rcx, [rsp + 0x98]
call fcn.1400165c0
mov eax, dword [rsp + 0xdc]
add rsp, 0x5d8
pop rdi
pop rsi
ret