Function at 0x1400182d4
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 [0x14006c0f0]
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 r9d, 0x20019
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 0x14001860a
test eax, eax
je 0x14001836d
mov edx, 0x440
jmp 0x14001855d
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]
cmp eax, 0x103
je 0x140018512
lea r14d, [rsi + 6]
test eax, eax
jne 0x140018558
mov qword [rsp + 0x50], r15
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
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 0x14001851c
mov qword [rbp - 0x58], r15
mov qword [rbp - 0x50], r14
mov word [rbp - 0x68], r15w
lea r9, [rbp - 0x68]
lea r8, str.Source
xor edx, edx
mov rcx, qword [rsp + 0x50]
call fcn.140011ddc
test eax, eax
js 0x1400184ad
lea rcx, [rbp - 0x68]
cmp qword [rbp - 0x50], 8
cmovae rcx, qword [rbp - 0x68]
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 0x1400184ad
mov qword [rbp - 0x78], r15
mov qword [rbp - 0x70], r14
mov word [rsp + 0x78], r15w
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x78]
call fcn.140008078
nop
cmp rbx, rdi
je 0x140018486
lea rdx, [rsp + 0x78]
mov rcx, rdi
call fcn.140007da0
add rdi, 0x20
mov qword [rsp + 0x60], rdi
jmp 0x1400184a2
lea r8, [rsp + 0x78]
mov rdx, rdi
lea rcx, [rsp + 0x58]
call fcn.140019364
mov rbx, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x60]
lea rcx, [rsp + 0x78]
call fcn.140007e78
nop
lea rcx, [rbp - 0x68]
call fcn.140007e78
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x1400184cd
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 0x1400183be
mov rsi, qword [rsp + 0x58]
jmp 0x140018601
mov rcx, qword [rbp + 0x1f8]
mov r9d, eax
lea r8, str.onecoreenduserwindowsupdate_ruximplugliblibonesettingscustomclient.cpp
mov edx, 0x45f
call fcn.14000e238
mov ebx, eax
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14001860d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
jmp 0x14001860d
mov edx, 0x455
lea r8, str.onecoreenduserwindowsupdate_ruximplugliblibonesettingscustomclient.cpp
mov r9d, eax
mov rcx, qword [rbp + 0x1f8]
call fcn.14000e238
mov ebx, eax
jmp 0x14001860d
mov rdx, rsi
lea rcx, [rsp + 0x78]
call fcn.140007da0
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.140014238
mov ebx, eax
test eax, eax
js 0x140018683
mov r8, r14
lea rcx, [rbp - 0x40]
call fcn.140014238
mov ebx, eax
test eax, eax
js 0x14001867c
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 0x14001865d
lea rcx, [rsp + 0x78]
call fcn.140007e78
add rsi, 0x20
cmp rsi, rdi
jne 0x14001857a
mov ebx, r15d
lea rcx, [rsp + 0x58]
call fcn.14000aa04
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14001862e
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.14004b4d0
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_ruximplugliblibonesettingscustomclient.cpp
mov edx, 0x483
call fcn.14000e238
mov ebx, eax
jmp 0x14001869e
mov edx, 0x482
jmp 0x140018688
mov edx, 0x47c
mov r9d, eax
lea r8, str.onecoreenduserwindowsupdate_ruximplugliblibonesettingscustomclient.cpp
mov rcx, qword [rbp + 0x1f8]
call fcn.140003c18
lea rcx, [rsp + 0x78]
call fcn.140007e78
jmp 0x14001860d