Function at 0x417df0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x532eb0
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x5bc684]
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 esi, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x3c], eax
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x38], 1
mov edx, dword [0x5bbfe4]
mov dword [ebp - 0x40], edx
mov dword [ebp - 4], 0
mov eax, dword [0x5bbfe4]
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 1
mov byte [ebp - 4], 2
push str.AgentSettings.FTPPorts
push ebx
call fcn.004ff027
add esp, 8
test eax, eax
je 0x418044
push str.AgentSettings.GnutellaPorts
push ebx
call fcn.004ff027
add esp, 8
test eax, eax
je 0x418044
push str.AgentSettings.HTTPPorts
push ebx
call fcn.004ff027
add esp, 8
test eax, eax
je 0x418044
push str.AgentSettings.HTTPSPorts
push ebx
call fcn.004ff027
add esp, 8
test eax, eax
je 0x418044
push str.AgentSettings.IMAPPorts
push ebx
call fcn.004ff027
add esp, 8
test eax, eax
je 0x418044
push str.AgentSettings.IRCPorts
push ebx
call fcn.004ff027
add esp, 8
test eax, eax
je 0x418044
push str.AgentSettings.MSNPorts
push ebx
call fcn.004ff027
add esp, 8
test eax, eax
je 0x418044
push str.AgentSettings.OSCARPorts
push ebx
call fcn.004ff027
add esp, 8
test eax, eax
je 0x418044
push str.AgentSettings.POPPorts
push ebx
call fcn.004ff027
add esp, 8
test eax, eax
je 0x418044
push str.AgentSettings.SMTPPorts
push ebx
call fcn.004ff027
add esp, 8
test eax, eax
je 0x418044
push str.AgentSettings.XMPPPorts
push ebx
call fcn.004ff027
add esp, 8
test eax, eax
je 0x418044
push str.AgentSettings.YPagerPorts
push ebx
call fcn.004ff027
add esp, 8
test eax, eax
je 0x418044
push str.AgentSettings.Drives
push ebx
call fcn.004ff027
add esp, 8
test eax, eax
jne 0x418038
push str._array_name_
lea ecx, [ebp - 0x28]
call fcn.004bfd50
push edi
lea ecx, [ebp - 0x28]
call fcn.004bfd50
push str.__type_DriveInfo__size_27__
lea ecx, [ebp - 0x28]
call fcn.004bfd50
mov dword [ebp - 0x34], 0x5c3a43
xor ebx, ebx
mov dword [ebp - 0x2c], ebx
lea ecx, [ebp - 0x28]
cmp ebx, 0x1b
jae 0x4180c7
push str._struct_
call fcn.004bfd50
mov edx, dword [esi]
mov edi, dword [ebp - 0x30]
mov eax, dword [edi + ebx*8]
push eax
push str.Capture
lea ecx, [ebp - 0x28]
push ecx
mov ecx, esi
mov edx, dword [edx + 0x90]
call edx
mov eax, dword [esi]
mov ecx, dword [edi + ebx*8 + 4]
push ecx
push 0x5504c0
lea edx, [ebp - 0x28]
push edx
mov ecx, esi
mov eax, dword [eax + 0x90]
call eax
mov eax, 1
cmp ebx, 0x1a
jae 0x41800f
movsx ecx, bl
add ecx, 0x41
mov byte [ebp - 0x34], cl
lea edx, [ebp - 0x34]
push edx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov edx, dword [esi]
push eax
push 0x5504b8
lea eax, [ebp - 0x28]
push eax
mov ecx, esi
mov edx, dword [edx + 0x90]
call edx
push str.__struct_
lea ecx, [ebp - 0x28]
call fcn.004bfd50
inc ebx
jmp 0x417fa3
mov dword [ebp - 0x38], 0
jmp 0x4180d1
mov ebx, dword [ebp + 0x18]
shr ebx, 2
push ebx
push 0x54f274
lea eax, [ebp - 0x24]
push eax
call fcn.004ff1e4
add esp, 0xc
push str._array_name_
lea ecx, [ebp - 0x28]
call fcn.004bfd50
push edi
lea ecx, [ebp - 0x28]
call fcn.004bfd50
push str.__type_DWORD__size_
lea ecx, [ebp - 0x28]
call fcn.004bfd50
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x28]
call fcn.004bfd50
push 0x550490
lea ecx, [ebp - 0x28]
call fcn.004bfd50
xor edi, edi
mov dword [ebp - 0x2c], edi
cmp edi, ebx
jae 0x4180c4
mov edx, dword [ebp - 0x30]
mov eax, dword [edx + edi*4]
test eax, eax
je 0x4180c1
mov edx, dword [esi]
push eax
push 0x54f15a
lea eax, [ebp - 0x28]
push eax
mov ecx, esi
mov edx, dword [edx + 0x90]
call edx
inc edi
jmp 0x41809a
lea ecx, [ebp - 0x28]
push str.__array_
call fcn.004bfd50
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x3c]
call fcn.004bfdb0
mov dword [ebp - 4], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.004bfa40
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.004bfa40
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.004fe1f5
mov esp, ebp
pop ebp
ret 0x14