Function at 0x427f24
Capabilities:
Copy file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push 0x26c
mov eax, 0x46c7a2
call fcn.004517f7
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x264]
call fcn.0040283c
and dword [ebp - 4], 0
push esi
lea ecx, [ebp - 0x270]
call fcn.0040283c
mov byte [ebp - 4], 1
mov edi, dword [ebp - 0x270]
cmp dword [edi - 0xc], 0
mov ebx, dword [ebp - 0x264]
je 0x4281d3
cmp dword [ebx - 0xc], 0
je 0x4281d3
push dword [esi]
call fcn.00429ea3
pop ecx
test eax, eax
jne 0x427f8c
call fcn.00429e5f
jmp 0x427f8f
xor eax, eax
inc eax
test eax, eax
je 0x4281d3
push 1
lea eax, [ebp - 0x268]
push eax
lea ecx, [ebp - 0x264]
call fcn.0040692c
mov esi, 0x4778ac
push esi
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.00408c1b
test eax, eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x268]
setne bl
add ecx, 0xfffffff0
call fcn.0040285d
test bl, bl
je 0x427fe4
push 0x5c
lea ecx, [ebp - 0x264]
call fcn.0040babd
push 1
lea eax, [ebp - 0x268]
push eax
lea ecx, [ebp - 0x270]
call fcn.0040692c
push esi
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.00408c1b
test eax, eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x268]
setne bl
add ecx, 0xfffffff0
call fcn.0040285d
test bl, bl
je 0x428032
push 0x5c
lea ecx, [ebp - 0x270]
call fcn.0040babd
mov edi, dword [ebp - 0x270]
call fcn.0042a8d7
push eax
lea ecx, [ebp - 0x268]
call fcn.00402773
push 0x478af4
lea eax, [ebp - 0x264]
push eax
lea eax, [ebp - 0x26c]
push eax
mov byte [ebp - 4], 4
call fcn.004017f8
add esp, 0xc
push eax
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 5
call fcn.0040270e
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x26c]
add ecx, 0xfffffff0
call fcn.0040285d
mov ebx, dword [ebp - 0x268]
lea eax, [ebp - 0x260]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4281a9
lea eax, [ebp - 0x270]
push eax
lea ecx, [ebp - 0x274]
call fcn.0040283c
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x274]
mov byte [ebp - 4], 6
call fcn.00403c3c
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebp - 0x278]
call fcn.0040283c
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x278]
mov byte [ebp - 4], 7
call fcn.00403c3c
test byte [ebp - 0x260], 0x10
je 0x42815f
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x26c]
call fcn.004024c3
push 0x47ac80
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 8
call fcn.00408c1b
test eax, eax
je 0x42814f
push 0x47b6fc
lea ecx, [ebp - 0x26c]
call fcn.00408c1b
test eax, eax
je 0x42814f
lea eax, [ebp - 0x274]
push eax
lea eax, [ebp - 0x278]
push eax
call fcn.00427f24
pop ecx
pop ecx
mov ecx, dword [ebp - 0x26c]
add ecx, 0xfffffff0
call fcn.0040285d
jmp 0x428173
push 0
push dword [ebp - 0x274]
push dword [ebp - 0x278]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov ecx, dword [ebp - 0x278]
add ecx, 0xfffffff0
call fcn.0040285d
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x274]
add ecx, 0xfffffff0
call fcn.0040285d
lea eax, [ebp - 0x260]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4280a3
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebx - 0x10]
call fcn.0040285d
lea ecx, [edi - 0x10]
call fcn.0040285d
mov ecx, dword [ebp - 0x264]
add ecx, 0xfffffff0
call fcn.0040285d
xor eax, eax
inc eax
jmp 0x4281e5
lea ecx, [edi - 0x10]
call fcn.0040285d
lea ecx, [ebx - 0x10]
call fcn.0040285d
xor eax, eax
call fcn.0045187a
ret