Function at 0x1400130d4
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x1d8]
sub rsp, 0x2b0
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x14005e0f0]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
mov rdi, rcx
movdqa xmm0, xmmword [0x14004da30]
movdqu xmmword [rsp + 0x78], xmm0
xor r13d, r13d
mov word [rsp + 0x68], r13w
lea rdx, str._OneSettings__Initialize
lea rcx, [rsp + 0x68]
call fcn.1400082d4
lea r8, [rsp + 0x68]
cmp qword [rbp - 0x80], 8
cmovae r8, qword [rsp + 0x68]
lea rdx, str._s_:_Init
xor ecx, ecx
call fcn.140009b0c
nop
lea rdx, [0x14004a350]
lea rcx, [rdi + 8]
call fcn.140011c08
lea rdx, str.RUXIM
lea rcx, [rdi + 0x10]
call fcn.140011c08
lea rdx, str.RUXIM
lea rcx, [rdi + 0x18]
call fcn.140011c08
lea rsi, [rdi + 0x20]
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionWindowsUpdateRUXIMOneSettingsSync
mov rcx, rsi
call fcn.140011c08
mov qword [rdi + 0x68], 0xffffffff80000002
mov rcx, rdi
call fcn.140015898
mov ebx, eax
test eax, eax
jns 0x1400131c3
mov r9d, eax
lea edx, [r13 + 0x64]
jmp 0x140013303
mov ebx, r13d
cmp byte [0x14005e9a4], 1
je 0x140013278
cmp qword [rdi + 8], r13
je 0x1400132f6
cmp qword [rdi + 0x10], r13
je 0x1400132f6
cmp qword [rdi + 0x18], r13
je 0x1400132f6
mov rcx, qword [rdi + 0x68]
lea rax, [rcx + 0x7fffffff]
cmp rax, 1
ja 0x1400132f6
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x40], r13
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsi]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCreateKeyExW]
nop dword [rax + rax]
test eax, eax
je 0x140013253
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x140013269
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
test ebx, ebx
js 0x1400132fb
mov byte [0x14005e9a4], 1
mov ebx, 0x208
mov r8d, ebx
xor edx, edx
lea rcx, [rbp - 0x70]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov dword [rsp + 0x50], ebx
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r13
mov r9d, 2
lea r8, str.Endpoint
mov rdx, qword [rsi]
mov rcx, qword [rdi + 0x68]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
test eax, eax
jne 0x140013318
lea rcx, [rbp - 0x70]
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], r13w
jne 0x1400132d3
test rax, rax
je 0x140013318
lea rdx, str._OneSettings__Reaching_out_to_custom_endpoint
xor ecx, ecx
call fcn.140009b0c
lea rdx, [rbp - 0x70]
jmp 0x14001331f
mov ebx, 0x80070057
mov r9d, ebx
mov edx, 0x65
lea r8, str.onecoreenduserwindowsupdate_ruxim_ruximliblibonesettings.cpp
mov rcx, qword [rbp + 0x1d8]
call fcn.140003b08
jmp 0x14001332a
lea rdx, str.settings_win.data.microsoft.com
mov rcx, rdi
call fcn.140011c08
mov ebx, r13d
lea r8, [rsp + 0x68]
cmp qword [rbp - 0x80], 8
cmovae r8, qword [rsp + 0x68]
lea rdx, str._s_:_Exit
xor ecx, ecx
call fcn.140009b0c
lea rcx, [rsp + 0x68]
call fcn.140008164
mov eax, ebx
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.140041d90
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret