Function at 0x448c70
Capabilities:
Delete file
Get common file path
Read file on windows
Write file on windows

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x4fcfeb
push eax
mov eax, 0x2058
mov dword fs:[0], esp
call fcn.00445f30
mov eax, dword [esp + 0x2070]
push ebx
push ebp
xor ebp, ebp
push esi
cmp eax, ebp
push edi
mov esi, ecx
je 0x448cab
lea eax, [esi + 0x4c]
mov dword [esp + 0x14], eax
jmp 0x448cb2
lea ecx, [esi + 0x50]
mov dword [esp + 0x14], ecx
cmp dword [esp + 0x207c], ebp
jne 0x448e02
mov edx, dword [esp + 0x14]
mov edi, dword [edx]
cmp edi, ebp
je 0x449017
mov eax, dword [edi + 4]
lea esi, [edi + 4]
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call dword [eax + 0x18]
mov eax, dword [eax]
mov ebp, dword [sym.imp.MSVCRT.dll__mbscmp]
push 0x5b2c3c
push eax
call ebp
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x448d09
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x54]
push 0
mov ecx, edi
call sub.MFC42.DLL_CString::GetBuffer
push 0x5936d8
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
jne 0x448d7e
mov eax, dword [esp + 0x14]
mov edi, dword [eax]
test edi, edi
je 0x449017
mov edx, dword [edi + 4]
lea esi, [edi + 4]
lea eax, [esp + 0x10]
mov ecx, esi
push eax
call dword [edx + 0x18]
mov eax, dword [eax]
push 0x5b2c3c
push eax
call ebp
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
sete bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x449017
mov eax, dword [edi]
mov edx, dword [esi]
push 0
push 0x8010
push eax
mov ecx, esi
call dword [edx + 0x28]
jmp 0x449017
mov al, byte [esi + 0xc]
mov bl, 0x10
test bl, al
jne 0x448dbf
mov edi, dword [esp + 0x2078]
mov ebp, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 0x1000
lea ecx, [esp + 0x70]
push 1
push ecx
call ebp
mov edx, dword [edi]
add esp, 0x10
push 0
push eax
lea eax, [esp + 0x70]
push eax
push edi
call dword [edx + 0x10]
test byte [esi + 0xc], bl
je 0x448d94
mov ebp, dword [sym.imp.MSVCRT.dll__mbscmp]
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov ecx, dword [esp + 0x18]
add esp, 4
mov edi, dword [ecx]
test edi, edi
je 0x449017
mov edx, dword [edi + 4]
lea esi, [edi + 4]
lea eax, [esp + 0x10]
mov ecx, esi
push eax
call dword [edx + 0x18]
mov eax, dword [eax]
push 0x5b2c3c
push eax
call ebp
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
sete bl
jmp 0x448d5b
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_3
mov esi, dword [esi + 8]
lea ecx, [esp + 0x10]
push ecx
mov dword [esp + 0x2074], ebp
call fcn.0042cc90
mov eax, dword [eax]
add esp, 4
lea edx, [esp + 0x1068]
push edx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
push eax
call esi
test eax, eax
lea ecx, [esp + 0x10]
sete bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x448e72
lea eax, [esp + 0x10]
push eax
call fcn.0042cc90
mov eax, dword [eax]
add esp, 4
lea ecx, [esp + 0x1068]
push ecx
push ebp
push 0x5b2c3c
push eax
call esi
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea edx, [esp + 0x1068]
lea ecx, [esp + 0x18]
push edx
call sub.MFC42.DLL_CString::operator_2
mov eax, dword [esp + 0x18]
push 0x5936d4
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov ebx, eax
add esp, 8
cmp ebx, ebp
je 0x449003
mov esi, dword [esp + 0x2078]
lea edx, [esp + 0x20]
push 1
push edx
mov ecx, dword [esi]
push esi
call dword [ecx + 0x30]
mov ecx, 0x400
xor eax, eax
lea edi, [esp + 0x68]
lea edx, [esp + 0x68]
rep stosd dword es:[edi], eax
mov eax, dword [esi]
lea ecx, [esp + 0x1c]
push ecx
push 0x1000
push edx
push esi
call dword [eax + 0xc]
mov eax, dword [esp + 0x1c]
push ebx
push eax
lea ecx, [esp + 0x70]
push 1
push ecx
call dword [sym.imp.MSVCRT.dll_fwrite]
mov edx, dword [esp + 0x38]
add esp, 0x10
inc ebp
shr edx, 0xc
cmp ebp, edx
jbe 0x448eb4
push ebx
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
lea ecx, [esp + 0x18]
push 0
call sub.MFC42.DLL_CString::GetBuffer
mov ebp, dword [esp + 0x14]
mov ebx, eax
mov esi, dword [ebp]
test esi, esi
je 0x448f77
lea eax, [esi + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x448f70
test esi, esi
mov dword [esp + 0x10], esi
je 0x448f70
mov ecx, esi
mov byte [esp + 0x2070], 2
call fcn.00448640
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esi + 4]
mov byte [esp + 0x2070], 1
call fcn.00445726
mov ecx, esi
mov byte [esp + 0x2070], 0
call sub.MFC42.DLL_CString::CString
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [ebp], 0
push 0x18
call sub.MFC42.DLL_operatornew
mov edi, eax
add esp, 4
mov dword [esp + 0x10], edi
test edi, edi
mov byte [esp + 0x2070], 3
je 0x448ffe
push ebx
mov ecx, edi
call sub.MFC42.DLL_CString::CString_1
lea esi, [edi + 4]
mov byte [esp + 0x2070], 4
mov ecx, esi
call sub.MFC42.DLL_CFile::CFile
mov edx, dword [esi]
lea eax, [esp + 0x14]
push eax
mov ecx, esi
mov byte [esp + 0x2074], 5
mov dword [edi + 0x14], 1
call dword [edx + 0x18]
mov eax, dword [eax]
push 0x5b2c3c
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
lea ecx, [esp + 0x14]
test eax, eax
sete bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x449000
mov eax, dword [edi]
mov edx, dword [esi]
push 0
push 0x8010
push eax
mov ecx, esi
call dword [edx + 0x28]
jmp 0x449000
xor edi, edi
mov dword [ebp], edi
lea ecx, [esp + 0x18]
mov dword [esp + 0x2070], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x2068]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2064
ret 0xc