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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6985ab
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 edi
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_DiskDrive_WHERE_DeviceID_LIKE__PHYSICALDRIVE0_
push 0x6e6fd0
push edx
call dword [eax + 0x50]
test eax, eax
je 0x43ed91
mov byte [esi], bl
mov dword [ebp - 4], 2
mov ecx, dword [ebp - 0x4c]
test ecx, ecx
je 0x43ed71
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 0x43ef06
mov dword [ebp - 0x50], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x43ef06
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x43ef24
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 0x43eed6
cmp dword [ebp - 0x54], 1
jne 0x43eed6
lea eax, [ebp - 0x64]
push eax
call dword [0x6c9560]
mov eax, dword [ebp - 0x4c]
push ebx
test eax, eax
je 0x43ef25
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 0x43eeaa
cmp dword [ebp - 0x5c], eax
je 0x43eeaa
push 8
pop edi
cmp word [ebp - 0x64], di
lea ecx, [ebp - 0x48]
mov eax, str.0123456
cmove eax, dword [ebp - 0x5c]
push eax
call fcn.0040d412
lea eax, [ebp - 0x48]
mov dword [ebp - 0x30], 0x79b698
push eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x2c], str.HDD_SerialNumber
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
call fcn.0040d595
lea eax, [ebp - 0x30]
mov dword [ebp - 0x70], 0x6db0b0
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], 0x6e6cd0
mov ecx, 0x23c004f
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 [0x6c9564]
mov dword [ebp - 4], edi
mov ecx, dword [ebp - 0x4c]
test ecx, ecx
je 0x43eea1
mov dword [ebp - 0x4c], ebx
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 4], 9
jmp 0x43eef6
lea eax, [ebp - 0x64]
mov byte [esi], bl
push eax
call dword [0x6c9564]
mov dword [ebp - 4], 6
mov ecx, dword [ebp - 0x4c]
test ecx, ecx
je 0x43eecd
mov dword [ebp - 0x4c], ebx
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 4], 7
jmp 0x43eef6
mov byte [esi], bl
mov dword [ebp - 4], 4
mov ecx, dword [ebp - 0x4c]
test ecx, ecx
je 0x43eeef
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 0x43ef06
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 edi
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