Function at 0x4948c0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x515240
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x58fa2c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x2c], ebx
mov esi, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], 1
mov eax, dword [0x58f3dc]
mov dword [ebp - 0x40], eax
mov dword [ebp - 4], 0
mov eax, dword [0x58f3dc]
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 1
mov byte [ebp - 4], 2
push str.AgentSettings.FTPPorts
push esi
call fcn.004c56c4
add esp, 8
test eax, eax
je 0x494b0e
push str.AgentSettings.GnutellaPorts
push esi
call fcn.004c56c4
add esp, 8
test eax, eax
je 0x494b0e
push str.AgentSettings.HTTPPorts
push esi
call fcn.004c56c4
add esp, 8
test eax, eax
je 0x494b0e
push str.AgentSettings.HTTPSPorts
push esi
call fcn.004c56c4
add esp, 8
test eax, eax
je 0x494b0e
push str.AgentSettings.IMAPPorts
push esi
call fcn.004c56c4
add esp, 8
test eax, eax
je 0x494b0e
push str.AgentSettings.IRCPorts
push esi
call fcn.004c56c4
add esp, 8
test eax, eax
je 0x494b0e
push str.AgentSettings.MSNPorts
push esi
call fcn.004c56c4
add esp, 8
test eax, eax
je 0x494b0e
push str.AgentSettings.OSCARPorts
push esi
call fcn.004c56c4
add esp, 8
test eax, eax
je 0x494b0e
push str.AgentSettings.POPPorts
push esi
call fcn.004c56c4
add esp, 8
test eax, eax
je 0x494b0e
push str.AgentSettings.SMTPPorts
push esi
call fcn.004c56c4
add esp, 8
test eax, eax
je 0x494b0e
push str.AgentSettings.XMPPPorts
push esi
call fcn.004c56c4
add esp, 8
test eax, eax
je 0x494b0e
push str.AgentSettings.YPagerPorts
push esi
call fcn.004c56c4
add esp, 8
test eax, eax
je 0x494b0e
push str.AgentSettings.Drives
push esi
call fcn.004c56c4
add esp, 8
test eax, eax
jne 0x494b02
push str._array_name_
lea ecx, [ebp - 0x28]
call fcn.00488db0
push ebx
lea ecx, [ebp - 0x28]
call fcn.00488db0
push str.__type_DriveInfo__size_27__
lea ecx, [ebp - 0x28]
call fcn.00488db0
mov dword [ebp - 0x2c], 0x5c3a43
xor ebx, ebx
mov dword [ebp - 0x30], ebx
lea ecx, [ebp - 0x28]
cmp ebx, 0x1b
jae 0x494b91
push str._struct_
call fcn.00488db0
mov eax, dword [ebp - 0x34]
lea esi, [eax + ebx*8]
mov eax, dword [edi]
push dword [esi]
push str.Capture
lea ecx, [ebp - 0x28]
push ecx
mov ecx, edi
call dword [eax + 0x94]
mov eax, dword [edi]
push dword [esi + 4]
push 0x527cec
lea ecx, [ebp - 0x28]
push ecx
mov ecx, edi
call dword [eax + 0x94]
mov ecx, 1
cmp ebx, 0x1a
jae 0x494adb
lea eax, [ebx + 0x41]
mov byte [ebp - 0x2c], al
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov ecx, eax
mov eax, dword [edi]
push ecx
push str.Type
lea ecx, [ebp - 0x28]
push ecx
mov ecx, edi
call dword [eax + 0x94]
push str.__struct_
lea ecx, [ebp - 0x28]
call fcn.00488db0
inc ebx
jmp 0x494a75
mov dword [ebp - 0x38], 0
jmp 0x494b9b
mov ebx, dword [ebp + 0x18]
shr ebx, 2
push ebx
push 0x527c64
lea eax, [ebp - 0x24]
push eax
call fcn.004482a0
add esp, 0xc
push str._array_name_
lea ecx, [ebp - 0x28]
call fcn.00488db0
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x28]
call fcn.00488db0
push str.__type_DWORD__size_
lea ecx, [ebp - 0x28]
call fcn.00488db0
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x28]
call fcn.00488db0
push 0x527c90
lea ecx, [ebp - 0x28]
call fcn.00488db0
xor esi, esi
mov dword [ebp - 0x30], esi
cmp esi, ebx
jae 0x494b8e
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax + esi*4]
test ecx, ecx
je 0x494b8b
mov eax, dword [edi]
push ecx
push 0x568771
lea ecx, [ebp - 0x28]
push ecx
mov ecx, edi
call dword [eax + 0x94]
inc esi
jmp 0x494b66
lea ecx, [ebp - 0x28]
push str.__array_
call fcn.00488db0
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x3c]
call fcn.00488d70
mov dword [ebp - 4], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00488bc0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00488bc0
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004a4566
mov esp, ebp
pop ebp
ret 0x14