Function at 0x4c5498
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xd
push 0
push 0
dec ecx
jne 0x4c54a0
push ecx
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x4c5b7f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x5cee64]
mov edx, dword [0x5cee68]
call fcn.00405864
je 0x4c54d5
mov eax, dword [0x5cee18]
call fcn.004700b8
mov eax, 0x4c5b98
call fcn.004058cc
push eax
call sub.kernel32.dll_DeleteFileA
lea edx, [ebp - 0x1c]
mov eax, dword [0x5c8bcc]
mov eax, dword [eax]
call fcn.00474624
mov eax, dword [ebp - 0x1c]
mov edx, 0x4c5b98
call fcn.004c52bc
test al, al
jne 0x4c551e
mov eax, 0x4c5bb8
call fcn.004475e8
mov eax, dword [0x5cee18]
call fcn.004700b8
jmp 0x4c5b2d
mov eax, dword [0x5ceed4]
mov edx, 0x4c5bd0
call fcn.00405864
jne 0x4c55a9
lea eax, [ebp - 0x20]
call fcn.004c2560
mov edx, dword [ebp - 0x20]
mov eax, 0x5cee94
call fcn.00405490
lea ecx, [ebp - 0x24]
mov edx, 1
mov eax, dword [0x5cee94]
call fcn.0043d934
mov eax, dword [ebp - 0x24]
mov edx, 0x4c5bdc
call fcn.00405864
je 0x4c5595
lea ecx, [ebp - 0x28]
mov edx, 1
mov eax, dword [0x5cee94]
call fcn.0043d934
mov eax, dword [ebp - 0x28]
mov edx, 0x4c5be8
call fcn.00405864
je 0x4c5595
mov eax, 0x5cee94
mov edx, 0x4c5bdc
call fcn.00405708
mov eax, 0x5cee94
mov edx, 0x4c5bf4
call fcn.00405708
jmp 0x4c5631
call fcn.0040cb48
fstp qword [ebp - 0x18]
wait
push dword [ebp - 0x14]
push dword [ebp - 0x18]
mov edx, dword [0x5c8b6c]
mov edx, dword [edx]
lea eax, [ebp - 8]
call fcn.0040d77c
lea edx, [ebp - 0x40]
mov eax, dword [ebp - 8]
call fcn.004bb0b4
lea eax, [ebp - 0x40]
lea edx, [ebp - 0x30]
call fcn.004bb12c
mov eax, dword [ebp - 0x30]
lea ecx, [ebp - 0x2c]
mov edx, 5
call fcn.0043d918
mov edx, dword [ebp - 0x2c]
mov eax, 0x5cee94
call fcn.00405490
push 0x4c5c04
push dword [0x5cee94]
push 0x4c5bdc
mov eax, 0x5cee94
mov edx, 3
call fcn.004057d0
call fcn.004c17ec
push 0
mov eax, dword [0x5cee94]
call fcn.004058cc
push eax
call fcn.004c196c
mov eax, dword [0x5cee18]
mov eax, dword [eax + 0x374]
mov edx, 0x4c5b98
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov eax, dword [0x5cee18]
mov eax, dword [eax + 0x374]
mov edx, dword [0x5cee94]
call fcn.0048fb14
mov eax, dword [0x5cee18]
mov eax, dword [eax + 0x374]
mov byte [eax + 0x39], 1
mov byte [eax + 0x50], 1
mov byte [eax + 0x3a], 1
mov byte [eax + 0x40], 1
lea edx, [ebp - 0x44]
mov eax, dword [0x5c8ae0]
mov eax, dword [eax]
call fcn.0040a198
mov edx, dword [ebp - 0x44]
mov eax, dword [0x5cee18]
mov eax, dword [eax + 0x374]
add eax, 0x44
call fcn.00405490
xor eax, eax
push ebp
push 0x4c56c4
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x5cee18]
mov eax, dword [eax + 0x374]
call fcn.00490404
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4c56ec
mov eax, 0x4c5b98
call fcn.004058cc
push eax
call sub.kernel32.dll_DeleteFileA
lea eax, [ebp - 4]
mov ecx, dword [0x5cee38]
mov edx, dword [0x5cee94]
call fcn.00405754
mov eax, dword [0x5ceed4]
mov edx, 0x4c5bd0
call fcn.00405864
jne 0x4c58b8
lea eax, [ebp - 0x48]
mov ecx, dword [0x5cee38]
mov edx, dword [0x5cee94]
call fcn.00405754
mov ebx, dword [ebp - 0x48]
push dword [0x5cee94]
push dword [0x5cee38]
push 0x4c5c34
lea eax, [ebp - 0x4c]
mov edx, 3
call fcn.004057d0
mov esi, dword [ebp - 0x4c]
mov dword [ebp - 0x50], esi
mov eax, dword [ebp - 0x50]
call fcn.004058cc
push eax
mov dword [ebp - 0x54], ebx
mov eax, dword [ebp - 0x54]
call fcn.004058cc
push eax
call sub.kernel32.dll_MoveFileA
cmp eax, 1
sbb eax, eax
inc eax
call fcn.004c17ec
xor edx, edx
push ebp
push 0x4c5879
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x40
push dword [0x5cee94]
push dword [0x5cee38]
push 0x4c5c34
lea eax, [ebp - 0x5c]
mov edx, 3
call fcn.004057d0
mov eax, dword [ebp - 0x5c]
lea edx, [ebp - 0x58]
call fcn.00409d3c
mov ecx, dword [ebp - 0x58]
mov dl, 1
mov eax, dword [0x4196f4]
call fcn.0041e48c
mov dword [ebp - 0xc], 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.004c1907
mov ebx, eax
mov ecx, ebx
mov dl, 1
mov eax, dword [0x41967c]
call fcn.0041e3c8
mov esi, eax
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 0xc]
mov edi, dword [eax]
call dword [edi + 0x14]
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx]
push edx
push eax
mov edx, dword [ebp - 0xc]
mov eax, esi
call fcn.0041e274
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 0x4c5880
push dword [0x5cee94]
push dword [0x5cee38]
push 0x4c5c34
lea eax, [ebp - 0x60]
mov edx, 3
call fcn.004057d0
mov ebx, dword [ebp - 0x60]
mov dword [ebp - 0x50], ebx
mov eax, dword [ebp - 0x50]
call fcn.004058cc
push eax
call sub.kernel32.dll_DeleteFileA
cmp eax, 1
sbb eax, eax
inc eax
mov eax, dword [ebp - 0xc]
call fcn.0040455c
ret
mov ax, 0x133f
call fcn.00403570
lea eax, [ebp - 0x68]
mov edx, dword [ebp - 4]
call fcn.00405d94
mov edx, dword [ebp - 0x68]
mov eax, dword [0x5cee18]
mov eax, dword [eax + 0x36c]
call fcn.0047dd38
mov eax, dword [0x5cee24]
mov edx, 0x4c5c40
call fcn.00405864
je 0x4c592f
mov eax, dword [0x5cee28]
mov edx, 0x4c5c40
call fcn.00405864
je 0x4c592f
mov eax, dword [0x5cee24]
call fcn.0040a2d4
mov edx, eax
mov eax, dword [0x5cee18]
call fcn.00455920
mov eax, dword [0x5cee28]
call fcn.0040a2d4
mov edx, eax
mov eax, dword [0x5cee18]
call fcn.004558ec
jmp 0x4c593b
mov dl, 2
mov eax, dword [0x5cee18]
call fcn.0046d44c
mov eax, dword [0x5ceeac]
mov edx, 0x4c5bd0
call fcn.00405864
jne 0x4c5958
mov dl, 3
mov eax, dword [0x5cee18]
call fcn.0046c950
mov eax, dword [0x5ceeb0]
mov edx, 0x4c5bd0
call fcn.00405864
jne 0x4c5995
xor eax, eax
push ebp
push 0x4c598b
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.0044833c
mov edx, dword [eax]
call dword [edx + 0x18]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4c5995
mov eax, dword [0x5ceeb8]
mov edx, 0x4c5bd0
call fcn.00405864
jne 0x4c59c3
mov eax, dword [0x5cef2c]
push eax
mov eax, dword [0x5cee18]
mov eax, dword [eax + 0x378]
push eax
mov eax, dword [0x5cee18]
push eax
call fcn.004c2518
mov eax, dword [0x5cee18]
mov eax, dword [eax + 0x364]
mov dl, 1
call fcn.0044162c
mov eax, dword [0x5cee18]
mov eax, dword [eax + 0x360]
mov dl, 1
call fcn.0044162c
lea edx, [ebp - 0x6c]
mov eax, dword [0x5cee18]
mov eax, dword [eax + 0x37c]
call fcn.00456204
mov edx, dword [ebp - 0x6c]
mov eax, 0x4c5c4c
call fcn.00405a18
test eax, eax
jg 0x4c5a15
mov eax, dword [0x5cee18]
call fcn.004700b8
mov eax, dword [0x5cee18]
mov eax, dword [eax + 0x37c]
mov edx, 0x131
call fcn.004558ec
mov eax, dword [0x5cee18]
mov eax, dword [eax + 0x37c]
mov edx, 0x11
call fcn.00455920
mov eax, dword [0x5cee18]
mov eax, dword [eax + 0x37c]
mov edx, 0xb8
call fcn.00455884
mov eax, dword [0x5cee18]
mov eax, dword [eax + 0x37c]
mov edx, 0xc0
call fcn.004558b8
mov eax, dword [0x5cee18]
mov eax, dword [eax + 0x37c]
mov dl, 1
call fcn.00456124
mov eax, dword [0x5cee18]
mov eax, dword [eax + 0x37c]
call fcn.00456494
mov eax, dword [0x5c8ddc]
cmp dword [eax], 0
je 0x4c5b2d
xor eax, eax
push ebp
push 0x4c5b23
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x5cee18]
call fcn.0046b634
mov ebx, eax
mov eax, dword [0x5ceec0]
call fcn.0040a2d4
add ebx, eax
mov edx, ebx
mov eax, dword [0x5c8b5c]
mov eax, dword [eax]
call fcn.00470c64
mov eax, dword [0x5cee18]
call fcn.0046b654
mov ebx, eax
mov eax, dword [0x5ceec4]
call fcn.0040a2d4
add ebx, eax
mov edx, ebx
mov eax, dword [0x5c8b5c]
mov eax, dword [eax]
call fcn.00470ca0
mov edx, dword [0x5c8ddc]
mov edx, dword [edx]
mov eax, dword [0x5c8b5c]
mov eax, dword [eax]
mov eax, dword [eax + 0x360]
call fcn.00456234
mov eax, dword [0x5c8b5c]
mov eax, dword [eax]
call fcn.00470260
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4c5b2d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c5b86
lea eax, [ebp - 0x6c]
call fcn.0040543c
lea eax, [ebp - 0x68]
call fcn.00405c44
lea eax, [ebp - 0x64]
mov edx, 4
call fcn.00405460
lea eax, [ebp - 0x4c]
mov edx, 3
call fcn.00405460
lea eax, [ebp - 0x30]
mov edx, 6
call fcn.00405460
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405460
ret