Function at 0x4ce374
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x19
push 0
push 0
dec ecx
jne 0x4ce37c
push esi
push edi
mov esi, eax
lea edi, [ebp - 0x84]
mov ecx, 0x20
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x84]
mov edx, dword [0x4c7f78]
call fcn.00406d5c
xor eax, eax
push ebp
push 0x4ce6b9
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x85], 0
cmp byte [ebp - 0x48], 0
je 0x4ce3d7
mov eax, dword [0x58bc58]
cmp byte [eax], 0
je 0x4ce3d7
xor eax, eax
call fcn.004c0404
mov byte [ebp - 0x8d], al
xor eax, eax
push ebp
push 0x4ce67b
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x74]
mov eax, 0x4ce6dc
call fcn.004068e0
test eax, eax
jle 0x4ce539
lea eax, [ebp - 0x94]
push eax
mov ecx, 1
mov edx, 1
mov eax, dword [ebp - 0x6c]
call fcn.004065c8
mov eax, dword [ebp - 0x94]
mov edx, 0x4ce6f0
call fcn.004065c0
jne 0x4ce454
mov edx, dword [ebp - 0x6c]
mov eax, 0x4ce700
call fcn.004068e0
test eax, eax
jle 0x4ce454
lea edx, [ebp - 0x98]
mov eax, dword [ebp - 0x6c]
call fcn.004ca75c
mov edx, dword [ebp - 0x98]
lea eax, [ebp - 0x6c]
call fcn.00405e60
jmp 0x4ce486
lea eax, [ebp - 0xa0]
mov ecx, dword [ebp - 0x6c]
mov edx, 0x4ce710
call fcn.004062f0
mov eax, dword [ebp - 0xa0]
lea edx, [ebp - 0x9c]
call fcn.004ca75c
mov edx, dword [ebp - 0x9c]
lea eax, [ebp - 0x6c]
call fcn.00405e60
lea edx, [ebp - 0xa4]
mov eax, dword [ebp - 0x6c]
call fcn.0041a040
cmp dword [ebp - 0xa4], 0
jne 0x4ce4cd
push dword [ebp - 0x6c]
lea eax, [ebp - 0xa8]
push eax
xor ecx, ecx
xor edx, edx
mov eax, 0x4ce72c
call fcn.004c0604
push dword [ebp - 0xa8]
push 0x4ce748
lea eax, [ebp - 0x6c]
mov edx, 3
call fcn.004063d4
lea edx, [ebp - 0xac]
mov eax, dword [ebp - 0x6c]
call fcn.00419d6c
mov eax, dword [ebp - 0xac]
call fcn.004bdad8
test al, al
jne 0x4ce50a
lea edx, [ebp - 0xb0]
mov eax, dword [ebp - 0x6c]
call fcn.00419d6c
mov eax, dword [ebp - 0xb0]
call fcn.004c06f8
push 0xa
call sub.KERNEL32.DLL_Sleep_2
mov eax, dword [ebp - 0x6c]
call fcn.00419864
test al, al
jne 0x4ce555
mov edx, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x74]
call fcn.004c96f4
test al, al
jne 0x4ce555
lea eax, [ebp - 0x6c]
xor edx, edx
call fcn.00405e60
call fcn.004048bc
jmp 0x4ce682
lea edx, [ebp - 0xb4]
mov eax, dword [ebp - 0x6c]
call fcn.004ca75c
mov edx, dword [ebp - 0xb4]
lea eax, [ebp - 0x6c]
call fcn.00405e60
lea edx, [ebp - 0xb8]
mov eax, dword [ebp - 0x6c]
call fcn.0041a080
mov eax, dword [ebp - 0xb8]
mov edx, 0x4ce748
call fcn.004065c0
jne 0x4ce5d0
lea edx, [ebp - 0xbc]
mov eax, dword [ebp - 0x6c]
call fcn.00419d6c
mov eax, dword [ebp - 0xbc]
push eax
lea eax, [ebp - 0xc0]
call fcn.004c907c
mov ecx, dword [ebp - 0xc0]
lea eax, [ebp - 4]
pop edx
call fcn.004062f0
mov eax, dword [ebp - 4]
call fcn.00405e98
push eax
mov eax, dword [ebp - 0x6c]
call fcn.00405e98
push eax
call sub.KERNEL32.DLL_MoveFileW
cmp eax, 1
sbb eax, eax
inc eax
test al, al
je 0x4ce5d0
lea eax, [ebp - 0x6c]
mov edx, dword [ebp - 4]
call fcn.00405e60
mov eax, dword [ebp - 0x54]
sub eax, 1
jb 0x4ce5dc
je 0x4ce612
jmp 0x4ce64a
mov eax, dword [ebp - 0x4c]
push eax
movzx eax, byte [ebp - 0x50]
push eax
lea eax, [ebp - 0x8c]
push eax
lea edx, [ebp - 0xc4]
mov eax, dword [ebp - 0x68]
call fcn.004ca75c
mov edx, dword [ebp - 0xc4]
xor ecx, ecx
mov eax, dword [ebp - 0x6c]
call fcn.004c074c
mov byte [ebp - 0x85], al
jmp 0x4ce651
push 0
mov eax, dword [ebp - 0x4c]
push eax
movzx eax, byte [ebp - 0x50]
push eax
lea eax, [ebp - 0x8c]
push eax
lea edx, [ebp - 0xc8]
mov eax, dword [ebp - 0x68]
call fcn.004ca75c
mov ecx, dword [ebp - 0xc8]
mov edx, dword [ebp - 0x6c]
xor eax, eax
call fcn.004c0778
mov byte [ebp - 0x85], al
jmp 0x4ce651
mov byte [ebp - 0x85], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ce682
cmp byte [ebp - 0x48], 0
je 0x4ce67a
mov eax, dword [0x58bc58]
cmp byte [eax], 0
je 0x4ce67a
movzx eax, byte [ebp - 0x8d]
call fcn.004c0404
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ce6c0
lea eax, [ebp - 0xc8]
mov edx, 0xe
call fcn.00405e04
lea eax, [ebp - 0x84]
mov edx, dword [0x4c7f78]
call fcn.00406bf0
lea eax, [ebp - 4]
call fcn.00405dfc
ret