Function at 0x100132bd
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006c5d6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x350
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x10013598
mov dword [ebp - 0x44], 0x1d5a
cmp dword [ebp - 0x44], 0xf65
jge 0x10013444
xor eax, eax
inc eax
je 0x10013444
lea eax, [ebp - 0xbc]
push eax
push 0x10007c8c
call fcn.10054f9b
pop ecx
pop ecx
xor eax, eax
inc eax
imul eax, eax, 0
movsx eax, byte [ebp + eax - 0xbc]
cmp eax, 0x2a
jne 0x10013336
jmp 0x10013444
lea eax, [ebp - 0xbc]
push eax
call fcn.10054f10
pop ecx
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x11], 1
mov dword [ebp - 0x1c], 1
jmp 0x1001335a
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x2c]
jge 0x1001340f
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x1001340f
push 0x2a4
push 0
lea eax, [ebp - 0x360]
push eax
call fcn.1004e729
add esp, 0xc
and dword [ebp - 0x18], 0
jmp 0x10013395
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x2c]
jge 0x1001340a
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x1001340a
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x1c]
movsx eax, byte [ebp + eax - 0xbc]
mov ecx, dword [ebp - 0x18]
movsx ecx, byte [ebp + ecx - 0xbc]
sub ecx, 0x41
imul ecx, ecx, 0x1a
lea ecx, [ebp + ecx - 0x360]
movzx eax, byte [ecx + eax - 0x41]
test eax, eax
je 0x100133dd
mov byte [ebp - 0x11], 0
jmp 0x10013408
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x1c]
movsx eax, byte [ebp + eax - 0xbc]
mov ecx, dword [ebp - 0x18]
movsx ecx, byte [ebp + ecx - 0xbc]
sub ecx, 0x41
imul ecx, ecx, 0x1a
lea ecx, [ebp + ecx - 0x360]
mov byte [ecx + eax - 0x41], 1
jmp 0x1001338e
jmp 0x10013353
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x1001342c
lea eax, [ebp - 0xbc]
push eax
push 0x10007c90
call fcn.100551b6
pop ecx
pop ecx
jmp 0x1001343f
lea eax, [ebp - 0xbc]
push eax
push 0x10007ca4
call fcn.100551b6
pop ecx
pop ecx
jmp 0x10013302
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x68], eax
lea eax, [ebp + 8]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x3c]
movzx eax, byte [eax]
test eax, eax
je 0x1001356c
mov dword [ebp - 0x30], 0x5ff3
mov dword [ebp - 0x34], 0x10007cbc
cmp dword [ebp - 0x30], 0x608c
jle 0x100134ed
and dword [ebp - 0x20], 0
jmp 0x1001348e
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x233e
jge 0x100134ed
and dword [ebp - 0x28], 0
jmp 0x100134a4
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x302e
jge 0x100134eb
and dword [ebp - 0x24], 0
jmp 0x100134ba
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x7f74
jge 0x100134e9
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x28]
shl eax, cl
mov ecx, dword [ebp - 0x24]
sar eax, cl
cdq
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], edx
push dword [ebp - 0x60]
push dword [ebp - 0x64]
mov ecx, 0x10615658
call fcn.1002377f
jmp 0x100134b3
jmp 0x1001349d
jmp 0x10013487
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x5c], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x30], 0x5f3b
jge 0x1001350d
mov edx, dword [ebp - 0x34]
mov ecx, 0x10615658
call fcn.10025485
jmp 0x10013529
or dword [ebp - 4], 0xffffffff
jmp 0x10013533
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
movzx eax, byte [eax]
test eax, eax
je 0x1001356a
push 0x4949
push 1
push 0x4dc3
push 0x4a2c
push 0
push 0x6d05
push 0x7a55
push 1
call fcn.10012d40
add esp, 0x20
jmp 0x10013596
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
mov eax, dword [eax]
movzx eax, word [eax]
and eax, 0xfff
mov ecx, dword [ebp - 0x50]
mov dword [ecx], eax
jmp 0x100135c1
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
movzx eax, byte [eax]
test eax, eax
je 0x100135b0
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
jmp 0x100135c1
push 0
push 0
push 0x2023
push 0
call dword [sym.imp.USER32.dll_GetMenuItemInfoW]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret