Function at 0x444a80
Capabilities:
Delete file
Move file
Write file on windows

Disassembly:
sub esp, 0x224
push ebx
mov ebx, ecx
push ebp
push esi
mov eax, dword [ebx + 4]
push edi
test eax, eax
je 0x444d42
lea edx, [ebx + 0x34]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea ebp, [esp + 0x130]
mov eax, ecx
mov esi, edi
shr ecx, 2
mov edi, ebp
lea ebp, [esp + 0x2c]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
or ecx, 0xffffffff
mov edi, edx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x130]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x4d8770
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea edx, [esp + 0x2c]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x4d876c
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebx + 8]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0
push 0x80
push 2
push 0
push 1
lea eax, [esp + 0x144]
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x444b83
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x224
ret
mov ecx, dword [ebx + 0x2c]
xor eax, eax
test ecx, ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x1c], eax
jle 0x444d0a
mov ebp, dword [sym.imp.KERNEL32.dll_WriteFile]
cmp eax, dword [ebx + 0x2c]
jge 0x444cfd
mov edx, dword [ebx + 0x30]
mov edx, dword [edx + eax*4]
test edx, edx
mov dword [esp + 0x14], edx
je 0x444cfd
mov eax, dword [edx]
test eax, eax
je 0x444bff
push eax
mov eax, dword [ebx + 0x138]
push str._r_n__s__r_n
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
mov edx, dword [ebx + 0x138]
add esp, 0xc
lea ecx, [esp + 0x10]
mov edi, edx
push 0
push ecx
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x18], 0
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
push esi
call ebp
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x10]
xor edi, edi
test eax, eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x18], edi
jle 0x444cf5
cmp edi, dword [edx + 0x10]
jge 0x444ce4
mov eax, dword [edx + 0x14]
mov ecx, dword [eax + edi*4]
test ecx, ecx
mov dword [esp + 0x20], ecx
je 0x444ce4
mov eax, dword [ecx]
test eax, eax
je 0x444ce4
cmp dword [ecx + 4], 0
je 0x444ce4
mov ecx, dword [ebx + 0x138]
push eax
push 0x4d875c
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
mov edx, dword [ebx + 0x138]
add esp, 0xc
lea eax, [esp + 0x10]
mov edi, edx
push 0
push eax
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x18], 0
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
push esi
call ebp
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x10], 0
lea eax, [esp + 0x10]
push 0
mov edx, dword [ecx + 4]
push eax
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
push esi
call ebp
mov ecx, dword [ebx + 0x138]
push 0x4d7918
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
mov edx, dword [ebx + 0x138]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
not ecx
mov dword [esp + 0x10], eax
push eax
lea eax, [esp + 0x14]
dec ecx
push eax
push ecx
push edx
push esi
call ebp
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x28]
inc edi
cmp edi, eax
mov dword [esp + 0x18], edi
jl 0x444c14
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
inc eax
cmp eax, ecx
mov dword [esp + 0x1c], eax
jl 0x444b9e
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov edi, dword [sym.imp.KERNEL32.dll_MoveFileA]
lea edx, [esp + 0x2c]
lea esi, [ebx + 0x34]
push edx
push esi
call edi
lea eax, [esp + 0x130]
push esi
push eax
call edi
lea eax, [ebx + 8]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
mov dword [ebx + 4], 0
pop ebp
mov eax, 1
pop ebx
add esp, 0x224
ret