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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x150
mov rax, qword [0x14031b940]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov r13, rcx
mov rbx, qword [0x14032ad38]
test rbx, rbx
jne 0x14004c017
lea ecx, [rbx + 0x40]
call fcn.140084d70
mov rbx, rax
mov qword [rsp + 0x48], rax
xor r15d, r15d
test rax, rax
je 0x14004c00b
xorps xmm0, xmm0
movups xmmword [rax + 8], xmm0
mov qword [rax + 0x18], r15
mov qword [rax + 0x20], 7
mov word [rax + 8], r15w
lea rax, vtable.srl::WmiX.0
mov qword [rbx], rax
mov byte [rbx + 0x28], r15b
lea rdx, str.ROOTCIMV2
mov rcx, rbx
call fcn.140081e40
nop
jmp 0x14004c00e
mov rbx, r15
mov qword [0x14032ad38], rbx
jmp 0x14004c01a
xor r15d, r15d
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.140081c80
test al, al
je 0x14004c36a
mov dword [rsp + 0x30], r15d
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 0x14004c36a
mov r12d, r15d
nop dword [rax]
cmp r12d, dword [rsp + 0x30]
jae 0x14004c36a
mov ecx, 0x38
call fcn.140084d70
mov qword [rsp + 0x48], rax
test rax, rax
je 0x14004c09c
mov rcx, rax
call fcn.140082f30
mov rsi, rax
jmp 0x14004c09f
mov rsi, r15
mov qword [rsp + 0x48], rsi
lea rcx, [rsp + 0x50]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
nop
mov eax, r12d
lea r14, [rsp + 0xa0]
lea r14, [r14 + rax*8]
lea r9, [rsp + 0x50]
lea r8, str.Name
mov rdx, qword [r14]
call fcn.140081b90
test al, al
je 0x14004c11a
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x70]
call fcn.14004b8a0
mov rbx, rax
mov qword [rsp + 0x38], rax
lea rcx, [rsi + 0x28]
mov rdx, rax
call fcn.140002c9c
nop
mov rdx, qword [rbx]
sub rdx, 0x18
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14004c11a
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 [r14]
call fcn.140081b90
test al, al
je 0x14004c175
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x78]
call fcn.14004b8a0
mov rbx, rax
mov qword [rsp + 0x38], rax
lea rcx, [rsi + 0x10]
mov rdx, rax
call fcn.140002c9c
nop
mov rdx, qword [rbx]
sub rdx, 0x18
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14004c175
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 [r14]
call fcn.140081b90
test al, al
je 0x14004c1d3
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x80]
call fcn.14004b8a0
mov rbx, rax
mov qword [rsp + 0x38], rax
lea rcx, [rsi + 0x10]
mov rdx, rax
call fcn.140002c9c
nop
mov rdx, qword [rbx]
sub rdx, 0x18
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14004c1d3
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 [r14]
call fcn.140081b90
test al, al
je 0x14004c340
call fcn.140010070
mov rcx, rax
test rax, rax
je 0x14004c39d
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 0x14004c3a8
mov rdx, qword [rsp + 0x90]
test rdx, rdx
jne 0x14004c269
mov r8d, r15d
jmp 0x14004c27b
mov r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], 0
jne 0x14004c270
lea rcx, [rsp + 0x40]
call fcn.140002b6c
nop
lea rcx, [rsp + 0x88]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop
lea rcx, [rsp + 0x40]
call fcn.14002a4a0
mov rcx, qword [rax]
sub rcx, 0x18
call fcn.140002d2c
mov rdi, rax
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 0x14004c2d3
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
cmp dword [rbx - 0x10], 0
jl 0x14004c321
lea rdx, [0x1402c9f68]
mov rcx, rbx
call fcn.1402250e8
test rax, rax
je 0x14004c2f7
sub rax, rbx
sar rax, 1
test eax, eax
jns 0x14004c31b
cmp dword [rbx - 0x10], 0
jl 0x14004c321
lea rdx, [0x1402d1370]
mov rcx, rbx
call fcn.1402250e8
test rax, rax
je 0x14004c321
sub rax, rbx
sar rax, 1
test eax, eax
js 0x14004c321
mov byte [rsi + 0x30], 1
jmp 0x14004c325
mov byte [rsi + 0x18], 1
mov eax, 0xffffffff
lock xadd dword [rdi + 0x10], eax
sub eax, 1
jg 0x14004c340
mov rcx, qword [rdi]
mov rax, qword [rcx]
mov rdx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [r14]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
lea rdx, [rsp + 0x48]
mov rcx, r13
call fcn.14004c3c0
nop
lea rcx, [rsp + 0x50]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
inc r12d
jmp 0x14004c070
mov al, 1
jmp 0x14004c370
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.140220eb0
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov ecx, 0x80004005
call fcn.140002e3c
nop
mov ecx, eax
call fcn.140002e3c
int3