Function at 0x4151b0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [0x4cc5a8]
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 0x46e590
mov dword [ebp - 0x428], eax
lea eax, [ebp - 0x310]
push 0x104
push eax
mov dword [ebp - 0x424], edi
call fcn.0044c60e
push str.file:__
push esi
call fcn.004565ee
add esp, 0x18
test eax, eax
je 0x415213
add eax, 7
push eax
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.0044c498
lea eax, [ebp - 0x108]
push 0x2f
push eax
call fcn.00457087
add esp, 0x14
test eax, eax
je 0x415258
nop word [eax + eax]
mov byte [eax], 0x5c
lea eax, [ebp - 0x108]
push 0x2f
push eax
call fcn.00457087
add esp, 8
test eax, eax
jne 0x415240
lea eax, [ebp - 0x108]
push str.removable:_
push eax
call fcn.004565ee
mov ebx, eax
lea eax, [ebp - 0x108]
push str.all:_
push eax
call fcn.004565ee
mov esi, eax
lea eax, [ebp - 0x108]
push str.system:_
push eax
mov dword [ebp - 0x420], esi
call fcn.004565ee
add esp, 0x18
test eax, eax
je 0x415337
push 0x104
lea eax, [ebp - 0x414]
mov ecx, 0x51cdb8
push eax
call fcn.00411f30
lea eax, [ebp - 0x414]
push 0x5c
push eax
call fcn.00457087
add esp, 8
test eax, eax
je 0x4152cf
mov byte [eax + 1], 0
lea ecx, [ebp - 0x414]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4152d8
push 0x104
lea eax, [ebp - 0x20c]
sub ecx, edx
push eax
push ecx
lea eax, [ebp - 0x414]
mov ecx, 0x553538
push eax
push 9
push str.system:_
push 0x104
lea eax, [ebp - 0x108]
push eax
call fcn.00442e80
push 0x104
lea eax, [ebp - 0x310]
mov ecx, edi
push eax
push dword [ebp - 0x418]
lea eax, [ebp - 0x20c]
push eax
call fcn.00412c20
jmp 0x415473
test esi, esi
jne 0x415364
test ebx, ebx
jne 0x415364
push 0x104
lea eax, [ebp - 0x310]
mov ecx, edi
push eax
push dword [ebp - 0x418]
lea eax, [ebp - 0x108]
push eax
call fcn.00412c20
jmp 0x415473
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.0044c63f
add esp, 4
mov dword [ebp - 0x41c], eax
push eax
push esi
call edi
test eax, eax
mov eax, dword [ebp - 0x41c]
je 0x41546a
cmp byte [eax], 0
mov esi, eax
je 0x41546a
mov edi, dword [ebp - 0x420]
test ebx, ebx
je 0x4153e0
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 2
jne 0x4153e0
mov ecx, esi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4153c0
push 0x104
lea eax, [ebp - 0x20c]
sub ecx, edx
push eax
push ecx
push esi
push 0xc
push str.removable:_
jmp 0x41540e
test edi, edi
je 0x415424
mov ecx, esi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4153f0
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, 0x553538
push eax
call fcn.00442e80
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.00412c20
mov ecx, esi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x415450
sub ecx, edx
inc esi
add esi, ecx
cmp byte [esi], al
jne 0x4153a7
mov eax, dword [ebp - 0x41c]
push eax
call fcn.0044c624
add esp, 4
lea eax, [ebp - 0x310]
push eax
push dword [ebp + 0x14]
push dword [ebp - 0x428]
call fcn.0044c498
mov ecx, dword [ebp - 4]
add esp, 0xc
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.004465ed
mov esp, ebp
pop ebp
ret 0x10