Function at 0x140019e20
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x1c8]
sub rsp, 0x2b0
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x14006c100]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
mov rsi, rcx
movdqa xmm0, xmmword [0x14005a0c0]
movdqu xmmword [rsp + 0x78], xmm0
xor ebx, ebx
mov word [rsp + 0x68], bx
lea rdx, str._OneSettings__Initialize
lea rcx, [rsp + 0x68]
call fcn.140007e74
lea r8, [rsp + 0x68]
cmp qword [rbp - 0x80], 8
cmovae r8, qword [rsp + 0x68]
lea rdx, str._s_:_Init
xor ecx, ecx
call fcn.14000972c
nop
lea rcx, [rsi + 0x20]
lea rdx, [0x140054b10]
call fcn.140007e74
lea rcx, [rsi + 0x40]
lea rdx, str.RUXIM
call fcn.140007e74
lea rcx, [rsi + 0x60]
lea rdx, str.RUXIM
call fcn.140007e74
lea r14, [rsi + 0x80]
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionWindowsUpdatePLUGOneSettingsSync
mov rcx, r14
call fcn.140007e74
mov qword [rsi + 0x1a8], 0xffffffff80000002
mov rcx, rsi
call fcn.14001bd28
mov edi, eax
test eax, eax
jns 0x140019f09
mov r9d, eax
lea edx, [rbx + 0x60]
jmp 0x14001a0b4
cmp qword [rsi + 0x30], rbx
je 0x14001a08c
cmp qword [rsi + 0x50], rbx
je 0x14001a08c
cmp qword [rsi + 0x70], rbx
je 0x14001a08c
mov rcx, qword [rsi + 0x1a8]
lea rax, [rcx + 0x7fffffff]
cmp rax, 1
jbe 0x140019f45
mov edx, 0x266
jmp 0x14001a091
mov qword [rsp + 0x58], rbx
mov rdx, r14
cmp qword [r14 + 0x18], 8
jb 0x140019f57
mov rdx, qword [r14]
mov qword [rsp + 0x40], rbx
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCreateKeyExW]
nop dword [rax + rax]
test eax, eax
je 0x140019fc2
mov rcx, qword [rbp + 0x1c8]
mov r9d, eax
lea r8, str.onecoreenduserwindowsupdate_ruximplugliblibonesettings.cpp
mov edx, 0x268
call fcn.14000dee8
mov edi, eax
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x140019fda
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
jmp 0x140019fda
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x140019fd8
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
mov edi, ebx
test edi, edi
js 0x14001a0ac
mov edi, 0x208
mov r8d, edi
xor edx, edx
lea rcx, [rbp - 0x70]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov dword [rsp + 0x50], edi
cmp qword [r14 + 0x18], 8
jb 0x14001a003
mov r14, qword [r14]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
mov r9d, 2
lea r8, str.Endpoint
mov rdx, r14
mov rcx, qword [rsi + 0x1a8]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
test eax, eax
jne 0x14001a07b
lea rcx, [rbp - 0x70]
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], bx
jne 0x14001a04a
test rax, rax
je 0x14001a07b
lea rdx, str._OneSettings__Reaching_out_to_custom_endpoint
xor ecx, ecx
call fcn.14000972c
lea rdx, [rbp - 0x70]
mov rcx, rsi
call fcn.140007e74
mov byte [rsi + 0x1a0], 1
jmp 0x14001a0c9
lea rdx, str.settings_win.data.microsoft.com
mov rcx, rsi
call fcn.140007e74
jmp 0x14001a0c9
mov edx, 0x265
mov edi, 0x81333201
mov r9d, edi
lea r8, str.onecoreenduserwindowsupdate_ruximplugliblibonesettings.cpp
mov rcx, qword [rbp + 0x1c8]
call fcn.140003c18
mov r9d, edi
mov edx, 0x61
lea r8, str.onecoreenduserwindowsupdate_ruximplugliblibonesettings.cpp
mov rcx, qword [rbp + 0x1c8]
call fcn.140003c18
mov ebx, edi
lea r8, [rsp + 0x68]
cmp qword [rbp - 0x80], 8
cmovae r8, qword [rsp + 0x68]
lea rdx, str._s_:_Exit
xor ecx, ecx
call fcn.14000972c
lea rcx, [rsp + 0x68]
call fcn.140007d04
mov eax, ebx
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.14004b180
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret