Function at 0x430560
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47ee50
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x4c3408]
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 [0x4c3048]
mov dword [ebp - 0x40], eax
mov dword [ebp - 4], 0
mov eax, dword [0x4c3048]
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 1
mov byte [ebp - 4], 2
push str.AgentSettings.FTPPorts
push esi
call fcn.0044d4ae
add esp, 8
test eax, eax
je 0x430756
push str.AgentSettings.GnutellaPorts
push esi
call fcn.0044d4ae
add esp, 8
test eax, eax
je 0x430756
push str.AgentSettings.HTTPPorts
push esi
call fcn.0044d4ae
add esp, 8
test eax, eax
je 0x430756
push str.AgentSettings.HTTPSPorts
push esi
call fcn.0044d4ae
add esp, 8
test eax, eax
je 0x430756
push str.AgentSettings.IMAPPorts
push esi
call fcn.0044d4ae
add esp, 8
test eax, eax
je 0x430756
push str.AgentSettings.MSNPorts
push esi
call fcn.0044d4ae
add esp, 8
test eax, eax
je 0x430756
push str.AgentSettings.POPPorts
push esi
call fcn.0044d4ae
add esp, 8
test eax, eax
je 0x430756
push str.AgentSettings.SMTPPorts
push esi
call fcn.0044d4ae
add esp, 8
test eax, eax
je 0x430756
push str.AgentSettings.Drives
push esi
call fcn.0044d4ae
add esp, 8
test eax, eax
jne 0x43074a
push str._array_name_
lea ecx, [ebp - 0x28]
call fcn.00428d60
push ebx
lea ecx, [ebp - 0x28]
call fcn.00428d60
push str.__type_DriveInfo__size_27__
lea ecx, [ebp - 0x28]
call fcn.00428d60
mov dword [ebp - 0x2c], 0x5c3a43
xor ebx, ebx
mov dword [ebp - 0x30], ebx
lea ecx, [ebp - 0x28]
cmp ebx, 0x1b
jae 0x4307d9
push str._struct_
call fcn.00428d60
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 0x48dc5c
lea ecx, [ebp - 0x28]
push ecx
mov ecx, edi
call dword [eax + 0x94]
mov ecx, 1
cmp ebx, 0x1a
jae 0x430723
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 0x491fa8
lea ecx, [ebp - 0x28]
push ecx
mov ecx, edi
call dword [eax + 0x94]
push str.__struct_
lea ecx, [ebp - 0x28]
call fcn.00428d60
inc ebx
jmp 0x4306bd
mov dword [ebp - 0x38], 0
jmp 0x4307e3
mov ebx, dword [ebp + 0x18]
shr ebx, 2
push ebx
push 0x491f50
lea eax, [ebp - 0x24]
push eax
call fcn.00401cb0
add esp, 0xc
push str._array_name_
lea ecx, [ebp - 0x28]
call fcn.00428d60
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x28]
call fcn.00428d60
push str.__type_DWORD__size_
lea ecx, [ebp - 0x28]
call fcn.00428d60
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x28]
call fcn.00428d60
push 0x491b44
lea ecx, [ebp - 0x28]
call fcn.00428d60
xor esi, esi
mov dword [ebp - 0x30], esi
cmp esi, ebx
jae 0x4307d6
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax + esi*4]
test ecx, ecx
je 0x4307d3
mov eax, dword [edi]
push ecx
push 0x4b063c
lea ecx, [ebp - 0x28]
push ecx
mov ecx, edi
call dword [eax + 0x94]
inc esi
jmp 0x4307ae
lea ecx, [ebp - 0x28]
push str.__array_
call fcn.00428d60
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x3c]
call fcn.00428d20
mov dword [ebp - 4], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00428b70
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00428b70
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.00439f38
mov esp, ebp
pop ebp
ret 0x14