Function at 0x415260
Capabilities:
Get disk size

Disassembly:
push 0xffffffffffffffff
push 0x42e3b8
mov eax, dword fs:[0]
push eax
sub esp, 0x444
mov eax, dword [0x4b3774]
xor eax, esp
mov dword [esp + 0x440], eax
push esi
mov eax, dword [0x4b3774]
xor eax, esp
push eax
lea eax, [esp + 0x44c]
mov dword fs:[0], eax
mov esi, ecx
call sub.PE.dll_IsSupportMakeWinPE
test eax, eax
jne 0x4152ad
mov eax, 0x3e9
jmp 0x415404
push 0x3fe
lea eax, [esp + 0x4e]
push 0
push eax
mov word [esp + 0x54], 0
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0x400
lea ecx, [esp + 0x4c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [esp + 0x48]
push edx
lea ecx, [esp + 0x30]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::constructor_unsigned_short_int_const__]
cmp dword [esp + 0x40], 0
mov dword [esp + 0x454], 0
lea ecx, [esp + 0x2c]
jne 0x41531a
mov dword [esp + 0x454], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::destructor_void_]
mov eax, 0x3f2
jmp 0x415404
push 1
push 0
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int_____thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::substr_unsigned_int__unsigned_int_]
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x458], 1
call dword [0x4311b4]
lea ecx, [esp + 0x10]
mov byte [esp + 0x454], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::destructor_void_]
push 0x432824
lea ecx, [esp + 0x30]
call dword [0x4311d4]
xor eax, eax
cmp dword [esp + 0x44], 8
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x30]
jae 0x415376
lea eax, [esp + 0x30]
push 0
push 0
lea ecx, [esp + 0x10]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
jne 0x4153a6
lea ecx, [esp + 0x2c]
mov dword [esp + 0x454], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::destructor_void_]
mov eax, 0x3eb
jmp 0x415404
cmp dword [esp + 0xc], 0
ja 0x4153d5
jb 0x4153b9
cmp dword [esp + 8], 0x40000000
jae 0x4153d5
lea ecx, [esp + 0x2c]
mov dword [esp + 0x454], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::destructor_void_]
mov eax, 0x3ec
jmp 0x415404
mov ecx, esi
call fcn.004150d0
test al, al
mov dword [esp + 0x454], 0xffffffff
lea ecx, [esp + 0x2c]
jne 0x4153fc
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::destructor_void_]
mov eax, 0x3f4
jmp 0x415404
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::destructor_void_]
xor eax, eax
mov ecx, dword [esp + 0x44c]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x440]
xor ecx, esp
call fcn.0042c614
add esp, 0x450
ret