Function at 0x41ab30
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [0x4d9770]
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 0x478714
mov dword [ebp - 0x428], eax
lea eax, [ebp - 0x310]
push 0x104
push eax
mov dword [ebp - 0x424], edi
call fcn.004534a6
push str.file:__
push esi
call fcn.0045f721
add esp, 0x18
test eax, eax
je 0x41ab93
add eax, 7
push eax
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.00453332
lea eax, [ebp - 0x108]
push 0x2f
push eax
call fcn.00460225
add esp, 0x14
test eax, eax
je 0x41abd8
nop word [eax + eax]
mov byte [eax], 0x5c
lea eax, [ebp - 0x108]
push 0x2f
push eax
call fcn.00460225
add esp, 8
test eax, eax
jne 0x41abc0
lea eax, [ebp - 0x108]
push str.removable:_
push eax
call fcn.0045f721
mov ebx, eax
lea eax, [ebp - 0x108]
push str.all:_
push eax
call fcn.0045f721
mov esi, eax
lea eax, [ebp - 0x108]
push str.system:_
push eax
mov dword [ebp - 0x420], esi
call fcn.0045f721
add esp, 0x18
test eax, eax
je 0x41acb7
push 0x104
lea eax, [ebp - 0x414]
mov ecx, 0x52a6a0
push eax
call fcn.00417190
lea eax, [ebp - 0x414]
push 0x5c
push eax
call fcn.00460225
add esp, 8
test eax, eax
je 0x41ac4f
mov byte [eax + 1], 0
lea ecx, [ebp - 0x414]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41ac58
push 0x104
lea eax, [ebp - 0x20c]
sub ecx, edx
push eax
push ecx
lea eax, [ebp - 0x414]
mov ecx, 0x5647e0
push eax
push 9
push str.system:_
push 0x104
lea eax, [ebp - 0x108]
push eax
call fcn.00449900
push 0x104
lea eax, [ebp - 0x310]
mov ecx, edi
push eax
push dword [ebp - 0x418]
lea eax, [ebp - 0x20c]
push eax
call fcn.00418380
jmp 0x41adf3
test esi, esi
jne 0x41ace4
test ebx, ebx
jne 0x41ace4
push 0x104
lea eax, [ebp - 0x310]
mov ecx, edi
push eax
push dword [ebp - 0x418]
lea eax, [ebp - 0x108]
push eax
call fcn.00418380
jmp 0x41adf3
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.004534d7
add esp, 4
mov dword [ebp - 0x41c], eax
push eax
push esi
call edi
test eax, eax
mov eax, dword [ebp - 0x41c]
je 0x41adea
cmp byte [eax], 0
mov esi, eax
je 0x41adea
mov edi, dword [ebp - 0x420]
test ebx, ebx
je 0x41ad60
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 2
jne 0x41ad60
mov ecx, esi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41ad40
push 0x104
lea eax, [ebp - 0x20c]
sub ecx, edx
push eax
push ecx
push esi
push 0xc
push str.removable:_
jmp 0x41ad8e
test edi, edi
je 0x41ada4
mov ecx, esi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41ad70
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, 0x5647e0
push eax
call fcn.00449900
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.00418380
mov ecx, esi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41add0
sub ecx, edx
inc esi
add esi, ecx
cmp byte [esi], al
jne 0x41ad27
mov eax, dword [ebp - 0x41c]
push eax
call fcn.004534bc
add esp, 4
lea eax, [ebp - 0x310]
push eax
push dword [ebp + 0x14]
push dword [ebp - 0x428]
call fcn.00453332
mov ecx, dword [ebp - 4]
add esp, 0xc
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0044d06d
mov esp, ebp
pop ebp
ret 0x10