Function at 0x441dc7
Capabilities:
Delete file
Move file
Resolve function by parsing pe exports
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4df48f
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x1114
call fcn.004b4e80
mov eax, dword [0x510918]
xor eax, esp
mov dword [esp + 0x1110], eax
push ebx
push esi
push edi
mov eax, dword [0x510918]
xor eax, esp
push eax
lea eax, [esp + 0x1128]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 0x14]
mov ebx, dword [ebp + 0x18]
mov dword [esp + 0x18], eax
call fcn.00441c86
test al, al
je 0x4421ae
mov eax, dword [ebx]
xor edx, edx
xor esi, esi
movzx ecx, dl
inc esi
cmp dword [eax], edi
push edx
cmovne ecx, esi
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x34]
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], 7
call fcn.004031c0
and dword [esp + 0x1130], 0
push 0x800
lea ecx, [esp + 0x34]
call fcn.004057a0
push 0
call fcn.004a3b56
mov dword [esp + 0x28], eax
pop ecx
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x7c]
push eax
mov dword [esp + 0x30], edx
call fcn.004a7667
pop ecx
pop ecx
test eax, eax
jne 0x4421a5
lea eax, [esp + 0x78]
push eax
push str._d._m._y__H:_M:_S___
lea eax, [esp + 0xa4]
push 0x3f
push eax
call fcn.004a8439
add esp, 0x10
lea eax, [esp + 0x9c]
push eax
lea ecx, [esp + 0x34]
call fcn.004030c0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edx, eax
lea ecx, [esp + 0x60]
call fcn.00406960
mov esi, eax
xor eax, eax
inc eax
mov byte [esp + 0x1130], al
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edx, eax
lea ecx, [esp + 0x48]
call fcn.00406960
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x113c], 2
call fcn.00402a00
push 0x4f531c
mov ecx, eax
call fcn.00404dc0
push 0x4f7ec8
push 0xffffffffffffffff
push 0
push esi
mov ecx, eax
call fcn.00402a00
mov ecx, eax
call fcn.00404dc0
lea ecx, [esp + 0x48]
call fcn.00403170
lea ecx, [esp + 0x60]
mov byte [esp + 0x1130], 0
call fcn.00403170
cmp dword [ebp + 8], 3
jne 0x441f4a
push str.ERROR:
jmp 0x441f55
cmp dword [ebp + 8], 7
jne 0x441f5e
push str.WARNING:
lea ecx, [esp + 0x34]
call fcn.00404dc0
push 0x4f7ed0
push dword [esp + 0x1c]
lea ecx, [esp + 0x38]
call fcn.00404dc0
mov ecx, eax
call fcn.00404dc0
push 0xa
push 0x40
lea eax, [esp + 0xa4]
push eax
push dword [ebp + 0x10]
call fcn.004a3583
add esp, 0x10
lea eax, [esp + 0x9c]
push 0x4f7ef4
push eax
lea ecx, [esp + 0x38]
call fcn.00404dc0
mov ecx, eax
call fcn.00404dc0
cmp byte [esp + 0x14], 0
je 0x441ff9
cmp dword [edi + 0x14], 8
jb 0x441fba
mov edi, dword [edi]
push dword [ebx]
lea eax, [esp + 0x120]
push edi
push 0x7ff
push 0x800
push eax
call fcn.004a8456
add esp, 0x14
xor eax, eax
mov word [esp + 0x111a], ax
push 0x4f7eec
lea eax, [esp + 0x120]
push eax
lea ecx, [esp + 0x38]
call fcn.00404dc0
jmp 0x44200c
push 0x4f7eec
push 0xffffffffffffffff
push 0
push edi
lea ecx, [esp + 0x40]
call fcn.00402a00
mov ecx, eax
call fcn.00404dc0
and dword [ebx], 0
mov eax, dword [0x5130b4]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], eax
mov byte [esp + 0x20], 0
call fcn.0042edea
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [0x5130b0], 8
push 0
push 0x80
push 4
mov eax, 0x51309c
cmovae eax, dword [0x51309c]
push 0
xor esi, esi
inc esi
push esi
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [esp + 0x14], esi
mov byte [esp + 0x1130], 4
cmp esi, 0xffffffff
je 0x44219c
push 2
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x442195
test eax, eax
je 0x44215d
cmp eax, 0x100000
jbe 0x442171
test esi, esi
je 0x4420b4
push esi
call edi
xor esi, esi
mov dword [esp + 0x14], esi
push 0x51309c
lea ecx, [esp + 0x4c]
call fcn.004014c0
xor eax, eax
push str..old
inc eax
push eax
push ecx
lea eax, [esp + 0x24]
mov byte [esp + 0x113c], 5
push eax
lea ecx, [esp + 0x58]
mov dword [esp + 0x28], 0x2e
call fcn.0042a886
push eax
lea ecx, [esp + 0x50]
call fcn.004220e0
cmp dword [esp + 0x5c], 8
lea eax, [esp + 0x48]
cmovae eax, dword [esp + 0x48]
push eax
call ebx
cmp dword [esp + 0x5c], 8
lea ecx, [esp + 0x48]
cmovae ecx, dword [esp + 0x48]
cmp dword [0x5130b0], 8
mov eax, 0x51309c
cmovae eax, dword [0x51309c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
cmp dword [0x5130b0], 8
mov eax, 0x51309c
cmovae eax, dword [0x51309c]
push eax
call ebx
lea ecx, [esp + 0x48]
call fcn.00403170
test esi, esi
je 0x442039
push esi
call edi
jmp 0x442039
xor eax, eax
push 0xfeff
inc eax
push eax
push 0
lea ecx, [esp + 0x3c]
call fcn.0042c0c4
cmp dword [esp + 0x44], 8
push 0
lea eax, [esp + 0x30]
push eax
mov eax, dword [esp + 0x48]
lea ecx, [esp + 0x38]
cmovae ecx, dword [esp + 0x38]
add eax, eax
push eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test esi, esi
je 0x44219c
push esi
call edi
lea ecx, [esp + 0x1c]
call fcn.0042ee11
lea ecx, [esp + 0x30]
call fcn.00403170
mov ecx, dword [esp + 0x1128]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1110]
xor ecx, esp
call fcn.004a2964
mov esp, ebp
pop ebp
ret 0x14