Function at 0x5b9c64
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
mov ecx, 5
push 0
push 0
dec ecx
jne 0x5b9c6c
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x5b9ec3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.004cbf44
test eax, eax
je 0x5b9e9b
mov eax, dword [0x73170c]
mov eax, dword [eax]
mov si, word [eax + 0x38]
mov eax, dword [0x73170c]
mov eax, dword [eax]
mov dx, 0xfff5
call fcn.004569d4
mov eax, ebx
call fcn.004cbf44
mov eax, dword [eax + 0x24]
mov edx, dword [ebx + 0x3cc]
call fcn.00404254
jne 0x5b9ce2
mov eax, ebx
call fcn.005b8bd4
mov eax, dword [0x73170c]
mov eax, dword [eax]
mov edx, esi
call fcn.004569d4
jmp 0x5b9e9b
mov eax, ebx
call fcn.004cbf44
mov eax, dword [eax + 8]
lea ecx, [ebp - 0x10]
mov edx, 5
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x10]
mov edx, 0x5b9edc
call fcn.00404254
je 0x5b9d32
mov eax, ebx
call fcn.004cbf44
mov eax, dword [eax + 8]
lea ecx, [ebp - 0x14]
mov edx, 5
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x14]
mov edx, 0x5b9ee8
call fcn.00404254
jne 0x5b9e0e
mov eax, ebx
call fcn.004cbf44
mov eax, dword [eax + 8]
lea ecx, [ebp - 8]
mov edx, 4
mov edi, dword [eax]
call dword [edi + 0xc]
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 8]
call fcn.005aa110
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 8]
call fcn.00403f5c
mov eax, ebx
call fcn.004cbf44
mov eax, dword [eax + 8]
lea ecx, [ebp - 0x1c]
mov edx, 5
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x1c]
mov edx, 0x5b9ee8
call fcn.00404254
jne 0x5b9dda
mov eax, dword [ebp - 8]
call fcn.00404308
push eax
call fcn.00407eac
cmp eax, 2
jne 0x5b9dda
mov eax, ebx
call fcn.004cbf44
mov eax, dword [eax + 8]
lea ecx, [ebp - 0x20]
mov edx, 4
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x20]
mov al, byte [eax]
mov byte [ebp - 9], al
mov dx, 1
mov al, byte [ebp - 9]
call fcn.005a9fdc
test al, al
jne 0x5b9dda
mov eax, dword [0x73170c]
mov eax, dword [eax]
mov edx, esi
call fcn.004569d4
jmp 0x5b9e9b
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.005b470c
mov eax, dword [ebx + 0x360]
test eax, eax
je 0x5b9df6
mov edx, dword [ebp - 8]
call fcn.005af6fc
mov eax, dword [ebx + 0x35c]
test eax, eax
je 0x5b9e8d
mov edx, dword [ebp - 8]
call fcn.005ac5e4
jmp 0x5b9e8d
mov eax, ebx
call fcn.004cbf44
mov eax, dword [eax + 8]
lea ecx, [ebp - 0x24]
mov edx, 5
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x24]
mov edx, 0x5b9ef4
call fcn.00404254
jne 0x5b9e8d
mov eax, ebx
call fcn.004cbf44
mov eax, dword [eax + 8]
lea ecx, [ebp - 0x28]
mov edx, 4
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x28]
lea edx, [ebp - 4]
call fcn.0040aa5c
mov eax, ebx
call fcn.004cbf44
mov eax, dword [eax + 8]
lea ecx, [ebp - 0x2c]
mov edx, 4
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 8]
call fcn.0040a9cc
mov eax, dword [ebp - 8]
push eax
push 5
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, 0x5b9f04
call fcn.005a99e0
mov eax, dword [0x73170c]
mov eax, dword [eax]
mov edx, esi
call fcn.004569d4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5b9eca
lea eax, [ebp - 0x2c]
mov edx, 8
call fcn.00403ee8
lea eax, [ebp - 8]
mov edx, 2
call fcn.00403ee8
ret