Function at 0x4abe94
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xc8
push 0
push 0
dec ecx
jne 0x4abe9c
push ecx
push ebx
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
call fcn.004054c8
xor eax, eax
push ebp
push 0x4ac307
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [0x4ab618]
mov eax, 0x20
call fcn.00405924
mov ebx, eax
call fcn.004ad3c4
test al, al
je 0x4ac09e
push 0x200
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0x200
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x614]
mov ecx, 0x4ac31c
mov edx, dword [ebp - 4]
call fcn.0040518c
mov eax, dword [ebp - 0x614]
call fcn.00405110
push eax
call sub.kernel32.dll_GetVolumeInformationW
test eax, eax
je 0x4ac066
mov eax, ebx
lea edx, [ebp - 0x210]
mov ecx, pe_nt_image_headers32
call fcn.00405078
mov eax, dword [ebp - 8]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x618]
call fcn.00409d70
mov edx, dword [ebp - 0x618]
lea eax, [ebx + 4]
call fcn.00405094
lea eax, [ebx + 8]
lea edx, [ebp - 0x410]
mov ecx, pe_nt_image_headers32
call fcn.00405078
lea eax, [ebp - 0x61c]
mov ecx, 0x4ac31c
mov edx, dword [ebp - 4]
call fcn.0040518c
mov eax, dword [ebp - 0x61c]
call fcn.00405110
push eax
call sub.kernel32.dll_GetDriveTypeW
cmp eax, 6
ja case.0x4abf9b.0
jmp dword [eax*4 + 0x4abfa2]
lea eax, [ebx + 0xc]
mov edx, 0x4ac324
call fcn.00404f08
jmp 0x4ac011
lea eax, [ebx + 0xc]
mov edx, 0x4ac338
call fcn.00404f08
jmp 0x4ac011
lea eax, [ebx + 0xc]
mov edx, 0x4ac348
call fcn.00404f08
jmp 0x4ac011
lea eax, [ebx + 0xc]
mov edx, 0x4ac35c
call fcn.00404f08
jmp 0x4ac011
lea eax, [ebx + 0xc]
mov edx, 0x4ac36c
call fcn.00404f08
jmp 0x4ac011
lea eax, [ebx + 0xc]
call fcn.00404ecc
lea eax, [ebp - 0x620]
mov edx, dword [ebp - 4]
call fcn.004049b4
mov eax, dword [ebp - 0x620]
mov al, byte [eax]
call fcn.00402b3c
sub al, 0x40
call fcn.0040a698
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], edx
lea eax, [ebp - 0x624]
mov edx, dword [ebp - 4]
call fcn.004049b4
mov eax, dword [ebp - 0x624]
mov al, byte [eax]
call fcn.00402b3c
sub al, 0x40
call fcn.0040a664
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], edx
jmp 0x4ac28a
mov eax, ebx
call fcn.00404ecc
lea eax, [ebx + 4]
call fcn.00404ecc
lea eax, [ebx + 8]
call fcn.00404ecc
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0
jmp 0x4ac28a
push pe_nt_image_headers32
lea eax, [ebp - 0x610]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push pe_nt_image_headers32
lea eax, [ebp - 0x510]
push eax
lea eax, [ebp - 0x62c]
mov ecx, 0x4ac31c
mov edx, dword [ebp - 4]
call fcn.0040518c
mov edx, dword [ebp - 0x62c]
lea eax, [ebp - 0x628]
call fcn.004049b4
mov eax, dword [ebp - 0x628]
call fcn.00404bec
push eax
call sub.kernel32.dll_GetVolumeInformationA
test eax, eax
je 0x4ac257
mov eax, ebx
lea edx, [ebp - 0x510]
mov ecx, pe_nt_image_headers32
call fcn.00405060
mov eax, dword [ebp - 8]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x630]
call fcn.00409d70
mov edx, dword [ebp - 0x630]
lea eax, [ebx + 4]
call fcn.00405094
lea eax, [ebp - 0x634]
lea edx, [ebp - 0x610]
mov ecx, pe_nt_image_headers32
call fcn.0040499c
mov edx, dword [ebp - 0x634]
lea eax, [ebx + 8]
call fcn.00405094
lea eax, [ebp - 0x63c]
mov ecx, 0x4ac31c
mov edx, dword [ebp - 4]
call fcn.0040518c
mov edx, dword [ebp - 0x63c]
lea eax, [ebp - 0x638]
call fcn.004049b4
mov eax, dword [ebp - 0x638]
call fcn.00404bec
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 6
ja case.0x4ac18f.0
jmp dword [eax*4 + 0x4ac196]
lea eax, [ebx + 0xc]
mov edx, 0x4ac324
call fcn.00404f08
jmp 0x4ac205
lea eax, [ebx + 0xc]
mov edx, 0x4ac338
call fcn.00404f08
jmp 0x4ac205
lea eax, [ebx + 0xc]
mov edx, 0x4ac348
call fcn.00404f08
jmp 0x4ac205
lea eax, [ebx + 0xc]
mov edx, 0x4ac35c
call fcn.00404f08
jmp 0x4ac205
lea eax, [ebx + 0xc]
mov edx, 0x4ac36c
call fcn.00404f08
jmp 0x4ac205
lea eax, [ebx + 0xc]
call fcn.00404ecc
lea eax, [ebp - 0x640]
mov edx, dword [ebp - 4]
call fcn.004049b4
mov eax, dword [ebp - 0x640]
mov al, byte [eax]
call fcn.00402b3c
sub al, 0x40
call fcn.0040a698
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], edx
lea eax, [ebp - 0x644]
mov edx, dword [ebp - 4]
call fcn.004049b4
mov eax, dword [ebp - 0x644]
mov al, byte [eax]
call fcn.00402b3c
sub al, 0x40
call fcn.0040a664
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], edx
jmp 0x4ac28a
mov eax, ebx
call fcn.00404ecc
lea eax, [ebx + 4]
call fcn.00404ecc
lea eax, [ebx + 8]
call fcn.00404ecc
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ac30e
lea eax, [ebp - 0x644]
mov edx, 2
call fcn.00404740
lea eax, [ebp - 0x63c]
call fcn.00404ecc
lea eax, [ebp - 0x638]
mov edx, 3
call fcn.00404740
lea eax, [ebp - 0x62c]
call fcn.00404ecc
lea eax, [ebp - 0x628]
mov edx, 3
call fcn.00404740
lea eax, [ebp - 0x61c]
call fcn.00404ecc
lea eax, [ebp - 0x618]
call fcn.0040471c
lea eax, [ebp - 0x614]
call fcn.00404ecc
lea eax, [ebp - 4]
call fcn.00404ecc
ret