Function at 0x4c4440
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x4c4448
push ecx
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x4c49d2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x558e64]
mov edx, dword [0x558e68]
call fcn.00405864
je 0x4c447d
mov eax, dword [0x558e18]
call fcn.0046f648
mov eax, 0x4c49e8
call fcn.004058cc
push eax
call sub.kernel32.dll_DeleteFileA
lea edx, [ebp - 0xc]
mov eax, dword [0x5528f8]
mov eax, dword [eax]
call fcn.00473b9c
mov eax, dword [ebp - 0xc]
mov edx, 0x4c49e8
call fcn.004c423c
test al, al
jne 0x4c44c6
mov eax, 0x4c4a08
call fcn.00446b78
mov eax, dword [0x558e18]
call fcn.0046f648
jmp 0x4c4992
lea eax, [ebp - 0x10]
call fcn.004c4418
mov edx, dword [ebp - 0x10]
mov eax, 0x558e90
call fcn.00405490
lea ecx, [ebp - 0x14]
mov edx, 1
mov eax, dword [0x558e90]
call fcn.0043cec4
mov eax, dword [ebp - 0x14]
mov edx, 0x4c4a20
call fcn.00405864
je 0x4c452c
lea ecx, [ebp - 0x18]
mov edx, 1
mov eax, dword [0x558e90]
call fcn.0043cec4
mov eax, dword [ebp - 0x18]
mov edx, 0x4c4a2c
call fcn.00405864
je 0x4c452c
mov eax, 0x558e90
mov edx, 0x4c4a20
call fcn.00405708
mov eax, 0x558e90
mov edx, 0x4c4a38
call fcn.00405708
mov eax, dword [0x558e18]
mov eax, dword [eax + 0x374]
mov edx, 0x4c49e8
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov eax, dword [0x558e18]
mov eax, dword [eax + 0x374]
mov edx, dword [0x558e90]
call fcn.0048f08c
mov eax, dword [0x558e18]
mov eax, dword [eax + 0x374]
mov byte [eax + 0x39], 1
mov byte [eax + 0x3a], 1
mov byte [eax + 0x50], 1
mov byte [eax + 0x40], 1
lea edx, [ebp - 0x1c]
mov eax, dword [0x552810]
mov eax, dword [eax]
call fcn.0040a190
mov edx, dword [ebp - 0x1c]
mov eax, dword [0x558e18]
mov eax, dword [eax + 0x374]
add eax, 0x44
call fcn.00405490
xor eax, eax
push ebp
push 0x4c45ce
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x558e18]
mov eax, dword [eax + 0x374]
call fcn.0048f97c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4c45f6
mov eax, 0x4c49e8
call fcn.004058cc
push eax
call sub.kernel32.dll_DeleteFileA
lea eax, [ebp - 4]
mov ecx, dword [0x558e38]
mov edx, dword [0x558e90]
call fcn.00405754
lea eax, [ebp - 0x20]
mov ecx, dword [0x558e38]
mov edx, dword [0x558e90]
call fcn.00405754
mov ebx, dword [ebp - 0x20]
push dword [0x558e90]
push dword [0x558e38]
push 0x4c4a60
lea eax, [ebp - 0x24]
mov edx, 3
call fcn.004057d0
mov esi, dword [ebp - 0x24]
mov dword [ebp - 0x28], esi
mov eax, dword [ebp - 0x28]
call fcn.004058cc
push eax
mov dword [ebp - 0x2c], ebx
mov eax, dword [ebp - 0x2c]
call fcn.004058cc
push eax
call sub.kernel32.dll_MoveFileA
cmp eax, 1
sbb eax, eax
inc eax
call fcn.004c0ae4
xor edx, edx
push ebp
push 0x4c476e
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x40
push dword [0x558e90]
push dword [0x558e38]
push 0x4c4a60
lea eax, [ebp - 0x34]
mov edx, 3
call fcn.004057d0
mov eax, dword [ebp - 0x34]
lea edx, [ebp - 0x30]
call fcn.00409d34
mov ecx, dword [ebp - 0x30]
mov dl, 1
mov eax, dword [0x418c8c]
call fcn.0041da24
mov dword [ebp - 8], eax
push 0
push 0
push 1
push 0
push 1
push 0x40000000
mov eax, dword [ebp - 4]
call fcn.004058cc
push eax
call fcn.004c0bff
mov ebx, eax
mov ecx, ebx
mov dl, 1
mov eax, dword [0x418c14]
call fcn.0041d960
mov esi, eax
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 8]
mov edi, dword [eax]
call dword [edi + 0x14]
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx]
push edx
push eax
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.0041d80c
mov eax, esi
call fcn.0040455c
push ebx
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c4775
push dword [0x558e90]
push dword [0x558e38]
push 0x4c4a60
lea eax, [ebp - 0x38]
mov edx, 3
call fcn.004057d0
mov ebx, dword [ebp - 0x38]
mov dword [ebp - 0x28], ebx
mov eax, dword [ebp - 0x28]
call fcn.004058cc
push eax
call sub.kernel32.dll_DeleteFileA
cmp eax, 1
sbb eax, eax
inc eax
mov eax, dword [ebp - 8]
call fcn.0040455c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c49d9
lea eax, [ebp - 0x44]
call fcn.0040543c
lea eax, [ebp - 0x40]
call fcn.00405c44
lea eax, [ebp - 0x3c]
mov edx, 4
call fcn.00405460
lea eax, [ebp - 0x24]
mov edx, 7
call fcn.00405460
lea eax, [ebp - 4]
call fcn.0040543c
ret