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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dd1c1
mov eax, dword fs:[0]
push eax
mov eax, 0x13a8
call fcn.00497b00
mov eax, dword [0x508464]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
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.00486d70
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.0048ab83
add esp, 0x10
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0xc]
call fcn.00479f20
push 0xa
lea edx, [ebp - 0x21c]
push edx
call fcn.004cc850
push eax
call fcn.004cc860
mov dword [ebp - 0x220], eax
cmp dword [ebp - 0x220], 0
je 0x47e8e1
jmp 0x47eb44
mov eax, dword [ebp + 8]
add eax, 4
lea esi, [ebp - 0x224]
call fcn.0042c410
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x22c]
call fcn.00479820
lea eax, [ebp - 0x1394]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x1c
call fcn.004796c0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ebp - 0x22c], ecx
mov dword [ebp - 0x228], edx
jmp 0x47e93d
push 0
lea eax, [ebp - 0x139c]
push eax
lea ecx, [ebp - 0x22c]
call fcn.00482910
lea ecx, [ebp - 0x13a4]
push ecx
mov ecx, dword [ebp + 8]
add ecx, 0x1c
call fcn.00479790
push eax
lea ecx, [ebp - 0x22c]
call fcn.004829f0
movzx edx, al
test edx, edx
je 0x47ea8b
lea ecx, [ebp - 0x22c]
call fcn.004828f0
mov eax, dword [eax]
mov dword [ebp - 0x870], eax
mov word [ebp - 0x86c], 0
push 0x18e
push 0
lea ecx, [ebp - 0x86a]
push ecx
call fcn.00486d70
add esp, 0xc
push 0x4b0
push 0
lea edx, [ebp - 0x6dc]
push edx
call fcn.00486d70
add esp, 0xc
cmp dword [ebp - 0x870], 0
jne 0x47e9bc
jmp 0x47e929
push 0xffffffffffffffff
mov eax, dword [ebp - 0x870]
push eax
push 0xc8
lea ecx, [ebp - 0x86c]
push ecx
call fcn.0048ab83
add esp, 0x10
push 0xffffffffffffffff
mov edx, dword [ebp - 0x870]
add edx, 0x190
push edx
push 0xc8
lea eax, [ebp - 0x6dc]
push eax
call fcn.0048ab83
add esp, 0x10
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x870]
add ecx, 0x320
push ecx
push 0xc8
lea edx, [ebp - 0x54c]
push edx
call fcn.0048ab83
add esp, 0x10
push 0xffffffffffffffff
mov eax, dword [ebp - 0x870]
add eax, 0x4b0
push eax
push 0xc8
lea ecx, [ebp - 0x3bc]
push ecx
call fcn.0048ab83
add esp, 0x10
mov word [ebp - 0x13a6], 0x20
lea edx, [ebp - 0x13a6]
push edx
lea eax, [ebp - 0x86c]
push eax
call fcn.0048650a
add esp, 4
lea ecx, [ebp + eax*2 - 0x86a]
push ecx
lea edx, [ebp - 0x86c]
push edx
call fcn.00483d90
add esp, 0xc
lea eax, [ebp - 0x86c]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00482830
jmp 0x47e929
mov ecx, dword [ebp + 8]
call fcn.0047fe50
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x224]
call fcn.0042c41c
mov ecx, dword [ebp + 0xc]
call fcn.0047d130
movzx ecx, al
test ecx, ecx
jne 0x47eb3a
mov ecx, dword [ebp + 0xc]
call fcn.00482810
mov dword [ebp - 0x138c], eax
lea ecx, [ebp - 0x1384]
call fcn.004ce250
mov dword [ebp - 4], 1
lea eax, [ebp - 0x1388]
call fcn.004239c9
mov byte [ebp - 4], 2
lea edx, [ebp - 0x1388]
push edx
lea ecx, [ebp - 0x1384]
call fcn.004cfc10
lea eax, [ebp - 0x1388]
call fcn.004152b6
push eax
push 0xc8
mov eax, dword [ebp - 0x138c]
push eax
call fcn.004874eb
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1388]
call fcn.004011f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1384]
call fcn.004ce240
mov dword [ebp - 0x220], 0
mov eax, dword [ebp - 0x220]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048e9d6
mov esp, ebp
pop ebp
ret 8