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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c9171
mov eax, dword fs:[0]
push eax
mov eax, 0x13a8
call fcn.004939b0
mov eax, dword [0x4fb304]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x220], 0x80004005
mov word [ebp - 0x21c], 0
push 0x1fe
push 0
lea eax, [ebp - 0x21a]
push eax
call fcn.00480cb0
add esp, 0xc
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
push 0xffffffffffffffff
mov edx, dword [str.SELECT__FROM_Win32_DiskDrive_WHERE_MediaType_LIKE_Fixed_hard_disk_]
push edx
push 0x100
lea eax, [ebp - 0x21c]
push eax
call fcn.0048471f
add esp, 0x10
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0xc]
call fcn.00474370
push 0xa
lea edx, [ebp - 0x21c]
push edx
call fcn.004b5090
push eax
call fcn.004b50a0
mov dword [ebp - 0x220], eax
cmp dword [ebp - 0x220], 0
je 0x4707c0
jmp 0x470a24
mov eax, dword [ebp + 8]
add eax, 4
push eax
lea ecx, [ebp - 0x224]
call fcn.004742d0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x22c]
call fcn.0046a4d0
lea ecx, [ebp - 0x1394]
push ecx
mov ecx, dword [ebp + 8]
add ecx, 0x1c
call fcn.00474340
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x22c], edx
mov dword [ebp - 0x228], eax
jmp 0x47081d
push 0
lea ecx, [ebp - 0x139c]
push ecx
lea ecx, [ebp - 0x22c]
call fcn.00474550
lea edx, [ebp - 0x13a4]
push edx
mov ecx, dword [ebp + 8]
add ecx, 0x1c
call fcn.0046a4a0
push eax
lea ecx, [ebp - 0x22c]
call fcn.004744c0
movzx eax, al
test eax, eax
je 0x47096b
lea ecx, [ebp - 0x22c]
call fcn.0046a7e0
mov ecx, dword [eax]
mov dword [ebp - 0x870], ecx
mov word [ebp - 0x86c], 0
push 0x18e
push 0
lea edx, [ebp - 0x86a]
push edx
call fcn.00480cb0
add esp, 0xc
push 0x4b0
push 0
lea eax, [ebp - 0x6dc]
push eax
call fcn.00480cb0
add esp, 0xc
cmp dword [ebp - 0x870], 0
jne 0x47089c
jmp 0x470809
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x870]
push ecx
push 0xc8
lea edx, [ebp - 0x86c]
push edx
call fcn.0048471f
add esp, 0x10
push 0xffffffffffffffff
mov eax, dword [ebp - 0x870]
add eax, 0x190
push eax
push 0xc8
lea ecx, [ebp - 0x6dc]
push ecx
call fcn.0048471f
add esp, 0x10
push 0xffffffffffffffff
mov edx, dword [ebp - 0x870]
add edx, 0x320
push edx
push 0xc8
lea eax, [ebp - 0x54c]
push eax
call fcn.0048471f
add esp, 0x10
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x870]
add ecx, 0x4b0
push ecx
push 0xc8
lea edx, [ebp - 0x3bc]
push edx
call fcn.0048471f
add esp, 0x10
mov word [ebp - 0x13a6], 0x20
lea eax, [ebp - 0x13a6]
push eax
lea ecx, [ebp - 0x86c]
push ecx
call fcn.004816be
add esp, 4
lea edx, [ebp + eax*2 - 0x86a]
push edx
lea eax, [ebp - 0x86c]
push eax
call fcn.004758a0
add esp, 0xc
lea ecx, [ebp - 0x86c]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.00474490
jmp 0x470809
mov ecx, dword [ebp + 8]
call fcn.00474210
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x224]
call fcn.00474300
mov ecx, dword [ebp + 0xc]
call fcn.0046f110
movzx edx, al
test edx, edx
jne 0x470a1a
mov ecx, dword [ebp + 0xc]
call fcn.00474410
mov dword [ebp - 0x138c], eax
lea ecx, [ebp - 0x1384]
call fcn.004b78d0
mov dword [ebp - 4], 1
lea eax, [ebp - 0x1388]
call fcn.00409392
mov byte [ebp - 4], 2
lea eax, [ebp - 0x1388]
push eax
lea ecx, [ebp - 0x1384]
call fcn.004b9290
lea eax, [ebp - 0x1388]
call fcn.004689f0
push eax
push 0xc8
mov ecx, dword [ebp - 0x138c]
push ecx
call fcn.00482e24
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1388]
call fcn.00408077
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1384]
call fcn.004b78c0
mov dword [ebp - 0x220], 0
mov eax, dword [ebp - 0x220]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00485d3d
mov esp, ebp
pop ebp
ret 8