Function at 0x1001ca74
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x1001cad2
mov eax, dword [ebp + 8]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x10]
mov dword [eax], 0
jmp 0x1001cab0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x10]
mov dword [ecx], eax
mov eax, dword [ebp - 0x10]
cmp dword [eax], 2
jge 0x1001cacd
mov eax, dword [ebp - 0x10]
push dword [eax]
mov ecx, dword [ebp - 0x44]
call fcn.10015e0b
mov dword [eax], 0xfffffff6
jmp 0x1001caa5
jmp 0x1001cc95
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x14], 0xb302aff6
mov dword [ebp - 0x48], 0x283d1f0d
mov dword [ebp - 8], 0
jmp 0x1001caf7
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 2
jge 0x1001cb0a
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x58], 0xefb6f65e
jmp 0x1001caf0
mov dword [ebp - 8], 0
jmp 0x1001cb1a
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 3
jge 0x1001cb2d
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x64], 0xffffffff
jmp 0x1001cb13
mov dword [ebp - 0xc], 0
jmp 0x1001cb3d
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xc
jge 0x1001cb57
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x1001cb55
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
jmp 0x1001cb36
mov eax, dword [ebp - 0xc]
cmp dword [ebp - 0xc], eax
jge 0x1001cb68
mov dword [ebp - 0x30], 1
jmp 0x1001cb6c
and dword [ebp - 0x30], 0
push 4
pop eax
imul eax, eax, 0
push 4
pop ecx
imul ecx, ecx, 0
mov ecx, dword [ebp + ecx - 0x58]
cmp dword [ebp + eax - 0x58], ecx
jl 0x1001cb8b
mov dword [ebp - 0x24], 1
jmp 0x1001cb8f
and dword [ebp - 0x24], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x58]
mov dword [ebp - 0x4c], eax
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x58]
mov dword [ebp - 0x50], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x14]
cmp dword [ebp + eax - 0x58], ecx
jne 0x1001cbc1
mov dword [ebp - 0x18], 1
jmp 0x1001cbc5
and dword [ebp - 0x18], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x58]
cmp dword [ebp - 0x18], eax
jl 0x1001cbdd
mov dword [ebp - 0x1c], 1
jmp 0x1001cbe1
and dword [ebp - 0x1c], 0
cmp dword [ebp - 0x1c], 0x123d
je 0x1001cbf3
mov dword [ebp - 0x20], 1
jmp 0x1001cbf7
and dword [ebp - 0x20], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x58]
cmp dword [ebp - 0x20], eax
jg 0x1001cc1c
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x58], 0
je 0x1001cc1c
mov dword [ebp - 0x28], 1
jmp 0x1001cc20
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x28]
jle 0x1001cc3a
mov eax, 0xe043eef7
test eax, eax
je 0x1001cc3a
mov dword [ebp - 0x2c], 1
jmp 0x1001cc3e
and dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0xc], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x58]
cmp dword [ebp - 0xc], eax
jge 0x1001cc68
mov dword [ebp - 0x34], 1
jmp 0x1001cc6c
and dword [ebp - 0x34], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x58]
cmp dword [ebp - 0x34], eax
je 0x1001cc84
mov dword [ebp - 0x38], 1
jmp 0x1001cc88
and dword [ebp - 0x38], 0
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x38]
mov dword [ebp + eax - 0x64], ecx
mov esp, ebp
pop ebp
ret