Function at 0x14001a170
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 [0x14006c0f0]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
mov rsi, rcx
movdqa xmm0, xmmword [0x14005a0b0]
movdqu xmmword [rsp + 0x78], xmm0
xor ebx, ebx
mov word [rsp + 0x68], bx
lea rdx, str._OneSettings__Initialize
lea rcx, [rsp + 0x68]
call fcn.140008078
lea r8, [rsp + 0x68]
cmp qword [rbp - 0x80], 8
cmovae r8, qword [rsp + 0x68]
lea rdx, str._s_:_Init
xor ecx, ecx
call fcn.140009a7c
nop
lea rcx, [rsi + 0x20]
lea rdx, [0x140054b30]
call fcn.140008078
lea rcx, [rsi + 0x40]
lea rdx, str.RUXIM
call fcn.140008078
lea rcx, [rsi + 0x60]
lea rdx, str.RUXIM
call fcn.140008078
lea r14, [rsi + 0x80]
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionWindowsUpdatePLUGOneSettingsSync
mov rcx, r14
call fcn.140008078
mov qword [rsi + 0x1a8], 0xffffffff80000002
mov rcx, rsi
call fcn.14001c078
mov edi, eax
test eax, eax
jns 0x14001a259
mov r9d, eax
lea edx, [rbx + 0x60]
jmp 0x14001a404
cmp qword [rsi + 0x30], rbx
je 0x14001a3dc
cmp qword [rsi + 0x50], rbx
je 0x14001a3dc
cmp qword [rsi + 0x70], rbx
je 0x14001a3dc
mov rcx, qword [rsi + 0x1a8]
lea rax, [rcx + 0x7fffffff]
cmp rax, 1
jbe 0x14001a295
mov edx, 0x266
jmp 0x14001a3e1
mov qword [rsp + 0x58], rbx
mov rdx, r14
cmp qword [r14 + 0x18], 8
jb 0x14001a2a7
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 0x14001a312
mov rcx, qword [rbp + 0x1c8]
mov r9d, eax
lea r8, str.onecoreenduserwindowsupdate_ruximplugliblibonesettings.cpp
mov edx, 0x268
call fcn.14000e238
mov edi, eax
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14001a32a
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
jmp 0x14001a32a
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14001a328
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 0x14001a3fc
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 0x14001a353
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 0x14001a3cb
lea rcx, [rbp - 0x70]
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], bx
jne 0x14001a39a
test rax, rax
je 0x14001a3cb
lea rdx, str._OneSettings__Reaching_out_to_custom_endpoint
xor ecx, ecx
call fcn.140009a7c
lea rdx, [rbp - 0x70]
mov rcx, rsi
call fcn.140008078
mov byte [rsi + 0x1a0], 1
jmp 0x14001a419
lea rdx, str.settings_win.data.microsoft.com
mov rcx, rsi
call fcn.140008078
jmp 0x14001a419
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.140009a7c
lea rcx, [rsp + 0x68]
call fcn.140007e78
mov eax, ebx
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.14004b4d0
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret