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

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
lea rbp, [rsp - 0x57]
mov eax, 0xc0
call fcn.14024eae0
sub rsp, rax
mov rax, qword [0x14035d028]
xor rax, rsp
mov qword [rbp + 0x4f], rax
mov r10, rdx
mov rbx, rcx
xor esi, esi
mov qword [rbp - 0x29], rsi
mov qword [rbp - 0x21], rsi
mov rax, qword [rdx]
lea rcx, [rbp - 0x29]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rsi
lea r9d, [rsi + 0x30]
lea r8, str.SELECT__FROM_Win32_DiskDrive_WHERE_DeviceID_LIKE__PHYSICALDRIVE0_
lea rdx, [0x1402c8ca8]
mov rcx, r10
mov rax, qword [rax + 0xa0]
call qword [case.0x14004a846.0]
test eax, eax
je 0x1400c073d
mov byte [rbx + 0x20], sil
mov rcx, qword [rbp - 0x21]
test rcx, rcx
je 0x1400c0720
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14004a846.0]
mov rcx, qword [rbp - 0x29]
test rcx, rcx
je 0x1400c08cf
mov qword [rbp - 0x29], rsi
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
jmp 0x1400c08c9
mov rcx, qword [rbp - 0x29]
test rcx, rcx
je 0x1400c08f3
mov rax, qword [rcx]
lea rdx, [rbp - 0x19]
mov qword [rsp + 0x20], rdx
lea r9, [rbp - 0x21]
mov r8d, 1
or edx, 0xffffffff
mov rax, qword [rax + 0x20]
call qword [case.0x14004a846.0]
test eax, eax
jne 0x1400c0897
cmp dword [rbp - 0x19], 1
jne 0x1400c0897
lea rcx, [rbp - 9]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
mov rcx, qword [rbp - 0x21]
test rcx, rcx
je 0x1400c08f3
mov rax, qword [rcx]
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
lea r9, [rbp - 9]
xor r8d, r8d
lea rdx, str.SerialNumber
mov rax, qword [rax + 0x20]
call qword [case.0x14004a846.0]
test eax, eax
je 0x1400c07e3
mov byte [rbx + 0x20], sil
lea rcx, [rbp - 9]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rcx, qword [rbp - 0x21]
test rcx, rcx
je 0x1400c0720
mov qword [rbp - 0x21], rsi
jmp 0x1400c0713
cmp word [rbp - 9], 8
jne 0x1400c07f3
mov rdx, qword [rbp - 1]
test rdx, rdx
jne 0x1400c07fa
lea rdx, [0x1402c43a0]
mov qword [rbp + 0x2f], rsi
mov qword [rbp + 0x3f], rsi
mov qword [rbp + 0x47], 7
lea rcx, [rbp + 0x2f]
call fcn.14000ae4c
lea rax, [0x140279480]
mov qword [rbp + 0xf], rax
lea rax, str.Information
mov qword [rbp + 0x17], rax
lea rax, str.Retrieving_HDD_SerialNumber_from_WMI
mov qword [rbp + 0x1f], rax
mov eax, 4
mov word [rbp + 0x27], ax
lea rax, str.GetMachineDetailsWmi
mov qword [rbp - 0x11], rax
lea rax, [rbp + 0xf]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x11]
mov qword [rsp + 0x20], rax
mov edx, 0x55f
mov ecx, 0x23c004f
mov r8d, 0x32
call fcn.1400c10ac
movups xmm0, xmmword [rbp + 0x2f]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rbp + 0x3f]
movups xmmword [rbx + 0x10], xmm1
mov byte [rbx + 0x20], 1
mov qword [rbp + 0x3f], rsi
mov qword [rbp + 0x47], 7
mov word [rbp + 0x2f], si
jmp 0x1400c07c3
mov byte [rbx + 0x20], sil
mov rcx, qword [rbp - 0x21]
test rcx, rcx
je 0x1400c08b5
mov qword [rbp - 0x21], rsi
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14004a846.0]
mov rcx, qword [rbp - 0x29]
test rcx, rcx
je 0x1400c08cf
mov qword [rbp - 0x29], rsi
mov rdx, qword [rcx]
mov rax, qword [rdx + 0x10]
call qword [case.0x14004a846.0]
mov rax, rbx
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.14024c6d0
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
xor edx, edx
mov ecx, 0x152139a
call fcn.1400b3928
int3