Function at 0x14005a8e0
Capabilities:
Reference wmi statements

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x850
mov qword [rax - 0x6e8], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x14035d8c0]
xor rax, rsp
mov qword [rsp + 0x840], rax
mov r14, rdx
cmp byte [rcx + 0x28], 0
jne 0x14005a928
xor al, al
jmp 0x14005aed9
lea r8, [rsp + 0x120]
lea rdx, str.SELECT__FROM_Win32_DiskDrive
call fcn.14005dd10
test al, al
je 0x14005aed7
xor r15d, r15d
mov dword [rsp + 0x34], r15d
mov rcx, qword [rsp + 0x120]
mov rax, qword [rcx]
lea rdx, [rsp + 0x34]
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0x200]
lea edx, [r15 - 1]
mov r8d, MsiSourceListClearAllW
call qword [rax + 0x20]
test eax, eax
js 0x14005aed7
mov esi, r15d
mov dword [rsp + 0x30], r15d
lea r12, vtable.srl::Value.0
lea r13, vtable.srl::Exists.0
lea rbx, vtable.srl::Name.0
cmp esi, dword [rsp + 0x34]
jae 0x14005aed7
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x70], rbx
lea rcx, [rsp + 0x78]
call fcn.140015830
mov qword [rsp + 0x80], r12
mov qword [rsp + 0x80], rbx
lea rcx, [rsp + 0x88]
call fcn.140015830
mov qword [rsp + 0x90], r12
mov qword [rsp + 0x90], rbx
lea rcx, [rsp + 0x98]
call fcn.140015830
mov qword [rsp + 0xa0], r12
mov qword [rsp + 0xa0], rbx
lea rcx, [rsp + 0xa8]
call fcn.140015830
mov qword [rsp + 0xb8], r12
mov qword [rsp + 0xb8], r13
mov byte [rsp + 0xc0], 0
mov qword [rsp + 0xc8], r12
mov qword [rsp + 0xc8], r13
mov byte [rsp + 0xd0], 0
mov qword [rsp + 0xd8], r12
mov qword [rsp + 0xd8], r13
mov byte [rsp + 0xe0], 0
lea rcx, [rsp + 0x48]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
nop
mov eax, esi
lea rdi, [rsp + 0x200]
lea rdi, [rdi + rax*8]
lea r9, [rsp + 0x48]
lea r8, str.Model
mov rdx, qword [rdi]
call fcn.14005d620
test al, al
je 0x14005ac00
mov qword [rsp + 0x38], r15
cmp word [rsp + 0x48], 8
jne 0x14005aaac
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x38]
call fcn.14005f6c0
jmp 0x14005ab08
lea rcx, [rsp + 0x148]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
nop
mov r9d, 8
xor r8d, r8d
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x148]
call qword [sym.imp.OLEAUT32.dll_VariantTimeToDosDateTime]
mov dword [rsp + 0xf0], eax
test eax, eax
js 0x14005af06
mov rdx, qword [rsp + 0x150]
lea rcx, [rsp + 0x38]
call fcn.14005f6c0
nop
lea rcx, [rsp + 0x148]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop
mov rax, qword [rsp + 0x38]
test rax, rax
je 0x14005ab17
mov rdx, qword [rax]
jmp 0x14005ab1a
mov rdx, r15
lea rcx, [rsp + 0x1c0]
call fcn.140009bd0
mov rdx, rax
mov qword [rsp + 0x198], rax
mov qword [rsp + 0x128], rax
cmp qword [rax + 0x18], 8
jb 0x14005ab4c
mov rdx, qword [rax]
mov qword [rsp + 0x128], rdx
test rdx, rdx
jne 0x14005ab56
mov eax, r15d
jmp 0x14005ab6a
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x14005ab60
mov dword [rsp + 0x60], eax
mov r8d, eax
lea rcx, [rsp + 0x78]
call fcn.140002a7c
nop
lea rcx, [rsp + 0x1c0]
call fcn.140009bb8
nop
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14005ac00
mov qword [rsp + 0x130], rcx
mov eax, 0xffffffff
lock xadd dword [rcx + 0x10], eax
sub eax, 1
mov dword [rsp + 0xf8], eax
jne 0x14005abf7
mov rbx, qword [rsp + 0x130]
test rbx, rbx
je 0x14005abf7
mov rcx, qword [rbx]
test rcx, rcx
je 0x14005abd0
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], r15
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14005abea
mov qword [rsp + 0x1a0], rcx
call fcn.14008c210
mov qword [rbx + 8], r15
mov edx, 0x18
mov rcx, rbx
call fcn.1400045a8
mov qword [rsp + 0x38], r15
mov esi, dword [rsp + 0x30]
lea r9, [rsp + 0x48]
lea r8, str.Name
mov rdx, qword [rdi]
call fcn.14005d620
test al, al
je 0x14005ad93
mov qword [rsp + 0x40], r15
cmp word [rsp + 0x48], 8
jne 0x14005ac3a
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x40]
call fcn.14005f6c0
jmp 0x14005ac96
lea rcx, [rsp + 0x160]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
nop
mov r9d, 8
xor r8d, r8d
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x160]
call qword [sym.imp.OLEAUT32.dll_VariantTimeToDosDateTime]
mov dword [rsp + 0x100], eax
test eax, eax
js 0x14005af0e
mov rdx, qword [rsp + 0x168]
lea rcx, [rsp + 0x40]
call fcn.14005f6c0
nop
lea rcx, [rsp + 0x160]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop
mov rax, qword [rsp + 0x40]
test rax, rax
je 0x14005aca5
mov rdx, qword [rax]
jmp 0x14005aca8
mov rdx, r15
lea rcx, [rsp + 0x1e0]
call fcn.140009bd0
mov rdx, rax
mov qword [rsp + 0x1a8], rax
mov qword [rsp + 0x138], rax
cmp qword [rax + 0x18], 8
jb 0x14005acda
mov rdx, qword [rax]
mov qword [rsp + 0x138], rdx
test rdx, rdx
jne 0x14005ace4
mov eax, r15d
jmp 0x14005acfa
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x14005acf0
mov dword [rsp + 0x64], eax
mov r8d, eax
lea rcx, [rsp + 0xa8]
call fcn.140002a7c
nop
lea rcx, [rsp + 0x1e0]
call fcn.140009bb8
nop
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14005ad93
mov qword [rsp + 0x140], rcx
mov eax, 0xffffffff
lock xadd dword [rcx + 0x10], eax
sub eax, 1
mov dword [rsp + 0x108], eax
jne 0x14005ad8a
mov rbx, qword [rsp + 0x140]
test rbx, rbx
je 0x14005ad8a
mov rcx, qword [rbx]
test rcx, rcx
je 0x14005ad63
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], r15
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14005ad7d
mov qword [rsp + 0x1b0], rcx
call fcn.14008c210
mov qword [rbx + 8], r15
mov edx, 0x18
mov rcx, rbx
call fcn.1400045a8
mov qword [rsp + 0x40], r15
mov esi, dword [rsp + 0x30]
lea r9, [rsp + 0x48]
lea r8, str.Index
mov rdx, qword [rdi]
call fcn.14005d620
test al, al
je 0x14005ae1e
cmp word [rsp + 0x48], 0x17
jne 0x14005adbd
mov ebx, dword [rsp + 0x50]
mov dword [rsp + 0x68], ebx
jmp 0x14005ae17
lea rcx, [rsp + 0x178]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
nop
mov r9d, 0x17
xor r8d, r8d
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x178]
call qword [sym.imp.OLEAUT32.dll_VariantTimeToDosDateTime]
mov dword [rsp + 0x110], eax
test eax, eax
js 0x14005af16
mov ebx, dword [rsp + 0x180]
mov dword [rsp + 0x118], ebx
lea rcx, [rsp + 0x178]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov dword [rsp + 0x68], ebx
mov dword [rsp + 0xb4], ebx
mov rcx, qword [rdi]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov rax, qword [r14 + 8]
cmp qword [r14 + 0x10], rax
je 0x14005ae4d
mov qword [rsp + 0x1b8], rax
lea rdx, [rsp + 0x70]
mov rcx, rax
call fcn.14005f300
add qword [r14 + 8], 0x78
jmp 0x14005ae5e
lea r8, [rsp + 0x70]
mov rdx, rax
mov rcx, r14
call fcn.14005f070
nop
lea rcx, [rsp + 0x48]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop
mov qword [rsp + 0xd8], r13
mov qword [rsp + 0xd8], r12
mov qword [rsp + 0xc8], r13
mov qword [rsp + 0xc8], r12
mov qword [rsp + 0xb8], r13
mov qword [rsp + 0xb8], r12
lea rcx, [rsp + 0xa0]
call fcn.140054c80
lea rcx, [rsp + 0x90]
call fcn.140054c80
lea rcx, [rsp + 0x80]
call fcn.140054c80
lea rcx, [rsp + 0x70]
call fcn.140054c80
nop
inc esi
mov dword [rsp + 0x30], esi
jmp 0x14005a994
mov al, 1
mov rcx, qword [rsp + 0x840]
xor rcx, rsp
call fcn.14022b1a0
lea r11, [rsp + 0x850]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov ecx, eax
call fcn.14022c540
nop
mov ecx, eax
call fcn.14022c540
nop
mov ecx, eax
call fcn.14022c540
int3