Function at 0x414190
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [0x4ca578]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0x104
mov dword [ebp - 0x418], eax
mov edi, ecx
mov eax, dword [ebp + 0x10]
push 0x46d520
mov dword [ebp - 0x428], eax
lea eax, [ebp - 0x310]
push 0x104
push eax
mov dword [ebp - 0x424], edi
call fcn.0044aace
push str.file:__
push esi
call fcn.004548af
add esp, 0x18
test eax, eax
je 0x4141f3
add eax, 7
push eax
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.0044a958
lea eax, [ebp - 0x108]
push 0x2f
push eax
call fcn.004554f3
add esp, 0x14
test eax, eax
je 0x414238
nop word [eax + eax]
mov byte [eax], 0x5c
lea eax, [ebp - 0x108]
push 0x2f
push eax
call fcn.004554f3
add esp, 8
test eax, eax
jne 0x414220
lea eax, [ebp - 0x108]
push str.removable:_
push eax
call fcn.004548af
mov ebx, eax
lea eax, [ebp - 0x108]
push str.all:_
push eax
call fcn.004548af
mov esi, eax
lea eax, [ebp - 0x108]
push str.system:_
push eax
mov dword [ebp - 0x420], esi
call fcn.004548af
add esp, 0x18
test eax, eax
je 0x414317
push 0x104
lea eax, [ebp - 0x414]
mov ecx, 0x511be0
push eax
call fcn.00410dc0
lea eax, [ebp - 0x414]
push 0x5c
push eax
call fcn.004554f3
add esp, 8
test eax, eax
je 0x4142af
mov byte [eax + 1], 0
lea ecx, [ebp - 0x414]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4142b8
push 0x104
lea eax, [ebp - 0x20c]
sub ecx, edx
push eax
push ecx
lea eax, [ebp - 0x414]
mov ecx, 0x5420e0
push eax
push 9
push str.system:_
push 0x104
lea eax, [ebp - 0x108]
push eax
call fcn.00441360
push 0x104
lea eax, [ebp - 0x310]
mov ecx, edi
push eax
push dword [ebp - 0x418]
lea eax, [ebp - 0x20c]
push eax
call fcn.004117e0
jmp 0x414453
test esi, esi
jne 0x414344
test ebx, ebx
jne 0x414344
push 0x104
lea eax, [ebp - 0x310]
mov ecx, edi
push eax
push dword [ebp - 0x418]
lea eax, [ebp - 0x108]
push eax
call fcn.004117e0
jmp 0x414453
mov edi, dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
push 0
push 0
call edi
mov esi, eax
lea ecx, [esi + 1]
push ecx
call fcn.0044aaff
add esp, 4
mov dword [ebp - 0x41c], eax
push eax
push esi
call edi
test eax, eax
mov eax, dword [ebp - 0x41c]
je 0x41444a
cmp byte [eax], 0
mov esi, eax
je 0x41444a
mov edi, dword [ebp - 0x420]
test ebx, ebx
je 0x4143c0
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 2
jne 0x4143c0
mov ecx, esi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4143a0
push 0x104
lea eax, [ebp - 0x20c]
sub ecx, edx
push eax
push ecx
push esi
push 0xc
push str.removable:_
jmp 0x4143ee
test edi, edi
je 0x414404
mov ecx, esi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4143d0
push 0x104
lea eax, [ebp - 0x20c]
sub ecx, edx
push eax
push ecx
push esi
push 6
push str.all:_
push 0x104
lea eax, [ebp - 0x108]
mov ecx, 0x5420e0
push eax
call fcn.00441360
mov ecx, dword [ebp - 0x424]
lea eax, [ebp - 0x310]
push 0x104
push eax
push dword [ebp - 0x418]
lea eax, [ebp - 0x20c]
push eax
call fcn.004117e0
mov ecx, esi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x414430
sub ecx, edx
inc esi
add esi, ecx
cmp byte [esi], al
jne 0x414387
mov eax, dword [ebp - 0x41c]
push eax
call fcn.0044aae4
add esp, 4
lea eax, [ebp - 0x310]
push eax
push dword [ebp + 0x14]
push dword [ebp - 0x428]
call fcn.0044a958
mov ecx, dword [ebp - 4]
add esp, 0xc
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00444ab5
mov esp, ebp
pop ebp
ret 0x10