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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d2b51
mov eax, dword fs:[0]
push eax
mov eax, 0x13a8
call fcn.0049f040
mov eax, dword [0x507334]
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.00489f10
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.0048f23a
add esp, 0x10
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0xc]
call fcn.0047d620
push 0xa
lea edx, [ebp - 0x21c]
push edx
call fcn.004bf660
push eax
call fcn.004bf670
mov dword [ebp - 0x220], eax
cmp dword [ebp - 0x220], 0
je 0x47f0e0
jmp 0x47f344
mov eax, dword [ebp + 8]
add eax, 4
push eax
lea ecx, [ebp - 0x224]
call fcn.00482700
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x22c]
call fcn.00482840
lea ecx, [ebp - 0x1394]
push ecx
mov ecx, dword [ebp + 8]
add ecx, 0x1c
call fcn.00482930
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x22c], edx
mov dword [ebp - 0x228], eax
jmp 0x47f13d
push 0
lea ecx, [ebp - 0x139c]
push ecx
lea ecx, [ebp - 0x22c]
call fcn.00482860
lea edx, [ebp - 0x13a4]
push edx
mov ecx, dword [ebp + 8]
add ecx, 0x1c
call fcn.00482810
push eax
lea ecx, [ebp - 0x22c]
call fcn.00482900
movzx eax, al
test eax, eax
je 0x47f28b
lea ecx, [ebp - 0x22c]
call fcn.00482990
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.00489f10
add esp, 0xc
push 0x4b0
push 0
lea eax, [ebp - 0x6dc]
push eax
call fcn.00489f10
add esp, 0xc
cmp dword [ebp - 0x870], 0
jne 0x47f1bc
jmp 0x47f129
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x870]
push ecx
push 0xc8
lea edx, [ebp - 0x86c]
push edx
call fcn.0048f23a
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.0048f23a
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.0048f23a
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.0048f23a
add esp, 0x10
mov word [ebp - 0x13a6], 0x20
lea eax, [ebp - 0x13a6]
push eax
lea ecx, [ebp - 0x86c]
push ecx
call fcn.0048a91e
add esp, 4
lea edx, [ebp + eax*2 - 0x86a]
push edx
lea eax, [ebp - 0x86c]
push eax
call fcn.00483ad0
add esp, 0xc
lea ecx, [ebp - 0x86c]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.00482770
jmp 0x47f129
mov ecx, dword [ebp + 8]
call fcn.00481ba0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x224]
call fcn.00482730
mov ecx, dword [ebp + 0xc]
call fcn.0047da10
movzx edx, al
test edx, edx
jne 0x47f33a
mov ecx, dword [ebp + 0xc]
call fcn.00482750
mov dword [ebp - 0x138c], eax
lea ecx, [ebp - 0x1384]
call fcn.004c15a0
mov dword [ebp - 4], 1
lea eax, [ebp - 0x1388]
call fcn.00409ac2
mov byte [ebp - 4], 2
lea eax, [ebp - 0x1388]
push eax
lea ecx, [ebp - 0x1384]
call fcn.004c2f60
lea eax, [ebp - 0x1388]
call fcn.00408055
push eax
push 0xc8
mov ecx, dword [ebp - 0x138c]
push ecx
call fcn.0048c6b7
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1388]
call fcn.004084c4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1384]
call fcn.004c1590
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.0048f726
mov esp, ebp
pop ebp
ret 8