Function at 0x140047740
Capabilities:
Delete registry key
Set file attributes

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x230]
sub rsp, 0x330
mov rax, qword [0x1400ce568]
xor rax, rsp
mov qword [rbp + 0x220], rax
mov rsi, rdx
mov rbx, rcx
xor edi, edi
mov r15d, edi
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], 7
mov word [rsp + 0x50], di
mov r8, 0xffffffffffffffff
inc r8
cmp word [rcx + r8*2], di
jne 0x140047791
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.14000d6c0
nop
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x10]
call fcn.1400725e0
lea rcx, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae rcx, qword [rsp + 0x50]
mov r8d, 0x208
lea rdx, [rbp + 0x10]
call fcn.1400511b0
test eax, eax
jne 0x14004782d
lea rbx, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae rbx, qword [rsp + 0x50]
call fcn.1400597f0
mov rcx, rax
mov qword [rsp + 0x30], rbx
lea rax, str.cannot_find_profile__s
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x262
lea r9, str.D:uworkspace_nViewBranchBuilder_3S_sw_nview_v200_nView_nViewMainProfileManager.cpp
lea r8, str.ProfileManager::update
mov edx, 1
call fcn.140059d70
jmp 0x140047af1
mov qword [rsp + 0x40], rdi
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x10]
call fcn.140050e40
movzx r14d, ax
test r14d, r14d
je 0x140047aee
movdqa xmm0, xmmword [0x1400bb5c0]
movdqa xmmword [rbp - 0x60], xmm0
mov word [rbp - 0x70], di
movdqa xmmword [rbp - 0x40], xmm0
mov word [rbp - 0x50], di
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x10], xmm0
mov qword [rbp], rdi
test rsi, rsi
jne 0x140047896
mov rdx, qword [rsp + 0x40]
lea rcx, [rbp - 0x70]
call fcn.14003b440
mov rdx, rbx
lea rcx, [rbp - 0x70]
call fcn.14003cca0
lea rsi, [rbp - 0x70]
lea rdx, str.AutoRunAppsV4
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
mov qword [rbp - 0x80], rdi
mov qword [rbp - 0x78], 7
mov word [rsp + 0x70], di
mov r9d, 1
lea r8, [rsp + 0x70]
mov rdx, qword [rsp + 0x40]
mov rcx, rsi
call fcn.14003d100
mov r8d, dword [rbx + 0x7d0]
and r8d, 0xffff0000
or r8d, r14d
lea rcx, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae rcx, qword [rsp + 0x50]
lea rdx, [rbp + 0x10]
call fcn.140050ba0
test al, al
je 0x140047958
lea rcx, [rsp + 0x48]
call fcn.14004eff0
nop
mov r8b, 1
lea rdx, [rbp + 0x10]
lea rcx, [rsp + 0x48]
call fcn.14004ffc0
test al, al
je 0x14004794e
cmp qword [rbp - 0x80], 0
je 0x14004793b
lea r8, [rsp + 0x70]
mov edx, 3
lea rcx, [rsp + 0x48]
call fcn.140050550
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x48]
call fcn.14004f4a0
movzx r15d, al
lea rcx, [rsp + 0x48]
call fcn.14004f170
mov edx, 0x80
lea rcx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, str.TempCopy
lea rcx, str.SoftwareNVIDIA_CorporationGlobal_nViewInstalled
call fcn.14005a810
mov ecx, eax
mov r9d, 0x296
lea r8, str.D:uworkspace_nViewBranchBuilder_3S_sw_nview_v200_nView_nViewMainProfileManager.cpp
lea rdx, str.ProfileManager::update
call fcn.140059c60
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 8
jb 0x1400479e2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400479dd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140047b5d
call fcn.14006fc78
mov qword [rbp - 0x80], rdi
mov qword [rbp - 0x78], 7
mov word [rsp + 0x70], di
mov r8, qword [rbp - 0x10]
test r8, r8
je 0x140047a61
mov rcx, qword [rbp]
sub rcx, r8
movabs rax, 0x980e4156201301c9
imul rcx
add rdx, rcx
sar rdx, 0xb
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul rdx, rdx, 0xd78
mov rax, r8
cmp rdx, 0x1000
jb 0x140047a4d
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140047b63
mov rcx, r8
call fcn.14006fc78
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x10], xmm0
mov qword [rbp], rdi
mov rdx, qword [rbp - 0x38]
cmp rdx, 8
jb 0x140047aa1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140047a9c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140047b63
call fcn.14006fc78
movdqa xmm0, xmmword [0x1400bb5c0]
movdqa xmmword [rbp - 0x40], xmm0
mov word [rbp - 0x50], di
mov rdx, qword [rbp - 0x58]
cmp rdx, 8
jb 0x140047aee
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140047ae9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140047b63
call fcn.14006fc78
mov edi, r15d
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x140047b2f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140047b2a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140047b57
call fcn.14006fc78
mov eax, edi
mov rcx, qword [rbp + 0x220]
xor rcx, rsp
call fcn.14006fd90
mov rbx, qword [rsp + 0x370]
add rsp, 0x330
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.14007698c
nop
call fcn.14007698c
nop
call fcn.14007698c
int3