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

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xc0
mov qword [rbp + 0x27], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rdi
mov rax, qword [0x1403bf028]
xor rax, rsp
mov qword [rbp + 0x4f], rax
mov r10, rdx
mov rbx, rcx
xor edi, edi
mov qword [rbp - 0x29], rdi
mov qword [rbp - 0x21], rdi
mov rax, qword [rdx]
lea rcx, [rbp - 0x29]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rdi
lea r9d, [rdi + 0x30]
lea r8, str.SELECT__FROM_Win32_PhysicalMemory_WHERE_TagPhysical_Memory_0
lea rdx, [0x1402d65f8]
mov rcx, r10
mov rax, qword [rax + 0xa0]
call qword [case.0x140118f85.0]
test eax, eax
je 0x14009279e
mov byte [rbx], dil
mov rcx, qword [rbp - 0x21]
test rcx, rcx
je 0x14009277e
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x140118f85.0]
nop
mov rcx, qword [rbp - 0x29]
test rcx, rcx
je 0x140092799
mov qword [rbp - 0x29], rdi
mov rdx, qword [rcx]
mov rax, qword [rdx + 0x10]
call qword [case.0x140118f85.0]
nop
jmp 0x14009298a
mov rcx, qword [rbp - 0x29]
test rcx, rcx
je 0x1400929c3
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.0x140118f85.0]
test eax, eax
jne 0x140092951
cmp dword [rbp - 0x19], 1
jne 0x140092951
lea rcx, [rbp - 0x11]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
mov rcx, qword [rbp - 0x21]
test rcx, rcx
je 0x1400929b2
mov rax, qword [rcx]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
lea r9, [rbp - 0x11]
xor r8d, r8d
lea rdx, str.SerialNumber
mov rax, qword [rax + 0x20]
call qword [case.0x140118f85.0]
test eax, eax
jne 0x14009290c
cmp word [rbp - 0x11], 8
jne 0x14009290c
mov rdx, qword [rbp - 9]
test rdx, rdx
je 0x14009290c
movdqa xmm0, xmmword [0x140333fe0]
movdqu xmmword [rbp + 0x3f], xmm0
mov word [rbp + 0x2f], di
lea rcx, [rbp + 0x2f]
call fcn.14000b3a4
lea rax, vtable.Mso::Logging::StructuredObject_wchar_t_const____ptr64__1_.0
mov qword [rbp + 7], rax
lea rax, str.Information
mov qword [rbp + 0xf], rax
lea rax, str.Retrieving_RAM_SerialNumber_from_WMI
mov qword [rbp + 0x17], rax
mov word [rbp + 0x1f], di
lea rax, [rbp + 7]
mov qword [rsp + 0x28], rax
lea rax, str.GetMachineDetailsWmi
mov qword [rsp + 0x20], rax
mov edx, 0x55f
mov ecx, 0x23c004e
mov r8d, 0x32
call fcn.140021310
movups xmm0, xmmword [rbp + 0x2f]
movups xmmword [rbx + 8], xmm0
movups xmm1, xmmword [rbp + 0x3f]
movups xmmword [rbx + 0x18], xmm1
mov byte [rbx], 1
movdqa xmm0, xmmword [0x140333fe0]
movdqu xmmword [rbp + 0x3f], xmm0
mov word [rbp + 0x2f], di
lea rcx, [rbp - 0x11]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop
mov rcx, qword [rbp - 0x21]
test rcx, rcx
je 0x1400928ef
mov qword [rbp - 0x21], rdi
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x140118f85.0]
nop
mov rcx, qword [rbp - 0x29]
test rcx, rcx
je 0x14009290a
mov qword [rbp - 0x29], rdi
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x140118f85.0]
nop
jmp 0x14009298a
mov byte [rbx], dil
lea rcx, [rbp - 0x11]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rcx, qword [rbp - 0x21]
test rcx, rcx
je 0x140092934
mov qword [rbp - 0x21], rdi
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x140118f85.0]
nop
mov rcx, qword [rbp - 0x29]
test rcx, rcx
je 0x14009294f
mov qword [rbp - 0x29], rdi
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x140118f85.0]
nop
jmp 0x14009298a
mov byte [rbx], dil
mov rcx, qword [rbp - 0x21]
test rcx, rcx
je 0x14009296f
mov qword [rbp - 0x21], rdi
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x140118f85.0]
nop
mov rcx, qword [rbp - 0x29]
test rcx, rcx
je 0x14009298a
mov qword [rbp - 0x29], rdi
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x140118f85.0]
nop
mov rax, rbx
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.1402361b0
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
nop dword [rax]
pop rbp
ret
xor edx, edx
mov ecx, 0x152139a
call fcn.140025d34
nop
jmp 0x1400929c2
nop
xor edx, edx
mov ecx, 0x152139a
call fcn.140025d34
nop
jmp 0x1400929d2
nop
nop