Function at 0x4381fc
Capabilities:
Copy file
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x1c
push 0
push 0
dec ecx
jne 0x438204
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x4387c1
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x14]
mov eax, 0x4387dc
call fcn.0043701c
mov eax, dword [ebp - 0x14]
push eax
lea edx, [ebp - 0x1c]
mov eax, 0x438848
call fcn.0043701c
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x18]
call fcn.00437108
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 4]
pop ecx
call fcn.00406bb8
lea edx, [ebp - 0x20]
mov eax, 0x43887c
call fcn.0043701c
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00406bb8
lea edx, [ebp - 0x24]
mov eax, 0x4388dc
call fcn.0043701c
mov ecx, dword [ebp - 0x24]
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 4]
call fcn.00406bb8
mov eax, dword [ebp - 4]
call fcn.0040f1cc
test al, al
jne 0x4382a3
mov eax, dword [ebp - 4]
call fcn.0040f1a8
test al, al
je 0x438776
lea edx, [ebp - 0x2c]
mov eax, 0x43893c
call fcn.0043701c
mov ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 4]
call fcn.00406bb8
mov eax, dword [ebp - 0x28]
call fcn.0040f160
test al, al
jne 0x438704
lea edx, [ebp - 0x34]
xor eax, eax
call fcn.004044dc
mov eax, dword [ebp - 0x34]
lea edx, [ebp - 0x30]
call fcn.0040f50c
lea eax, [ebp - 0x30]
push eax
lea edx, [ebp - 0x38]
mov eax, 0x438980
call fcn.0043701c
mov edx, dword [ebp - 0x38]
pop eax
call fcn.00406af8
mov eax, dword [ebp - 0x30]
call fcn.0040f160
test al, al
je 0x438776
lea edx, [ebp - 0x40]
xor eax, eax
call fcn.004044dc
mov eax, dword [ebp - 0x40]
lea edx, [ebp - 0x3c]
call fcn.0040f50c
lea eax, [ebp - 0x3c]
push eax
lea edx, [ebp - 0x44]
mov eax, 0x4389e0
call fcn.0043701c
mov edx, dword [ebp - 0x44]
pop eax
call fcn.00406af8
mov eax, dword [ebp - 0x3c]
call fcn.0040f160
test al, al
je 0x438776
push 0
mov eax, dword [ebp - 8]
call fcn.00406794
push eax
lea edx, [ebp - 0x4c]
xor eax, eax
call fcn.004044dc
mov eax, dword [ebp - 0x4c]
lea edx, [ebp - 0x48]
call fcn.0040f50c
lea eax, [ebp - 0x48]
push eax
lea edx, [ebp - 0x50]
mov eax, 0x4389e0
call fcn.0043701c
mov edx, dword [ebp - 0x50]
pop eax
call fcn.00406af8
mov eax, dword [ebp - 0x48]
call fcn.00406794
push eax
call sub.kernel32.dll_CopyFileW
push 0
mov eax, dword [ebp - 0xc]
call fcn.00406794
push eax
lea edx, [ebp - 0x58]
xor eax, eax
call fcn.004044dc
mov eax, dword [ebp - 0x58]
lea edx, [ebp - 0x54]
call fcn.0040f50c
lea eax, [ebp - 0x54]
push eax
lea edx, [ebp - 0x5c]
mov eax, 0x438980
call fcn.0043701c
mov edx, dword [ebp - 0x5c]
pop eax
call fcn.00406af8
mov eax, dword [ebp - 0x54]
call fcn.00406794
push eax
call sub.kernel32.dll_CopyFileW
mov eax, dword [ebp - 8]
call fcn.0040f160
test al, al
je 0x438776
mov eax, dword [ebp - 0xc]
call fcn.0040f160
test al, al
je 0x438776
lea edx, [ebp - 0x64]
mov eax, 0x438a40
call fcn.0043701c
push dword [ebp - 0x64]
push dword [ebp - 4]
lea edx, [ebp - 0x68]
mov eax, 0x4388dc
call fcn.0043701c
push dword [ebp - 0x68]
lea edx, [ebp - 0x6c]
mov eax, 0x438a64
call fcn.0043701c
push dword [ebp - 0x6c]
push dword [ebp - 8]
lea edx, [ebp - 0x70]
mov eax, 0x438ac0
call fcn.0043701c
push dword [ebp - 0x70]
push dword [ebp - 4]
lea edx, [ebp - 0x74]
mov eax, 0x438ae4
call fcn.0043701c
push dword [ebp - 0x74]
lea eax, [ebp - 0x60]
mov edx, 8
call fcn.00406c9c
mov eax, dword [ebp - 0x60]
call fcn.00437224
xor edi, edi
jmp 0x438479
push 0x1f4
call sub.kernel32.dll_Sleep_1
inc edi
lea edx, [ebp - 0x7c]
mov eax, 0x4389e0
call fcn.0043701c
mov ecx, dword [ebp - 0x7c]
lea eax, [ebp - 0x78]
mov edx, dword [ebp - 4]
call fcn.00406bb8
mov eax, dword [ebp - 0x78]
call fcn.0040f160
test al, al
jne 0x4384a5
cmp edi, 0x14
jl 0x43846e
xor edi, edi
jmp 0x43855c
mov eax, dword [ebp - 8]
call fcn.00406794
mov edx, eax
lea eax, [ebp - 0x80]
call fcn.004068b4
mov eax, dword [ebp - 0x80]
call fcn.00406794
push eax
call sub.kernel32.dll_DeleteFileW
mov eax, dword [ebp - 0xc]
call fcn.00406794
mov edx, eax
lea eax, [ebp - 0x84]
call fcn.004068b4
mov eax, dword [ebp - 0x84]
call fcn.00406794
push eax
call sub.kernel32.dll_DeleteFileW
lea edx, [ebp - 0x90]
mov eax, 0x438980
call fcn.0043701c
mov ecx, dword [ebp - 0x90]
lea eax, [ebp - 0x8c]
mov edx, dword [ebp - 4]
call fcn.00406bb8
mov eax, dword [ebp - 0x8c]
call fcn.00406794
mov edx, eax
lea eax, [ebp - 0x88]
call fcn.004068b4
mov esi, dword [ebp - 0x88]
mov dword [ebp - 0x94], esi
mov eax, dword [ebp - 0x94]
call fcn.00406794
push eax
call sub.kernel32.dll_DeleteFileW
cmp eax, 1
sbb ebx, ebx
inc ebx
push 0x1f4
call sub.kernel32.dll_Sleep_1
inc edi
mov eax, dword [ebp - 8]
call fcn.0040f160
test al, al
jne 0x438574
mov eax, dword [ebp - 0xc]
call fcn.0040f160
test al, al
je 0x43857d
cmp edi, 0x14
jl 0x4384ac
xor edi, edi
jmp 0x438615
lea edx, [ebp - 0x9c]
mov eax, 0x4389e0
call fcn.0043701c
mov ecx, dword [ebp - 0x9c]
lea eax, [ebp - 0x98]
mov edx, dword [ebp - 4]
call fcn.00406bb8
mov ebx, dword [ebp - 0x98]
lea edx, [ebp - 0xa4]
mov eax, 0x43893c
call fcn.0043701c
mov ecx, dword [ebp - 0xa4]
lea eax, [ebp - 0xa0]
mov edx, dword [ebp - 4]
call fcn.00406bb8
mov esi, dword [ebp - 0xa0]
mov dword [ebp - 0x94], esi
mov eax, dword [ebp - 0x94]
call fcn.00406794
push eax
mov dword [ebp - 0xa8], ebx
mov eax, dword [ebp - 0xa8]
call fcn.00406794
push eax
call sub.kernel32.dll_MoveFileW
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0xd], al
push 0x1f4
call sub.kernel32.dll_Sleep_1
inc edi
lea edx, [ebp - 0xb0]
mov eax, 0x43893c
call fcn.0043701c
mov ecx, dword [ebp - 0xb0]
lea eax, [ebp - 0xac]
mov edx, dword [ebp - 4]
call fcn.00406bb8
mov eax, dword [ebp - 0xac]
call fcn.0040f160
test al, al
jne 0x438651
cmp edi, 0x14
jl 0x438584
lea edx, [ebp - 0xb8]
mov eax, 0x43893c
call fcn.0043701c
mov ecx, dword [ebp - 0xb8]
lea eax, [ebp - 0xb4]
mov edx, dword [ebp - 4]
call fcn.00406bb8
mov eax, dword [ebp - 0xb4]
call fcn.0040f160
test al, al
je 0x438776
lea edx, [ebp - 0xc0]
mov eax, 0x43893c
call fcn.0043701c
mov ecx, dword [ebp - 0xc0]
lea eax, [ebp - 0xbc]
mov edx, dword [ebp - 4]
call fcn.00406bb8
mov eax, dword [ebp - 0xbc]
call fcn.004371c8
cmp edx, 0
jne 0x4386c7
cmp eax, 0
jbe 0x438776
jmp 0x4386cd
jle 0x438776
lea edx, [ebp - 0xcc]
mov eax, 0x43893c
call fcn.0043701c
mov ecx, dword [ebp - 0xcc]
lea eax, [ebp - 0xc8]
mov edx, dword [ebp - 4]
call fcn.00406bb8
mov eax, dword [ebp - 0xc8]
lea edx, [ebp - 0xc4]
call fcn.004381a0
jmp 0x438776
lea edx, [ebp - 0xd4]
mov eax, 0x43893c
call fcn.0043701c
mov ecx, dword [ebp - 0xd4]
lea eax, [ebp - 0xd0]
mov edx, dword [ebp - 4]
call fcn.00406bb8
mov eax, dword [ebp - 0xd0]
call fcn.004371c8
cmp edx, 0
jne 0x43873f
cmp eax, 0
jbe 0x438776
jmp 0x438741
jle 0x438776
lea edx, [ebp - 0xe0]
mov eax, 0x43893c
call fcn.0043701c
mov ecx, dword [ebp - 0xe0]
lea eax, [ebp - 0xdc]
mov edx, dword [ebp - 4]
call fcn.00406bb8
mov eax, dword [ebp - 0xdc]
lea edx, [ebp - 0xd8]
call fcn.004381a0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4387c8
lea eax, [ebp - 0xe0]
mov edx, 0xe
call fcn.00406700
lea eax, [ebp - 0xa4]
mov edx, 4
call fcn.00406700
lea eax, [ebp - 0x90]
mov edx, 0x20
call fcn.00406700
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00406700
ret