Function at 0x140016134
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x1f8]
sub rsp, 0x2e0
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rax, qword [0x14005e0f0]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x58], xmm0
xor r15d, r15d
mov ebx, r15d
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x48], r15
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r14d, 0x20019
mov r9d, r14d
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionWindowsUpdateRUXIMSpec_
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
nop dword [rax + rax]
cmp eax, 2
je 0x140016453
test eax, eax
je 0x1400161d0
mov edx, 0x4c1
jmp 0x1400163a6
mov dword [rsp + 0x40], 0x104
mov esi, 1
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
lea r9, [rsp + 0x40]
lea r8, [rbp - 0x40]
xor edx, edx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegEnumKeyExW]
nop dword [rax + rax]
mov rdi, qword [rsp + 0x60]
jmp 0x140016350
test eax, eax
jne 0x1400163a1
mov qword [rsp + 0x50], r15
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, r14d
xor r8d, r8d
lea rdx, [rbp - 0x40]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
nop dword [rax + rax]
test eax, eax
jne 0x140016365
mov qword [rbp - 0x78], r15
mov qword [rbp - 0x70], 7
mov word [rsp + 0x78], r15w
lea r9, [rsp + 0x78]
lea r8, str.Source
xor edx, edx
mov rcx, qword [rsp + 0x50]
call fcn.14000e9c8
test eax, eax
js 0x1400162f5
lea rcx, [rsp + 0x78]
cmp qword [rbp - 0x70], 8
cmovae rcx, qword [rsp + 0x78]
lea rdx, str.OneSettings
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__wcsicmp]
nop dword [rax + rax]
test eax, eax
jne 0x1400162f5
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x68]
call fcn.140007658
nop
cmp rbx, rdi
je 0x1400162d0
lea rdx, [rbp - 0x68]
mov rcx, rdi
call fcn.140008038
add rdi, 0x20
mov qword [rsp + 0x60], rdi
jmp 0x1400162eb
lea r8, [rbp - 0x68]
mov rdx, rdi
lea rcx, [rsp + 0x58]
call fcn.140016f58
mov rbx, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x60]
lea rcx, [rbp - 0x68]
call fcn.140008164
nop
lea rcx, [rsp + 0x78]
call fcn.140008164
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140016316
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
mov dword [rsp + 0x40], 0x104
mov edx, esi
inc esi
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
lea r9, [rsp + 0x40]
lea r8, [rbp - 0x40]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegEnumKeyExW]
nop dword [rax + rax]
cmp eax, 0x103
jne 0x140016217
mov rsi, qword [rsp + 0x58]
jmp 0x14001644a
mov rcx, qword [rbp + 0x1f8]
mov r9d, eax
lea r8, str.onecoreenduserwindowsupdate_ruxim_ruximliblibonesettings.cpp
mov edx, 0x4e0
call fcn.14000f07c
mov ebx, eax
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140016456
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
jmp 0x140016456
mov edx, 0x4d6
lea r8, str.onecoreenduserwindowsupdate_ruxim_ruximliblibonesettings.cpp
mov r9d, eax
mov rcx, qword [rbp + 0x1f8]
call fcn.14000f07c
mov ebx, eax
jmp 0x140016456
mov rdx, rsi
lea rcx, [rsp + 0x78]
call fcn.140008038
lea r14, [rsp + 0x78]
cmp qword [rbp - 0x70], 8
cmovae r14, qword [rsp + 0x78]
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x40]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
lea r8, str.SoftwareMicrosoftWindowsCurrentVersionWindowsUpdateRUXIMSpec_
lea rcx, [rbp - 0x40]
call fcn.14001190c
mov ebx, eax
test eax, eax
js 0x1400164cc
mov r8, r14
lea rcx, [rbp - 0x40]
call fcn.14001190c
mov ebx, eax
test eax, eax
js 0x1400164c5
lea rdx, [rbp - 0x40]
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l2_1_0.dll_RegDeleteKeyW]
nop dword [rax + rax]
test eax, eax
jne 0x1400164a6
lea rcx, [rsp + 0x78]
call fcn.140008164
add rsi, 0x20
cmp rsi, rdi
jne 0x1400163c3
mov ebx, r15d
lea rcx, [rsp + 0x58]
call fcn.14000aa7c
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140016477
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
mov eax, ebx
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.140041d90
lea r11, [rsp + 0x2e0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
mov rcx, qword [rbp + 0x1f8]
mov r9d, eax
lea r8, str.onecoreenduserwindowsupdate_ruxim_ruximliblibonesettings.cpp
mov edx, 0x504
call fcn.14000f07c
mov ebx, eax
jmp 0x1400164e7
mov edx, 0x503
jmp 0x1400164d1
mov edx, 0x4fd
mov r9d, eax
lea r8, str.onecoreenduserwindowsupdate_ruxim_ruximliblibonesettings.cpp
mov rcx, qword [rbp + 0x1f8]
call fcn.140003b08
lea rcx, [rsp + 0x78]
call fcn.140008164
jmp 0x140016456