Function at 0x7ff6d8e69620
Capabilities:
Copy file
Set file attributes

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x17]
sub rsp, 0xa8
mov rax, qword [0x7ff6d8eee010]
xor rax, rsp
mov qword [rbp + 7], rax
mov r15, r9
mov r13, r8
mov r14, rdx
mov rsi, rcx
movzx r12d, byte [rbp + 0x7f]
xor edi, edi
mov qword [rbp - 9], rdi
mov qword [rbp - 1], 7
mov word [rbp - 0x19], di
movzx r9d, r12b
mov r8, r15
lea rdx, [rbp - 0x61]
call fcn.7ff6d8e6bcc0
mov rbx, rax
lea rax, [rbp - 0x19]
cmp rax, rbx
je 0x7ff6d8e696f4
mov rdx, qword [rbp - 1]
cmp rdx, 8
jb 0x7ff6d8e696c6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff6d8e696c1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x7ff6d8e69931
call fcn.7ff6d8e98b74
mov qword [rbp - 9], rdi
mov qword [rbp - 1], 7
mov word [rbp - 0x19], di
movups xmm0, xmmword [rbx]
movups xmmword [rbp - 0x19], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rbp - 9], xmm1
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], 7
mov word [rbx], di
mov rdx, qword [rbp - 0x49]
cmp rdx, 8
jb 0x7ff6d8e69734
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x61]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff6d8e6972f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x7ff6d8e69931
call fcn.7ff6d8e98b74
lea rdx, [rbp - 0x19]
cmp qword [rbp - 1], 8
cmovae rdx, qword [rbp - 0x19]
cmp qword [r14 + 0x18], 8
jb 0x7ff6d8e6974c
mov r14, qword [r14]
mov dword [rsp + 0x28], 0x800
mov qword [rsp + 0x20], rdi
xor r9d, r9d
xor r8d, r8d
mov rcx, r14
call qword [sym.imp.KERNEL32.DLL_CopyFileExW]
test eax, eax
jne 0x7ff6d8e6977a
mov ebx, 0x103
lea rcx, str.Copy_file_to_repository_failed___n
jmp 0x7ff6d8e697c2
lea rcx, [rbp - 0x19]
cmp qword [rbp - 1], 8
cmovae rcx, qword [rbp - 0x19]
mov edx, 0x80
call qword [sym.imp.KERNEL32.DLL_SetFileAttributesW]
test eax, eax
jne 0x7ff6d8e697a5
mov ebx, 0x103
lea rcx, str.failed_removing_all_attributes_from_file_n
jmp 0x7ff6d8e697c2
movzx r9d, r12b
mov r8, r13
lea rdx, [rbp - 0x19]
call fcn.7ff6d8e6ac60
mov ebx, eax
test eax, eax
je 0x7ff6d8e69807
lea rcx, str.prepareInstallFromFile__:_Failed_to_get_applet_blobs_from_dalp_file._n
call fcn.7ff6d8e631b0
cmp qword [rbp - 9], 0
je 0x7ff6d8e698cd
lea rcx, [rbp - 0x19]
cmp qword [rbp - 1], 8
cmovae rcx, qword [rbp - 0x19]
xor edx, edx
call fcn.7ff6d8ea5db8
test eax, eax
jne 0x7ff6d8e698cd
lea rcx, [rbp - 0x19]
cmp qword [rbp - 1], 8
cmovae rcx, qword [rbp - 0x19]
call fcn.7ff6d8ea5e64
jmp 0x7ff6d8e698cd
mov edx, 0xffffffff
mov rcx, qword [rsi + 0x10]
call qword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
mov rdx, r15
mov rcx, rsi
call fcn.7ff6d8e6a510
test al, al
je 0x7ff6d8e6983a
mov r8, r15
lea rdx, [rbp - 0x61]
mov rcx, rsi
call fcn.7ff6d8e6de50
mov rcx, qword [rax]
mov edi, dword [rcx + 0x40]
mov rcx, qword [rsi + 0x10]
call qword [sym.imp.KERNEL32.DLL_ReleaseMutex]
test edi, edi
jne 0x7ff6d8e698cd
mov dword [rbp - 0x61], 1
mov word [rbp - 0x5d], di
mov edx, 0xffffffff
mov rcx, qword [rsi + 0x10]
call qword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
mov rdx, r15
lea rcx, [rbp - 0x41]
call fcn.7ff6d8e64530
mov rax, qword [rbp - 0x61]
mov qword [rbp - 0x21], rax
lea r8, [rbp - 0x41]
lea rdx, [rbp - 0x61]
mov rcx, rsi
call fcn.7ff6d8e6eec0
nop
mov rdx, qword [rbp - 0x29]
cmp rdx, 0x10
jb 0x7ff6d8e698c2
inc rdx
mov rcx, qword [rbp - 0x41]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff6d8e698bd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x7ff6d8e69937
call fcn.7ff6d8e98b74
mov rcx, qword [rsi + 0x10]
call qword [sym.imp.KERNEL32.DLL_ReleaseMutex]
nop
mov rdx, qword [rbp - 1]
cmp rdx, 8
jb 0x7ff6d8e69909
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff6d8e69904
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x7ff6d8e6992b
call fcn.7ff6d8e98b74
mov eax, ebx
mov rcx, qword [rbp + 7]
xor rcx, rsp
call fcn.7ff6d8e98b50
add rsp, 0xa8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.7ff6d8ea5708
nop
call fcn.7ff6d8ea5708
nop
call fcn.7ff6d8ea5708
int3