Function at 0x10005750
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
movzx eax, byte [ebp + 8]
test eax, eax
je 0x100059b4
mov dword [ebp - 0x28], 0x253c
cmp dword [ebp - 0x28], 0x8a0
jge 0x1000599e
push 0x100dc5d4
push 0x10066a24
call fcn.100454fb
pop ecx
pop ecx
and dword [ebp - 8], 0
jmp 0x10005794
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
cmp eax, dword [0x100dc5d4]
jge 0x100057b8
mov eax, dword [ebp - 8]
lea eax, [eax*4 + 0x100dc5e0]
push eax
push 0x10066a24
call fcn.100454fb
pop ecx
pop ecx
jmp 0x1000578d
and dword [ebp - 0xc], 0
jmp 0x100057c5
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
cmp eax, dword [0x100dc5d4]
jge 0x10005836
and dword [ebp - 0x10], 0
jmp 0x100057dd
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
cmp eax, dword [0x100dc5d4]
jge 0x10005834
and dword [ebp - 0x14], 0
jmp 0x100057f5
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [0x100dc5d4]
jge 0x10005832
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
mov eax, dword [eax*4 + 0x100dc5e0]
imul eax, dword [ecx*4 + 0x100dc5e0]
mov ecx, dword [ebp - 0x14]
add eax, dword [ecx*4 + 0x100dc5e0]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
mov ecx, 0x100dcb1c
call fcn.1000f8a2
jmp 0x100057ee
jmp 0x100057d6
jmp 0x100057be
lea eax, [ebp - 0x48]
push eax
mov ecx, 0x100dcb1c
call fcn.1000f945
push dword [eax]
lea eax, [ebp - 0x4c]
push eax
mov ecx, 0x100dcb1c
call fcn.1000f937
push dword [eax]
call fcn.10012957
pop ecx
pop ecx
and dword [ebp - 0x20], 0
and dword [ebp - 0x18], 0
jmp 0x1000586e
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
cmp eax, dword [0x100dc5d4]
jge 0x1000598f
and dword [ebp - 0x1c], 0
jmp 0x1000588a
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
cmp eax, dword [0x100dc5d4]
jge 0x1000598a
and dword [ebp - 4], 0
jmp 0x100058a6
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp eax, dword [0x100dc5d4]
jge 0x10005985
mov eax, dword [ebp - 4]
cmp dword [eax*4 + 0x100dc5e0], 0
je 0x10005980
mov eax, dword [ebp - 0x18]
mov eax, dword [eax*4 + 0x100dc5e0]
mov ecx, dword [ebp - 0x1c]
add eax, dword [ecx*4 + 0x100dc5e0]
mov ecx, dword [ebp - 4]
imul eax, dword [ecx*4 + 0x100dc5e0]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x50]
push eax
mov ecx, 0x100dcb1c
call fcn.1000f937
push eax
lea eax, [ebp - 0x54]
push eax
mov ecx, 0x100dcb1c
call fcn.1000f945
push dword [eax]
lea eax, [ebp - 0x58]
push eax
mov ecx, 0x100dcb1c
call fcn.1000f937
push dword [eax]
lea edx, [ebp - 0x24]
lea ecx, [ebp - 0x5c]
call fcn.1001297b
pop ecx
pop ecx
mov ecx, eax
call fcn.1000faa2
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x60]
push eax
mov ecx, 0x100dcb1c
call fcn.1000f937
push eax
lea eax, [ebp - 0x64]
push eax
mov ecx, 0x100dcb1c
call fcn.1000f945
push dword [eax]
lea eax, [ebp - 0x68]
push eax
mov ecx, 0x100dcb1c
call fcn.1000f937
push dword [eax]
lea edx, [ebp - 0x24]
lea ecx, [ebp - 0x6c]
call fcn.100129c9
pop ecx
pop ecx
mov ecx, eax
call fcn.1000faa2
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
sub eax, dword [ebp - 0x34]
add eax, dword [ebp - 0x20]
mov dword [ebp - 0x20], eax
jmp 0x1000589f
jmp 0x10005883
jmp 0x10005867
push dword [ebp - 0x20]
push 0x10066d40
call fcn.10045b49
pop ecx
pop ecx
push 0x5194
push 1
push 0x3b05
call fcn.100059f4
add esp, 0xc
jmp 0x100059f0
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x3c], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
movzx eax, byte [eax]
test eax, eax
je 0x100059d4
push 0
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
jmp 0x100059f0
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
movzx eax, byte [eax]
test eax, eax
je 0x100059f0
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov esp, ebp
pop ebp
ret