Function at 0x100bbc20
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x1014c2f5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov dword [esp + 4], 0
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
cmp dword [ecx], 0
push esi
push eax
jne 0x100bbc6a
mov esi, dword [esp + 0x2c]
mov ecx, esi
call fcn.1009edd0
mov eax, esi
pop esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret
lea ecx, [esp + 0x30]
call fcn.1009edd0
lea ecx, [esp + 0x2c]
mov dword [esp + 0x20], 1
call fcn.100a0460
push 0
push 0
push 0x1015e5c0
lea ecx, [esp + 0x38]
call fcn.1009f380
test eax, eax
jne 0x100bbca6
push 7
push eax
lea ecx, [esp + 0x34]
call fcn.1009f410
push ebp
push edi
push 0
mov ebp, 0x5c
push ebp
push 0x2f
lea ecx, [esp + 0x40]
call fcn.1009e8b0
mov eax, dword [esp + 0x34]
mov esi, dword [eax]
test esi, esi
je 0x100bbde2
cmp word [eax + 0xc], 0x7e
jne 0x100bbde2
push 1
push 0
lea ecx, [esp + 0x3c]
call fcn.1009f410
mov edx, dword [0x10327358]
push 0
push edx
lea ecx, [esp + 0x3c]
call fcn.1009fb40
mov eax, dword [esp + 0x34]
cmp dword [eax], 2
jle 0x100bbd19
cmp word [eax + 0xe], 0x3a
jne 0x100bbd19
cmp word [eax + 0x10], bp
je 0x100bbd19
push 2
push ebp
lea ecx, [esp + 0x3c]
call fcn.1009fc00
mov eax, dword [esp + 0x34]
mov ecx, dword [eax]
cmp word [eax + ecx*2 + 0xa], bp
jne 0x100bbd31
add ecx, 0xffffffff
push 0xffffffffffffffff
push ecx
lea ecx, [esp + 0x3c]
call fcn.1009f410
lea edx, [esp + 0x34]
push edx
lea ecx, [esp + 0x10]
call fcn.1009edd0
push str..LNK
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 2
call fcn.1009f8e0
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x1a]
call fcn.100b0b70
push 0
lea ecx, [esp + 0x1a]
push 0
push ecx
mov byte [esp + 0x34], 3
call fcn.100bae70
add esp, 0xc
lea ecx, [esp + 0x16]
movzx esi, ax
mov byte [esp + 0x28], 2
call fcn.100b0c50
test si, si
pop edi
pop ebp
je 0x100bbd9c
lea edx, [esp + 4]
push edx
lea ecx, [esp + 0x30]
call fcn.1009e420
mov esi, dword [esp + 0x28]
lea eax, [esp + 0x2c]
push eax
mov ecx, esi
call fcn.1009edd0
lea ecx, [esp + 4]
mov dword [esp + 8], 1
mov byte [esp + 0x20], 1
call fcn.1009dbf0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x20], 0
call fcn.1009dbf0
mov ecx, dword [esp + 0x18]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret
cmp esi, 1
jle 0x100bbe1b
movzx eax, word [eax + 0xc]
push eax
call sub.MSVCR80.dll_iswalpha
add esp, 4
test eax, eax
mov eax, dword [esp + 0x34]
je 0x100bbe1b
cmp word [eax + 0xe], 0x3a
jne 0x100bbe1b
cmp esi, 3
jne 0x100bbd19
cmp word [eax + 0x10], bp
jne 0x100bbd19
jmp 0x100bbd31
cmp esi, 2
jl 0x100bbd19
cmp word [eax + 0xc], bp
jne 0x100bbd19
movzx ecx, word [eax + 0xe]
push ecx
call sub.MSVCR80.dll_towupper
movzx edi, ax
push edi
call sub.MSVCR80.dll_iswalpha
add esp, 8
test eax, eax
je 0x100bbd15
cmp esi, 2
je 0x100bbe5f
mov eax, dword [esp + 0x34]
cmp word [eax + 0x10], bp
jne 0x100bbd19
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
lea ecx, [edi - 0x41]
mov edx, 1
shl edx, cl
test eax, edx
je 0x100bbd15
mov eax, dword [esp + 0x34]
movzx ecx, word [eax + 0xe]
push ecx
push 0
lea ecx, [esp + 0x3c]
call fcn.1009ea10
push 0x3a
push 1
lea ecx, [esp + 0x3c]
call fcn.1009ea10
cmp esi, 2
jne 0x100bbea9
push ebp
lea ecx, [esp + 0x38]
call fcn.1009f880
jmp 0x100bbeb2
cmp esi, 3
jne 0x100bbd15
mov eax, dword [esp + 0x34]
cmp word [eax + 0x10], bp
je 0x100bbd31
jmp 0x100bbd19