Function at 0x450890
Capabilities:
Copy file
Delete file
Get common file path
Move file
Set file attributes
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x4b6f41
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x380
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x3a0]
mov ebp, ecx
test edi, edi
mov dword [esp + 0x20], ebp
je 0x450e27
push 1
push 0x2800
call dword [sym.imp.MSVCRT.dll_calloc]
add esp, 8
mov dword [esp + 0x14], eax
lea eax, [esp + 0x28c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov ecx, dword [edi + 8]
xor eax, eax
test ecx, ecx
mov dword [esp + 0x24], eax
jle 0x450d5f
mov ecx, dword [edi + 4]
mov ebx, dword [ecx + eax*4]
mov dword [esp + 0x28], ebx
mov ax, word [ebx + 0x18]
cmp ax, 2
jne 0x450a54
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::CString_5
lea esi, [ebx + 4]
push str.GLAcm.DLL
push esi
mov dword [esp + 0x3a0], 0
call dword [sym.imp.MSVCRT.dll__stricmp]
add esp, 8
test eax, eax
push esi
jne 0x45094f
mov edx, dword [ebp + 8]
lea eax, [esp + 0x20]
push edx
push 0x4d70b0
push eax
jmp 0x45095d
mov ecx, dword [ebp + 8]
lea edx, [esp + 0x20]
push ecx
push str._sglacm_s
push edx
call sub.MFC42.DLL_CString::Format_1
mov eax, dword [esp + 0x2c]
add esp, 0x10
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov ecx, dword [esp + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x450a3b
xor edx, edx
mov ecx, 0x41
mov dword [esp + 0x50], edx
lea edi, [esp + 0x84]
mov dword [esp + 0x54], edx
mov dword [esp + 0x58], edx
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x5c], edx
mov dword [esp + 0x60], edx
mov ecx, dword [eax - 8]
add ecx, 0xfffffffd
push ecx
push eax
lea eax, [esp + 0x8c]
push eax
call dword [sym.imp.MSVCRT.dll_strncpy]
push 0
call dword [sym.imp.MSVCRT.dll_time]
add esp, 0x10
lea ecx, [esp + 0x50]
push eax
push 0x4d6364
push ecx
call dword [sym.imp.MSVCRT.dll_sprintf]
lea edi, [esp + 0x5c]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x90]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x90]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x2c]
push ecx
call dword [sym.imp.MSVCRT.dll_rename]
add esp, 0x14
test eax, eax
jne 0x450d8d
mov edi, dword [esp + 0x3a0]
mov ebp, dword [esp + 0x20]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x398], 0xffffffff
call sub.MFC42.DLL_CString::CString
jmp 0x450d4b
cmp ax, 1
je 0x450a64
cmp ax, 3
jne 0x450d4b
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_5
add ebx, 4
lea edx, [esp + 0x28c]
push ebx
push edx
lea eax, [esp + 0x18]
push str._s_s
push eax
mov dword [esp + 0x3a8], 1
call sub.MFC42.DLL_CString::Format_1
mov ecx, dword [esp + 0x20]
add esp, 0x10
push 0x80
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
xor esi, esi
add ebp, 0xc
mov ecx, 8
xor eax, eax
lea edi, [esp + 0x64]
push 0x13
rep stosd dword es:[edi], eax
lea eax, [esp + 0x70]
push ebx
push eax
mov dword [esp + 0x70], 0x5002
mov dword [esp + 0x74], 0x18
mov dword [esp + 0x8c], esi
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0xc
lea ecx, [esp + 0x64]
push 0x20
push ecx
mov ecx, ebp
call fcn.00441e60
test eax, eax
jle 0x450db3
xor edx, edx
push 0x7530
mov dword [esp + 0x30], edx
lea eax, [esp + 0x30]
mov dword [esp + 0x34], edx
push 0x10
mov dword [esp + 0x3c], edx
push eax
mov ecx, ebp
mov dword [esp + 0x44], edx
call fcn.004424c0
test eax, eax
jle 0x450dd9
mov eax, dword [esp + 0x38]
test eax, eax
jne 0x450b43
test esi, esi
je 0x450de0
jmp 0x450ab6
cmp eax, 0x2800
ja 0x450de0
test eax, eax
jbe 0x450ab6
mov ecx, dword [esp + 0x28]
cmp esi, dword [ecx]
jge 0x450ab6
mov edi, dword [esp + 0x14]
push 0x7530
push eax
push edi
mov ecx, ebp
call fcn.004424c0
cmp eax, dword [esp + 0x38]
jne 0x450de7
mov edx, dword [esp + 0x10]
push 0x4d8d84
push edx
call dword [sym.imp.MSVCRT.dll_fopen]
mov edi, eax
add esp, 8
test edi, edi
je 0x450db3
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x14]
push edi
push eax
push 1
push ecx
call dword [sym.imp.MSVCRT.dll_fwrite]
push edi
call dword [sym.imp.MSVCRT.dll_fclose]
mov edi, dword [esp + 0x28]
mov edx, dword [esp + 0x3c]
mov ecx, 0xa00
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x4c]
mov eax, dword [edx]
add esi, ecx
add esp, 0x14
cmp esi, eax
jl 0x450ab6
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_5
push str.GLAcm.DLL
push ebx
mov byte [esp + 0x3a0], 2
call dword [sym.imp.MSVCRT.dll__stricmp]
add esp, 8
test eax, eax
mov eax, dword [esp + 0x20]
push ebx
mov ecx, dword [eax + 8]
push ecx
jne 0x450c0d
push 0x4d70b0
jmp 0x450c12
push str._sglacm_s
lea edx, [esp + 0x24]
push edx
call sub.MFC42.DLL_CString::Format_1
mov eax, dword [esp + 0x28]
add esp, 0x10
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov ebp, dword [sym.imp.KERNEL32.dll_CopyFileA]
push 0
push ecx
push edx
call ebp
test eax, eax
jne 0x450d09
mov ecx, 0x41
lea edi, [esp + 0x188]
rep stosd dword es:[edi], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x18]
mov ecx, dword [eax - 8]
add ecx, 0xfffffffd
push ecx
lea ecx, [esp + 0x18c]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll_strncpy]
push 0
call dword [sym.imp.MSVCRT.dll_time]
add esp, 0x10
lea edx, [esp + 0x3c]
push eax
push 0x4d6364
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
or ebx, 0xffffffff
lea edi, [esp + 0x48]
mov ecx, ebx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x194]
mov esi, edi
mov edi, edx
mov edx, ecx
mov ecx, ebx
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x194]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x28]
push ecx
call dword [sym.imp.MSVCRT.dll_rename]
add esp, 0x14
test eax, eax
jne 0x450dea
mov edx, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x14]
push edx
push eax
call ebp
test eax, eax
je 0x450df1
jmp 0x450d0c
or ebx, 0xffffffff
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
je 0x450df8
lea ecx, [esp + 0x18]
mov byte [esp + 0x398], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0x398], ebx
call sub.MFC42.DLL_CString::CString
mov edi, dword [esp + 0x3a0]
mov ebp, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
mov ecx, dword [edi + 8]
inc eax
cmp eax, ecx
mov dword [esp + 0x24], eax
jl 0x4508fc
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x390]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x38c
ret 4
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
lea ecx, [esp + 0x1c]
mov dword [esp + 0x398], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
jmp 0x450d72
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
lea ecx, [esp + 0x10]
mov dword [esp + 0x398], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
jmp 0x450d72
mov ecx, dword [esp + 0x14]
push ecx
jmp 0x450db8
mov edx, dword [esp + 0x14]
push edx
jmp 0x450db8
push edi
jmp 0x450db8
mov ecx, dword [esp + 0x14]
push ecx
jmp 0x450dfd
mov edx, dword [esp + 0x14]
push edx
jmp 0x450dfd
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
lea ecx, [esp + 0x18]
mov byte [esp + 0x398], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0x398], ebx
call sub.MFC42.DLL_CString::CString
xor eax, eax
jmp 0x450d72