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

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x9a8]
sub rsp, 0xa80
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1402a87a8]
xor rax, rsp
mov qword [rbp + 0x970], rax
mov r15, rcx
xor edx, edx
mov r8d, 0x7d0
lea rcx, [rbp + 0x1a0]
call fcn.1401b8eb0
xor edx, edx
mov r8d, 0x1fe
lea rcx, [rbp - 0x60]
call fcn.1401b8eb0
mov ecx, 0x18
call fcn.14003155c
mov rsi, rax
mov qword [rsp + 0x30], rax
xor edi, edi
test rax, rax
je 0x14001b3a7
mov qword [rax + 8], rdi
mov dword [rax + 0x10], 1
lea rcx, str.caption
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rsi], rax
test rax, rax
je 0x14001b823
jmp 0x14001b3aa
mov rsi, rdi
mov qword [rsp + 0x48], rsi
test rsi, rsi
je 0x14001b870
mov ecx, 0x18
call fcn.14003155c
mov rbx, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14001b3f5
mov qword [rax + 8], rdi
mov dword [rax + 0x10], 1
lea rcx, str.SELECT__FROM_Win32_DiskDrive
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rbx], rax
test rax, rax
je 0x14001b82e
jmp 0x14001b3f8
mov rbx, rdi
mov qword [rsp + 0x50], rbx
test rbx, rbx
je 0x14001b87b
mov dword [rsp + 0x20], 0x27
lea r9, [rbp + 0x1a0]
lea r8, [rsp + 0x38]
mov rdx, qword [rsi]
mov rcx, qword [rbx]
call fcn.140019b90
movzx r13d, ax
mov eax, 0xffffffff
lock xadd dword [rbx + 0x10], eax
cmp eax, 1
jne 0x14001b469
mov rcx, qword [rbx]
test rcx, rcx
je 0x14001b449
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], rdi
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14001b45b
call fcn.1400315a4
mov qword [rbx + 8], rdi
mov edx, 0x18
mov rcx, rbx
call fcn.1400315ec
nop
mov eax, 0xffffffff
lock xadd dword [rsi + 0x10], eax
cmp eax, 1
jne 0x14001b4a8
mov rcx, qword [rsi]
test rcx, rcx
je 0x14001b489
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rsi], rdi
mov rcx, qword [rsi + 8]
test rcx, rcx
je 0x14001b49b
call fcn.1400315a4
mov qword [rsi + 8], rdi
mov edx, 0x18
mov rcx, rsi
call fcn.1400315ec
test r13d, r13d
jne 0x14001b4b4
xor eax, eax
jmp 0x14001b7e8
mov r14d, 1
cmp r13d, r14d
jb 0x14001b7e3
mov r12d, r14d
mov r9d, r14d
lea r8, str.SELECT__FROM_Win32_DiskDrive_WHERE_Index__d_
mov edx, 0xff
lea rcx, [rbp - 0x60]
call fcn.140025090
mov ecx, 0x18
call fcn.14003155c
mov rsi, rax
mov qword [rsp + 0x58], rax
test rax, rax
je 0x14001b51b
mov qword [rax + 8], rdi
mov dword [rax + 0x10], 1
lea rcx, str.Model
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rsi], rax
test rax, rax
je 0x14001b839
jmp 0x14001b51e
mov rsi, rdi
mov qword [rsp + 0x60], rsi
test rsi, rsi
je 0x14001b865
mov ecx, 0x18
call fcn.14003155c
mov rbx, rax
mov qword [rsp + 0x68], rax
test rax, rax
je 0x14001b566
mov qword [rax + 8], rdi
mov dword [rax + 0x10], 1
lea rcx, [rbp - 0x60]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rbx], rax
test rax, rax
je 0x14001b844
jmp 0x14001b569
mov rbx, rdi
mov qword [rsp + 0x70], rbx
test rbx, rbx
je 0x14001b818
mov dword [rsp + 0x20], 0x28
lea r9, [rbp + 0x1a0]
lea r8, [rsp + 0x38]
mov rdx, qword [rsi]
mov rcx, qword [rbx]
call fcn.140019b90
nop
mov eax, 0xffffffff
lock xadd dword [rbx + 0x10], eax
cmp eax, 1
jne 0x14001b5d7
mov rcx, qword [rbx]
test rcx, rcx
je 0x14001b5b7
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], rdi
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14001b5c9
call fcn.1400315a4
mov qword [rbx + 8], rdi
mov edx, 0x18
mov rcx, rbx
call fcn.1400315ec
nop
mov eax, 0xffffffff
lock xadd dword [rsi + 0x10], eax
cmp eax, 1
jne 0x14001b616
mov rcx, qword [rsi]
test rcx, rcx
je 0x14001b5f7
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rsi], rdi
mov rcx, qword [rsi + 8]
test rcx, rcx
je 0x14001b609
call fcn.1400315a4
mov qword [rsi + 8], rdi
mov edx, 0x18
mov rcx, rsi
call fcn.1400315ec
lea r8, str.Drive:
mov edx, 0x800
mov rcx, r15
call fcn.1401c5924
lea r8, [rbp + 0x1a0]
mov edx, 0x800
mov rcx, r15
call fcn.1401c5924
lea r8, str._serial:
mov edx, 0x800
mov rcx, r15
call fcn.1401c5924
xor edx, edx
mov r8d, 0x1f4
lea rcx, [rbp + 0x1a0]
call fcn.1401b8eb0
mov ecx, 0x18
call fcn.14003155c
mov rsi, rax
mov qword [rsp + 0x78], rax
test rax, rax
je 0x14001b6a3
mov qword [rax + 8], rdi
mov dword [rax + 0x10], 1
lea rcx, str.SerialNumber
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rsi], rax
test rax, rax
je 0x14001b84f
jmp 0x14001b6a6
mov rsi, rdi
mov qword [rbp - 0x80], rsi
test rsi, rsi
je 0x14001b891
mov ecx, 0x18
call fcn.14003155c
mov rbx, rax
mov qword [rbp - 0x78], rax
test rax, rax
je 0x14001b6ec
mov qword [rax + 8], rdi
mov dword [rax + 0x10], 1
lea rcx, [rbp - 0x60]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rbx], rax
test rax, rax
je 0x14001b85a
jmp 0x14001b6ef
mov rbx, rdi
mov qword [rbp - 0x70], rbx
test rbx, rbx
je 0x14001b886
mov dword [rsp + 0x20], 0x27
lea r9, [rbp + 0x1a0]
lea r8, [rsp + 0x38]
mov rdx, qword [rsi]
mov rcx, qword [rbx]
call fcn.140019b90
nop
mov eax, 0xffffffff
lock xadd dword [rbx + 0x10], eax
cmp eax, 1
jne 0x14001b75c
mov rcx, qword [rbx]
test rcx, rcx
je 0x14001b73c
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], rdi
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14001b74e
call fcn.1400315a4
mov qword [rbx + 8], rdi
mov edx, 0x18
mov rcx, rbx
call fcn.1400315ec
nop
mov eax, 0xffffffff
lock xadd dword [rsi + 0x10], eax
cmp eax, 1
jne 0x14001b79b
mov rcx, qword [rsi]
test rcx, rcx
je 0x14001b77c
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rsi], rdi
mov rcx, qword [rsi + 8]
test rcx, rcx
je 0x14001b78e
call fcn.1400315a4
mov qword [rsi + 8], rdi
mov edx, 0x18
mov rcx, rsi
call fcn.1400315ec
lea r8, [rbp + 0x1a0]
mov edx, 0x800
mov rcx, r15
call fcn.1401c5924
lea r8, [0x140266914]
mov edx, 0x800
mov rcx, r15
call fcn.1401c5924
xor edx, edx
mov r8d, 0x1f4
lea rcx, [rbp + 0x1a0]
call fcn.1401b8eb0
inc r14d
cmp r12d, r13d
jl 0x14001b4c3
mov eax, 1
mov rcx, qword [rbp + 0x970]
xor rcx, rsp
call fcn.1401b2f00
lea r11, [rsp + 0xa80]
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
mov ecx, 0x8007000e
call fcn.1401b7600
nop
mov ecx, 0x8007000e
call fcn.1401b7600
nop
mov ecx, 0x8007000e
call fcn.1401b7600
nop
mov ecx, 0x8007000e
call fcn.1401b7600
nop
mov ecx, 0x8007000e
call fcn.1401b7600
nop
mov ecx, 0x8007000e
call fcn.1401b7600
nop
mov ecx, 0x8007000e
call fcn.1401b7600
nop
mov ecx, 0x8007000e
call fcn.1401b7600
int3
mov ecx, 0x8007000e
call fcn.1401b7600
nop
mov ecx, 0x8007000e
call fcn.1401b7600
nop
mov ecx, 0x8007000e
call fcn.1401b7600
nop
mov ecx, 0x8007000e
call fcn.1401b7600
int3