Function at 0x1400838b0
Capabilities:
Copy file
Create directory
Enumerate files on windows
Get common file path
Move file

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x708]
sub rsp, 0x7e0
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1402ba4e0]
xor rax, rsp
mov qword [rbp + 0x6d0], rax
mov ebx, edx
mov rsi, rcx
mov edx, 0x104
lea rcx, [rbp + 0x180]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea rcx, [rbp + 0x180]
call fcn.1400c9bc0
lea rdi, [rbp + 0x180]
xor eax, eax
or rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
lea rdx, str._34_.__.
xor ecx, ecx
nop dword [rax + rax]
movzx eax, byte [rdx + rcx]
mov byte [rdi + rcx - 1], al
inc rcx
test al, al
jne 0x140083930
mov rcx, qword [rsi + 0xb0]
add rcx, 0xf8c
test ebx, ebx
je 0x140083967
lea rdx, [rbp + 0x180]
call fcn.14010d534
test eax, eax
je 0x140083e3f
jmp 0x1400839bd
cmp byte [rcx], 0
je 0x140083980
lea rdx, [rbp + 0x180]
call fcn.14010d534
test eax, eax
jne 0x140083e3f
mov edx, 0x104
lea rcx, [rbp + 0x180]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea rcx, [rbp + 0x180]
call fcn.1400c9bc0
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rbp + 0x180]
repne scasb al, byte [rdi]
not rcx
lea rcx, [rbp + rcx + 0x17f]
call fcn.1400e6f70
mov rcx, qword [rsi + 0xb0]
add rcx, 0xf8c
cmp byte [rcx], 0
je 0x140083e18
lea rdx, [rbp + 0x180]
call fcn.14010d534
test eax, eax
je 0x140083e18
mov rcx, rsi
call fcn.1400836d0
lea rcx, [rbp + 0x180]
call fcn.1400d0090
test eax, eax
jne 0x140083a0f
xor edx, edx
lea rcx, [rbp + 0x180]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea rcx, [rbp + 0x180]
call fcn.1400d0090
test eax, eax
je 0x140083a2b
lea rcx, [rbp + 0x180]
call fcn.1400d4680
mov rcx, qword [rsi + 0xb0]
add rcx, 0xf8c
lea rdx, [rbp + 0x3a0]
sub rdx, rcx
movzx eax, byte [rcx]
mov byte [rdx + rcx], al
inc rcx
test al, al
jne 0x140083a43
lea rcx, [rbp + 0x3a0]
call fcn.1400c9bc0
lea rdi, [rbp + 0x3a0]
xor eax, eax
or rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
mov eax, dword [0x1401eefbc]
mov dword [rdi - 1], eax
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x3a0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140083dec
mov r8, qword [rsi + 0xb0]
add r8, 0x1298
lea rdx, [0x14021fca0]
lea rcx, [rbp + 0x4b0]
call qword [sym.imp.USER32.dll_wsprintfA]
mov r8, qword [rsi + 0xb0]
add r8, 0x139c
lea rdx, [0x14021fca0]
lea rcx, [rbp + 0x5c0]
call qword [sym.imp.USER32.dll_wsprintfA]
lea r12, str.__923__
lea r13, [0x1402b9050]
lea r14, [0x1402b9030]
lea r15, str._34_.__.t65
test byte [rsp + 0x30], 0x10
jne 0x140083dd6
mov rcx, qword [rsi + 0xb0]
add rcx, 0xf8c
lea rdx, [rbp + 0x290]
sub rdx, rcx
nop word [rax + rax]
movzx eax, byte [rcx]
mov byte [rdx + rcx], al
inc rcx
test al, al
jne 0x140083b20
lea rcx, [rbp + 0x290]
call fcn.1400c9bc0
lea rdi, [rbp + 0x290]
xor eax, eax
or rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
lea rdx, [rsp + 0x5c]
xor ecx, ecx
nop
movzx eax, byte [rdx + rcx]
mov byte [rdi + rcx - 1], al
inc rcx
test al, al
jne 0x140083b50
xor ecx, ecx
movzx eax, byte [rbp + rcx + 0x180]
mov byte [rbp + rcx + 0x70], al
inc rcx
test al, al
jne 0x140083b61
lea rcx, [rbp + 0x70]
call fcn.1400c9bc0
mov rdx, qword [rsi + 0xb0]
add rdx, 0x9680
lea rcx, [rbp + 0x290]
call fcn.1400c9790
test rax, rax
je 0x140083c0d
lea rdi, [rbp + 0x70]
xor eax, eax
or rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
xor ecx, ecx
nop word [rax + rax]
movzx eax, byte [r12 + rcx]
mov byte [rdi + rcx - 1], al
inc rcx
test al, al
jne 0x140083bb0
lea rdi, [rbp + 0x70]
xor eax, eax
or rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
movzx eax, word [0x1401ee614]
mov word [rdi - 1], ax
lea rdx, [rbp + 0x4b0]
lea rcx, [rbp + 0x290]
call fcn.1400c9790
lea rdi, [rbp + 0x70]
or rcx, 0xffffffffffffffff
test rax, rax
je 0x140083d26
xor eax, eax
repne scasb al, byte [rdi]
mov eax, dword [0x14021fc9c]
mov dword [rdi - 1], eax
jmp 0x140083d9f
mov rdx, qword [rsi + 0xb0]
add rdx, 0x9784
lea rcx, [rbp + 0x290]
call fcn.1400c9790
test rax, rax
je 0x140083c9e
lea rdi, [rbp + 0x70]
xor eax, eax
or rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
xor ecx, ecx
nop word [rax + rax]
movzx eax, byte [r13 + rcx]
mov byte [rdi + rcx - 1], al
inc rcx
test al, al
jne 0x140083c40
lea rdi, [rbp + 0x70]
xor eax, eax
or rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
movzx eax, word [0x1401ee614]
mov word [rdi - 1], ax
lea rdx, [rbp + 0x4b0]
lea rcx, [rbp + 0x290]
call fcn.1400c9790
lea rdi, [rbp + 0x70]
or rcx, 0xffffffffffffffff
test rax, rax
je 0x140083d26
xor eax, eax
repne scasb al, byte [rdi]
mov eax, dword [0x14021fc9c]
mov dword [rdi - 1], eax
jmp 0x140083d9f
mov rdx, qword [rsi + 0xb0]
add rdx, 0x9888
lea rcx, [rbp + 0x290]
call fcn.1400c9790
test rax, rax
je 0x140083d35
lea rdi, [rbp + 0x70]
xor eax, eax
or rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
xor ecx, ecx
nop dword [rax + rax]
movzx eax, byte [r14 + rcx]
mov byte [rdi + rcx - 1], al
inc rcx
test al, al
jne 0x140083cd0
lea rdi, [rbp + 0x70]
xor eax, eax
or rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
movzx eax, word [0x1401ee614]
mov word [rdi - 1], ax
lea rdx, [rbp + 0x4b0]
lea rcx, [rbp + 0x290]
call fcn.1400c9790
lea rdi, [rbp + 0x70]
or rcx, 0xffffffffffffffff
test rax, rax
je 0x140083d26
xor eax, eax
repne scasb al, byte [rdi]
mov eax, dword [0x14021fc9c]
mov dword [rdi - 1], eax
jmp 0x140083d9f
xor eax, eax
repne scasb al, byte [rdi]
mov eax, dword [0x14021fc98]
mov dword [rdi - 1], eax
jmp 0x140083d9f
mov rdx, qword [rsi + 0xb0]
add rdx, 0x1d4
lea rcx, [rbp + 0x290]
call fcn.14010d534
lea rdi, [rbp + 0x70]
or rcx, 0xffffffffffffffff
test eax, eax
jne 0x140083d82
xor eax, eax
repne scasb al, byte [rdi]
xor ecx, ecx
nop word [rax + rax]
movzx eax, byte [r15 + rcx]
mov byte [rdi + rcx - 1], al
inc rcx
test al, al
jne 0x140083d70
jmp 0x140083d9f
xor eax, eax
repne scasb al, byte [rdi]
lea rdx, [rsp + 0x5c]
xor ecx, ecx
nop dword [rax]
movzx eax, byte [rdx + rcx]
mov byte [rdi + rcx - 1], al
inc rcx
test al, al
jne 0x140083d90
lea rdx, [rbp + 0x70]
lea rcx, [rbp + 0x290]
call qword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
jne 0x140083dc8
xor r8d, r8d
lea rdx, [rbp + 0x70]
lea rcx, [rbp + 0x290]
call qword [sym.imp.KERNEL32.dll_CopyFileA]
xor edx, edx
lea rcx, [rbp + 0x290]
call fcn.1400d67e0
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x140083af3
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rdx, rsi
lea rcx, [rsp + 0x20]
call fcn.140042170
nop
lea rcx, [rsp + 0x20]
call fcn.140042f70
nop
lea rcx, [rsp + 0x20]
call fcn.140042180
lea rdx, [rbp + 0x180]
mov rcx, qword [rsi + 0xb0]
add rcx, 0xf8c
nop dword [rax]
movzx eax, byte [rdx]
mov byte [rcx], al
inc rdx
inc rcx
test al, al
jne 0x140083e30
mov rcx, qword [rbp + 0x6d0]
xor rcx, rsp
call fcn.14010d170
lea r11, [rsp + 0x7e0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret