Function at 0x100028f0
Capabilities:
Get disk information
Get process image filename

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x140
mov eax, dword [0x1000b134]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x105
push 0
lea eax, [ebp - 0x110]
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
push 0x105
lea ecx, [ebp - 0x110]
push ecx
mov edx, dword [ebp + 8]
push edx
call sub.PSAPI.DLL_GetProcessImageFileNameA
test eax, eax
jne 0x10002937
jmp 0x10002b9b
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_GetLogicalDriveStringsA]
mov dword [ebp - 0x118], eax
cmp dword [ebp - 0x118], 0
jne 0x10002955
jmp 0x10002b9b
mov eax, dword [ebp - 0x118]
add eax, 1
push eax
call fcn.10005fcf
add esp, 4
mov dword [ebp - 0x128], eax
mov ecx, dword [ebp - 0x128]
mov dword [ebp - 0x114], ecx
mov edx, dword [ebp - 0x118]
add edx, 1
push edx
push 0
mov eax, dword [ebp - 0x114]
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
mov ecx, dword [ebp - 0x114]
push ecx
mov edx, dword [ebp - 0x118]
push edx
call dword [sym.imp.KERNEL32.DLL_GetLogicalDriveStringsA]
mov dword [ebp - 0x118], eax
cmp dword [ebp - 0x118], 0
jne 0x100029d7
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0x12c], eax
mov ecx, dword [ebp - 0x12c]
push ecx
call sub.MSVCR90.dll_void___cdecl_operator_delete___void__
add esp, 4
jmp 0x10002b9b
mov dx, word [0x10008528]
mov word [ebp - 0x11c], dx
mov al, byte [0x1000852a]
mov byte [ebp - 0x11a], al
push 0x104
call fcn.10005fcf
add esp, 4
mov dword [ebp - 0x130], eax
mov ecx, dword [ebp - 0x130]
mov dword [ebp - 0x124], ecx
mov edx, dword [ebp - 0x114]
mov dword [ebp - 0x120], edx
mov eax, dword [ebp - 0x120]
mov cl, byte [eax]
mov byte [ebp - 0x11c], cl
push 0x104
mov edx, dword [ebp - 0x124]
push edx
lea eax, [ebp - 0x11c]
push eax
call dword [sym.imp.KERNEL32.DLL_QueryDosDeviceA]
mov dword [ebp - 0x118], eax
cmp dword [ebp - 0x118], 0
jne 0x10002ad6
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0x7a
je 0x10002a65
jmp 0x10002b65
mov ecx, dword [ebp - 0x124]
mov dword [ebp - 0x134], ecx
mov edx, dword [ebp - 0x134]
push edx
call sub.MSVCR90.dll_void___cdecl_operator_delete___void__
add esp, 4
mov eax, dword [ebp - 0x118]
add eax, 1
push eax
call fcn.10005fcf
add esp, 4
mov dword [ebp - 0x138], eax
mov ecx, dword [ebp - 0x138]
mov dword [ebp - 0x124], ecx
mov edx, dword [ebp - 0x118]
add edx, 1
push edx
mov eax, dword [ebp - 0x124]
push eax
lea ecx, [ebp - 0x11c]
push ecx
call dword [sym.imp.KERNEL32.DLL_QueryDosDeviceA]
mov dword [ebp - 0x118], eax
cmp dword [ebp - 0x118], 0
jne 0x10002ad6
jmp 0x10002b65
mov edx, dword [ebp - 0x124]
push edx
call sub.MSVCR90.dll_strlen
add esp, 4
mov dword [ebp - 0x118], eax
mov eax, dword [ebp - 0x118]
push eax
mov ecx, dword [ebp - 0x124]
push ecx
lea edx, [ebp - 0x110]
push edx
call dword [sym.imp.MSVCR90.dll__mbsnbicmp]
add esp, 0xc
test eax, eax
jne 0x10002b36
mov eax, dword [ebp - 0x118]
lea ecx, [ebp + eax - 0x110]
push ecx
lea edx, [ebp - 0x11c]
push edx
push str._s_s
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.MSVCR90.dll_sprintf]
add esp, 0x10
jmp 0x10002b65
mov ecx, dword [ebp - 0x120]
movsx edx, byte [ecx]
mov eax, dword [ebp - 0x120]
add eax, 1
mov dword [ebp - 0x120], eax
test edx, edx
je 0x10002b54
jmp 0x10002b36
mov ecx, dword [ebp - 0x120]
movsx edx, byte [ecx]
test edx, edx
jne 0x10002a1b
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0x13c], eax
mov ecx, dword [ebp - 0x13c]
push ecx
call sub.MSVCR90.dll_void___cdecl_operator_delete___void__
add esp, 4
mov edx, dword [ebp - 0x124]
mov dword [ebp - 0x140], edx
mov eax, dword [ebp - 0x140]
push eax
call sub.MSVCR90.dll_void___cdecl_operator_delete___void__
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000601c
mov esp, ebp
pop ebp
ret