Function at 0x140019950
Capabilities:
Delete registry key
Delete registry value
Set registry value

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
lea rbp, [rsp - 0x70]
sub rsp, 0x170
mov qword [rbp - 0x68], 0xfffffffffffffffe
mov qword [rsp + 0x1b8], rbx
mov rax, qword [0x14007e020]
xor rax, rsp
mov qword [rbp + 0x60], rax
mov r13, r8
mov r12, rdx
mov rbx, rcx
lea rcx, [rsp + 0x58]
call qword [0x140052ac8]
nop
lea rcx, [rsp + 0x50]
call qword [0x140052ac8]
nop
xor esi, esi
test r12, r12
jne 0x140019add
lea rcx, [rsp + 0x68]
call qword [sym.imp.mfc100u.dll_CSmartDockingManager::CSmartDockingManager]
nop
lea rdx, [0x140053ca8]
lea rcx, [rbp]
call qword [sym.imp.acdb19.dll_public:_void___cdecl_AdXREFString::constructor_wchar_t_const____ptr64____ptr64]
nop
mov rdx, rbx
lea rcx, [rbp - 0x60]
call qword [sym.imp.acdb19.dll_public:_void___cdecl_AdXREFString::constructor_wchar_t_const____ptr64____ptr64]
nop
lea r8, [rsp + 0x68]
lea rdx, [rbp]
lea rcx, [rbp - 0x60]
call fcn.140018b30
nop
lea rcx, [rbp - 0x60]
call qword [sym.imp.acdb19.dll_public_virtual:_void___cdecl_AdXREFString::destructor_void____ptr64]
nop
lea rcx, [rbp]
call qword [sym.imp.acdb19.dll_public_virtual:_void___cdecl_AdXREFString::destructor_void____ptr64]
mov r11, qword [rsp + 0x78]
cmp r11, 2
jge 0x140019a37
lea rcx, [rsp + 0x68]
call qword [sym.imp.mfc100u.dll_CSemaphore::CSemaphore]
nop
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc100u.dll_CWinApp::CWinApp]
nop
lea rcx, [rsp + 0x58]
call qword [sym.imp.mfc100u.dll_CWinApp::CWinApp]
xor eax, eax
jmp 0x140019bce
lea rcx, [r11 - 1]
test rcx, rcx
js 0x140019ad6
cmp rcx, r11
jge 0x140019ad6
mov rax, qword [rsp + 0x70]
lea rdx, [rax + rcx*8]
lea rcx, [rsp + 0x58]
call qword [sym.imp.mfc100u.dll_CView::CView]
mov edi, esi
mov rcx, qword [rsp + 0x78]
lea rax, [rcx - 1]
test rax, rax
jle 0x140019ac9
mov rbx, rsi
test edi, edi
jle 0x140019a8f
lea rdx, [0x140053ca8]
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc100u.dll_COleCurrency::operator_]
mov rcx, qword [rsp + 0x78]
test rbx, rbx
js 0x140019ac2
cmp rbx, rcx
jge 0x140019ac2
mov rax, qword [rsp + 0x70]
lea rdx, [rax + rbx*8]
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc100u.dll_]
inc edi
movsxd rbx, edi
mov rcx, qword [rsp + 0x78]
lea rax, [rcx - 1]
cmp rbx, rax
jl 0x140019a74
jmp 0x140019ac9
call qword [sym.imp.mfc100u.dll_AfxPropSheetCallback]
nop
lea rcx, [rsp + 0x68]
call qword [sym.imp.mfc100u.dll_CSemaphore::CSemaphore]
jmp 0x140019aeb
call qword [sym.imp.mfc100u.dll_AfxPropSheetCallback]
nop
mov rdx, rbx
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc100u.dll_CVSListBoxBase::CVSListBoxBase]
lea rax, [rbp - 0x70]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x50]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x140019b49
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc100u.dll_CWinApp::CWinApp]
nop
lea rcx, [rsp + 0x58]
call qword [sym.imp.mfc100u.dll_CWinApp::CWinApp]
xor eax, eax
jmp 0x140019bce
test r12, r12
jne 0x140019b60
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
jmp 0x140019ba2
test r13, r13
jne 0x140019b75
mov rdx, r12
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
jmp 0x140019ba2
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [rax + rax + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r13
mov r9d, 1
xor r8d, r8d
mov rdx, r12
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, eax
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
sete sil
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc100u.dll_CWinApp::CWinApp]
nop
lea rcx, [rsp + 0x58]
call qword [sym.imp.mfc100u.dll_CWinApp::CWinApp]
mov eax, esi
mov rcx, qword [rbp + 0x60]
xor rcx, rsp
call fcn.140049a80
mov rbx, qword [rsp + 0x1b8]
add rsp, 0x170
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret