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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e8bef
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x572734]
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 0x44db1b
mov ecx, dword [ebp - 0x14]
add ecx, 0x44
call fcn.00415d20
test eax, eax
jne 0x44db1b
mov edx, dword [ebp - 0x14]
movzx eax, byte [edx + 0x1e]
test eax, eax
jne 0x44db1b
mov ecx, dword [ebp - 0x14]
mov byte [ecx + 0x1e], 1
push str._TMP_
lea ecx, [ebp - 0x34]
call fcn.004153a0
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x14]
add edx, 0x10
push edx
lea ecx, [ebp - 0x34]
call fcn.00415710
mov dword [ebp - 0x18], 0xffffffff
mov dword [ebp - 0x1c], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x34]
call fcn.004157f0
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 0x44d9e3
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.004157f0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
je 0x44da3e
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 0x44da6f
mov ecx, dword [ebp - 0x14]
add ecx, 0x44
call fcn.004157f0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x44daca
push 0
push 2
push 3
push 0
push 0
push 0x40000000
mov ecx, dword [ebp - 0x14]
add ecx, 0x44
call fcn.004157f0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
je 0x44daca
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 0x44dad2
mov dword [ebp - 4], 0
jmp 0x44dae2
cmp dword [ebp - 0x1c], 0
je 0x44dafc
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 0x44db0c
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.00415310
mov edx, dword [ebp - 0x14]
cmp dword [edx + 0x50], 0
je 0x44db48
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