Function at 0x1001be60
Capabilities:
Copy file
Create directory
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006c3dd
mov eax, dword fs:[0]
push eax
sub esp, 0x278
mov eax, dword [0x10086e84]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, 1
mov dword [ebp - 4], eax
mov dword [ebp - 0x268], eax
mov eax, dword [ebp + 0xc]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x1001beb2
mov dword [ebp - 0x268], eax
mov edx, dword [0x100884b0]
mov eax, dword [edx + 0xc]
mov ecx, 0x100884b0
call eax
add eax, 0x10
mov dword [ebp - 0x274], eax
mov edx, dword [0x100884b0]
mov eax, dword [edx + 0xc]
mov ecx, 0x100884b0
mov byte [ebp - 4], 2
call eax
lea edi, [eax + 0x10]
mov dword [ebp - 0x270], edi
mov edx, dword [0x100884b0]
mov eax, dword [edx + 0xc]
mov ecx, 0x100884b0
mov byte [ebp - 4], 3
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x26c], esi
push 1
mov ebx, 4
push 0x10070ae0
lea ecx, [ebp + 8]
mov byte [ebp - 4], bl
call fcn.1000864e
push 1
push 0x10070ae0
lea ecx, [ebp + 0xc]
call fcn.1000864e
push 0x10071268
lea ecx, [ebp + 8]
push ecx
lea edx, [ebp - 0x264]
push edx
call fcn.100091a9
add esp, 0xc
push eax
lea ecx, [ebp - 0x274]
mov byte [ebp - 4], 5
call fcn.100092dc
mov eax, dword [ebp - 0x264]
add eax, 0xfffffff0
mov byte [ebp - 4], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1001bf78
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [ebp - 0x274]
lea ecx, [ebp - 0x260]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
mov dword [ebp - 0x264], eax
jne 0x1001c051
lea eax, [esi - 0x10]
mov byte [ebp - 4], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1001bfbb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov byte [ebp - 4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1001bfdb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x274]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1001c001
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1001c024
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1001c04a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x1001c2e9
lea ecx, [ebp - 0x234]
push ecx
lea edx, [ebp + 8]
push edx
lea eax, [ebp - 0x278]
push eax
call fcn.100091a9
add esp, 0xc
push eax
lea ecx, [ebp - 0x270]
mov byte [ebp - 4], 6
call fcn.100092dc
mov eax, dword [ebp - 0x278]
add eax, 0xfffffff0
mov byte [ebp - 4], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1001c0a0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x234]
push ecx
lea edx, [ebp + 0xc]
push edx
lea eax, [ebp - 0x27c]
push eax
call fcn.100091a9
add esp, 0xc
push eax
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 7
call fcn.100092dc
mov eax, dword [ebp - 0x27c]
add eax, 0xfffffff0
mov byte [ebp - 4], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1001c0ef
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [ebp - 0x26c]
push ecx
add edi, 0xfffffff0
mov dword [ebp - 0x280], esp
mov esi, esp
push edi
call fcn.10004432
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.10018a80
add esp, 4
test byte [ebp - 0x260], 0x10
jne 0x1001c13b
mov ecx, dword [ebp - 0x26c]
mov edx, dword [ebp - 0x270]
push 0
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
jmp 0x1001c1f1
mov ecx, 0x10070e08
lea eax, [ebp - 0x234]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1001c16a
test dx, dx
je 0x1001c166
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1001c16a
add eax, ebx
add ecx, ebx
test dx, dx
jne 0x1001c146
xor eax, eax
jmp 0x1001c16f
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x1001c1fb
mov ecx, 0x10070e00
lea eax, [ebp - 0x234]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1001c1a6
test dx, dx
je 0x1001c1a2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1001c1a6
add eax, ebx
add ecx, ebx
test dx, dx
jne 0x1001c182
xor eax, eax
jmp 0x1001c1ab
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x1001c1fb
push ecx
mov dword [ebp - 0x280], esp
mov esi, esp
push edi
call fcn.10004432
add eax, 0x10
mov dword [esi], eax
mov eax, dword [ebp - 0x270]
add eax, 0xfffffff0
mov dword [ebp - 0x284], esp
mov esi, esp
push eax
mov byte [ebp - 4], 8
call fcn.10004432
add eax, 0x10
mov dword [esi], eax
add esp, 4
mov byte [ebp - 4], bl
call fcn.1001be60
add esp, 8
test eax, eax
jne 0x1001c1fb
mov dword [ebp - 0x268], eax
mov eax, dword [ebp - 0x264]
test eax, eax
je 0x1001c221
lea ecx, [ebp - 0x260]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1001c051
mov eax, dword [ebp - 0x264]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x26c]
add eax, 0xfffffff0
mov byte [ebp - 4], 3
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x1001c24e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x270]
add eax, 0xfffffff0
mov byte [ebp - 4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1001c274
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x274]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1001c29a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1001c2bd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1001c2e3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x268]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10041ffa
mov esp, ebp
pop ebp
ret