Function at 0x421e60
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46e690
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x4b0408]
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 [0x4b0048]
mov dword [ebp - 0x40], eax
mov dword [ebp - 4], 0
mov eax, dword [0x4b0048]
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 1
mov byte [ebp - 4], 2
push str.AgentSettings.FTPPorts
push esi
call fcn.0043f12d
add esp, 8
test eax, eax
je 0x4220ae
push str.AgentSettings.GnutellaPorts
push esi
call fcn.0043f12d
add esp, 8
test eax, eax
je 0x4220ae
push str.AgentSettings.HTTPPorts
push esi
call fcn.0043f12d
add esp, 8
test eax, eax
je 0x4220ae
push str.AgentSettings.HTTPSPorts
push esi
call fcn.0043f12d
add esp, 8
test eax, eax
je 0x4220ae
push str.AgentSettings.IMAPPorts
push esi
call fcn.0043f12d
add esp, 8
test eax, eax
je 0x4220ae
push str.AgentSettings.IRCPorts
push esi
call fcn.0043f12d
add esp, 8
test eax, eax
je 0x4220ae
push str.AgentSettings.MSNPorts
push esi
call fcn.0043f12d
add esp, 8
test eax, eax
je 0x4220ae
push str.AgentSettings.OSCARPorts
push esi
call fcn.0043f12d
add esp, 8
test eax, eax
je 0x4220ae
push str.AgentSettings.POPPorts
push esi
call fcn.0043f12d
add esp, 8
test eax, eax
je 0x4220ae
push str.AgentSettings.SMTPPorts
push esi
call fcn.0043f12d
add esp, 8
test eax, eax
je 0x4220ae
push str.AgentSettings.XMPPPorts
push esi
call fcn.0043f12d
add esp, 8
test eax, eax
je 0x4220ae
push str.AgentSettings.YPagerPorts
push esi
call fcn.0043f12d
add esp, 8
test eax, eax
je 0x4220ae
push str.AgentSettings.Drives
push esi
call fcn.0043f12d
add esp, 8
test eax, eax
jne 0x4220a2
push str._array_name_
lea ecx, [ebp - 0x28]
call fcn.0041ac60
push ebx
lea ecx, [ebp - 0x28]
call fcn.0041ac60
push str.__type_DriveInfo__size_27__
lea ecx, [ebp - 0x28]
call fcn.0041ac60
mov dword [ebp - 0x2c], 0x5c3a43
xor ebx, ebx
mov dword [ebp - 0x30], ebx
lea ecx, [ebp - 0x28]
cmp ebx, 0x1b
jae 0x422131
push str._struct_
call fcn.0041ac60
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 0x47e2d0
lea ecx, [ebp - 0x28]
push ecx
mov ecx, edi
call dword [eax + 0x94]
mov ecx, 1
cmp ebx, 0x1a
jae 0x42207b
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 0x481ac4
lea ecx, [ebp - 0x28]
push ecx
mov ecx, edi
call dword [eax + 0x94]
push str.__struct_
lea ecx, [ebp - 0x28]
call fcn.0041ac60
inc ebx
jmp 0x422015
mov dword [ebp - 0x38], 0
jmp 0x42213b
mov ebx, dword [ebp + 0x18]
shr ebx, 2
push ebx
push 0x481a6c
lea eax, [ebp - 0x24]
push eax
call fcn.00401c50
add esp, 0xc
push str._array_name_
lea ecx, [ebp - 0x28]
call fcn.0041ac60
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x28]
call fcn.0041ac60
push str.__type_DWORD__size_
lea ecx, [ebp - 0x28]
call fcn.0041ac60
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x28]
call fcn.0041ac60
push 0x481660
lea ecx, [ebp - 0x28]
call fcn.0041ac60
xor esi, esi
mov dword [ebp - 0x30], esi
cmp esi, ebx
jae 0x42212e
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax + esi*4]
test ecx, ecx
je 0x42212b
mov eax, dword [edi]
push ecx
push 0x49fabc
lea ecx, [ebp - 0x28]
push ecx
mov ecx, edi
call dword [eax + 0x94]
inc esi
jmp 0x422106
lea ecx, [ebp - 0x28]
push str.__array_
call fcn.0041ac60
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x3c]
call fcn.0041ac20
mov dword [ebp - 4], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.0041aa70
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.0041aa70
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.0042bd08
mov esp, ebp
pop ebp
ret 0x14