Function at 0x4b2b85
Capabilities:
Get disk information

Disassembly:
push 0x288
mov eax, 0x57cdfd
call fcn.005635af
mov edi, ecx
mov dword [ebp - 0x294], edi
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x254]
push esi
call fcn.0053f1a0
and dword [ebp - 4], 0
lea ecx, [ebp - 0x284]
push ecx
mov ecx, eax
call fcn.0053f7c0
lea ecx, [ebp - 0x254]
mov byte [ebp - 4], 2
call fcn.0053f210
lea eax, [ebp - 0x284]
push eax
call fcn.0055d380
mov edi, dword [edi + 0x74]
mov ecx, esp
mov dword [ebp - 0x288], edx
mov ebx, eax
mov dword [ecx], edi
test edi, edi
je 0x4b2bf3
lea ecx, [edi + 4]
call fcn.0053a5a0
lea ecx, [ebp - 0x290]
call fcn.00533899
mov byte [ebp - 4], 3
mov ecx, eax
mov edx, dword [eax]
call dword [edx]
test eax, eax
je 0x4b2c13
add eax, 0x10
xor edi, edi
jmp 0x4b2c17
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 0x5976c0
push 0xa9
push 0x5918cc
push ecx
push str.database_manager.cpp
push ecx
push str.___:
push eax
call fcn.00409e4f
add esp, 0xc
push eax
call fcn.00409e4f
add esp, 0xc
push eax
call fcn.00409e4f
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.00409e4f
add esp, 0xc
push eax
call fcn.00409e4f
add esp, 0xc
push eax
call fcn.00409e4f
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.00409e4f
pop ecx
pop ecx
lea ecx, [ebp - 0x290]
mov byte [ebp - 4], 2
call fcn.00533905
cmp dword [esi + 0x10], 3
jb 0x4b2eb3
push 8
pop ebx
cmp dword [esi + 0x14], ebx
jb 0x4b2cbd
mov eax, dword [esi]
jmp 0x4b2cbf
mov eax, esi
cmp word [eax + 2], 0x3a
jne 0x4b2eb3
cmp dword [esi + 0x14], ebx
jb 0x4b2cd3
mov eax, dword [esi]
jmp 0x4b2cd5
mov eax, esi
cmp word [eax + 4], 0x5c
je 0x4b2cf2
cmp dword [esi + 0x14], ebx
jb 0x4b2ce5
mov eax, dword [esi]
jmp 0x4b2ce7
mov eax, esi
cmp word [eax + 4], 0x2f
jne 0x4b2eb3
push 3
push edi
lea eax, [ebp - 0x23c]
mov ecx, esi
push eax
call fcn.0040771a
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 0x4b2ea5
cmp word [ebp - 0x224], 0
lea eax, [ebp - 0x224]
mov ecx, 0x5976c4
cmove eax, ecx
lea ecx, [ebp - 0x254]
push eax
call fcn.0040763f
lea eax, [ebp - 0x254]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x26c]
push eax
call fcn.00544de0
pop ecx
pop ecx
push edi
push 1
lea ecx, [ebp - 0x254]
mov byte [ebp - 4], 7
call fcn.00401d04
push ecx
mov ecx, dword [ebp - 0x294]
mov eax, esp
mov ecx, dword [ecx + 0x74]
mov dword [eax], ecx
test ecx, ecx
je 0x4b2dcb
add ecx, 4
call fcn.0053a5a0
lea ecx, [ebp - 0x290]
call fcn.00533899
mov byte [ebp - 4], bl
mov ecx, eax
mov edx, dword [eax]
call dword [edx]
test eax, eax
je 0x4b2de8
add eax, 0x10
jmp 0x4b2dea
mov eax, edi
push str.__Code_0.
push ecx
lea ecx, [ebp - 0x26c]
push ecx
push ecx
push 0x583648
push dword [ebp - 0x288]
push str._ENVIROMENT__FileSystem__
push ecx
push str._Info
push ecx
push 0x5976c0
push 0xb7
push 0x5918cc
push ecx
push str.database_manager.cpp
push ecx
push str.___:
push eax
call fcn.00409e4f
add esp, 0xc
push eax
call fcn.00409e4f
add esp, 0xc
push eax
call fcn.00409e4f
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.00409e4f
add esp, 0xc
push eax
call fcn.00409e4f
add esp, 0xc
push eax
call fcn.00409e4f
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.00409e4f
add esp, 0xc
push eax
call fcn.0042cfb7
add esp, 0xc
push eax
call fcn.00409e4f
pop ecx
pop ecx
lea ecx, [ebp - 0x290]
mov byte [ebp - 4], 7
call fcn.00533905
push edi
push 1
lea ecx, [ebp - 0x26c]
call fcn.00401cbf
push edi
push 1
lea ecx, [ebp - 0x23c]
call fcn.00401d04
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x284]
call fcn.0053f210
call fcn.0056355e
ret 4