Function at 0x4082c0
Capabilities:
Get disk size
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x43bce1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x138
push ebx
push esi
mov esi, ecx
push edi
xor ebx, ebx
push 0x452ac0
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], ebx
call fcn.00431a55
push str.GetDiskFreeSpaceExA
push str.kernel32.dll
mov dword [esp + 0x154], 1
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x30], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x40844e
lea eax, [esp + 0x34]
lea ecx, [esp + 0x2c]
push eax
lea edx, [esp + 0x40]
push ecx
push edx
push 0x44da54
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
cmp eax, ebx
je 0x40840f
fild qword [esp + 0x2c]
sub esp, 8
lea eax, [esp + 0x18]
fmul qword [0x440188]
fstp qword [esp]
push 0x44da50
push eax
call fcn.0042ca77
mov esi, dword [esi + 4]
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x54]
add esp, 0x10
rep stosd dword es:[edi], eax
push esi
lea ecx, [esp + 0x48]
push pe_nt_image_headers32
push ecx
push 0x452ac0
push str.MEGABYTES
push str.System_Dialog
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp eax, ebx
jle 0x408571
lea edx, [esp + 0x10]
push 0x44d558
lea eax, [esp + 0x18]
push edx
push eax
call fcn.00431c7c
lea ecx, [esp + 0x44]
lea edx, [esp + 0xc]
push ecx
push eax
push edx
mov byte [esp + 0x158], 2
call fcn.00431c7c
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x150], 3
call fcn.00431b20
lea ecx, [esp + 0xc]
mov byte [esp + 0x14c], 2
call fcn.004319e7
lea ecx, [esp + 0x14]
mov byte [esp + 0x14c], 1
call fcn.004319e7
jmp 0x408571
push ebx
lea eax, [esp + 0x10]
push ebx
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ebx
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
test eax, eax
je 0x408445
mov ecx, dword [esp + 0xc]
push 0x40
push str.Error
push ecx
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
mov edx, dword [esp + 0xc]
jmp 0x40856a
lea eax, [esp + 0x28]
lea ecx, [esp + 0x20]
push eax
lea edx, [esp + 0x20]
push ecx
lea eax, [esp + 0x20]
push edx
push eax
push 0x44da54
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
cmp eax, ebx
je 0x408530
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x10]
imul ecx, dword [esp + 0x1c]
imul ecx, dword [esp + 0x18]
push ecx
push 0x44da50
push edx
call fcn.0042ca77
mov esi, dword [esi + 4]
add esp, 0xc
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x44]
push esi
rep stosd dword es:[edi], eax
lea eax, [esp + 0x48]
push pe_nt_image_headers32
push eax
push 0x452ac0
push str.MEGABYTES
push str.System_Dialog
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp eax, ebx
jle 0x408571
lea ecx, [esp + 0x10]
push 0x44d558
lea edx, [esp + 0x10]
push ecx
push edx
call fcn.00431c7c
lea ecx, [esp + 0x44]
lea edx, [esp + 0x14]
push ecx
push eax
push edx
mov byte [esp + 0x158], 4
call fcn.00431c7c
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x150], 5
call fcn.00431b20
lea ecx, [esp + 0x14]
mov byte [esp + 0x14c], 4
call fcn.004319e7
lea ecx, [esp + 0xc]
mov byte [esp + 0x14c], 1
call fcn.004319e7
jmp 0x408571
push ebx
lea eax, [esp + 0x10]
push ebx
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ebx
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
test eax, eax
je 0x408566
mov ecx, dword [esp + 0xc]
push 0x40
push str.Error
push ecx
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov esi, dword [esp + 0x154]
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call fcn.0043175c
mov dword [esp + 0x24], 1
lea ecx, [esp + 0x10]
mov byte [esp + 0x14c], bl
call fcn.004319e7
mov ecx, dword [esp + 0x144]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x144
ret 4