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

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x198
lea r12, [0x210273880]
mov rbp, rdx
mov qword [rsp + 0x1f0], r8
mov rbx, rcx
call sym.msys_2.0.dll_strlen
mov rcx, rbp
mov rdi, rax
call sym.msys_2.0.dll_strlen
mov rsi, rax
mov r15d, eax
test byte [0x210273880], 1
jne 0x210100af0
xor r8d, r8d
mov rdx, rbp
mov rcx, rbx
call sym.CreateDirectoryExA
test eax, eax
je 0x210100bb5
cmp edi, 0x101
jg 0x210100be2
cmp esi, 0x102
jg 0x210100be2
mov rcx, rbx
lea r14, [rsp + 0x50]
call sym.msys_2.0.dll_strlen
mov edx, 0x2a5c
mov rcx, rbp
add rax, rbx
mov word [rax], dx
mov byte [rax + 2], 0
call sym.msys_2.0.dll_strlen
mov ecx, 0x5c
mov rdx, r14
mov word [rbp + rax], cx
mov rcx, rbx
call sym.FindFirstFileA
mov r13, rax
test byte [0x210273880], 1
jne 0x210100b50
mov rdx, r14
mov rcx, r13
call sym.FindNextFileA
test byte [0x210273880], 1
jne 0x210100b20
mov rdx, r14
mov rcx, r13
lea rsi, [rsp + 0x7c]
add edi, 1
call sym.FindNextFileA
lea edx, [r15 + 1]
movsxd r15, edx
mov dword [rsp + 0x44], edx
add r15, rbp
test eax, eax
jne 0x210100938
jmp 0x210100b80
lea edx, [rdi + rax]
cmp edx, 0x103
jg 0x2101009c4
add eax, dword [rsp + 0x44]
cmp eax, 0x103
jg 0x210100984
movsxd rcx, edi
mov rdx, rsi
add rcx, rbx
call sym.msys_2.0.dll_strcpy
mov rdx, rsi
mov rcx, r15
call sym.msys_2.0.dll_strcpy
test byte [r12], 1
jne 0x210100a50
test byte [rsp + 0x50], 0x10
je 0x210100a10
mov rdx, qword [rsp + 0x1f0]
mov rcx, rbx
call sym.msys_2.0.dll_strcmp
test eax, eax
jne 0x210100ac0
mov rdx, r14
mov rcx, r13
call sym.FindNextFileA
test eax, eax
je 0x210100b80
mov rcx, rsi
call sym.msys_2.0.dll_strlen
test byte [r12], 1
je 0x2101008c0
mov qword [rsp + 0x20], rsi
mov edx, 0x40
mov rcx, r12
lea r9, str.dHfile_3_:__s
lea r8, str.int_recursiveCopy_char__char__const_char_
mov qword [rsp + 0x48], rax
call method.strace.prntf_unsigned_int__char_const__char_const__..._
mov rax, qword [rsp + 0x48]
lea edx, [rdi + rax]
cmp edx, 0x103
jle 0x2101008cf
test byte [0x210273880], 1
je 0x2101009c4
mov dword [rsp + 0x30], 0x5b
mov edx, 0x40
mov rcx, r12
lea rax, str.int_recursiveCopy_char__char__const_char_
mov dword [rsp + 0x28], 0x6d6
lea r9, [0x2102a16ee]
lea r8, [0x2102a1708]
mov qword [rsp + 0x20], rax
call method.strace.prntf_unsigned_int__char_const__char_const__..._
mov rax, qword [sym.msys_2.0.dll__impure_ptr]
mov r12d, 0xffffffff
mov dword [rax], 0x5b
call sym.msys_2.0.dll___errno
mov dword [rax], 0x5b
cmp r13, 0xffffffffffffffff
je 0x2101009f0
mov rcx, r13
call sym.FindClose
mov eax, r12d
add rsp, 0x198
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
xor r8d, r8d
mov rdx, rbp
mov rcx, rbx
call sym.CopyFileA
test eax, eax
jne 0x210100925
call sym.GetLastError
mov edx, 0x6e9
lea rcx, str._usr_src_MSYS2_packages_msys2_runtime_src_msys2_runtime_winsup_cygwin_path.cc
mov r12d, 0xffffffff
mov r8d, eax
call sym.seterrno_from_win_error_char_const__int__unsigned_int_
jmp 0x2101009e2
mov qword [rsp + 0x28], rbp
mov edx, 0x40
mov rcx, r12
lea r9, str._s_____s
mov qword [rsp + 0x20], rbx
lea r8, str.int_recursiveCopy_char__char__const_char_
call method.strace.prntf_unsigned_int__char_const__char_const__..._
test byte [rsp + 0x50], 0x10
je 0x210100a10
test byte [r12], 1
je 0x21010090d
mov rax, qword [rsp + 0x1f0]
mov qword [rsp + 0x20], rbx
mov rcx, r12
lea r9, str._s______s
lea r8, str.int_recursiveCopy_char__char__const_char_
mov edx, 0x40
mov qword [rsp + 0x28], rax
call method.strace.prntf_unsigned_int__char_const__char_const__..._
jmp 0x21010090d
mov r8, qword [rsp + 0x1f0]
mov rdx, rbp
mov rcx, rbx
call sym.recursiveCopy_char__char__char_const_
test eax, eax
je 0x210100925
mov r12d, 0xffffffff
jmp 0x2101009e2
mov qword [rsp + 0x28], rbp
mov edx, 0x40
mov rcx, r12
lea r9, str.recursiveCopy___s___s_
mov qword [rsp + 0x20], rbx
lea r8, str.int_recursiveCopy_char__char__const_char_
call method.strace.prntf_unsigned_int__char_const__char_const__..._
jmp 0x2101007fb
lea rsi, [rsp + 0x7c]
lea r9, str.dHfile_2_:__s
mov edx, 0x40
mov rcx, r12
mov qword [rsp + 0x20], rsi
lea r8, str.int_recursiveCopy_char__char__const_char_
call method.strace.prntf_unsigned_int__char_const__char_const__..._
jmp 0x21010088a
lea rsi, [rsp + 0x7c]
lea r9, str.dHfile_1_:__s
mov edx, 0x40
mov rcx, r12
mov qword [rsp + 0x20], rsi
lea r8, str.int_recursiveCopy_char__char__const_char_
call method.strace.prntf_unsigned_int__char_const__char_const__..._
jmp 0x210100872
call sym.GetLastError
xor r12d, r12d
cmp eax, 0x12
je 0x2101009e2
call sym.GetLastError
mov edx, 0x6f1
lea rcx, str._usr_src_MSYS2_packages_msys2_runtime_src_msys2_runtime_winsup_cygwin_path.cc
mov r12d, 0xffffffff
mov r8d, eax
call sym.seterrno_from_win_error_char_const__int__unsigned_int_
jmp 0x2101009e2
test byte [0x210273880], 1
jne 0x210100c0e
call sym.GetLastError
mov edx, 0x6be
lea rcx, str._usr_src_MSYS2_packages_msys2_runtime_src_msys2_runtime_winsup_cygwin_path.cc
mov r12d, 0xffffffff
mov r8d, eax
call sym.seterrno_from_win_error_char_const__int__unsigned_int_
jmp 0x2101009f0
test byte [0x210273880], 1
jne 0x210100c35
mov rax, qword [sym.msys_2.0.dll__impure_ptr]
mov r12d, 0xffffffff
mov dword [rax], 0x5b
call sym.msys_2.0.dll___errno
mov dword [rax], 0x5b
jmp 0x2101009f0
mov qword [rsp + 0x28], rbp
mov edx, 0x40
mov rcx, r12
lea r9, str.CreateDirectoryEx__s___s__0__failed
mov qword [rsp + 0x20], rbx
lea r8, str.int_recursiveCopy_char__char__const_char_
call method.strace.prntf_unsigned_int__char_const__char_const__..._
jmp 0x210100bbe
mov dword [rsp + 0x30], 0x5b
mov edx, 0x40
mov rcx, r12
lea rax, str.int_recursiveCopy_char__char__const_char_
mov dword [rsp + 0x28], 0x6c4
lea r9, [0x2102a16ee]
lea r8, [0x2102a1708]
mov qword [rsp + 0x20], rax
call method.strace.prntf_unsigned_int__char_const__char_const__..._
jmp 0x210100beb