Function at 0x200139b1
Capabilities:
Copy file
Delete file
Enumerate files on windows
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x874
push ebx
push esi
push edi
mov esi, 0x206
xor ebx, ebx
push esi
lea eax, [ebp - 0x872]
push ebx
push eax
mov dword [ebp - 4], 1
mov word [ebp - 0x874], bx
call sub.MSVCRT.dll_memset
push esi
lea eax, [ebp - 0x41a]
push ebx
push eax
mov word [ebp - 0x41c], bx
call sub.MSVCRT.dll_memset
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyW]
add esp, 0x18
push dword [ebp + 8]
lea eax, [ebp - 0x874]
push eax
call edi
lea eax, [ebp - 0x874]
push eax
call fcn.2000c426
pop ecx
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x66c]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, ebx
mov dword [ebp - 8], eax
je 0x20013c80
cmp eax, 0xffffffff
je 0x20013c80
lea eax, [ebp - 0x640]
push eax
push dword [ebp - 0xc]
lea eax, [ebp - 0x41c]
push 0x200029c0
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
test byte [ebp - 0x66c], 0x10
je 0x20013b2e
lea eax, [ebp - 0x640]
push eax
call fcn.20007e6f
test eax, eax
pop ecx
jne 0x20013c5f
mov eax, dword [ebp + 0x10]
cmp eax, ebx
jbe 0x20013c5f
cmp eax, 2
jbe 0x20013aa0
cmp eax, 3
je 0x20013b1c
cmp eax, 4
jmp 0x20013b4b
push esi
lea eax, [ebp - 0x212]
push ebx
push eax
mov word [ebp - 0x214], bx
call sub.MSVCRT.dll_memset
add esp, 0xc
push dword [ebp + 0xc]
lea eax, [ebp - 0x214]
push eax
call edi
cmp dword [ebp + 0x14], ebx
je 0x20013add
lea eax, [ebp - 0x640]
push eax
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x214]
push eax
call fcn.200044b5
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x41c]
push eax
call fcn.20013853
add esp, 0xc
test eax, eax
je 0x20013b0f
cmp dword [ebp - 4], ebx
mov dword [ebp - 4], 1
jne 0x20013b12
mov dword [ebp - 4], ebx
cmp dword [ebp + 0x10], 1
jne 0x20013c5f
lea eax, [ebp - 0x41c]
push eax
call fcn.20013746
pop ecx
jmp 0x20013c4c
cmp dword [ebp + 0x10], ebx
jbe 0x20013c5f
cmp dword [ebp + 0x10], 2
jbe 0x20013bb9
cmp dword [ebp + 0x10], 3
je 0x20013c32
cmp dword [ebp + 0x10], 4
jne 0x20013c5f
push esi
lea eax, [ebp - 0x212]
push ebx
push eax
mov word [ebp - 0x214], bx
call sub.MSVCRT.dll_memset
add esp, 0xc
push dword [ebp + 0xc]
lea eax, [ebp - 0x214]
push eax
call edi
cmp dword [ebp + 0x14], ebx
je 0x20013b8e
lea eax, [ebp - 0x640]
push eax
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x214]
push eax
call fcn.200044b5
pop ecx
push 3
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x41c]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov dword [ebp - 4], eax
jmp 0x20013c5f
push esi
lea eax, [ebp - 0x212]
push ebx
push eax
mov word [ebp - 0x214], bx
call sub.MSVCRT.dll_memset
add esp, 0xc
push dword [ebp + 0xc]
lea eax, [ebp - 0x214]
push eax
call edi
cmp dword [ebp + 0x14], ebx
je 0x20013bf6
lea eax, [ebp - 0x640]
push eax
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x214]
push eax
call fcn.200044b5
pop ecx
push 1
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x41c]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x20013c29
cmp dword [ebp - 4], ebx
mov dword [ebp - 4], 1
jne 0x20013c2c
mov dword [ebp - 4], ebx
cmp dword [ebp + 0x10], 1
jne 0x20013c5f
lea eax, [ebp - 0x41c]
push eax
call fcn.2001372e
pop ecx
lea eax, [ebp - 0x41c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x20013c5c
cmp dword [ebp - 4], ebx
mov dword [ebp - 4], 1
jne 0x20013c5f
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x66c]
push eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x20013a3e
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret