Function at 0x140002a50
Capabilities:
Copy file
Create directory
Get file attributes
Set file attributes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x290]
sub rsp, 0x390
mov rax, qword [0x14006e040]
xor rax, rsp
mov qword [rbp + 0x280], rax
mov rsi, rcx
xor r13d, r13d
lea rdx, [0x1400f71f8]
lea rcx, [rsp + 0x60]
call fcn.140002830
mov rbx, rax
mov rdi, rsi
cmp qword [rsi + 0x18], 0xf
jbe 0x140002aaf
mov rdi, qword [rsi]
mov r14, qword [rsi + 0x10]
mov r8, qword [rax + 0x10]
mov rcx, qword [rax + 0x18]
mov rax, rcx
sub rax, r8
cmp r14, rax
ja 0x140002b36
lea rax, [r8 + r14]
mov qword [rbx + 0x10], rax
mov r15, rbx
cmp rcx, 0xf
jbe 0x140002ada
mov r15, qword [rbx]
lea rax, [r14 + rdi]
cmp rax, r15
jbe 0x140002afe
lea rax, [r15 + r8]
cmp rdi, rax
ja 0x140002afe
cmp r15, rdi
ja 0x140002af6
mov r12, r13
jmp 0x140002b01
mov r12, r15
sub r12, rdi
jmp 0x140002b01
mov r12, r14
lea rcx, [r15 + r14]
inc r8
mov rdx, r15
call fcn.140056dc0
mov r8, r12
mov rdx, rdi
mov rcx, r15
call fcn.140056dc0
lea rcx, [r15 + r12]
mov r8, r14
sub r8, r12
lea rdx, [r12 + r14]
add rdx, rdi
call fcn.140056dc0
jmp 0x140002b4e
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rdi
mov rdx, r14
mov rcx, rbx
call fcn.140008210
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x38], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x28], xmm1
movups xmm0, xmmword [rbx]
movups xmmword [rbp - 0x38], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rbp - 0x28], xmm1
mov qword [rbx + 0x10], r13
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x140002bb8
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002bb3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400030e2
call fcn.140008400
movdqa xmm0, xmmword [0x1400660e0]
movdqu xmmword [rsp + 0x70], xmm0
mov byte [rsp + 0x60], 0
lea rdx, [rbp - 0x38]
lea rcx, [rsp + 0x40]
call fcn.1400026d0
cmp qword [rax + 0x18], 7
jbe 0x140002be3
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
mov rdx, qword [rsp + 0x58]
cmp rdx, 7
jbe 0x140002c30
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002c2b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400030e8
call fcn.140008400
cmp ebx, 0xffffffff
je 0x140002c41
mov rbx, 0xffffffffffffffff
jmp 0x140003073
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp], xmm0
movups xmmword [rbp + 0x10], xmm0
movups xmmword [rbp + 0x20], xmm0
movups xmmword [rbp + 0x30], xmm0
movups xmmword [rbp + 0x40], xmm0
movups xmmword [rbp + 0x50], xmm0
mov qword [rbp + 0x60], rax
lea rcx, [rbp - 0x10]
call fcn.140005e90
nop
mov r8, rsi
cmp qword [rsi + 0x18], 0xf
jbe 0x140002c7d
mov r8, qword [rsi]
mov r9, qword [rsi + 0x10]
add r9, r8
lea rdx, [rbp - 0x78]
lea rcx, [rbp - 0x10]
call fcn.1400068f0
nop
lea rcx, [rbp - 0x10]
call fcn.140005da0
nop
lea rdi, [rbp - 0x78]
cmp qword [rbp - 0x60], 7
cmova rdi, qword [rbp - 0x78]
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov rbx, 0xffffffffffffffff
test eax, eax
jne 0x140002cd1
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x140002dfd
mov edx, 6
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x140002dfd
lea r8, [rbp - 0x78]
cmp qword [rbp - 0x60], 7
cmova r8, qword [rbp - 0x78]
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r13
mov r9d, ebx
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
movsxd rsi, eax
mov rcx, rsi
test eax, eax
je 0x140002d8f
mov edx, 1
call fcn.14003a1ec
mov rdi, rax
lea r8, [rbp - 0x78]
cmp qword [rbp - 0x60], 7
cmova r8, qword [rbp - 0x78]
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rax
mov r9d, ebx
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jle 0x140002d8f
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
mov r8, rbx
nop dword [rax]
inc r8
cmp byte [rdi + r8], 0
jne 0x140002d80
mov rdx, rdi
jmp 0x140002daa
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
xor r8d, r8d
lea rdx, [0x14006562e]
lea rcx, [rsp + 0x40]
call fcn.1400073d0
nop
lea rcx, [rsp + 0x40]
call fcn.140002940
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x140002dfd
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002df8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400030ee
call fcn.140008400
mov r8d, 0x104
lea rdx, [rbp + 0x70]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x140003021
lea rdx, [rbp - 0x38]
lea rcx, [rbp - 0x58]
call fcn.1400026d0
nop
lea rdx, [rbp - 0x58]
cmp qword [rbp - 0x40], 7
cmova rdx, qword [rbp - 0x58]
xor r8d, r8d
lea rcx, [rbp + 0x70]
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x140002fcf
lea rdx, [rbp - 0x58]
cmp qword [rbp - 0x40], 7
cmova rdx, qword [rbp - 0x58]
lea rcx, [rsp + 0x60]
call fcn.140006190
nop
lea r8, [rsp + 0x60]
cmp qword [rsp + 0x78], 7
cmova r8, qword [rsp + 0x60]
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r13
mov r9d, ebx
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
movsxd rsi, eax
mov rcx, rsi
test eax, eax
je 0x140002f07
mov edx, 1
call fcn.14003a1ec
mov rdi, rax
lea r8, [rsp + 0x60]
cmp qword [rsp + 0x78], 7
cmova r8, qword [rsp + 0x60]
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rax
mov r9d, ebx
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jle 0x140002f07
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
inc rbx
cmp byte [rdi + rbx], 0
jne 0x140002ef6
mov r8, rbx
mov rdx, rdi
jmp 0x140002f22
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
xor r8d, r8d
lea rdx, [0x14006562e]
lea rcx, [rsp + 0x40]
call fcn.1400073d0
nop
lea rcx, [rsp + 0x40]
call fcn.140002940
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x140002f75
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002f70
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400030f4
call fcn.140008400
movdqa xmm0, xmmword [0x1400660e0]
movdqu xmmword [rsp + 0x50], xmm0
mov byte [rsp + 0x40], 0
mov rdx, qword [rsp + 0x78]
cmp rdx, 7
jbe 0x140002fca
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002fc5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400030fa
call fcn.140008400
mov ebx, 1
mov rdx, qword [rbp - 0x40]
cmp rdx, 7
jbe 0x14000300f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000300a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003100
call fcn.140008400
movdqa xmm0, xmmword [0x1400660d0]
movdqu xmmword [rbp - 0x48], xmm0
mov word [rbp - 0x58], r13w
mov rdx, qword [rbp - 0x60]
cmp rdx, 7
jbe 0x140003061
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000305c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003106
call fcn.140008400
movdqa xmm0, xmmword [0x1400660d0]
movdqu xmmword [rbp - 0x68], xmm0
mov word [rbp - 0x78], r13w
mov rdx, qword [rbp - 0x20]
cmp rdx, 0xf
jbe 0x1400030aa
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400030a5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400030dc
call fcn.140008400
mov eax, ebx
mov rcx, qword [rbp + 0x280]
xor rcx, rsp
call fcn.1400083e0
lea r11, [rsp + 0x390]
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
call fcn.14003a174
nop
call fcn.14003a174
nop
call fcn.14003a174
nop
call fcn.14003a174
nop
call fcn.14003a174
nop
call fcn.14003a174
nop
call fcn.14003a174
nop
call fcn.14003a174
int3