Function at 0x1400481e0
Capabilities:
Reference sql statements

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x150
mov rax, qword [0x14030a918]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov r15, rcx
mov rbx, qword [0x140319d18]
test rbx, rbx
jne 0x140048269
lea ecx, [rbx + 0x40]
call fcn.14007475c
mov rbx, rax
mov qword [rsp + 0x58], rax
test rbx, rbx
je 0x140048262
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.ROOTSTANDARDCIMV2
mov rcx, rbx
call fcn.1400734b0
nop
mov qword [0x140319d18], rbx
lea r8, [rsp + 0x60]
lea rdx, str.SELECT__FROM_MSFT_NetAdapter_WHERE_MediaConnectState__1_AND_ConnectorPresent__True
mov rcx, rbx
call fcn.1400732f0
test al, al
je 0x14004852d
mov dword [rsp + 0x38], 0
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
lea rdx, [rsp + 0x38]
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0xa0]
mov edx, 0xffffffff
lea r8d, [rdx + 0x15]
call qword [rax + 0x20]
test eax, eax
js 0x140048529
xor r14d, r14d
nop
cmp r14d, dword [rsp + 0x38]
jae 0x140048529
mov ecx, 0x38
call fcn.14007475c
mov qword [rsp + 0x58], rax
test rax, rax
je 0x1400482ec
mov rcx, rax
call fcn.140073d80
mov rdi, rax
jmp 0x1400482ee
xor edi, edi
mov qword [rsp + 0x58], rdi
lea rcx, [rsp + 0x40]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
nop
lea rsi, [rsp + 0xa0]
lea rsi, [rsi + r14*8]
lea r9, [rsp + 0x40]
lea r8, str.InterfaceDescription
mov rdx, qword [rsi]
call fcn.140073220
test al, al
je 0x140048366
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x68]
call fcn.140047ea0
mov rbx, rax
mov qword [rsp + 0x30], 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 0x140048366
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea r9, [rsp + 0x40]
lea r8, str.PnPDeviceID
mov rdx, qword [rsi]
call fcn.140073220
test al, al
je 0x1400483c1
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x70]
call fcn.140047ea0
mov rbx, rax
mov qword [rsp + 0x30], 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 0x1400483c1
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea r9, [rsp + 0x40]
lea r8, str.PermanentAddress
mov rdx, qword [rsi]
call fcn.140073220
test al, al
je 0x14004841c
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x78]
call fcn.140047ea0
mov rbx, rax
mov qword [rsp + 0x30], rax
lea rcx, [rdi + 0x20]
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 0x14004841c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea r9, [rsp + 0x40]
lea r8, str.DriverVersionString
mov rdx, qword [rsi]
call fcn.140073220
test al, al
je 0x14004847a
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x80]
call fcn.140047ea0
mov rbx, rax
mov qword [rsp + 0x30], 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 0x14004847a
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea r9, [rsp + 0x40]
lea r8, str.NdisPhysicalMedium
mov rdx, qword [rsi]
call fcn.140073220
test al, al
je 0x1400484ff
cmp word [rsp + 0x40], 0x16
jne 0x1400484a0
mov ebx, dword [rsp + 0x48]
jmp 0x1400484e8
lea rcx, [rsp + 0x88]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
nop
mov r9d, 0x16
xor r8d, r8d
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x88]
call qword [sym.imp.OLEAUT32.dll_VariantTimeToDosDateTime]
test eax, eax
js 0x14004855c
mov ebx, dword [rsp + 0x90]
lea rcx, [rsp + 0x88]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp ebx, 1
je 0x1400484fb
lea eax, [rbx - 8]
cmp eax, 1
jbe 0x1400484fb
mov byte [rdi + 0x18], 1
jmp 0x1400484ff
mov byte [rdi + 0x30], 1
mov rcx, qword [rsi]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
lea rdx, [rsp + 0x58]
mov rcx, r15
call fcn.140048990
nop
lea rcx, [rsp + 0x40]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
inc r14d
jmp 0x1400482c0
mov al, 1
jmp 0x140048533
xor al, al
jmp 0x140048533
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1402117c0
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, eax
call fcn.140212a50
int3