Function at 0x140014c0c
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 r14, rcx
movdqa xmm0, xmmword [0x14005a0c0]
movdqu xmmword [rsp + 0x78], xmm0
xor ebx, ebx
mov word [rsp + 0x68], bx
lea rdx, str._OneSettingsCustomClient__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, [r14 + 0x20]
lea rdx, [0x140054b10]
call fcn.140007e74
lea rcx, [r14 + 0x40]
lea rdx, str.RUXIM
call fcn.140007e74
lea rcx, [r14 + 0x60]
lea rdx, str.RUXIM
call fcn.140007e74
lea rsi, [r14 + 0x80]
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionWindowsUpdateRUXIMOneSettingsSync
mov rcx, rsi
call fcn.140007e74
mov qword [r14 + 0x1a0], 0xffffffff80000002
mov rcx, r14
call fcn.1400176d0
mov edi, eax
test eax, eax
jns 0x140014cf5
mov r9d, eax
lea edx, [rbx + 0x62]
jmp 0x140014e91
cmp qword [r14 + 0x30], rbx
je 0x140014e69
cmp qword [r14 + 0x50], rbx
je 0x140014e69
cmp qword [r14 + 0x70], rbx
je 0x140014e69
mov rcx, qword [r14 + 0x1a0]
lea rax, [rcx + 0x7fffffff]
cmp rax, 1
jbe 0x140014d31
mov edx, 0x333
jmp 0x140014e6e
mov qword [rsp + 0x58], rbx
mov rdx, rsi
cmp qword [rsi + 0x18], 8
jb 0x140014d43
mov rdx, qword [rsi]
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 0x140014dae
mov rcx, qword [rbp + 0x1c8]
mov r9d, eax
lea r8, str.onecoreenduserwindowsupdate_ruximplugliblibonesettingscustomclient.cpp
mov edx, 0x335
call fcn.14000dee8
mov edi, eax
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x140014dc6
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
jmp 0x140014dc6
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x140014dc4
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 0x140014e89
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 [rsi + 0x18], 8
jb 0x140014def
mov rsi, qword [rsi]
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, rsi
mov rcx, qword [r14 + 0x1a0]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
test eax, eax
jne 0x140014e58
lea rcx, [rbp - 0x70]
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], bx
jne 0x140014e36
test rax, rax
je 0x140014e58
lea rdx, str._OneSettingsCustomClient__Reaching_out_to_custom_endpoint
xor ecx, ecx
call fcn.14000972c
lea rdx, [rbp - 0x70]
jmp 0x140014e5f
lea rdx, str.settings_win.data.microsoft.com
mov rcx, r14
call fcn.140007e74
jmp 0x140014ea6
mov edx, 0x332
mov edi, 0x81333201
mov r9d, edi
lea r8, str.onecoreenduserwindowsupdate_ruximplugliblibonesettingscustomclient.cpp
mov rcx, qword [rbp + 0x1c8]
call fcn.140003c18
mov r9d, edi
mov edx, 0x63
lea r8, str.onecoreenduserwindowsupdate_ruximplugliblibonesettingscustomclient.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