Function at 0x5c3a74
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x14c], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00405960
xor eax, eax
push ebp
push 0x5c3e3c
push dword fs:[eax]
mov dword fs:[eax], esp
or edi, 0xffffffff
mov eax, dword [0x7070f8]
push dword [eax + 0x178]
push 0x5c3e54
push dword [ebp - 4]
push 0x5c3e6c
lea eax, [ebp - 8]
mov edx, 4
call fcn.00405874
mov edx, dword [0x7070f8]
mov edx, dword [edx + 0x178]
lea eax, [ebp - 0x14c]
mov ecx, 0x5c3e54
call fcn.004057f8
mov eax, dword [ebp - 0x14c]
call fcn.0040b430
mov eax, dword [ebp - 8]
call fcn.0040b1f0
test al, al
je 0x5c3e16
mov byte [ebp - 0x21], 0
xor esi, esi
mov edx, 0x40
mov eax, dword [ebp - 8]
call fcn.0040b0e4
mov ebx, eax
test ebx, ebx
jle 0x5c3b53
mov ecx, 2
xor edx, edx
mov eax, ebx
call fcn.0040b194
mov esi, eax
mov eax, esi
sub eax, 4
mov ecx, 0xa8
cdq
idiv ecx
test edx, edx
je 0x5c3b4d
mov byte [ebp - 0x21], 1
push ebx
call sub.kernel32.dll_CloseHandle_1
cmp byte [ebp - 0x21], 0
je 0x5c3d97
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 8]
call fcn.0040b2c0
call fcn.0040dc20
fstp qword [ebp - 0x30]
wait
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
lea eax, [ebp - 0x10]
mov edx, 0x5c3e7c
call fcn.0040e970
push dword [ebp - 0x14]
push dword [ebp - 0x10]
push 0x5c3e98
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00405874
mov eax, dword [ebp - 0xc]
call fcn.00405970
push eax
mov eax, dword [ebp - 8]
call fcn.00405970
push eax
call sub.kernel32.dll_MoveFileA
mov eax, dword [ebp - 8]
call fcn.00405970
push eax
call sub.kernel32.dll_DeleteFileA
mov eax, esi
sub eax, 4
mov ecx, 0x70
cdq
idiv ecx
test edx, edx
jne 0x5c3e16
mov edx, 0x40
mov eax, dword [ebp - 0xc]
call fcn.0040b0e4
mov ebx, eax
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
mov eax, dword [ebp - 8]
call fcn.00405970
push eax
call sub.kernel32.dll_CreateFileA_1
mov dword [ebp - 0x1c], eax
test ebx, ebx
jle 0x5c3d97
lea edx, [ebp - 0x20]
mov ecx, 4
mov eax, ebx
call fcn.0040b13c
lea edx, [ebp - 0x20]
mov ecx, 4
mov eax, dword [ebp - 0x1c]
call fcn.0040b168
mov esi, dword [ebp - 0x20]
dec esi
test esi, esi
jl 0x5c3d88
inc esi
lea edx, [ebp - 0x148]
mov ecx, 0x70
mov eax, ebx
call fcn.0040b13c
cmp eax, 0x70
jne 0x5c3d81
lea eax, [ebp - 0xd8]
xor ecx, ecx
mov edx, 0xa8
call fcn.00403b3c
movzx eax, word [ebp - 0x135]
mov word [ebp - 0xb6], ax
mov eax, dword [ebp - 0x139]
mov dword [ebp - 0xba], eax
movzx eax, word [ebp - 0x133]
mov word [ebp - 0xae], ax
movzx eax, word [ebp - 0x131]
mov word [ebp - 0xac], ax
movzx eax, byte [ebp - 0x12f]
mov byte [ebp - 0xb4], al
movzx eax, byte [ebp - 0x12e]
mov byte [ebp - 0xb3], al
push dword [ebp - 0x129]
push dword [ebp - 0x12d]
call fcn.0048f398
mov dword [ebp - 0xb2], eax
mov eax, dword [ebp - 0x125]
mov dword [ebp - 0xaa], eax
mov al, byte [ebp - 0x121]
mov byte [ebp - 0xa6], al
push esi
push edi
lea esi, [ebp - 0x120]
lea edi, [ebp - 0xa5]
mov ecx, 0xa
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
pop edi
pop esi
mov byte [ebp - 0x7a], 0
lea eax, [ebp - 0xd8]
lea edx, [ebp - 0x148]
mov cl, 0xe
call fcn.00403a2c
movzx eax, byte [ebp - 0xf5]
mov byte [ebp - 0x48], al
movzx eax, byte [ebp - 0xf4]
mov byte [ebp - 0x47], al
movzx eax, byte [ebp - 0xf3]
mov byte [ebp - 0x46], al
movzx eax, byte [ebp - 0xf2]
mov byte [ebp - 0x45], al
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0x34], eax
lea edx, [ebp - 0xd8]
mov ecx, 0xa8
mov eax, dword [ebp - 0x1c]
call fcn.0040b168
dec esi
jne 0x5c3c3c
push ebx
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 0x1c]
push eax
call sub.kernel32.dll_CloseHandle_1
mov edx, 0x40
mov eax, dword [ebp - 8]
call fcn.0040b0e4
mov ebx, eax
test ebx, ebx
jle 0x5c3e16
lea edx, [ebp - 0x20]
mov ecx, 4
mov eax, ebx
call fcn.0040b13c
mov esi, dword [ebp - 0x20]
dec esi
test esi, esi
jl 0x5c3e0b
inc esi
lea edx, [ebp - 0xd8]
mov ecx, 0xa8
mov eax, ebx
call fcn.0040b13c
cmp eax, 0xa8
jne 0x5c3e08
mov eax, 0xa8
call fcn.00402ff0
push esi
mov edi, eax
lea esi, [ebp - 0xd8]
mov ecx, 0x2a
rep movsd dword es:[edi], dword [esi]
pop esi
xor edx, edx
mov dword [eax + 0xa0], edx
mov edx, eax
mov eax, dword [ebp - 0x18]
call fcn.004208c0
dec esi
jne 0x5c3dc2
push ebx
call sub.kernel32.dll_CloseHandle_1
mov edi, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5c3e43
lea eax, [ebp - 0x14c]
call fcn.004054d0
lea eax, [ebp - 0x14]
mov edx, 5
call fcn.004054f4
ret