Function at 0x140009620
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 [0x14008e010]
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.14000bcc0
mov rbx, rax
lea rax, [rbp - 0x19]
cmp rax, rbx
je 0x1400096f4
mov rdx, qword [rbp - 1]
cmp rdx, 8
jb 0x1400096c6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400096c1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140009931
call fcn.140038b74
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 0x140009734
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x61]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000972f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140009931
call fcn.140038b74
lea rdx, [rbp - 0x19]
cmp qword [rbp - 1], 8
cmovae rdx, qword [rbp - 0x19]
cmp qword [r14 + 0x18], 8
jb 0x14000974c
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 0x14000977a
mov ebx, 0x103
lea rcx, str.Copy_file_to_repository_failed___n
jmp 0x1400097c2
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 0x1400097a5
mov ebx, 0x103
lea rcx, str.failed_removing_all_attributes_from_file_n
jmp 0x1400097c2
movzx r9d, r12b
mov r8, r13
lea rdx, [rbp - 0x19]
call fcn.14000ac60
mov ebx, eax
test eax, eax
je 0x140009807
lea rcx, str.prepareInstallFromFile__:_Failed_to_get_applet_blobs_from_dalp_file._n
call fcn.1400031b0
cmp qword [rbp - 9], 0
je 0x1400098cd
lea rcx, [rbp - 0x19]
cmp qword [rbp - 1], 8
cmovae rcx, qword [rbp - 0x19]
xor edx, edx
call fcn.140045db8
test eax, eax
jne 0x1400098cd
lea rcx, [rbp - 0x19]
cmp qword [rbp - 1], 8
cmovae rcx, qword [rbp - 0x19]
call fcn.140045e64
jmp 0x1400098cd
mov edx, 0xffffffff
mov rcx, qword [rsi + 0x10]
call qword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
mov rdx, r15
mov rcx, rsi
call fcn.14000a510
test al, al
je 0x14000983a
mov r8, r15
lea rdx, [rbp - 0x61]
mov rcx, rsi
call fcn.14000de50
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 0x1400098cd
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.140004530
mov rax, qword [rbp - 0x61]
mov qword [rbp - 0x21], rax
lea r8, [rbp - 0x41]
lea rdx, [rbp - 0x61]
mov rcx, rsi
call fcn.14000eec0
nop
mov rdx, qword [rbp - 0x29]
cmp rdx, 0x10
jb 0x1400098c2
inc rdx
mov rcx, qword [rbp - 0x41]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400098bd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140009937
call fcn.140038b74
mov rcx, qword [rsi + 0x10]
call qword [sym.imp.KERNEL32.DLL_ReleaseMutex]
nop
mov rdx, qword [rbp - 1]
cmp rdx, 8
jb 0x140009909
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009904
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000992b
call fcn.140038b74
mov eax, ebx
mov rcx, qword [rbp + 7]
xor rcx, rsp
call fcn.140038b50
add rsp, 0xa8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.140045708
nop
call fcn.140045708
nop
call fcn.140045708
int3