Function at 0x4cac40
Capabilities:
Get disk size

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fd9f7
mov eax, dword fs:[0]
push eax
push ecx
push ebx
sub esp, 0x290
mov eax, dword [0x55a064]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, ecx
mov dword [ebp - 0x290], eax
mov dword [ebp - 0x298], 0
mov dword [ebp - 0x29c], eax
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0xf
mov byte [ebp - 0x50], 0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x220]
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.PocoFoundation.dll_public:_void___thiscall_Poco::Path::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea eax, [ebp - 0x220]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x108]
call dword [sym.imp.PocoFoundation.dll_public:_void___thiscall_Poco::Path::constructor_class_Poco::Path_const__]
lea eax, [ebp - 0x108]
mov byte [ebp - 4], 3
mov esi, dword [sym.imp.PocoFoundation.dll_public:_void___thiscall_Poco::File::constructor_class_Poco::Path_const__]
lea ecx, [ebp - 0x288]
push eax
call esi
mov ecx, 1
mov byte [ebp - 4], 4
mov dword [ebp - 0x294], ecx
mov dword [ebp - 0x298], ecx
mov ecx, eax
call dword [sym.imp.PocoFoundation.dll_public:_bool___thiscall_Poco::File::exists_void_const]
test al, al
je 0x4cad52
lea eax, [ebp - 0x108]
push eax
lea ecx, [ebp - 0x254]
call esi
mov ecx, 3
mov dword [ebp - 4], 5
mov dword [ebp - 0x294], ecx
mov dword [ebp - 0x298], ecx
mov ecx, eax
call dword [sym.imp.PocoFoundation.dll_public:_bool___thiscall_Poco::File::isFile_void_const]
mov byte [ebp - 0x289], 1
test al, al
jne 0x4cad59
mov byte [ebp - 0x289], 0
mov eax, dword [ebp - 0x294]
mov esi, dword [sym.imp.PocoFoundation.dll_public_virtual:_void___thiscall_Poco::File::destructor_void_]
test al, 2
je 0x4cad80
and eax, 0xfffffffd
lea ecx, [ebp - 0x254]
mov dword [ebp - 0x294], eax
call esi
mov eax, dword [ebp - 0x294]
mov dword [ebp - 4], 3
test al, 1
je 0x4cad93
lea ecx, [ebp - 0x288]
call esi
cmp byte [ebp - 0x289], 0
mov esi, dword [sym.imp.PocoFoundation.dll_public:_class_Poco::Path___thiscall_Poco::Path::parent_void_]
je 0x4cadce
lea eax, [ebp - 0x1b0]
push eax
lea ecx, [ebp - 0x220]
call esi
push eax
lea ecx, [ebp - 0x108]
call dword [sym.imp.PocoFoundation.dll_public:_class_Poco::Path____thiscall_Poco::Path::operator_class_Poco::Path__]
mov edi, dword [sym.imp.PocoFoundation.dll_public:_void___thiscall_Poco::Path::destructor_void_]
lea ecx, [ebp - 0x1b0]
call edi
jmp 0x4cadd4
mov edi, dword [sym.imp.PocoFoundation.dll_public:_void___thiscall_Poco::Path::destructor_void_]
lea eax, [ebp - 0x108]
push eax
lea ecx, [ebp - 0x13c]
call dword [sym.imp.PocoFoundation.dll_public:_void___thiscall_Poco::File::constructor_class_Poco::Path_const__]
mov byte [ebp - 4], 6
nop dword [eax + eax]
lea ecx, [ebp - 0x13c]
call dword [sym.imp.PocoFoundation.dll_public:_bool___thiscall_Poco::File::exists_void_const]
test al, al
jne 0x4cb004
lea eax, [ebp - 0x1b0]
push eax
lea ecx, [ebp - 0x108]
call esi
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 7
push ecx
mov ecx, eax
call dword [sym.imp.PocoFoundation.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____thiscall_Poco::Path::toString_void_]
mov esi, eax
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x108]
call dword [sym.imp.PocoFoundation.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____thiscall_Poco::Path::toString_void_]
cmp dword [esi + 0x14], 0x10
mov edx, dword [esi + 0x10]
jb 0x4cae44
mov esi, dword [esi]
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x4cae4f
mov eax, dword [eax]
push edx
push esi
push ecx
push eax
call fcn.0042e910
mov edx, dword [ebp - 0x54]
add esp, 0x10
mov byte [ebp - 0x289], al
cmp edx, 0x10
jb 0x4cae91
mov ecx, dword [ebp - 0x68]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4cae87
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4caecd
push edx
push ecx
call fcn.004e9606
add esp, 8
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x6c]
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0xf
mov byte [ebp - 0x68], 0
cmp edx, 0x10
jb 0x4caedd
mov ecx, dword [ebp - 0x80]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4caed3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4caed3
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004e9606
add esp, 8
lea ecx, [ebp - 0x1b0]
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0xf
mov byte [ebp - 0x80], 0
mov byte [ebp - 4], 6
call edi
cmp byte [ebp - 0x289], 0
lea eax, [ebp - 0x1b0]
lea ecx, [ebp - 0x108]
push eax
je 0x4cafcf
call dword [sym.imp.PocoFoundation.dll_public:_class_Poco::Path___thiscall_Poco::Path::parent_void_]
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 9
push ecx
mov ecx, eax
call dword [sym.imp.PocoFoundation.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____thiscall_Poco::Path::toString_void_]
mov ecx, dword [ebp - 0x290]
sub esp, 8
mov edx, esp
mov dword [edx], str.No_more_parent_directories_for_path___reached____and_it_still_isnt_valid__aborting.
mov dword [edx + 4], 0x58
mov edx, eax
call fcn.004ce5e0
add esp, 8
lea ecx, [ebp - 0x80]
call fcn.00411450
lea ecx, [ebp - 0x1b0]
call edi
lea ecx, [ebp - 0x13c]
call dword [sym.imp.PocoFoundation.dll_public_virtual:_void___thiscall_Poco::File::destructor_void_]
lea ecx, [ebp - 0x108]
call edi
lea ecx, [ebp - 0x220]
call edi
mov edx, dword [ebp - 0x3c]
cmp edx, 0x10
jb 0x4cafad
mov ecx, dword [ebp - 0x50]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4cafa3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4cb06c
push edx
push ecx
call fcn.004e9606
add esp, 8
xor eax, eax
xor edx, edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.004e9056
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov esi, dword [sym.imp.PocoFoundation.dll_public:_class_Poco::Path___thiscall_Poco::Path::parent_void_]
call esi
push eax
lea ecx, [ebp - 0x108]
call dword [sym.imp.PocoFoundation.dll_public:_class_Poco::Path____thiscall_Poco::Path::operator_class_Poco::Path__]
lea ecx, [ebp - 0x1b0]
call edi
lea eax, [ebp - 0x108]
push eax
lea ecx, [ebp - 0x13c]
call dword [sym.imp.PocoFoundation.dll_public:_class_Poco::File____thiscall_Poco::File::operator_class_Poco::Path_const__]
jmp 0x4cadf0
mov ecx, dword [ebp - 0xe0]
mov eax, 0x7fffffff
sub eax, ecx
cmp eax, 1
jb 0x4cb242
cmp dword [ebp - 0xdc], 0x10
lea eax, [ebp - 0xf0]
push 1
cmovae eax, dword [ebp - 0xf0]
push 0x5249dc
push ecx
push eax
push ecx
push dword [ebp - 0x29c]
lea ecx, [ebp - 0x68]
call fcn.00427e50
mov edx, dword [ebp - 0x3c]
cmp edx, 0x10
jb 0x4cb07c
mov ecx, dword [ebp - 0x50]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4cb072
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4cb072
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004e9606
add esp, 8
movups xmm0, xmmword [ebp - 0x68]
lea ecx, [ebp - 0x68]
mov byte [ebp - 0x68], 0
movups xmmword [ebp - 0x50], xmm0
movq xmm0, qword [ebp - 0x58]
movq qword [ebp - 0x40], xmm0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0xf
call fcn.00411450
lea ecx, [ebp - 0x13c]
call dword [sym.imp.PocoFoundation.dll_public_virtual:_void___thiscall_Poco::File::destructor_void_]
lea ecx, [ebp - 0x108]
call edi
lea ecx, [ebp - 0x220]
call edi
xorps xmm0, xmm0
mov dword [ebp - 4], 0
lea edx, [ebp - 0x50]
movq qword [ebp - 0x28], xmm0
lea ecx, [ebp - 0x98]
movups xmmword [ebp - 0x38], xmm0
call fcn.004d6a10
cmp dword [ebp - 0x84], 8
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x38]
lea eax, [ebp - 0x98]
cmovae eax, dword [ebp - 0x98]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x4cb168
mov eax, dword [ebp - 0x34]
lea ecx, [ebp - 0x98]
mov edi, dword [ebp - 0x38]
mov dword [ebp - 0x290], eax
call fcn.0042ff30
mov esi, dword [ebp - 0x3c]
cmp esi, 0x10
jb 0x4cb15b
mov ecx, dword [ebp - 0x50]
inc esi
mov eax, ecx
cmp esi, 0x1000
jb 0x4cb151
mov ecx, dword [ecx - 4]
add esi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4cb23c
push esi
push ecx
call fcn.004e9606
add esp, 8
mov edx, dword [ebp - 0x290]
mov eax, edi
jmp 0x4cafb1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x290]
lea edx, [ebp - 0x298]
sub esp, 8
mov dword [ebp - 0x298], eax
mov eax, esp
mov dword [eax], str.Could_not_check_free_space_on_path___last_error_.
mov dword [eax + 4], 0x35
call fcn.004ce790
add esp, 8
lea ecx, [ebp - 0x98]
call fcn.0042ff30
mov edx, dword [ebp - 0x3c]
cmp edx, 0x10
jb 0x4cafad
mov ecx, dword [ebp - 0x50]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4cafa3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4cb23c
jmp 0x4cafa3
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
call fcn.0040fff0
int3