Function at 0x1400048c0
Capabilities:
Copy file

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x50]
sub rsp, 0x150
mov rax, qword [0x14008fb98]
xor rax, rsp
mov qword [rbp + 0x40], rax
movups xmm0, xmmword [rdx]
mov rbx, r8
mov qword [rsp + 0x50], rdx
mov rdi, rcx
mov qword [rsp + 0x58], rbx
lea r14, [0x1400889ec]
movaps xmmword [rsp + 0x60], xmm0
lea rsi, [0x1400889e8]
mov qword [rsp + 0x30], r14
lea r9, [rsp + 0x30]
mov dword [rsp + 0x38], 1
lea r8, [rsp + 0x40]
mov dword [rsp + 0x3c], 1
lea rdx, [rsp + 0x60]
mov qword [rsp + 0x40], rsi
lea rcx, [rbp - 0x60]
mov dword [rsp + 0x48], 1
mov dword [rsp + 0x4c], 1
call fcn.140084da0
lea r9, [rsp + 0x40]
mov qword [rsp + 0x40], r14
lea r8, [rsp + 0x30]
mov dword [rsp + 0x48], 1
lea rdx, [rsp + 0x60]
mov dword [rsp + 0x4c], 1
movups xmm0, xmmword [rax]
lea rcx, [rbp - 0x80]
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x38], 1
movups xmmword [rsp + 0x70], xmm0
mov dword [rsp + 0x3c], 1
movups xmm0, xmmword [rbx]
movaps xmmword [rsp + 0x60], xmm0
call fcn.140084da0
xor r12d, r12d
xor edx, edx
mov dword [rsp + 0x28], r12d
mov ecx, 0xfde9
mov qword [rsp + 0x20], r12
mov r14, qword [rax]
mov ebx, dword [rax + 8]
mov r8, r14
mov r9d, ebx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov r15d, eax
lea r13d, [rax + rax]
lea ecx, [r13 + 2]
movsxd rcx, ecx
call fcn.1400047a0
mov rsi, rax
test rax, rax
je 0x140004a0b
mov dword [rsp + 0x28], r15d
mov r9d, ebx
mov r8, r14
mov qword [rsp + 0x20], rax
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movsxd rcx, r13d
xor eax, eax
mov word [rcx + rsi], ax
movups xmm1, xmmword [rsp + 0x70]
mov dword [rsp + 0x28], r12d
xor edx, edx
mov ecx, 0xfde9
mov qword [rsp + 0x20], r12
movdqa xmm0, xmm1
movq r15, xmm1
psrldq xmm0, 8
mov r8, r15
movd r14d, xmm0
mov r9d, r14d
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov r12d, eax
lea r13d, [rax + rax]
lea edx, [r13 + 2]
movsxd rcx, edx
call fcn.1400047a0
mov rbx, rax
test rax, rax
je 0x140004a81
mov dword [rsp + 0x28], r12d
mov r9d, r14d
mov r8, r15
mov qword [rsp + 0x20], rax
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movsxd rcx, r13d
xor eax, eax
mov word [rcx + rbx], ax
xor r8d, r8d
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x140004b8d
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r8, [rbp - 0x40]
mov byte [rdi], 1
mov ebx, eax
mov dword [rbp - 0x38], 0xf
lea rax, str.failed_to_copy
mov dword [rbp - 0x34], 1
mov qword [rbp - 0x40], rax
lea rcx, [rbp - 0x80]
mov rax, qword [rsp + 0x50]
mov dword [rbp - 0x30], 0xfe10
mov dword [rbp - 0x10], 4
mov dword [rbp - 0xc], 1
movups xmm0, xmmword [rax]
lea rax, str._to
mov dword [rbp - 8], 0xfe10
mov qword [rbp - 0x18], rax
mov rax, qword [rsp + 0x58]
movups xmmword [rbp - 0x28], xmm0
mov qword [rbp + 0x1c], 1
movups xmm0, xmmword [rax]
lea rax, [0x140088494]
mov qword [rbp + 0x10], rax
xor eax, eax
movaps xmmword [rbp], xmm0
mov dword [rbp + 0x18], eax
mov dword [rbp + 0x28], eax
lea edx, [rax + 3]
mov qword [rbp + 0x2c], rax
mov dword [rbp + 0x34], eax
call fcn.140080e60
mov ecx, 0x18
mov dword [rbp - 0x50], ebx
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x70], xmm0
call fcn.140001fa0
movups xmm0, xmmword [rsp + 0x70]
movups xmmword [rax], xmm0
movsd xmm0, qword [rbp - 0x50]
movsd qword [rax + 0x10], xmm0
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x70], rax
add rax, 0x10
mov byte [rdi + 0x28], 0
mov qword [rbp - 0x68], rax
xor eax, eax
movups xmm1, xmmword [rbp - 0x70]
mov dword [rbp - 0x78], 3
movups xmm0, xmmword [rbp - 0x80]
movups xmmword [rdi + 8], xmm0
movups xmmword [rdi + 0x18], xmm1
mov dword [rdi + 0x29], eax
mov word [rdi + 0x2d], ax
mov byte [rdi + 0x2f], al
jmp 0x140004b9b
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
movups xmmword [rdi + 0x10], xmm0
movups xmmword [rdi + 0x20], xmm0
mov rax, rdi
mov rcx, qword [rbp + 0x40]
xor rcx, rsp
call fcn.140087230
mov rbx, qword [rsp + 0x190]
add rsp, 0x150
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret