Function at 0x449dfe
Capabilities:
Check if file exists
Get common file path
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
push ebx
push esi
push edi
xor esi, esi
push 0x208
lea eax, [ebp - 0x22e]
push esi
push eax
mov word [ebp - 0x230], si
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0x104
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x449fbc
lea eax, [ebp - 0x230]
push eax
mov word [ebp - 0x22a], si
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x449fbc
push esi
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x449fbc
call fcn.0047867e
cmp eax, 0xb
je 0x449f56
call fcn.0047867e
cmp eax, 0xc
je 0x449f56
cmp dword [ebp - 0x1c], 2
mov edx, dword [ebp - 0x20]
mov ecx, SysReAllocStringLen
ja 0x449ec7
jb 0x449eac
cmp edx, ecx
jae 0x449ec7
cmp dword [ebp - 0xc], esi
ja 0x449fbc
jb 0x449f9a
cmp dword [ebp - 0x10], 0x1f400000
jmp 0x449fba
cmp dword [ebp - 0x1c], 5
ja 0x449ef8
jb 0x449ed3
cmp edx, esi
jae 0x449ef8
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
and eax, 0x7fffffff
and dword [ebp - 0x1c], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
fild qword [ebp - 8]
mov dword [ebp - 0x20], esi
fild qword [ebp - 0x20]
jmp 0x449f89
mov ebx, dword [ebp - 0xc]
mov edi, dword [ebp - 0x10]
mov dword [ebp - 4], ebx
and dword [ebp - 4], ecx
mov eax, SysReAllocString
and ebx, eax
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], ebx
fild qword [ebp - 0x18]
mov dword [ebp - 8], esi
fild qword [ebp - 8]
mov dword [ebp - 0x18], edx
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 4], edx
and dword [ebp - 4], ecx
fchs
faddp st(1)
and edx, eax
mov dword [ebp - 0x14], edx
fild qword [ebp - 0x18]
mov dword [ebp - 8], esi
fild qword [ebp - 8]
fchs
faddp st(1)
fmul qword [0x5275c0]
fcompp
fnstsw ax
test ah, 0x41
jne 0x449fbc
cmp dword [ebp - 0xc], esi
ja 0x449fbc
jb 0x449f9a
cmp edi, ecx
jmp 0x449fba
cmp dword [ebp - 0x1c], 5
mov edx, dword [ebp - 0x20]
ja 0x449f9f
jb 0x449f65
cmp edx, esi
jae 0x449f9f
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 4], eax
and eax, 0x7fffffff
and dword [ebp - 4], 0x80000000
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], eax
fild qword [ebp - 0x18]
mov dword [ebp - 8], esi
fild qword [ebp - 8]
fchs
faddp st(1)
fcomp qword [0x5275b8]
fnstsw ax
test ah, 5
jp 0x449fbc
xor eax, eax
inc eax
jmp 0x449fbe
cmp dword [ebp - 0x1c], 7
mov ecx, SysReAllocStringLen
ja 0x449fc3
jb 0x449fb0
cmp edx, ecx
jae 0x449fc3
cmp dword [ebp - 0xc], esi
ja 0x449fbc
jb 0x449f9a
cmp dword [ebp - 0x10], ecx
jb 0x449f9a
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov ebx, dword [ebp - 0xc]
mov edi, dword [ebp - 0x10]
mov dword [ebp - 4], ebx
and dword [ebp - 4], ecx
mov eax, SysReAllocString
and ebx, eax
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], ebx
fild qword [ebp - 0x18]
mov dword [ebp - 8], esi
fild qword [ebp - 8]
mov dword [ebp - 0x18], edx
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 4], edx
and dword [ebp - 4], ecx
fchs
faddp st(1)
and edx, eax
mov dword [ebp - 0x14], edx
fild qword [ebp - 0x18]
mov dword [ebp - 8], esi
fild qword [ebp - 8]
fchs
faddp st(1)
fmul qword [0x5275c0]
fcompp
fnstsw ax
test ah, 0x41
jne 0x449fbc
cmp dword [ebp - 0xc], esi
ja 0x449fbc
jb 0x449f9a
cmp edi, 0xc0000000
jmp 0x449fba