Function at 0x5c1548
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff68
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004069f0
mov eax, dword [ebp - 8]
call fcn.004069f0
mov eax, dword [ebp - 0xc]
call fcn.004069f0
mov eax, dword [ebp + 8]
call fcn.004069f0
xor eax, eax
push ebp
push 0x5c1a84
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x19], 0
cmp byte [0x65af78], 0
jne 0x5c1a51
push 0
push 0
push 0xffffffffffffffff
push 0
call sub.kernel32.dll_CreateEventW
mov dword [ebp - 0x24], eax
xor eax, eax
push ebp
push 0x5c1a4a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 0xc]
mov eax, dword [eax - 4]
push eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax - 8]
push eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x10]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x24]
mov dl, 1
mov eax, dword [0x5c0fac]
call fcn.005c10c8
mov dword [ebp - 0x20], eax
xor eax, eax
push ebp
push 0x5c1a2c
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.0047459c
fstp qword [ebp - 0x30]
wait
mov eax, dword [ebp - 0x20]
mov ebx, dword [eax + 0x60]
cmp byte [0x65af78], 0
je 0x5c1659
xor edx, edx
mov eax, 0x5c1aa4
call fcn.0051eae8
mov eax, dword [ebp - 0x20]
call fcn.005c1530
call fcn.00405308
call fcn.00405308
jmp 0x5c1a51
push 5
mov eax, dword [ebp - 0x24]
push eax
call sub.kernel32.dll_WaitForSingleObject
test eax, eax
jne 0x5c1882
mov eax, dword [ebp - 0x20]
cmp byte [eax + 0x64], 0
je 0x5c184b
mov eax, dword [ebp + 0xc]
cmp word [eax + 0xa], 0
je 0x5c1761
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x14]
push eax
mov eax, dword [ebp + 0xc]
lea ebx, [eax + 8]
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x60]
mov eax, dword [ebp + 0xc]
mov edx, dword [eax - 8]
mov eax, dword [ebx + 4]
call dword [ebx]
mov byte [ebp - 0x19], al
cmp byte [ebp - 0x19], 0
jne 0x5c1873
xor edx, edx
mov eax, 0x5c1adc
call fcn.0051eae8
mov eax, dword [ebp + 0xc]
mov esi, dword [eax - 8]
mov dword [ebp - 0x6c], esi
mov eax, dword [ebp - 0x6c]
call fcn.00406a94
push eax
call sub.kernel32.dll_DeleteFileW
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0x39], al
cmp byte [ebp - 0x39], 0
jne 0x5c1873
call fcn.0047459c
fstp qword [ebp - 0x48]
wait
push dword [ebp - 0x44]
push dword [ebp - 0x48]
lea eax, [ebp - 0x14]
mov edx, 0x5c1b28
call fcn.0047525c
mov eax, dword [ebp + 0xc]
push dword [eax - 8]
push 0x5c1b48
push dword [ebp - 0x14]
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00406fc0
mov eax, dword [ebp + 0xc]
mov eax, dword [eax - 8]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x10]
call fcn.00406a94
push eax
mov eax, dword [ebp - 0x4c]
call fcn.00406a94
push eax
call sub.kernel32.dll_MoveFileW
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0x4d], al
mov eax, dword [ebp - 0x10]
call fcn.00406a94
mov ecx, 1
xor edx, edx
call fcn.0051aec4
jmp 0x5c1873
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x14], 0
je 0x5c1845
lea ecx, [ebp - 0x70]
mov eax, dword [ebp + 0xc]
mov eax, dword [eax - 8]
xor edx, edx
call fcn.00520a54
mov eax, dword [ebp - 0x70]
mov edx, dword [ebp + 0xc]
mov edx, dword [edx + 0x14]
call fcn.00470308
mov byte [ebp - 0x19], al
cmp byte [ebp - 0x19], 0
jne 0x5c1873
xor edx, edx
mov eax, 0x5c1b58
call fcn.0051eae8
mov eax, dword [ebp + 0xc]
mov eax, dword [eax - 8]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
call fcn.00406a94
push eax
call sub.kernel32.dll_DeleteFileW
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0x55], al
cmp byte [ebp - 0x55], 0
jne 0x5c1873
call fcn.0047459c
fstp qword [ebp - 0x60]
wait
push dword [ebp - 0x5c]
push dword [ebp - 0x60]
lea eax, [ebp - 0x18]
mov edx, 0x5c1b28
call fcn.0047525c
mov eax, dword [ebp + 0xc]
push dword [eax - 8]
push 0x5c1b48
push dword [ebp - 0x18]
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00406fc0
mov eax, dword [ebp + 0xc]
mov eax, dword [eax - 8]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x10]
call fcn.00406a94
push eax
mov eax, dword [ebp - 0x64]
call fcn.00406a94
push eax
call sub.kernel32.dll_MoveFileW
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0x65], al
mov eax, dword [ebp - 0x10]
call fcn.00406a94
mov ecx, 1
xor edx, edx
call fcn.0051aec4
jmp 0x5c1873
mov byte [ebp - 0x19], 1
jmp 0x5c1873
lea edx, [ebp - 0x78]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x68]
call fcn.00470c58
mov ecx, dword [ebp - 0x78]
lea eax, [ebp - 0x74]
mov edx, 0x5c1ba0
call fcn.00406edc
mov eax, dword [ebp - 0x74]
xor edx, edx
call fcn.0051eae8
call fcn.00405308
call fcn.00405308
jmp 0x5c1a51
mov eax, dword [ebp - 0x20]
cmp ebx, dword [eax + 0x60]
jne 0x5c18f7
call fcn.0047459c
add esp, 0xfffffff8
fstp qword [esp]
wait
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
call fcn.00523ed4
cmp edx, 0
jne 0x5c18ad
cmp eax, 0x1e
jbe 0x5c1906
jmp 0x5c18af
jle 0x5c1906
push 0x5c1bd4
lea edx, [ebp - 0x80]
mov eax, 0x1e
call fcn.00470c58
push dword [ebp - 0x80]
push 0x5c1c0c
lea eax, [ebp - 0x7c]
mov edx, 3
call fcn.00406fc0
mov eax, dword [ebp - 0x7c]
xor edx, edx
call fcn.0051eae8
mov eax, dword [ebp - 0x20]
call fcn.005c1530
call fcn.00405308
call fcn.00405308
jmp 0x5c1a51
call fcn.0047459c
fstp qword [ebp - 0x30]
wait
mov eax, dword [ebp - 0x20]
mov ebx, dword [eax + 0x60]
mov eax, dword [ebp + 0xc]
cmp dword [eax - 0xc], 0
je 0x5c1927
mov eax, dword [ebp - 0x20]
fld xword [eax + 0x70]
call fcn.004035bc
mov edx, eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax - 0xc]
call fcn.00503c8c
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x18], 0
je 0x5c19ab
mov eax, dword [ebp - 0x20]
fld xword [eax + 0x80]
fstp qword [ebp - 0x38]
wait
fld qword [ebp - 0x38]
fcomp dword [0x5c1c20]
wait
fnstsw ax
sahf
jne 0x5c195e
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x18]
mov edx, 0x5c1c30
call fcn.004e22e8
jmp 0x5c19ab
lea eax, [ebp - 0x84]
push eax
fld qword [ebp - 0x38]
fdiv dword [0x5c1c40]
fstp xword [ebp - 0x98]
wait
lea eax, [ebp - 0x98]
mov dword [ebp - 0x8c], eax
mov byte [ebp - 0x88], 3
lea edx, [ebp - 0x8c]
xor ecx, ecx
mov eax, 0x5c1c50
call fcn.00472498
mov edx, dword [ebp - 0x84]
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x18]
call fcn.004e22e8
mov eax, dword [0x61308c]
mov eax, dword [eax]
call fcn.004d12ec
push 0x64
call sub.kernel32.dll_Sleep_2
jmp 0x5c162d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5c1a8b
lea eax, [ebp - 0x84]
mov edx, 6
call fcn.00406a00
lea eax, [ebp - 0x18]
mov edx, 6
call fcn.00406a00
lea eax, [ebp + 8]
call fcn.004069f8
ret