Function at 0x574994
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 0x574bcc
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov dl, 1
mov eax, dword [0x41c8c4]
call fcn.004040f8
mov dword [ebp - 8], eax
mov dl, 1
mov eax, dword [0x41c8c4]
call fcn.004040f8
mov esi, eax
mov dl, 1
mov eax, dword [0x41c8c4]
call fcn.004040f8
mov dl, 1
mov eax, dword [0x41c8c4]
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 0x574a2d
mov eax, dword [0x58f748]
mov eax, dword [eax]
call fcn.00478a4c
push eax
lea edx, [ebp - 0xc]
mov cl, 1
mov eax, dword [ebp - 4]
call fcn.0054e634
jmp 0x574a47
mov eax, dword [0x58f748]
mov eax, dword [eax]
call fcn.00478a4c
push eax
lea edx, [ebp - 0xc]
xor ecx, ecx
mov eax, dword [ebp - 4]
call fcn.0054e634
lea eax, [ebp - 0x10]
mov ecx, 0x574be4
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 0x574ba2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.005726d4
test al, al
jne 0x574a88
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
je 0x574afd
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [0x58f748]
mov eax, dword [eax]
cmp byte [eax + 0x674], 0
je 0x574ae2
mov eax, dword [ebp - 4]
call fcn.00549a8c
mov ebx, eax
mov eax, ebx
call fcn.005742ac
mov edx, eax
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, ebx
call fcn.00574508
mov edx, eax
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp - 0xc]
call fcn.00573b34
mov edx, eax
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov bl, 1
jmp 0x574afd
lea eax, [ebp - 0x14]
mov ecx, 0x574bfc
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, esi
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
je 0x574b67
mov eax, dword [0x58f748]
mov eax, dword [eax]
cmp byte [eax + 0x674], 0
je 0x574b67
lea eax, [ebp - 0x18]
mov ecx, 0x574be4
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 0x574b5b
lea eax, [ebp - 0x1c]
mov ecx, 0x574be4
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 0x574b91
mov eax, dword [ebp - 8]
call fcn.00572530
mov dword [ebp - 8], eax
lea eax, [ebp - 0x20]
mov ecx, 0x574c4c
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 0x574ba9
mov ebx, dword [ebp - 8]
ret