Function at 0x1400483ec
Capabilities:
Copy file
Create directory
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r8, qword [rcx + 0x38]
movabs rax, 0x6666666666666667
sub r8, qword [rcx + 0x30]
mov rbp, rdx
imul r8
xor r12d, r12d
mov rsi, rcx
mov r15, rdx
sar r15, 4
mov rax, r15
shr rax, 0x3f
add r15, rax
test r15d, r15d
je 0x1400485ad
mov eax, 0x100
test word [rbp + 4], ax
jne 0x1400485ad
cmp byte [rbp + 0x2b], 0xb
je 0x1400485ad
movzx edx, word [rbp + 0x54]
mov ecx, r12d
test edx, edx
je 0x140048480
mov r8, qword [rbp + 0x58]
mov eax, ecx
add rax, rax
cmp word [r8 + rax*8 + 2], 0xb
je 0x1400485ad
inc ecx
cmp ecx, edx
jne 0x140048468
lea r13, [rbp + 0x18]
mov r8, r13
lea rcx, [rsi + 8]
lea rdx, [rsp + 0x30]
call fcn.140048764
mov r14, qword [rsp + 0x30]
test r14, r14
jne 0x1400484a8
lea ebx, [r14 + 0xe]
jmp 0x1400485b0
mov eax, dword [r14 + 0x28]
cmp eax, r15d
jae 0x1400485ad
lea r10, str.0123456789abcdef
mov r11d, 0x5c
mov r9, qword [rsi + 0x30]
lea r8, [rax + rax*4]
mov rdi, qword [r9 + r8*8]
lea rcx, [r9 + 0x10]
lea rcx, [rcx + r8*8]
cmp rdi, rcx
jne 0x1400484e2
mov ecx, 7
jmp 0x1400484eb
mov rcx, qword [rcx]
sub rcx, rdi
sar rcx, 1
mov rdx, qword [r9 + r8*8 + 8]
sub rdx, rdi
sar rdx, 1
lea rax, [rdx + 0x27]
cmp rax, rcx
jbe 0x140048501
int 0x2c
lea rdx, [rdi + rdx*2]
cmp byte [r9 + r8*8 + 0x20], r12b
je 0x140048533
movzx ecx, byte [rbp + 0x1b]
mov eax, ecx
and ecx, 0xf
shr rax, 4
movsx eax, byte [rax + r10]
mov word [rdx], ax
movsx eax, byte [rcx + r10]
mov word [rdx + 2], ax
mov word [rdx + 4], r11w
add rdx, 6
mov rcx, r13
call fcn.140048058
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
nop dword [rax + rax]
test eax, 0x1050
je 0x140048558
mov ebx, 2
jmp 0x140048569
mov rcx, rdi
call qword [sym.imp.tdh.dll_TdhLoadManifest]
nop dword [rax + rax]
mov ebx, eax
mov rax, qword [rsi]
movabs r10, 0x836d17c676d8cb70
mov rax, qword [rax + 0x38]
mov r8d, ebx
mov rdx, rdi
mov rcx, rsi
call qword [0x140070c80]
test ebx, ebx
je 0x1400485d1
mov eax, dword [r14 + 0x28]
lea r10, str.0123456789abcdef
inc eax
mov r11d, 0x5c
mov dword [r14 + 0x28], eax
cmp eax, r15d
jb 0x1400484c2
mov ebx, r12d
lea r11, [rsp + 0x40]
mov eax, ebx
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov eax, dword [rsi + 0x48]
cmp eax, dword [r14 + 0x28]
jae 0x1400486ba
mov rcx, qword [rsi + 0x30]
lea rdx, [rax + rax*4]
xor ebx, ebx
mov r12, qword [rcx + rdx*8]
mov rax, qword [rcx + rdx*8 + 8]
sub rax, r12
sar rax, 1
lea r15, [r12 + rax*2]
cmp byte [rcx + rdx*8 + 0x20], bl
je 0x140048665
movzx ecx, byte [rbp + 0x1b]
lea rdx, str.0123456789abcdef
mov eax, ecx
and ecx, 0xf
shr rax, 4
movsx eax, byte [rax + rdx]
mov word [r15], ax
movsx eax, byte [rcx + rdx]
xor edx, edx
mov rcx, r12
mov word [r15 + 2], ax
mov word [r15 + 4], bx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
nop dword [rax + rax]
test eax, eax
jne 0x140048657
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
cmp eax, 0xb7
jne 0x140048697
xor ebx, ebx
mov eax, 0x5c
mov word [r15 + 4], ax
add r15, 6
mov rdx, r15
mov rcx, r13
call fcn.140048058
xor r8d, r8d
mov rdx, r12
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CopyFileW]
nop dword [rax + rax]
test eax, eax
jne 0x140048697
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rax, qword [rsi]
movabs r10, 0xd680863a56595370
mov rax, qword [rax + 0x40]
mov r9d, ebx
mov r8, r12
mov rdx, rdi
mov rcx, rsi
call qword [0x140070c80]
or dword [r14 + 0x28], 0xffffffff
jmp 0x1400485b0