Function at 0x422c40
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56b913
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
mov eax, dword [0x5e2500]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xb0], ecx
mov dword [ebp - 4], 0
push str.CheckFreeSpace
lea ecx, [ebp - 0x60]
call fcn.00404670
mov byte [ebp - 4], 1
lea eax, [ebp - 0x7c]
push eax
lea ecx, [ebp - 0x84]
push ecx
lea edx, [ebp - 0x1c]
push edx
lea ecx, [ebp + 0xc]
call fcn.004018f0
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
jne 0x422cef
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
push str.Please_check_the_path_:__s
mov edx, dword [ebp + 0x18]
push edx
call fcn.00403430
add esp, 0xc
mov dword [ebp - 0x9c], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x60]
call fcn.00402000
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00402000
mov eax, dword [ebp - 0x9c]
jmp 0x4232b2
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x78]
mov dword [ebp - 0x28], ecx
mov edx, dword [0x5dd65c]
xor eax, eax
push eax
push edx
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
call fcn.0054f250
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], edx
mov eax, dword [0x5dd65c]
xor ecx, ecx
push ecx
push eax
mov edx, dword [ebp - 0x58]
push edx
mov eax, dword [ebp - 0x5c]
push eax
call fcn.0054f250
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x90], edx
mov ecx, dword [0x5dd65c]
xor edx, edx
push edx
push ecx
mov eax, dword [ebp - 0x90]
push eax
mov ecx, dword [ebp - 0x94]
push ecx
call fcn.0054f250
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], edx
mov edx, dword [0x5dd65c]
xor eax, eax
push eax
push edx
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
call fcn.0054f250
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], edx
mov eax, dword [0x5dd65c]
xor ecx, ecx
push ecx
push eax
mov edx, dword [ebp - 0x48]
push edx
mov eax, dword [ebp - 0x4c]
push eax
call fcn.0054f250
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], edx
mov ecx, dword [0x5dd65c]
xor edx, edx
push edx
push ecx
mov eax, dword [ebp - 0x70]
push eax
mov ecx, dword [ebp - 0x74]
push ecx
call fcn.0054f250
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], edx
lea ecx, [ebp - 0x8c]
call fcn.00401fd0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x30]
call fcn.00401fd0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x24]
call fcn.00401fd0
mov byte [ebp - 4], 4
fldz
fstp qword [ebp - 0x3c]
lea edx, [ebp - 0x54]
push edx
lea eax, [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
mov ecx, 0x5e3e60
call fcn.00433350
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x50]
call fcn.00403c60
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x10]
call fcn.00401fd0
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x50]
push ecx
sub esp, 8
fld qword [ebp - 0x3c]
fstp qword [esp]
push 0x58603c
lea edx, [ebp - 0x30]
push edx
call fcn.00403430
add esp, 0x14
push 0x197
lea eax, [ebp - 0xa0]
push eax
mov ecx, 0x5e3c90
call fcn.00426f10
mov dword [ebp - 0xb4], eax
mov ecx, dword [ebp - 0xb4]
mov dword [ebp - 0xb8], ecx
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0xb8]
push edx
lea ecx, [ebp - 0x24]
call fcn.00403d00
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xa0]
call fcn.00402000
lea ecx, [ebp + 0xc]
call fcn.004018f0
push eax
push 0x5860f8
lea ecx, [ebp - 0x24]
call fcn.00402a70
lea ecx, [ebp - 0x30]
call fcn.004018f0
push eax
push str._AVALSPACEIN_
lea ecx, [ebp - 0x24]
call fcn.00402a70
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push str.Drive__s.__Available_space_:__s
lea edx, [ebp - 0x8c]
push edx
call fcn.00403430
add esp, 0x10
lea ecx, [ebp - 0x8c]
call fcn.004018f0
push eax
lea ecx, [ebp - 0x60]
call fcn.004018f0
push eax
push 8
push 0x5e3e78
call fcn.0042b490
add esp, 0x10
lea ecx, [ebp - 0x88]
call fcn.00401fd0
mov byte [ebp - 4], 8
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x3c]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, 0x5e3e60
call fcn.00433350
lea ecx, [ebp - 0x54]
push ecx
lea ecx, [ebp - 0x20]
call fcn.00403c60
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x20]
push edx
sub esp, 8
fld qword [ebp - 0x3c]
fstp qword [esp]
push 0x58612c
lea eax, [ebp - 0x88]
push eax
call fcn.00403430
add esp, 0x14
lea ecx, [ebp - 0x34]
call fcn.00401fd0
mov byte [ebp - 4], 0xa
push 0x198
lea ecx, [ebp - 0xa4]
push ecx
mov ecx, 0x5e3c90
call fcn.00426f10
mov dword [ebp - 0xbc], eax
mov edx, dword [ebp - 0xbc]
mov dword [ebp - 0xc0], edx
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0xc0]
push eax
lea ecx, [ebp - 0x34]
call fcn.00403d00
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0xa4]
call fcn.00402000
lea ecx, [ebp - 0x88]
call fcn.004018f0
push eax
push str._REQSPACEIN_
lea ecx, [ebp - 0x34]
call fcn.00402a70
mov ecx, dword [ebp - 0x88]
push ecx
push str.Required_space_:__s
lea edx, [ebp - 0x8c]
push edx
call fcn.00403430
add esp, 0xc
lea ecx, [ebp - 0x8c]
call fcn.004018f0
push eax
lea ecx, [ebp - 0x60]
call fcn.004018f0
push eax
push 8
push 0x5e3e78
call fcn.0042b490
add esp, 0x10
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0x28]
push edx
mov eax, dword [ebp - 0x2c]
push eax
push str.Comparing_Available_space_:__I64d_Bytes_and_Required_space___I64d_Bytes
mov ecx, dword [ebp + 0x18]
push ecx
call fcn.00403430
add esp, 0x18
mov ecx, dword [ebp + 0x18]
call fcn.004018f0
push eax
lea ecx, [ebp - 0x60]
call fcn.004018f0
push eax
push 8
push 0x5e3e78
call fcn.0042b490
add esp, 0x10
mov edx, dword [ebp - 0x28]
cmp edx, dword [ebp + 0x14]
jb 0x423101
ja 0x42304d
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp + 0x10]
jb 0x423101
mov ecx, dword [ebp - 0x34]
push ecx
mov edx, dword [ebp - 0x24]
push edx
push 0x5861c4
mov eax, dword [ebp + 0x18]
push eax
call fcn.00403430
add esp, 0x10
mov dword [ebp - 0xa8], 1
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x34]
call fcn.00402000
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x20]
call fcn.00402000
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x88]
call fcn.00402000
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x10]
call fcn.00402000
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x50]
call fcn.00402000
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x24]
call fcn.00402000
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x30]
call fcn.00402000
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x8c]
call fcn.00402000
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x60]
call fcn.00402000
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00402000
mov eax, dword [ebp - 0xa8]
jmp 0x4232b2
push 0x199
lea ecx, [ebp - 0x98]
push ecx
mov ecx, 0x5e3c90
call fcn.00426f10
mov byte [ebp - 4], 0xc
lea ecx, [ebp + 0xc]
call fcn.004018f0
push eax
push 0x586260
lea ecx, [ebp - 0x98]
call fcn.00402a70
mov edx, dword [ebp - 0x34]
push edx
mov eax, dword [ebp - 0x98]
push eax
push str._s_n_s
mov ecx, dword [ebp + 0x18]
push ecx
call fcn.00403430
add esp, 0x10
mov edx, dword [ebp + 0xc]
push edx
push str.Space_on_drive__s_is_not_sufficient
lea eax, [ebp - 0x8c]
push eax
call fcn.00403430
add esp, 0xc
lea ecx, [ebp - 0x8c]
call fcn.004018f0
push eax
lea ecx, [ebp - 0x60]
call fcn.004018f0
push eax
push 1
push 0x5e3e78
call fcn.0042b490
add esp, 0x10
mov dword [ebp - 0xac], 0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x98]
call fcn.00402000
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x34]
call fcn.00402000
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x20]
call fcn.00402000
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x88]
call fcn.00402000
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x10]
call fcn.00402000
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x50]
call fcn.00402000
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x24]
call fcn.00402000
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x30]
call fcn.00402000
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x8c]
call fcn.00402000
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x60]
call fcn.00402000
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00402000
mov eax, dword [ebp - 0xac]
jmp 0x4232b2
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x14