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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d2601
mov eax, dword fs:[0]
push eax
mov eax, 0x13b8
call fcn.004a03c0
mov eax, dword [0x50331c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
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.00489db0
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.004898fa
add esp, 0x10
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0xc]
call fcn.0047eb90
push 0xa
lea edx, [ebp - 0x21c]
push edx
call fcn.004c4d00
push eax
call fcn.004c4d10
mov dword [ebp - 0x220], eax
cmp dword [ebp - 0x220], 0
je 0x481bf2
jmp 0x481e50
mov eax, dword [ebp + 8]
add eax, 4
push eax
lea ecx, [ebp - 0x224]
call fcn.00485180
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x22c]
call fcn.00485280
lea ecx, [ebp - 0x1394]
push ecx
mov ecx, dword [ebp + 8]
add ecx, 0x1c
call fcn.004851d0
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x22c], edx
mov dword [ebp - 0x228], eax
jmp 0x481c4f
push 0
lea ecx, [ebp - 0x139c]
push ecx
lea ecx, [ebp - 0x22c]
call fcn.00485370
lea edx, [ebp - 0x13a4]
push edx
mov ecx, dword [ebp + 8]
add ecx, 0x1c
call fcn.0047e560
push eax
lea ecx, [ebp - 0x22c]
call fcn.0047e4d0
movzx eax, al
test eax, eax
je 0x481d97
lea ecx, [ebp - 0x22c]
call fcn.0047e920
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.00489db0
add esp, 0xc
push 0x4b0
push 0
lea eax, [ebp - 0x6dc]
push eax
call fcn.00489db0
add esp, 0xc
cmp dword [ebp - 0x870], 0
jne 0x481cce
jmp 0x481c3b
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x870]
push ecx
push 0xc8
lea edx, [ebp - 0x86c]
push edx
call fcn.004898fa
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.004898fa
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.004898fa
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.004898fa
add esp, 0x10
mov word [ebp - 0x13a6], 0x20
lea eax, [ebp - 0x86c]
push eax
call fcn.00489b50
add esp, 4
lea esi, [ebp + eax*2 - 0x86a]
lea edi, [ebp - 0x13a6]
lea eax, [ebp - 0x86c]
call fcn.00457730
lea ecx, [ebp - 0x86c]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.00485220
jmp 0x481c3b
mov ecx, dword [ebp + 8]
call fcn.004850c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x224]
call fcn.004851b0
mov ecx, dword [ebp + 0xc]
call fcn.00480550
movzx edx, al
test edx, edx
jne 0x481e46
mov ecx, dword [ebp + 0xc]
call fcn.00485200
mov dword [ebp - 0x138c], eax
lea ecx, [ebp - 0x1384]
call fcn.004c9140
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x1388]
call fcn.00422c0c
mov byte [ebp - 4], 2
lea eax, [ebp - 0x1388]
push eax
lea ecx, [ebp - 0x1384]
call fcn.004cab00
lea eax, [ebp - 0x1388]
call fcn.00421fdc
push eax
push 0xc8
mov ecx, dword [ebp - 0x138c]
push ecx
call fcn.00489f88
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1388]
call fcn.00422c02
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1384]
call fcn.004c9130
mov dword [ebp - 0x220], 0
mov eax, dword [ebp - 0x220]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00491d9b
mov esp, ebp
pop ebp
ret 8