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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x698586
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x816078]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
mov eax, dword [edx]
push ecx
push ebx
push 0x30
push str.SELECT__FROM_Win32_PhysicalMemory_WHERE_TagPhysical_Memory_0
push 0x6e6fd0
push edx
call dword [eax + 0x50]
test eax, eax
je 0x43eb70
mov byte [esi], bl
mov dword [ebp - 4], 2
mov ecx, dword [ebp - 0x4c]
test ecx, ecx
je 0x43eb50
mov dword [ebp - 0x4c], ebx
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 4], 3
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x43ecdb
mov dword [ebp - 0x50], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x43ecdb
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x43ecf8
mov ecx, dword [eax]
lea edx, [ebp - 0x54]
push edx
lea edx, [ebp - 0x4c]
push edx
push 1
push 0xffffffffffffffff
push eax
call dword [ecx + 0x10]
test eax, eax
jne 0x43ecab
cmp dword [ebp - 0x54], 1
jne 0x43ecab
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [ebp - 0x4c]
push ebx
test eax, eax
je 0x43ecf9
mov ecx, dword [eax]
lea edx, [ebp - 0x64]
push ebx
push edx
push ebx
push str.SerialNumber
push eax
call dword [ecx + 0x10]
test eax, eax
jne 0x43ec7f
cmp dword [ebp - 0x5c], eax
je 0x43ec7f
push dword [ebp - 0x5c]
lea ecx, [ebp - 0x48]
call fcn.0040d412
lea eax, [ebp - 0x48]
mov dword [ebp - 0x30], vtable.Mso::Logging::StructuredObject_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t____0_.0
push eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x2c], str.RAM_SerialNumber
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
call fcn.0040d595
lea eax, [ebp - 0x30]
mov dword [ebp - 0x70], vtable.Mso::Logging::StructuredObject_wchar_t_const___1_.0
push eax
lea eax, [ebp - 0x70]
mov dword [ebp - 0x6c], str.Information
push eax
push str.GetMachineDetailsWmi
push ecx
mov edx, 0x55f
mov dword [ebp - 0x68], str.Retrieving_RAM_SerialNumber_from_WMI
mov ecx, 0x23c004e
call fcn.0041de07
lea ecx, [ebp - 0x28]
call fcn.0040d475
lea eax, [ebp - 0x48]
mov byte [esi], bl
lea ecx, [esi + 4]
push eax
call fcn.0040d3df
lea ecx, [ebp - 0x48]
mov byte [esi], 1
call fcn.0040d475
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov dword [ebp - 4], 8
mov ecx, dword [ebp - 0x4c]
test ecx, ecx
je 0x43ec76
mov dword [ebp - 0x4c], ebx
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 4], 9
jmp 0x43eccb
lea eax, [ebp - 0x64]
mov byte [esi], bl
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov dword [ebp - 4], 6
mov ecx, dword [ebp - 0x4c]
test ecx, ecx
je 0x43eca2
mov dword [ebp - 0x4c], ebx
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 4], 7
jmp 0x43eccb
mov byte [esi], bl
mov dword [ebp - 4], 4
mov ecx, dword [ebp - 0x4c]
test ecx, ecx
je 0x43ecc4
mov dword [ebp - 0x4c], ebx
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 4], 5
mov ecx, dword [ebp - 0x50]
test ecx, ecx
je 0x43ecdb
mov dword [ebp - 0x50], ebx
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0064c681
mov esp, ebp
pop ebp
ret
push ebx
push 0x152139a
call fcn.00422704
int3