Function at 0x140004780
Capabilities:
Check if file exists
Copy file
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x10]
sub rsp, 0x110
mov rax, qword [0x1403c20c0]
xor rax, rsp
mov qword [rbp], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x10], xmm1
mov r8d, 0x1e
lea rdx, [0x140055630]
lea rcx, [rbp - 0x20]
call fcn.1400087c0
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x50], xmm1
mov r8d, 0x14
lea rdx, str.C:Windows_System32
lea rcx, [rbp - 0x60]
call fcn.1400087c0
lea r8, str.printui.exe
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x80]
call fcn.140008380
lea r8, [0x1400556c0]
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x40]
call fcn.140008380
mov r8d, 0x30bc00
lea rdx, [0x1400ad590]
lea rcx, [rbp - 0x20]
call fcn.140004320
xor edi, edi
mov ebx, 1
test al, al
je 0x140004a5c
lea rcx, [rbp - 0x60]
cmp qword [rbp - 0x48], 7
cmova rcx, qword [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400048ce
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov r8d, 0x1a
lea rdx, str.rmdir__s__q__C:Windows__
lea rcx, [rsp + 0x30]
call fcn.1400087c0
mov edx, 0xffffffff
lea rcx, [rsp + 0x30]
call fcn.140003fc0
mov rdx, qword [rsp + 0x48]
cmp rdx, 7
jbe 0x1400048ce
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400048c9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004bbc
call fcn.140013b00
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov r8d, 0x20
lea rdx, str.mkdir___C:Windows_System32_
lea rcx, [rsp + 0x30]
call fcn.1400087c0
mov edx, 0xffffffff
lea rcx, [rsp + 0x30]
call fcn.140003fc0
mov rdx, qword [rsp + 0x48]
cmp rdx, 7
jbe 0x140004947
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004942
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004bc2
call fcn.140013b00
lea rdx, [rbp - 0x80]
cmp qword [rbp - 0x68], 7
cmova rdx, qword [rbp - 0x80]
mov r8d, ebx
lea rcx, str.C:WindowsSystem32printui.exe
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x140004a5c
mov r8d, 0x57800
lea rdx, [0x140055d90]
lea rcx, [rbp - 0x40]
call fcn.140004320
test al, al
je 0x140004a5c
lea rax, [0x1400557b0]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 0xd
lea rax, [rbp - 0x80]
cmp qword [rbp - 0x68], 7
cmova rax, qword [rbp - 0x80]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp - 0x70]
mov qword [rsp + 0x28], rax
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rsp + 0x38], xmm0
movabs rax, 0xc000000000000000
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x20], rbx
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x20], xmm0
movaps xmm1, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x50], xmm1
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x60]
call fcn.140009960
lea rcx, [rsp + 0x60]
call fcn.140004580
mov rdx, qword [rsp + 0x78]
cmp rdx, 7
jbe 0x140004a5a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004a55
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004bc8
call fcn.140013b00
mov ebx, edi
call fcn.1400041a0
mov rdx, qword [rbp - 0x28]
cmp rdx, 7
jbe 0x140004aa1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004a9c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004bb6
call fcn.140013b00
movdqa xmm0, xmmword [0x1403bbe30]
movdqu xmmword [rbp - 0x30], xmm0
mov word [rbp - 0x40], di
mov rdx, qword [rbp - 0x68]
cmp rdx, 7
jbe 0x140004afa
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004aed
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004bb6
call fcn.140013b00
movdqa xmm0, xmmword [0x1403bbe30]
mov qword [rbp - 0x70], rdi
mov qword [rbp - 0x68], 7
mov word [rbp - 0x80], di
mov rdx, qword [rbp - 0x48]
cmp rdx, 7
jbe 0x140004b4e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004b41
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004bb6
call fcn.140013b00
movdqa xmm0, xmmword [0x1403bbe30]
movdqu xmmword [rbp - 0x50], xmm0
mov word [rbp - 0x60], di
mov rdx, qword [rbp - 8]
cmp rdx, 7
jbe 0x140004b93
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004b8e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004bb6
call fcn.140013b00
mov eax, ebx
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.140013ae0
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
call fcn.14001b418
int3
call fcn.14001b418
int3
call fcn.14001b418
int3
call fcn.14001b418
int3