Function at 0x448ed0
Capabilities:
Check mutex on windows
Delete file
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e6dbf
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x56f734]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x14]
movzx ecx, word [eax + 0x1c]
test ecx, ecx
jle 0x4490db
mov ecx, dword [ebp - 0x14]
add ecx, 0x44
call fcn.00414db0
test eax, eax
jne 0x4490db
mov edx, dword [ebp - 0x14]
movzx eax, byte [edx + 0x1e]
test eax, eax
jne 0x4490db
mov ecx, dword [ebp - 0x14]
mov byte [ecx + 0x1e], 1
push str._TMP_
lea ecx, [ebp - 0x34]
call fcn.00414370
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x14]
add edx, 0x10
push edx
lea ecx, [ebp - 0x34]
call fcn.004146e0
mov dword [ebp - 0x18], 0xffffffff
mov dword [ebp - 0x1c], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x34]
call fcn.004147c0
push eax
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [ebp - 0x1c], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xb7
jne 0x448fa3
push 0x7d0
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0
push 2
push 3
push 0
push 0
push SysReAllocString
mov ecx, dword [ebp - 0x14]
add ecx, 0x44
call fcn.004147c0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
je 0x448ffe
mov dword [ebp - 0x24], 0
push 0
lea ecx, [ebp - 0x24]
push ecx
push 2
mov edx, dword [ebp - 0x14]
add edx, 0x1c
push edx
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x18], 0xffffffff
mov edx, dword [ebp - 0x14]
mov ax, word [edx + 0x1c]
sub ax, 1
mov ecx, dword [ebp - 0x14]
mov word [ecx + 0x1c], ax
mov edx, dword [ebp - 0x14]
movzx eax, word [edx + 0x1c]
test eax, eax
jne 0x44902f
mov ecx, dword [ebp - 0x14]
add ecx, 0x44
call fcn.004147c0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x44908a
push 0
push 2
push 3
push 0
push 0
push 0x40000000
mov ecx, dword [ebp - 0x14]
add ecx, 0x44
call fcn.004147c0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
je 0x44908a
mov dword [ebp - 0x28], 0
push 0
lea ecx, [ebp - 0x28]
push ecx
push 2
mov edx, dword [ebp - 0x14]
add edx, 0x1c
push edx
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x18], 0xffffffff
jmp 0x449092
mov dword [ebp - 4], 0
jmp 0x4490a2
cmp dword [ebp - 0x1c], 0
je 0x4490bc
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x18], 0xffffffff
je 0x4490cc
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.004142e0
mov edx, dword [ebp - 0x14]
cmp dword [edx + 0x50], 0
je 0x449108
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x50]
push ecx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x50], 0
mov edx, dword [ebp - 0x14]
mov ax, word [edx + 0x1c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret