Function at 0x7a07e8
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7aded8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb8
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], ebx
mov eax, dword [0x860794]
mov edx, dword [0x860798]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], eax
cmp eax, edx
je 0x7a085a
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xc4], eax
mov dword [ebp - 4], 0
mov dword [ebp - 4], 0xffffffff
mov ecx, eax
push 1
call fcn.0074f600
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
add eax, 0x18
mov dword [ebp - 0x14], eax
cmp eax, edx
jne 0x7a082a
mov eax, dword [ebp - 0x1c]
mov dword [0x860798], eax
xor edx, edx
push edx
push edx
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
mov dword [ebp - 0x1c], eax
add eax, 1
mov dword [ebp - 0x1c], eax
mov edx, 0
mov dword [ebp - 0xac], edx
mov dword [ebp - 0xb0], edx
je 0x7a08aa
test eax, eax
jne 0x7a0894
xor eax, eax
jmp 0x7a089b
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0xac], eax
mov dword [ebp - 4], 1
push dword [ebp - 0xb0]
push eax
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
xor eax, eax
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0xb0]
mov esi, dword [ebp - 0x14]
mov al, byte [esi + edx]
test al, al
je 0x7a0b0b
mov eax, esi
movsx edx, byte [edx + eax]
push edx
call dword [sym.imp.MSVCRT.dll_toupper]
add esp, 4
mov edx, dword [ebp - 0xb0]
mov ebx, esi
mov byte [edx + ebx], al
lea ecx, [ebp - 0xa8]
call fcn.00731098
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x50]
push 0
add esi, dword [ebp - 0xb0]
call fcn.0074f600
mov edi, esi
xor eax, eax
mov dh, byte [edi]
mov ecx, edi
test dh, dh
je 0x7a092c
add ecx, 1
add eax, 1
mov dl, byte [ecx]
test dl, dl
jne 0x7a0920
lea ecx, [ebp - 0x50]
push 1
mov ebx, eax
push ebx
call fcn.007a1328
movzx edx, al
test edx, edx
je 0x7a095f
mov edi, dword [ebp - 0x4c]
mov ecx, ebx
push ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
pop ecx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x48], ebx
mov byte [ebx + edx], 0
mov dword [ebp - 4], 3
lea ecx, [ebp - 0xa8]
lea eax, [ebp - 0x50]
push eax
call fcn.00731440
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x50]
push 1
call fcn.0074f600
mov eax, dword [ebp - 0x94]
test eax, eax
je 0x7a0b01
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 2
je 0x7a0ad6
cmp eax, 4
je 0x7a0abf
cmp eax, 5
je 0x7a0aa8
cmp eax, 1
je 0x7a09f9
cmp eax, 3
je 0x7a0a04
cmp eax, 6
je 0x7a0a04
mov eax, dword [ebp - 0x94]
test eax, eax
je 0x7a0a9e
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
push eax
push 0x8a6e0c
call fcn.00738ad0
add esp, 8
mov eax, dword [ebp - 0xb0]
mov edx, dword [ebp - 0x14]
movsx ebx, byte [eax + edx]
xor esi, esi
jmp 0x7a0a16
push 0x8a6de0
call fcn.00738ad0
pop ecx
mov eax, dword [ebp - 0xb0]
mov edx, dword [ebp - 0x14]
movsx ebx, byte [eax + edx]
mov esi, 1
lea ecx, [ebp - 0x40]
push 0
call fcn.0074f600
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
push dword [eax]
lea ecx, [ebp - 0x40]
lea edx, [ebp - 0x98]
push 0
push edx
call fcn.007a1514
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 4], 4
lea eax, [ebp - 0x40]
push eax
push 1
mov ecx, 0x860790
push dword [0x860798]
call fcn.007a0d6c
mov dword [ebp - 4], 2
lea eax, [ebp - 0x40]
mov dword [ebp - 0xbc], eax
mov dword [ebp - 4], 5
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x40]
push 1
call fcn.0074f600
add dword [ebp - 0x14], 4
mov dword [ebp - 4], 1
lea ecx, [ebp - 0xa8]
call fcn.0072f464
jmp 0x7a08c3
mov eax, 0x866af0
jmp 0x7a09d3
mov eax, dword [ebp - 0xb0]
mov edx, dword [ebp - 0x14]
movsx ebx, byte [eax + edx]
mov esi, 2
jmp 0x7a0a16
mov eax, dword [ebp - 0xb0]
mov edx, dword [ebp - 0x14]
movsx ebx, byte [eax + edx]
mov esi, 0x10
jmp 0x7a0a16
mov eax, dword [ebp - 0xb0]
mov edx, dword [ebp - 0x14]
movsx ebx, byte [eax + edx]
cmp ebx, 0x41
je 0x7a0af7
cmp ebx, 0x42
je 0x7a0af7
mov esi, 8
jmp 0x7a0a16
mov esi, 4
jmp 0x7a0a16
mov eax, 0x866af0
jmp 0x7a0994
mov eax, dword [0x860794]
test eax, eax
je 0x7a0b81
mov ecx, dword [0x860798]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar ecx, 0x1f
sar edx, 2
sub edx, ecx
xor eax, eax
test edx, edx
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0xb0]
mov dword [ebp - 0xb4], eax
mov dword [ebp - 4], 6
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xb0]
test eax, eax
je 0x7a0b67
push eax
call fcn.007703b0
pop ecx
mov eax, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x28]
mov esi, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
xor edx, edx
jmp 0x7a0b2b