Function at 0x49e094
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x18], ecx
mov esi, edx
lea edi, [ebp - 0xc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 4], eax
lea ebx, [ebp - 0x14]
xor eax, eax
push ebp
push 0x49e2c5
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x1c], 1
mov eax, dword [ebp - 0x1c]
call fcn.004027a8
mov dword [ebp - 0x10], eax
xor edx, edx
push ebp
push 0x49e2a0
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.kernel32.dll_GetLogicalDriveStringsA
cmp eax, dword [ebp - 0x1c]
jbe 0x49e10d
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0x1c]
call fcn.004027e8
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.kernel32.dll_GetLogicalDriveStringsA
mov eax, dword [ebp - 0x10]
mov dword [ebx], eax
xor eax, eax
mov dword [ebp - 0x24], eax
mov eax, 4
call fcn.004027a8
mov dword [ebp - 0x20], eax
xor edx, edx
push ebp
push 0x49e283
push dword fs:[edx]
mov dword fs:[edx], esp
jmp 0x49e17e
inc dword [ebp - 0x24]
mov edx, dword [ebp - 0x24]
shl edx, 2
lea eax, [ebp - 0x20]
call fcn.004027e8
lea eax, [ebp - 0x18]
mov edx, dword [ebx]
call fcn.004043ac
mov eax, dword [ebp - 0x18]
call fcn.00404674
push eax
call sub.kernel32.dll_GetDriveTypeA
mov edx, dword [ebp - 0x24]
dec edx
shl edx, 2
add edx, dword [ebp - 0x20]
mov dword [edx], eax
lea eax, [ebp - 0x28]
mov edx, dword [ebx]
call fcn.004043ac
mov eax, dword [ebp - 0x28]
call fcn.00404474
inc eax
add dword [ebx], eax
mov eax, dword [ebx]
cmp byte [eax], 0
jne 0x49e134
mov eax, dword [ebp - 0x24]
shl eax, 2
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x1c]
add eax, 8
add eax, dword [ebp - 0x24]
mov dword [ebp - 8], eax
add eax, 8
call fcn.004027a8
mov esi, eax
mov edx, dword [ebp - 8]
add edx, 8
mov edi, esi
mov eax, edi
xor ecx, ecx
call fcn.00402dac
xor ebx, ebx
mov edx, edi
lea eax, [ebp - 0xc]
mov ecx, 8
call fcn.004029a4
add ebx, 8
mov eax, esi
xor edx, edx
push edx
push eax
mov eax, ebx
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edx, eax
lea eax, [ebp - 0x1c]
mov ecx, 4
call fcn.004029a4
add ebx, 4
mov eax, esi
xor edx, edx
push edx
push eax
mov eax, ebx
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edx, eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
call fcn.004029a4
add ebx, dword [ebp - 0x1c]
mov eax, esi
xor edx, edx
push edx
push eax
mov eax, ebx
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edx, eax
lea eax, [ebp - 0x24]
mov ecx, 4
call fcn.004029a4
add ebx, 4
mov eax, esi
xor edx, edx
push edx
push eax
mov eax, ebx
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edx, eax
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
call fcn.004029a4
mov ecx, dword [ebp - 8]
add ecx, 8
mov edx, esi
mov eax, dword [ebp - 4]
call fcn.0049d76c
mov eax, esi
call fcn.004027c8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49e28a
mov eax, dword [ebp - 0x20]
call fcn.004027c8
ret