Function at 0x57e2bc
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x88
push 0
push 0
dec ecx
jne 0x57e2c4
push ecx
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x57e6cb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x6e2db8]
call fcn.0057e778
mov dl, 1
mov eax, dword [0x423b8c]
call fcn.00423c8c
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x57e69e
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, 0x80000001
mov eax, dword [ebp - 8]
call fcn.00423d2c
lea edx, [ebp - 0x420]
mov eax, 0x57e2ac
call fcn.004075cc
mov edx, dword [ebp - 0x420]
xor ecx, ecx
mov eax, dword [ebp - 8]
call fcn.00423d90
test al, al
jne 0x57e35d
lea edx, [ebp - 0x424]
mov eax, 0x57e2b4
call fcn.004075cc
mov edx, dword [ebp - 0x424]
xor ecx, ecx
mov eax, dword [ebp - 8]
call fcn.00423d90
test al, al
je 0x57e4eb
lea ecx, [ebp - 4]
mov edx, 0x57e6e4
mov eax, dword [ebp - 8]
call fcn.0042411c
cmp dword [ebp - 4], 0
je 0x57e3df
mov edx, dword [0x57b9c4]
mov eax, 0x1c
call fcn.00406310
mov esi, eax
mov byte [esi + 0x10], 1
lea eax, [esi + 4]
mov edx, 0x57e6f4
call fcn.004051ac
mov byte [esi + 0x18], 0
lea eax, [esi + 8]
mov edx, 0x57e6f4
call fcn.004051ac
lea edx, [ebp - 0x428]
mov eax, dword [ebp - 4]
call fcn.0057e104
mov edx, dword [ebp - 0x428]
lea eax, [esi + 0xc]
call fcn.004051ac
mov al, 1
call fcn.0057daa8
mov dword [esi], eax
mov dword [esi + 0x14], 1
mov edx, esi
mov eax, dword [0x6e2db8]
call fcn.0041a1b0
lea ecx, [ebp - 4]
mov edx, 0x57e704
mov eax, dword [ebp - 8]
call fcn.0042411c
cmp dword [ebp - 4], 0
je 0x57e461
mov edx, dword [0x57b9c4]
mov eax, 0x1c
call fcn.00406310
mov esi, eax
mov byte [esi + 0x10], 3
lea eax, [esi + 4]
mov edx, 0x57e718
call fcn.004051ac
mov byte [esi + 0x18], 0
lea eax, [esi + 8]
mov edx, 0x57e718
call fcn.004051ac
lea edx, [ebp - 0x42c]
mov eax, dword [ebp - 4]
call fcn.0057e104
mov edx, dword [ebp - 0x42c]
lea eax, [esi + 0xc]
call fcn.004051ac
mov al, 3
call fcn.0057daa8
mov dword [esi], eax
mov dword [esi + 0x14], 1
mov edx, esi
mov eax, dword [0x6e2db8]
call fcn.0041a1b0
lea ecx, [ebp - 4]
mov edx, 0x57e72c
mov eax, dword [ebp - 8]
call fcn.0042411c
cmp dword [ebp - 4], 0
je 0x57e4e3
mov edx, dword [0x57b9c4]
mov eax, 0x1c
call fcn.00406310
mov esi, eax
mov byte [esi + 0x10], 2
lea eax, [esi + 4]
mov edx, 0x57e740
call fcn.004051ac
mov byte [esi + 0x18], 0
lea eax, [esi + 8]
mov edx, 0x57e740
call fcn.004051ac
lea edx, [ebp - 0x430]
mov eax, dword [ebp - 4]
call fcn.0057e104
mov edx, dword [ebp - 0x430]
lea eax, [esi + 0xc]
call fcn.004051ac
mov al, 2
call fcn.0057daa8
mov dword [esi], eax
mov dword [esi + 0x14], 1
mov edx, esi
mov eax, dword [0x6e2db8]
call fcn.0041a1b0
mov eax, dword [ebp - 8]
call fcn.00423cfc
lea eax, [ebp - 0x41c]
push eax
push 0x400
call sub.kernel32.dll_GetLogicalDriveStringsA
mov ebx, eax
mov eax, 0xff
call fcn.00402f54
mov dword [ebp - 0xc], eax
mov eax, 0x64
call fcn.00402f54
mov dword [ebp - 0x10], eax
mov edi, ebx
test edi, edi
jns 0x57e521
add edi, 3
sar edi, 2
dec edi
test edi, edi
jl 0x57e678
inc edi
lea ebx, [ebp - 0x41c]
push ebx
call sub.kernel32.dll_GetDriveTypeA
add eax, 0xfffffffe
sub eax, 3
jae 0x57e66e
mov edx, dword [0x57b9c4]
mov eax, 0x1c
call fcn.00406310
mov esi, eax
mov eax, dword [ebp - 0xc]
xor ecx, ecx
mov edx, 0xff
call fcn.00488380
push 0x64
mov eax, dword [ebp - 0x10]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0xff
mov eax, dword [ebp - 0xc]
push eax
mov eax, ebx
push eax
call sub.kernel32.dll_GetVolumeInformationA
test eax, eax
jne 0x57e59d
lea eax, [ebp - 4]
mov edx, 0x57e754
call fcn.004051f0
jmp 0x57e5a8
lea edx, [ebp - 4]
mov eax, dword [ebp - 0xc]
call fcn.0040abd8
cmp dword [ebp - 4], 0
jne 0x57e5bb
lea eax, [ebp - 4]
mov edx, 0x57e754
call fcn.004051f0
mov byte [esi + 0x10], 5
push dword [ebp - 4]
push 0x57e768
lea eax, [ebp - 0x434]
movzx edx, byte [ebx]
call fcn.00405340
push dword [ebp - 0x434]
lea eax, [ebp - 0x438]
movzx edx, byte [ebx + 1]
call fcn.00405340
push dword [ebp - 0x438]
push 0x57e774
lea eax, [esi + 8]
mov edx, 5
call fcn.004054fc
lea ecx, [ebp - 0x43c]
lea edx, [esi + 0x18]
mov eax, dword [esi + 8]
call fcn.0057e198
mov edx, dword [ebp - 0x43c]
lea eax, [esi + 4]
call fcn.004051ac
lea eax, [ebp - 0x444]
mov edx, ebx
mov ecx, 4
call fcn.004053d8
mov eax, dword [ebp - 0x444]
lea edx, [ebp - 0x440]
call fcn.0057e104
mov edx, dword [ebp - 0x440]
lea eax, [esi + 0xc]
call fcn.004051ac
mov al, 5
call fcn.0057daa8
mov dword [esi], eax
mov dword [esi + 0x14], 1
mov edx, esi
mov eax, dword [0x6e2db8]
call fcn.0041a1b0
add ebx, 4
dec edi
jne 0x57e534
mov eax, dword [ebp - 0xc]
call fcn.00402f70
mov eax, dword [ebp - 0x10]
call fcn.00402f70
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x57e6a5
mov eax, dword [ebp - 8]
call fcn.0040432c
ret