Function at 0x420730
Capabilities:
Get disk size

Disassembly:
push 0xffffffffffffffff
push 0x439438
mov eax, dword fs:[0]
push eax
sub esp, 0x444
mov eax, dword [0x4c3740]
xor eax, esp
mov dword [esp + 0x440], eax
push esi
mov eax, dword [0x4c3740]
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 0x42077d
mov eax, 0x3e9
jmp 0x4208d4
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 0x4207ea
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 0x4208d4
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 [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__::operator_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const__]
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 0x43f858
lea ecx, [esp + 0x30]
call dword [0x43e22c]
xor eax, eax
cmp dword [esp + 0x44], 8
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x30]
jae 0x420846
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 0x420876
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 0x4208d4
cmp dword [esp + 0xc], 0
ja 0x4208a5
jb 0x420889
cmp dword [esp + 8], 0x40000000
jae 0x4208a5
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 0x4208d4
mov ecx, esi
call fcn.004205a0
test al, al
mov dword [esp + 0x454], 0xffffffff
lea ecx, [esp + 0x2c]
jne 0x4208cc
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 0x4208d4
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.00437634
add esp, 0x450
ret