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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x150
mov rax, qword [0x14030b918]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov r15, rcx
mov rbx, qword [0x14031ad20]
test rbx, rbx
jne 0x1400487a9
lea ecx, [rbx + 0x40]
call fcn.14007490c
mov rbx, rax
mov qword [rsp + 0x48], rax
test rbx, rbx
je 0x1400487a2
mov qword [rax + 8], 0
mov qword [rax + 0x18], 0
mov qword [rax + 0x20], 7
lea rax, vtable.srl::WmiX.0
mov qword [rbx], rax
mov byte [rbx + 0x28], 0
lea rdx, str.ROOTCIMV2
mov rcx, rbx
call fcn.140073660
nop
mov qword [0x14031ad20], rbx
lea r8, [rsp + 0x68]
lea rdx, str.SELECT__FROM_Win32_NetworkAdapter_WHERE_NetConnectionStatus_IS_NOT_NULL_AND_PhysicalAdapter__True_AND_NetEnabled_IS_NOT_NULL_AND_NetEnabled__True
mov rcx, rbx
call fcn.1400734a0
test al, al
je 0x140048afa
mov dword [rsp + 0x30], 0
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0xa0]
mov edx, 0xffffffff
lea r8d, [rdx + 0x15]
call qword [rax + 0x20]
test eax, eax
js 0x140048afa
xor r14d, r14d
nop
cmp r14d, dword [rsp + 0x30]
jae 0x140048afa
mov ecx, 0x38
call fcn.14007490c
mov qword [rsp + 0x48], rax
test rax, rax
je 0x14004882c
mov rcx, rax
call fcn.140073f30
mov rdi, rax
jmp 0x14004882e
xor edi, edi
mov qword [rsp + 0x48], rdi
lea rcx, [rsp + 0x50]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
nop
lea rsi, [rsp + 0xa0]
lea rsi, [rsi + r14*8]
lea r9, [rsp + 0x50]
lea r8, str.Name
mov rdx, qword [rsi]
call fcn.1400733d0
test al, al
je 0x1400488a6
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x70]
call fcn.140048050
mov rbx, rax
mov qword [rsp + 0x38], rax
lea rcx, [rdi + 0x28]
mov rdx, rax
call fcn.140002bd8
nop
mov rdx, qword [rbx]
sub rdx, 0x18
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400488a6
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea r9, [rsp + 0x50]
lea r8, str.PNPDeviceID
mov rdx, qword [rsi]
call fcn.1400733d0
test al, al
je 0x140048901
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x78]
call fcn.140048050
mov rbx, rax
mov qword [rsp + 0x38], rax
lea rcx, [rdi + 0x10]
mov rdx, rax
call fcn.140002bd8
nop
mov rdx, qword [rbx]
sub rdx, 0x18
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140048901
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea r9, [rsp + 0x50]
lea r8, str.MACAddress
mov rdx, qword [rsi]
call fcn.1400733d0
test al, al
je 0x14004895f
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x80]
call fcn.140048050
mov rbx, rax
mov qword [rsp + 0x38], rax
lea rcx, [rdi + 0x10]
mov rdx, rax
call fcn.140002bd8
nop
mov rdx, qword [rbx]
sub rdx, 0x18
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14004895f
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea r9, [rsp + 0x50]
lea r8, str.NetConnectionID
mov rdx, qword [rsi]
call fcn.1400733d0
test al, al
je 0x140048ad0
call fcn.140010210
mov rcx, rax
test rax, rax
je 0x140048b29
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x40], rax
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x88], xmm0
mov qword [rsp + 0x98], rax
lea rcx, [rsp + 0x88]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
nop
mov r9d, 8
xor r8d, r8d
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x88]
call qword [sym.imp.OLEAUT32.dll_VariantTimeToDosDateTime]
test eax, eax
js 0x140048b34
mov rdx, qword [rsp + 0x90]
test rdx, rdx
jne 0x1400489f4
xor eax, eax
jmp 0x140048a0a
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x140048a00
mov r8d, eax
lea rcx, [rsp + 0x40]
call fcn.140002aa8
nop
lea rcx, [rsp + 0x88]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop
lea rcx, [rsp + 0x40]
call fcn.1400289f0
mov rcx, qword [rax]
sub rcx, 0x18
call fcn.140002c68
lea rbx, [rax + 0x18]
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140048a62
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
cmp dword [rbx - 0x10], 0
jl 0x140048ab0
lea rdx, [0x1402bb0d8]
mov rcx, rbx
call fcn.140215c28
test rax, rax
je 0x140048a86
sub rax, rbx
sar rax, 1
test eax, eax
jns 0x140048aaa
cmp dword [rbx - 0x10], 0
jl 0x140048ab0
lea rdx, [0x1402c2260]
mov rcx, rbx
call fcn.140215c28
test rax, rax
je 0x140048ab0
sub rax, rbx
sar rax, 1
test eax, eax
js 0x140048ab0
mov byte [rdi + 0x30], 1
jmp 0x140048ab4
mov byte [rdi + 0x18], 1
lea rdx, [rbx - 0x18]
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140048ad0
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rsi]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
lea rdx, [rsp + 0x48]
mov rcx, r15
call fcn.140048b40
nop
lea rcx, [rsp + 0x50]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
inc r14d
jmp 0x140048800
mov al, 1
jmp 0x140048b00
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.140211970
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
mov ecx, 0x80004005
call fcn.140002d2c
nop
mov ecx, eax
call fcn.140002d2c
int3