Function at 0x1000a5cf
Capabilities:
Get disk information

Disassembly:
push ebp
sub esp, 0x28c
lea ebp, [esp - 4]
mov eax, dword [0x10071ef0]
xor eax, ebp
mov dword [ebp + 0x28c], eax
push 0x28
mov eax, 0x100402ed
call fcn.1003e7e6
mov dword [ebp - 0x34], ecx
xor ebx, ebx
push ebx
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x24]
push eax
push 2
mov dword [ebp - 4], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x2c], ebx
call fcn.1000d67f
add esp, 0x14
test al, al
jne 0x1000a637
mov eax, dword [ebp + 0x298]
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x1000a630
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor al, al
jmp 0x1000a861
cmp dword [ebp - 0x24], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], ebx
jbe 0x1000a83d
mov edi, dword [sym.imp.MSVCR80.dll_wcslen]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
lea esi, [ecx + eax]
test byte [esi + 4], 2
mov dword [ebp - 0x28], esi
je 0x1000a676
lea eax, [esi + 0x50]
push 0x1006d7e0
push eax
call fcn.10006c4d
test eax, eax
pop ecx
pop ecx
jne 0x1000a829
push 0x74
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
cmp eax, ebx
pop ecx
je 0x1000a68c
push ebx
mov ecx, eax
call fcn.10009c13
jmp 0x1000a68e
xor eax, eax
push eax
lea ecx, [ebp - 0x14]
call fcn.10011e8d
mov ecx, dword [ebp - 0x14]
push dword [ebp - 0x34]
add ecx, 4
mov byte [ebp - 4], 1
mov dword [ebp - 0x10], ecx
call fcn.100072d5
mov ecx, dword [ebp - 0x10]
push esi
call fcn.100075f3
mov esi, dword [esi + 0x48]
add esi, dword [ebp - 0x1c]
add esi, dword [ebp - 0x18]
push esi
call edi
mov dword [ebp - 0x10], eax
mov dword [esp], 0x208
lea eax, [ebp + 2]
push ebx
push eax
mov word [ebp], bx
call sub.MSVCR80.dll_memset
add esp, 0xc
cmp dword [ebp - 0x10], ebx
jbe 0x1000a7f4
push str.DOSDEVICES_
call edi
push eax
push str.DOSDEVICES_
push esi
call dword [sym.imp.MSVCR80.dll__wcsnicmp]
add esp, 0x10
test eax, eax
jne 0x1000a71d
push str.DOSDEVICES_
call edi
movzx eax, byte [esi + eax*2]
pop ecx
mov ecx, dword [ebp - 0x14]
push eax
add ecx, 4
call fcn.100072cb
jmp 0x1000a7de
push str.__VOLUME
call edi
push eax
push str.__VOLUME
push esi
call dword [sym.imp.MSVCR80.dll__wcsnicmp]
add esp, 0x10
test eax, eax
jne 0x1000a7de
push esi
lea eax, [ebp]
push 0x105
push eax
call dword [sym.imp.MSVCR80.dll_wcscpy_s]
push 8
lea eax, [ebp]
push 0x10046240
push eax
call sub.MSVCR80.dll_memcpy
push 0x10044eec
lea eax, [ebp]
push 0x105
push eax
call dword [sym.imp.MSVCR80.dll_wcscat_s]
mov ecx, dword [ebp - 0x14]
add esp, 0x24
lea eax, [ebp]
push eax
add ecx, 4
call fcn.100075e3
push 0x7e
lea eax, [ebp + 0x20e]
push ebx
push eax
mov word [ebp + 0x20c], bx
call sub.MSVCR80.dll_memset
add esp, 0xc
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x40
lea eax, [ebp + 0x20c]
push eax
lea eax, [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
mov ecx, dword [ebp - 0x14]
add ecx, 4
test eax, eax
je 0x1000a7d8
push 1
call fcn.100072de
mov ecx, dword [ebp - 0x14]
lea eax, [ebp + 0x20c]
push eax
add ecx, 4
call fcn.100075eb
jmp 0x1000a7de
push ebx
call fcn.100072de
mov eax, dword [ebp - 0x10]
lea esi, [esi + eax*2 + 2]
push esi
call edi
cmp eax, ebx
pop ecx
mov dword [ebp - 0x10], eax
ja 0x1000a6e5
mov esi, dword [ebp - 0x14]
mov eax, dword [esi]
lea ecx, [ebp - 0x30]
push ecx
push str.Nl5eLw
push esi
call dword [eax]
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp + 0x298]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
add ecx, 0x24
call fcn.1000ce77
mov eax, dword [esi]
push esi
mov byte [ebp - 4], bl
call dword [eax + 8]
mov esi, dword [ebp - 0x28]
mov eax, dword [esi]
add dword [ebp - 0x1c], eax
inc dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x24]
jb 0x1000a64c
cmp dword [ebp - 0x18], ebx
je 0x1000a84b
push dword [ebp - 0x18]
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
pop ecx
mov eax, dword [ebp + 0x298]
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x1000a85f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x28c]
xor ecx, ebp
call fcn.1003e70b
add ebp, 0x290
leave
ret 4