Function at 0x4b0ec4
Capabilities:
Get disk information

Disassembly:
push 0x288
mov eax, 0x578932
call fcn.00561213
mov edi, ecx
mov dword [ebp - 0x294], edi
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x254]
push esi
call fcn.0053cc70
and dword [ebp - 4], 0
lea ecx, [ebp - 0x284]
push ecx
mov ecx, eax
call fcn.0053d290
lea ecx, [ebp - 0x254]
mov byte [ebp - 4], 2
call fcn.0053cce0
lea eax, [ebp - 0x284]
push eax
call fcn.0055af00
mov edi, dword [edi + 0x74]
mov ecx, esp
mov dword [ebp - 0x288], edx
mov ebx, eax
mov dword [ecx], edi
test edi, edi
je 0x4b0f32
lea ecx, [edi + 4]
call fcn.00538210
lea ecx, [ebp - 0x290]
call fcn.00531bc9
mov byte [ebp - 4], 3
mov ecx, eax
mov edx, dword [eax]
call dword [edx]
test eax, eax
je 0x4b0f52
add eax, 0x10
xor edi, edi
jmp 0x4b0f56
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 0x593eb4
push 0xa9
push 0x58e11c
push ecx
push str.database_manager.cpp
push ecx
push str.___:
push eax
call fcn.00409f76
add esp, 0xc
push eax
call fcn.00409f76
add esp, 0xc
push eax
call fcn.00409f76
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.00409f76
add esp, 0xc
push eax
call fcn.00409f76
add esp, 0xc
push eax
call fcn.00409f76
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.00409f76
pop ecx
pop ecx
lea ecx, [ebp - 0x290]
mov byte [ebp - 4], 2
call fcn.00531c35
cmp dword [esi + 0x10], 3
jb 0x4b11f2
push 8
pop ebx
cmp dword [esi + 0x14], ebx
jb 0x4b0ffc
mov eax, dword [esi]
jmp 0x4b0ffe
mov eax, esi
cmp word [eax + 2], 0x3a
jne 0x4b11f2
cmp dword [esi + 0x14], ebx
jb 0x4b1012
mov eax, dword [esi]
jmp 0x4b1014
mov eax, esi
cmp word [eax + 4], 0x5c
je 0x4b1031
cmp dword [esi + 0x14], ebx
jb 0x4b1024
mov eax, dword [esi]
jmp 0x4b1026
mov eax, esi
cmp word [eax + 4], 0x2f
jne 0x4b11f2
push 3
push edi
lea eax, [ebp - 0x23c]
mov ecx, esi
push eax
call fcn.0040789a
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 0x4b11e4
cmp word [ebp - 0x224], 0
lea eax, [ebp - 0x224]
mov ecx, 0x593eb8
cmove eax, ecx
lea ecx, [ebp - 0x254]
push eax
call fcn.004077bf
lea eax, [ebp - 0x254]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x26c]
push eax
call fcn.005428b0
pop ecx
pop ecx
push edi
push 1
lea ecx, [ebp - 0x254]
mov byte [ebp - 4], 7
call fcn.00401d84
push ecx
mov ecx, dword [ebp - 0x294]
mov eax, esp
mov ecx, dword [ecx + 0x74]
mov dword [eax], ecx
test ecx, ecx
je 0x4b110a
add ecx, 4
call fcn.00538210
lea ecx, [ebp - 0x290]
call fcn.00531bc9
mov byte [ebp - 4], bl
mov ecx, eax
mov edx, dword [eax]
call dword [edx]
test eax, eax
je 0x4b1127
add eax, 0x10
jmp 0x4b1129
mov eax, edi
push str.__Code_0.
push ecx
lea ecx, [ebp - 0x26c]
push ecx
push ecx
push 0x57f650
push dword [ebp - 0x288]
push str._ENVIROMENT__FileSystem__
push ecx
push str._Info
push ecx
push 0x593eb4
push 0xb7
push 0x58e11c
push ecx
push str.database_manager.cpp
push ecx
push str.___:
push eax
call fcn.00409f76
add esp, 0xc
push eax
call fcn.00409f76
add esp, 0xc
push eax
call fcn.00409f76
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.00409f76
add esp, 0xc
push eax
call fcn.00409f76
add esp, 0xc
push eax
call fcn.00409f76
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.00409f76
add esp, 0xc
push eax
call fcn.0042dd8b
add esp, 0xc
push eax
call fcn.00409f76
pop ecx
pop ecx
lea ecx, [ebp - 0x290]
mov byte [ebp - 4], 7
call fcn.00531c35
push edi
push 1
lea ecx, [ebp - 0x26c]
call fcn.00401d3f
push edi
push 1
lea ecx, [ebp - 0x23c]
call fcn.00401d84
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x284]
call fcn.0053cce0
call fcn.005611c2
ret 4