Function at 0x575134
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405464
xor eax, eax
push ebp
push 0x575374
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov dl, 1
mov eax, dword [0x41c9c8]
call fcn.004040f8
mov dword [ebp - 8], eax
mov dl, 1
mov eax, dword [0x41c9c8]
call fcn.004040f8
mov dl, 1
mov eax, dword [0x41c9c8]
call fcn.004040f8
mov dl, 1
mov eax, dword [0x41c9c8]
call fcn.004040f8
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [ebp - 4]
call fcn.00405474
push eax
call sub.KERNEL32.DLL_GetDriveTypeA
cmp eax, 2
jne 0x5751cb
mov eax, dword [0x58f744]
mov eax, dword [eax]
call fcn.0045a1b8
push eax
lea edx, [ebp - 0xc]
mov cl, 1
mov eax, dword [ebp - 4]
call fcn.0054edc0
jmp 0x5751e5
mov eax, dword [0x58f744]
mov eax, dword [eax]
call fcn.0045a1b8
push eax
lea edx, [ebp - 0xc]
xor ecx, ecx
mov eax, dword [ebp - 4]
call fcn.0054edc0
lea eax, [ebp - 0x10]
mov ecx, 0x57538c
mov edx, dword [ebp - 4]
call fcn.004052c0
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
xor eax, eax
push ebp
push 0x57534a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00572e60
test al, al
jne 0x575226
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
je 0x57529b
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [0x58f744]
mov eax, dword [eax]
cmp byte [eax + 0x670], 0
je 0x575280
mov eax, dword [ebp - 4]
call fcn.0054a32c
mov ebx, eax
mov eax, ebx
call fcn.00574a38
mov edx, eax
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, ebx
call fcn.00574c94
mov edx, eax
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp - 0xc]
call fcn.005742c0
mov edx, eax
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov bl, 1
jmp 0x57529b
lea eax, [ebp - 0x14]
mov ecx, 0x5753a4
mov edx, dword [ebp - 4]
call fcn.004052c0
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 4]
call fcn.005747c0
mov esi, eax
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
je 0x57530f
mov eax, dword [0x58f744]
mov eax, dword [eax]
cmp byte [eax + 0x670], 0
je 0x57530f
lea eax, [ebp - 0x18]
mov ecx, 0x57538c
mov edx, dword [ebp - 4]
call fcn.004052c0
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x54]
inc eax
je 0x575303
lea eax, [ebp - 0x1c]
mov ecx, 0x57538c
mov edx, dword [ebp - 4]
call fcn.004052c0
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov edx, eax
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov bl, 1
mov edx, esi
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x40]
test bl, bl
je 0x575339
mov eax, dword [ebp - 8]
call fcn.00572cbc
mov dword [ebp - 8], eax
lea eax, [ebp - 0x20]
mov ecx, 0x5753f4
mov edx, dword [ebp - 4]
call fcn.004052c0
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x575351
mov ebx, dword [ebp - 8]
ret