Function at 0x7ff649549620
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 [0x7ff6495ce010]
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.7ff64954bcc0
mov rbx, rax
lea rax, [rbp - 0x19]
cmp rax, rbx
je 0x7ff6495496f4
mov rdx, qword [rbp - 1]
cmp rdx, 8
jb 0x7ff6495496c6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff6495496c1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x7ff649549931
call fcn.7ff649578b74
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 0x7ff649549734
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x61]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff64954972f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x7ff649549931
call fcn.7ff649578b74
lea rdx, [rbp - 0x19]
cmp qword [rbp - 1], 8
cmovae rdx, qword [rbp - 0x19]
cmp qword [r14 + 0x18], 8
jb 0x7ff64954974c
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 0x7ff64954977a
mov ebx, 0x103
lea rcx, str.Copy_file_to_repository_failed___n
jmp 0x7ff6495497c2
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 0x7ff6495497a5
mov ebx, 0x103
lea rcx, str.failed_removing_all_attributes_from_file_n
jmp 0x7ff6495497c2
movzx r9d, r12b
mov r8, r13
lea rdx, [rbp - 0x19]
call fcn.7ff64954ac60
mov ebx, eax
test eax, eax
je 0x7ff649549807
lea rcx, str.prepareInstallFromFile__:_Failed_to_get_applet_blobs_from_dalp_file._n
call fcn.7ff6495431b0
cmp qword [rbp - 9], 0
je 0x7ff6495498cd
lea rcx, [rbp - 0x19]
cmp qword [rbp - 1], 8
cmovae rcx, qword [rbp - 0x19]
xor edx, edx
call fcn.7ff649585db8
test eax, eax
jne 0x7ff6495498cd
lea rcx, [rbp - 0x19]
cmp qword [rbp - 1], 8
cmovae rcx, qword [rbp - 0x19]
call fcn.7ff649585e64
jmp 0x7ff6495498cd
mov edx, 0xffffffff
mov rcx, qword [rsi + 0x10]
call qword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
mov rdx, r15
mov rcx, rsi
call fcn.7ff64954a510
test al, al
je 0x7ff64954983a
mov r8, r15
lea rdx, [rbp - 0x61]
mov rcx, rsi
call fcn.7ff64954de50
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 0x7ff6495498cd
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.7ff649544530
mov rax, qword [rbp - 0x61]
mov qword [rbp - 0x21], rax
lea r8, [rbp - 0x41]
lea rdx, [rbp - 0x61]
mov rcx, rsi
call fcn.7ff64954eec0
nop
mov rdx, qword [rbp - 0x29]
cmp rdx, 0x10
jb 0x7ff6495498c2
inc rdx
mov rcx, qword [rbp - 0x41]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff6495498bd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x7ff649549937
call fcn.7ff649578b74
mov rcx, qword [rsi + 0x10]
call qword [sym.imp.KERNEL32.DLL_ReleaseMutex]
nop
mov rdx, qword [rbp - 1]
cmp rdx, 8
jb 0x7ff649549909
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff649549904
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x7ff64954992b
call fcn.7ff649578b74
mov eax, ebx
mov rcx, qword [rbp + 7]
xor rcx, rsp
call fcn.7ff649578b50
add rsp, 0xa8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.7ff649585708
nop
call fcn.7ff649585708
nop
call fcn.7ff649585708
int3