Function at 0x100118c6
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
push esi
movzx eax, byte [ebp + 0x20]
test eax, eax
je 0x10011b42
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x74], eax
push 0
mov ecx, dword [ebp - 8]
call fcn.100152af
cmp dword [eax], 0
je 0x10011ae6
mov eax, dword [ebp - 0x6c]
cmp dword [eax], 0
jne 0x10011a68
push 0
mov ecx, dword [ebp - 8]
call fcn.100152af
mov ecx, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ecx], eax
mov eax, dword [ebp - 0x10]
mov esi, dword [eax]
push 0
mov ecx, dword [ebp - 8]
call fcn.100152af
add esi, dword [eax]
je 0x1001198d
mov eax, dword [ebp - 0x20]
cmp dword [eax], 0
je 0x1001198d
mov dword [ebp - 0x14], 1
jmp 0x10011991
and dword [ebp - 0x14], 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
cmp dword [ebp - 0x14], eax
je 0x100119a4
mov dword [ebp - 0x18], 1
jmp 0x100119a8
and dword [ebp - 0x18], 0
push 0
mov ecx, dword [ebp - 8]
call fcn.100152af
mov esi, dword [ebp - 0x18]
imul esi, dword [eax]
push 0
mov ecx, dword [ebp - 8]
call fcn.100152af
cmp esi, dword [eax]
jle 0x100119cf
mov dword [ebp - 0x1c], 1
jmp 0x100119d3
and dword [ebp - 0x1c], 0
push 0
mov ecx, dword [ebp - 8]
call fcn.100152af
mov esi, dword [ebp - 0x1c]
sub esi, dword [eax]
push 0
mov ecx, dword [ebp - 8]
call fcn.100152af
sub esi, dword [eax]
push 0
mov ecx, dword [ebp - 8]
call fcn.100152af
cmp esi, dword [eax]
jge 0x10011a0b
mov eax, 0xb4404179
test eax, eax
jne 0x10011a0b
and dword [ebp - 0x24], 0
jmp 0x10011a12
mov dword [ebp - 0x24], 1
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
cmp dword [ebp - 0x24], eax
je 0x10011a25
mov dword [ebp - 0x28], 1
jmp 0x10011a29
and dword [ebp - 0x28], 0
push 0
mov ecx, dword [ebp - 8]
call fcn.100152af
mov ecx, dword [ebp - 0x28]
imul ecx, dword [eax]
mov eax, dword [ebp - 0xc]
cmp ecx, dword [eax]
jl 0x10011a4d
xor eax, eax
je 0x10011a4d
mov dword [ebp - 0x2c], 1
jmp 0x10011a51
and dword [ebp - 0x2c], 0
push 0
mov ecx, dword [ebp - 8]
call fcn.100152af
mov ecx, dword [ebp - 0x2c]
cmp ecx, dword [eax]
jle 0x10011a68
and dword [ebp - 0x30], 0
jmp 0x10011a6f
mov dword [ebp - 0x30], 1
push 0
mov ecx, dword [ebp - 8]
call fcn.100152af
mov ecx, dword [ebp - 0x30]
cmp ecx, dword [eax]
jl 0x10011a89
mov dword [ebp - 0x34], 1
jmp 0x10011a8d
and dword [ebp - 0x34], 0
push 0
mov ecx, dword [ebp - 8]
call fcn.100152af
mov ecx, dword [ebp - 0x34]
cmp ecx, dword [eax]
jne 0x10011aa7
mov dword [ebp - 0x38], 1
jmp 0x10011aab
and dword [ebp - 0x38], 0
push 0
mov ecx, dword [ebp - 8]
call fcn.100152af
mov ecx, dword [ebp - 0x38]
cmp ecx, dword [eax]
jne 0x10011ac5
mov dword [ebp - 0x3c], 1
jmp 0x10011ac9
and dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x70]
mov dword [eax], 0
imul eax, dword [ebp - 0x3c], 0
mov ecx, dword [ebp - 0x74]
sub eax, dword [ecx]
je 0x10011ae6
mov dword [ebp - 0x40], 1
jmp 0x10011aea
and dword [ebp - 0x40], 0
cmp dword [ebp - 0x40], 0x91a83acd
jb 0x10011afc
mov dword [ebp - 0x44], 1
jmp 0x10011b00
and dword [ebp - 0x44], 0
push 0
mov ecx, dword [ebp - 8]
call fcn.100152af
mov ecx, dword [ebp - 0x44]
add ecx, dword [eax]
mov eax, dword [ebp - 0xc]
mov dword [eax], ecx
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0
je 0x10011b34
push 0
mov ecx, dword [ebp - 8]
call fcn.100152af
cmp dword [eax], 0
je 0x10011b34
mov dword [ebp - 0x48], 1
jmp 0x10011b38
and dword [ebp - 0x48], 0
mov eax, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x48]
mov dword [eax], ecx
jmp 0x10011b54
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x10011b54
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
pop esi
mov esp, ebp
pop ebp
ret