Function at 0x449620
Capabilities:
Check if file exists
Delete file
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d4a2a
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x517074]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x70], ecx
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
push 0
push 0x80
push 3
push 0
push 7
push 0x10005
mov dword [ebp - 0x6c], 0
push edi
mov dword [ebp - 0x8c], esi
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x54], eax
mov dword [esi], 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x6c], 1
cmp eax, 0xffffffff
jne 0x44984f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x4496cc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x68]
call fcn.00477040
push 0x513ed8
lea eax, [ebp - 0x68]
push eax
call fcn.004a4f7b
push edi
lea ecx, [ebp - 0x88]
call fcn.00414090
push str..tmp.
mov edx, eax
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x3c]
call fcn.00413750
add esp, 4
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x74]
cmp eax, 8
jb 0x449710
inc eax
lea ecx, [ebp - 0x88]
push eax
push dword [ebp - 0x88]
call fcn.00414120
xor eax, eax
mov dword [ebp - 0x74], 7
mov word [ebp - 0x88], ax
lea eax, [ebp - 0xb4]
push eax
mov dword [ebp - 0x78], 0
call fcn.004750c0
add esp, 4
lea edx, [ebp - 0x68]
lea ecx, [ebp - 0xa4]
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x68], xmm0
call fcn.00424250
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 4
call fcn.00413950
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x90]
cmp eax, 8
jb 0x44977e
inc eax
lea ecx, [ebp - 0xa4]
push eax
push dword [ebp - 0xa4]
call fcn.00414120
cmp dword [ebp - 0x28], 8
lea eax, [ebp - 0x3c]
push 0
cmovae eax, dword [ebp - 0x3c]
push 0x80
push 1
push 0
push 7
push 0x10005
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x4497b2
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], edi
cmp edi, 0xffffffff
jne 0x4497d6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x68]
call fcn.00477040
push 0x513ed8
lea eax, [ebp - 0x68]
push eax
call fcn.004a4f7b
push 0
lea eax, [ebp - 0x20]
mov word [ebp - 0x14], 0xbbef
push eax
push 3
lea eax, [ebp - 0x14]
mov byte [ebp - 0x12], 0xbf
push eax
push edi
mov dword [ebp - 0x20], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x44981b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x68]
call fcn.00477040
push 0x513ed8
lea eax, [ebp - 0x68]
push eax
call fcn.004a4f7b
mov edx, dword [ebp - 0x54]
mov ecx, dword [esi]
push 0
call fcn.00449100
add esp, 4
test al, al
jne 0x449840
cmp dword [ebp - 0x28], 8
lea eax, [ebp - 0x3c]
cmovae eax, dword [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0
call fcn.00414250
mov edi, dword [ebp - 0x58]
xor eax, eax
xorps xmm0, xmm0
mov word [ebp - 0x1c], ax
mov byte [ebp - 0x1a], al
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x24]
push eax
push 3
lea eax, [ebp - 0x1c]
push eax
push dword [esi]
movups xmmword [ebp - 0x50], xmm0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4498a7
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x26
je 0x4498a7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x68]
call fcn.00477040
push 0x513ed8
lea eax, [ebp - 0x68]
push eax
call fcn.004a4f7b
push 3
lea eax, [ebp - 0x18]
mov word [ebp - 0x18], 0xbbef
push eax
lea eax, [ebp - 0x1c]
mov byte [ebp - 0x16], 0xbf
push eax
call fcn.004b81e0
add esp, 0xc
test eax, eax
je 0x4498fa
mov edx, dword [ebp - 0x54]
mov ecx, dword [esi]
call fcn.004491f0
push dword [ebp - 0x54]
mov ecx, dword [ebp - 0x70]
lea eax, [ebp - 0x58]
push edi
push eax
call fcn.00449620
mov ecx, dword [esi]
mov edx, eax
mov eax, dword [edx]
mov dword [esi], eax
mov dword [edx], ecx
mov ecx, dword [ebp - 0x58]
cmp ecx, 0xffffffff
je 0x4498fa
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048bc9e
mov esp, ebp
pop ebp
ret 0xc