Function at 0x4a8967
Capabilities:
Get disk information

Disassembly:
push 0x288
mov eax, 0x5696dc
call fcn.0054f7e3
mov edi, ecx
mov dword [ebp - 0x294], edi
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x254]
push esi
call fcn.0052d860
and dword [ebp - 4], 0
lea ecx, [ebp - 0x284]
push ecx
mov ecx, eax
call fcn.0052de80
lea ecx, [ebp - 0x254]
mov byte [ebp - 4], 2
call fcn.0052d8d0
lea eax, [ebp - 0x284]
push eax
call fcn.0054bac0
mov edi, dword [edi + 0x74]
mov ecx, esp
mov dword [ebp - 0x288], edx
mov ebx, eax
mov dword [ecx], edi
test edi, edi
je 0x4a89d5
lea ecx, [edi + 4]
call fcn.00529160
lea ecx, [ebp - 0x290]
call fcn.0051e895
mov byte [ebp - 4], 3
mov ecx, eax
mov edx, dword [eax]
call dword [edx]
test eax, eax
je 0x4a89f5
add eax, 0x10
xor edi, edi
jmp 0x4a89f9
xor edi, edi
mov eax, edi
push str.__Code_0.
push dword [ebp - 0x288]
push ebx
push ecx
push str._ENVIROMENT__DISK_FREE_SPACE__
push ecx
push str._Info
push ecx
push 0x583148
push 0xa8
push 0x57dcac
push ecx
push str.database_manager.cpp
push ecx
push str.___:__t
push eax
call fcn.00409e6d
add esp, 0xc
push eax
call fcn.00409e6d
add esp, 0xc
push eax
call fcn.00409e6d
pop ecx
pop ecx
mov ecx, eax
call dword [sym.imp.MSVCP120.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___int_]
push eax
call fcn.00409e6d
add esp, 0xc
push eax
call fcn.00409e6d
add esp, 0xc
push eax
call fcn.00409e6d
add esp, 0xc
mov ecx, eax
call dword [sym.imp.MSVCP120.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___long_long___int64__]
push eax
call fcn.00409e6d
pop ecx
pop ecx
lea ecx, [ebp - 0x290]
mov byte [ebp - 4], 2
call fcn.0051e901
cmp dword [esi + 0x10], 3
jb 0x4a8c95
push 8
pop ebx
cmp dword [esi + 0x14], ebx
jb 0x4a8a9f
mov eax, dword [esi]
jmp 0x4a8aa1
mov eax, esi
cmp word [eax + 2], 0x3a
jne 0x4a8c95
cmp dword [esi + 0x14], ebx
jb 0x4a8ab5
mov eax, dword [esi]
jmp 0x4a8ab7
mov eax, esi
cmp word [eax + 4], 0x5c
je 0x4a8ad4
cmp dword [esi + 0x14], ebx
jb 0x4a8ac7
mov eax, dword [esi]
jmp 0x4a8ac9
mov eax, esi
cmp word [eax + 4], 0x2f
jne 0x4a8c95
push 3
push edi
lea eax, [ebp - 0x23c]
mov ecx, esi
push eax
call fcn.0040774f
xor eax, eax
mov byte [ebp - 4], 4
push 0x208
mov word [ebp - 0x224], ax
lea eax, [ebp - 0x222]
push edi
push eax
mov dword [ebp - 0x288], edi
call sub.MSVCR120.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x224]
cmp dword [ebp - 0x228], ebx
lea eax, [ebp - 0x23c]
cmovae eax, dword [ebp - 0x23c]
push 0x104
push ecx
lea ecx, [ebp - 0x288]
push ecx
push edi
push edi
push edi
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x4a8c87
cmp word [ebp - 0x224], 0
lea eax, [ebp - 0x224]
mov ecx, str.UNKNOWN
cmove eax, ecx
lea ecx, [ebp - 0x254]
push eax
call fcn.00407674
lea eax, [ebp - 0x254]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x26c]
push eax
call fcn.00532fc0
pop ecx
pop ecx
push edi
push 1
lea ecx, [ebp - 0x254]
mov byte [ebp - 4], 7
call fcn.00401c9b
push ecx
mov ecx, dword [ebp - 0x294]
mov eax, esp
mov ecx, dword [ecx + 0x74]
mov dword [eax], ecx
test ecx, ecx
je 0x4a8bad
add ecx, 4
call fcn.00529160
lea ecx, [ebp - 0x290]
call fcn.0051e895
mov byte [ebp - 4], bl
mov ecx, eax
mov edx, dword [eax]
call dword [edx]
test eax, eax
je 0x4a8bca
add eax, 0x10
jmp 0x4a8bcc
mov eax, edi
push str.__Code_0.
push ecx
lea ecx, [ebp - 0x26c]
push ecx
push ecx
push 0x5705a0
push dword [ebp - 0x288]
push str._ENVIROMENT__FileSystem__
push ecx
push str._Info
push ecx
push 0x583148
push 0xb6
push 0x57dcac
push ecx
push str.database_manager.cpp
push ecx
push str.___:__t
push eax
call fcn.00409e6d
add esp, 0xc
push eax
call fcn.00409e6d
add esp, 0xc
push eax
call fcn.00409e6d
pop ecx
pop ecx
mov ecx, eax
call dword [sym.imp.MSVCP120.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___int_]
push eax
call fcn.00409e6d
add esp, 0xc
push eax
call fcn.00409e6d
add esp, 0xc
push eax
call fcn.00409e6d
pop ecx
pop ecx
mov ecx, eax
call dword [sym.imp.MSVCP120.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int_]
push eax
call fcn.00409e6d
add esp, 0xc
push eax
call fcn.00434297
add esp, 0xc
push eax
call fcn.00409e6d
pop ecx
pop ecx
lea ecx, [ebp - 0x290]
mov byte [ebp - 4], 7
call fcn.0051e901
push edi
push 1
lea ecx, [ebp - 0x26c]
call fcn.00401c56
push edi
push 1
lea ecx, [ebp - 0x23c]
call fcn.00401c9b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x284]
call fcn.0052d8d0
call fcn.0054f792
ret 4