Function at 0x831000
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
push esi
xor ebx, ebx
push edi
mov dword [ebp - 0xc], ebx
call fcn.00833c7a
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
push 0xf
mov edi, eax
call fcn.00833bb3
pop ecx
push ebx
push 0xb
mov dword [ebp - 0x2c], eax
call fcn.00836347
push ebx
push 0xc
mov dword [ebp - 0x24], eax
call fcn.00836347
push ebx
push 0x14
mov dword [ebp - 0x28], eax
call fcn.00836347
mov ebx, eax
push 0
push 0x16
mov dword [ebp - 0x30], ebx
call fcn.00836347
push 0x20a
mov dword [ebp - 0x20], eax
call fcn.00839041
and dword [ebp - 8], 0
mov dword [ebp - 4], eax
mov eax, dword [0x83a200]
add esp, 0x24
mov dword [ebp - 0x38], eax
mov eax, dword [0x83a204]
push esi
push 0xd
mov dword [ebp - 0x34], eax
call fcn.00833c29
push esi
push 0xe
mov dword [ebp - 0x10], eax
call fcn.00833c29
xor esi, esi
add esp, 0x10
mov dword [ebp - 0x14], eax
cmp dword [ebp - 4], esi
je 0x8311d3
mov eax, dword [ebp - 0x2c]
cmp eax, esi
je 0x8310b0
lea ecx, [ebp - 8]
push ecx
call fcn.008335d2
pop ecx
cmp ebx, esi
je 0x8310ef
push ebx
call fcn.008390c6
pop ecx
test eax, eax
je 0x8310ef
xor eax, eax
inc eax
mov ecx, esi
shl eax, cl
test edi, eax
je 0x8310e3
mov ax, word [ebx + esi*2]
mov word [ebp - 0x38], ax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x38]
call fcn.008335d2
pop ecx
test eax, eax
je 0x8310ef
push ebx
inc esi
call fcn.008390c6
pop ecx
cmp esi, eax
jb 0x8310bf
mov eax, dword [ebp - 8]
test eax, eax
je 0x8311d3
and dword [ebp - 0x18], 0
push 0
call fcn.008335a4
pop ecx
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x8311d3
mov edi, 0x83a208
mov esi, 0x104
cmp dword [ebp - 0x24], 0
je 0x831172
cmp dword [ebp - 0x10], 0
je 0x831172
push dword [ebp - 0x24]
push edi
push dword [ebp - 0x1c]
push 3
push esi
push dword [ebp - 4]
call fcn.008359f1
add esp, 0x18
test eax, eax
je 0x831172
push dword [ebp - 0x10]
call fcn.008390b5
pop ecx
push dword [ebp - 0x10]
mov ebx, eax
push dword [ebp - 4]
call fcn.00833969
pop ecx
pop ecx
test eax, eax
je 0x831172
cmp dword [ebp - 0x20], 0
je 0x83116f
push dword [ebp - 0x20]
push dword [ebp - 4]
call fcn.00833e9e
pop ecx
pop ecx
inc dword [ebp - 0xc]
cmp dword [ebp - 0x28], 0
je 0x8311b6
cmp dword [ebp - 0x14], 0
je 0x8311b6
push dword [ebp - 0x28]
push edi
push dword [ebp - 0x1c]
push 3
push esi
push dword [ebp - 4]
call fcn.008359f1
add esp, 0x18
test eax, eax
je 0x8311b6
push dword [ebp - 0x14]
call fcn.008390b5
pop ecx
push dword [ebp - 0x14]
mov ebx, eax
push dword [ebp - 4]
call fcn.00833969
pop ecx
pop ecx
test eax, eax
je 0x8311b6
inc dword [ebp - 0xc]
inc dword [ebp - 0x18]
push dword [ebp - 0x18]
mov eax, dword [ebp - 8]
call fcn.008335a4
pop ecx
mov dword [ebp - 0x1c], eax
test eax, eax
jne 0x83111b
mov ebx, dword [ebp - 0x30]
push dword [ebp - 0x20]
call fcn.008339da
pop ecx
push dword [ebp - 0x2c]
call fcn.008339da
pop ecx
push dword [ebp - 0x24]
call fcn.008339da
pop ecx
push dword [ebp - 0x28]
call fcn.008339da
pop ecx
push ebx
call fcn.008339da
pop ecx
push dword [ebp - 0x10]
call fcn.008339f9
pop ecx
push dword [ebp - 0x14]
call fcn.008339f9
cmp dword [ebp - 4], 0
pop ecx
je 0x83121f
push dword [ebp - 4]
call fcn.008390a1
pop ecx
cmp dword [ebp - 8], 0
je 0x83122e
push dword [ebp - 8]
call fcn.008390a1
pop ecx
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
leave
ret