Function at 0x140031ec0
Capabilities:
Delete registry key

Disassembly:
push rsi
sub rsp, 0x80
mov rax, qword [0x1400ce568]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rsi, rcx
call fcn.14001f580
test al, al
jne 0x140031f3f
call fcn.1400597f0
mov rcx, rax
lea r9, str.D:uworkspace_nViewBranchBuilder_3S_sw_nview_v200_nView_nViewMainMainWindow.cpp
lea rax, str.cannot_retrieve_display_data__start_up_failed._exiting...
mov edx, 1
mov qword [rsp + 0x28], rax
lea r8, str.onCreate
mov dword [rsp + 0x20], 0x217
call fcn.140059d70
mov edx, 0xff
mov ecx, 5
call fcn.14004ecd0
xor r9d, r9d
xor r8d, r8d
mov rcx, rsi
lea edx, [r9 + 0x10]
call qword [sym.imp.USER32.dll_PostMessageW]
jmp 0x1400322bd
mov qword [rsp + 0x98], rbx
mov edx, 0xff
mov qword [rsp + 0xa0], rbp
mov ecx, 1
mov qword [rsp + 0x78], rdi
mov qword [rsp + 0x70], r14
call fcn.14004ecd0
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
xor edx, edx
mov rcx, rsi
call sub.WTSAPI32.dll_WTSRegisterSessionNotification
mov rcx, qword [0x1400d68b8]
add rcx, 0xb8
call fcn.1400128c0
mov rax, qword [0x1400d68b8]
lea rdx, [rsp + 0x30]
xor r14d, r14d
lea rcx, str.SoftwareNVIDIA_CorporationGlobal_nView
mov r8d, 0xf003f
or dword [rax + 0x60], 1
mov rax, qword [0x1400d68b8]
mov qword [rax + 0x30], rsi
mov rax, qword [0x1400d68b8]
and dword [rax + 0x60], 0xfffffffb
mov qword [rsp + 0x30], r14
call fcn.14005a9b0
test eax, eax
jne 0x140032000
mov rcx, qword [rsp + 0x30]
lea r8, [rsp + 0x3c]
lea rdx, str.nViewLoaded
call fcn.14005aa90
test al, al
je 0x140032000
call fcn.14004e960
mov rcx, rax
lea rdx, str.SoftwareNVIDIA_CorporationGlobal_nView
call qword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
xor r9d, r9d
lea rdx, [rsp + 0x30]
mov r8d, 0xf003f
lea rcx, str.SoftwareNVIDIA_CorporationGlobal_nView
call fcn.14005a730
test eax, eax
jne 0x140032056
mov rcx, qword [0x1400d68b8]
mov rdx, qword [rsp + 0x30]
add rcx, 0x50
call fcn.1400129f0
mov rcx, qword [0x1400d68b8]
mov rdx, qword [rsp + 0x30]
add rcx, 0x90cc
call fcn.140012e60
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.140030a20
call fcn.14001def0
mov rcx, rax
mov rdx, qword [rax]
call qword [rdx]
call fcn.14001e340
mov rcx, rsi
call fcn.14002f9e0
lea rcx, [rsp + 0x38]
mov dword [rsp + 0x38], r14d
call qword [sym.imp.dwmapi.dll_DwmIsCompositionEnabled]
mov rcx, qword [0x1400d68b8]
mov edx, 0xff
mov eax, dword [rsp + 0x38]
shl eax, 4
xor eax, dword [rcx + 0x60]
and eax, 0x10
xor dword [rcx + 0x60], eax
mov ecx, 2
call fcn.14004ecd0
call fcn.14002b3e0
call fcn.1400597f0
mov rcx, rax
lea r9, str.D:uworkspace_nViewBranchBuilder_3S_sw_nview_v200_nView_nViewMainMainWindow.cpp
lea rax, str.created_grid_overlay
mov ebp, 3
mov qword [rsp + 0x28], rax
lea r8, str.onCreate
mov edx, ebp
mov dword [rsp + 0x20], 0x25a
call fcn.140059d70
mov edx, 0xff
mov ecx, ebp
call fcn.14004ecd0
call fcn.140046090
call fcn.1400597f0
mov rcx, rax
lea r9, str.D:uworkspace_nViewBranchBuilder_3S_sw_nview_v200_nView_nViewMainMainWindow.cpp
lea rax, str.created_profile_manager
mov edx, ebp
mov qword [rsp + 0x28], rax
lea r8, str.onCreate
mov dword [rsp + 0x20], 0x25d
call fcn.140059d70
mov edx, 0xff
lea ecx, [rbp + 1]
call fcn.14004ecd0
call fcn.1400129d0
test eax, eax
jne 0x140032220
call fcn.14004b9d0
mov edi, eax
call fcn.1400597f0
mov rcx, rax
lea r9, str.D:uworkspace_nViewBranchBuilder_3S_sw_nview_v200_nView_nViewMainMainWindow.cpp
lea rax, str.created_message_hooks
mov edx, ebp
mov qword [rsp + 0x28], rax
lea r8, str.onCreate
mov dword [rsp + 0x20], 0x263
call fcn.140059d70
call fcn.1400327f0
test al, al
mov ebx, r14d
setne bl
call fcn.1400597f0
mov rcx, rax
lea r9, str.D:uworkspace_nViewBranchBuilder_3S_sw_nview_v200_nView_nViewMainMainWindow.cpp
lea rax, str.created_Wow_proc
mov edx, ebp
mov qword [rsp + 0x28], rax
lea r8, str.onCreate
mov dword [rsp + 0x20], 0x269
call fcn.140059d70
and ebx, edi
jne 0x14003220d
call fcn.1400597f0
mov rcx, rax
lea r9, str.D:uworkspace_nViewBranchBuilder_3S_sw_nview_v200_nView_nViewMainMainWindow.cpp
lea rax, str.failed_to_enable_window_hooking._shutting_down.
mov qword [rsp + 0x28], rax
lea r8, str.onCreate
lea edx, [rbp - 2]
mov dword [rsp + 0x20], 0x26d
call fcn.140059d70
mov edx, 0xff
lea ecx, [rbp + 3]
call fcn.14004ecd0
xor r9d, r9d
lea edx, [rbp + 0xd]
xor r8d, r8d
mov rcx, rsi
call qword [sym.imp.USER32.dll_PostMessageW]
call fcn.140020ff0
mov ebx, 0x275
lea rdi, str.created_event_manager
jmp 0x140032231
mov ebp, 2
lea rdi, str.hook_is_already_enabled
mov ebx, 0x279
call fcn.1400597f0
mov rcx, rax
mov qword [rsp + 0x28], rdi
lea r9, str.D:uworkspace_nViewBranchBuilder_3S_sw_nview_v200_nView_nViewMainMainWindow.cpp
mov dword [rsp + 0x20], ebx
lea r8, str.onCreate
mov edx, ebp
call fcn.140059d70
mov rcx, qword [0x1400d68d0]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov edx, 0xff
xor ecx, ecx
call fcn.14004ecd0
movups xmm0, xmmword [0x1400a0dc8]
xor r8d, r8d
mov qword [rsp + 0x44], 5
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x5c], r14d
mov rcx, rsi
mov dword [rsp + 0x40], 0x20
movups xmmword [rsp + 0x4c], xmm0
call qword [sym.imp.USER32.dll_RegisterDeviceNotificationW]
mov r14, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
mov rbp, qword [rsp + 0xa0]
mov rbx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14006fd90
add rsp, 0x80
pop rsi
ret