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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc8c
push ebx
push esi
push edi
xor eax, eax
mov edi, 0x206
push edi
push eax
mov word [ebp - 0x878], ax
lea eax, [ebp - 0x876]
push eax
call fcn.18819090
add esp, 0xc
push dword [ebp + 8]
lea esi, [edi + 2]
mov eax, esi
lea ecx, [ebp - 0x878]
call fcn.188014a8
cmp dword [ebp + 0x10], 0
mov eax, esi
lea ebx, [ebp - 0x878]
je 0x1880af66
push dword [ebp + 0x10]
jmp 0x1880af6b
push 0x18833944
call fcn.188014dd
and dword [ebp - 0x260], 0
push 0x24c
lea eax, [ebp - 0x25c]
push 0
push eax
call fcn.18819090
add esp, 0xc
lea eax, [ebp - 0x260]
push eax
lea eax, [ebp - 0x878]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
je 0x1880b1bd
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push 0x18833948
lea eax, [ebp - 0x234]
push eax
call ebx
test eax, eax
je 0x1880b19c
push 0x1883394c
lea eax, [ebp - 0x234]
push eax
call ebx
test eax, eax
je 0x1880b19c
test byte [ebp - 0x260], 0x10
jne 0x1880b19c
xor eax, eax
push edi
push eax
mov word [ebp - 0x670], ax
lea eax, [ebp - 0x66e]
push eax
call fcn.18819090
add esp, 0xc
xor eax, eax
push edi
push eax
mov word [ebp - 0x468], ax
lea eax, [ebp - 0x466]
push eax
call fcn.18819090
add esp, 0xc
push dword [ebp + 8]
mov eax, esi
lea ecx, [ebp - 0x670]
call fcn.188014a8
lea eax, [ebp - 0x234]
push eax
mov eax, esi
lea ebx, [ebp - 0x670]
call fcn.188014dd
push dword [ebp + 0xc]
mov eax, esi
lea ecx, [ebp - 0x468]
call fcn.188014a8
lea eax, [ebp - 0x234]
push eax
mov eax, esi
lea ebx, [ebp - 0x468]
call fcn.188014dd
cmp dword [ebp + 0x18], 0
je 0x1880b07a
cmp dword [ebp + 0x18], 2
je 0x1880b07a
and dword [ebp - 8], 0
jmp 0x1880b081
mov dword [ebp - 8], 1
push dword [ebp - 8]
mov ebx, dword [sym.imp.KERNEL32.dll_CopyFileW]
lea eax, [ebp - 0x468]
push eax
lea eax, [ebp - 0x670]
push eax
call ebx
test eax, eax
jne 0x1880b19c
cmp dword [ebp - 8], eax
je 0x1880b0b2
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x50
je 0x1880b0bd
mov eax, dword [ebp + 0x1c]
mov byte [eax], 1
jmp 0x1880b19c
cmp dword [ebp + 0x18], 2
jne 0x1880b19c
xor eax, eax
push edi
push eax
mov word [ebp - 0xa80], ax
lea eax, [ebp - 0xa7e]
push eax
call fcn.18819090
add esp, 0xc
xor eax, eax
push edi
push eax
mov word [ebp - 0xc88], ax
lea eax, [ebp - 0xc86]
push eax
call fcn.18819090
add esp, 0xc
lea eax, [ebp - 0x234]
push 0x2e
push eax
call fcn.1881918a
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x1880b124
push edi
mov eax, esi
lea ecx, [ebp - 0xc88]
call fcn.188014a8
xor eax, eax
mov word [edi], ax
lea eax, [ebp - 0x234]
push eax
mov eax, esi
lea ecx, [ebp - 0xa80]
call fcn.188014a8
mov dword [ebp - 0xc], 2
lea eax, [ebp - 0xc88]
push eax
push dword [ebp - 0xc]
lea eax, [ebp - 0xa80]
push eax
push dword [ebp + 0xc]
mov eax, esi
push str._s_s___u__s
lea edi, [ebp - 0x468]
call fcn.188016e6
add esp, 0x14
push dword [ebp - 8]
mov eax, edi
push eax
lea eax, [ebp - 0x670]
push eax
call ebx
test eax, eax
jne 0x1880b197
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x50
jne 0x1880b191
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0xffffffff
jb 0x1880b13f
jmp 0x1880b197
mov eax, dword [ebp + 0x1c]
mov byte [eax], 1
mov edi, 0x206
lea eax, [ebp - 0x260]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1880afad
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp byte [ebp + 0x14], 0
je 0x1880b33f
push dword [ebp + 8]
mov eax, esi
lea ecx, [ebp - 0x878]
call fcn.188014a8
push 0x18833944
mov eax, esi
lea ebx, [ebp - 0x878]
call fcn.188014dd
lea eax, [ebp - 0x260]
push eax
mov eax, ebx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
je 0x1880b33f
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push 0x18833948
lea eax, [ebp - 0x234]
push eax
call ebx
test eax, eax
je 0x1880b31e
push 0x1883394c
lea eax, [ebp - 0x234]
push eax
call ebx
test eax, eax
je 0x1880b31e
test byte [ebp - 0x260], 0x10
je 0x1880b31e
xor eax, eax
push edi
push eax
mov word [ebp - 0x670], ax
lea eax, [ebp - 0x66e]
push eax
call fcn.18819090
add esp, 0xc
xor eax, eax
push edi
push eax
mov word [ebp - 0x468], ax
lea eax, [ebp - 0x466]
push eax
call fcn.18819090
add esp, 0xc
push dword [ebp + 8]
mov eax, esi
lea ecx, [ebp - 0x670]
call fcn.188014a8
lea eax, [ebp - 0x234]
push eax
mov eax, esi
lea ebx, [ebp - 0x670]
call fcn.188014dd
push 0x18833484
mov eax, esi
call fcn.188014dd
push dword [ebp + 0xc]
mov eax, esi
lea ecx, [ebp - 0x468]
call fcn.188014a8
lea eax, [ebp - 0x234]
push eax
mov eax, esi
lea ebx, [ebp - 0x468]
call fcn.188014dd
push 0x18833484
mov eax, esi
call fcn.188014dd
push 0
mov eax, ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x1880b2fc
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x1880b2fc
mov eax, dword [ebp + 0x1c]
mov byte [eax], 1
jmp 0x1880b31e
push dword [ebp + 0x1c]
lea eax, [ebp - 0x468]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
lea eax, [ebp - 0x670]
push eax
call fcn.1880af15
add esp, 0x18
lea eax, [ebp - 0x260]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1880b205
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
pop esi
pop ebx
leave
ret