Function at 0x140014f5c
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 r14, rcx
movdqa xmm0, xmmword [0x14005a0b0]
movdqu xmmword [rsp + 0x78], xmm0
xor ebx, ebx
mov word [rsp + 0x68], bx
lea rdx, str._OneSettingsCustomClient__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, [r14 + 0x20]
lea rdx, [0x140054b30]
call fcn.140008078
lea rcx, [r14 + 0x40]
lea rdx, str.RUXIM
call fcn.140008078
lea rcx, [r14 + 0x60]
lea rdx, str.RUXIM
call fcn.140008078
lea rsi, [r14 + 0x80]
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionWindowsUpdateRUXIMOneSettingsSync
mov rcx, rsi
call fcn.140008078
mov qword [r14 + 0x1a0], 0xffffffff80000002
mov rcx, r14
call fcn.140017a20
mov edi, eax
test eax, eax
jns 0x140015045
mov r9d, eax
lea edx, [rbx + 0x62]
jmp 0x1400151e1
cmp qword [r14 + 0x30], rbx
je 0x1400151b9
cmp qword [r14 + 0x50], rbx
je 0x1400151b9
cmp qword [r14 + 0x70], rbx
je 0x1400151b9
mov rcx, qword [r14 + 0x1a0]
lea rax, [rcx + 0x7fffffff]
cmp rax, 1
jbe 0x140015081
mov edx, 0x333
jmp 0x1400151be
mov qword [rsp + 0x58], rbx
mov rdx, rsi
cmp qword [rsi + 0x18], 8
jb 0x140015093
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 0x1400150fe
mov rcx, qword [rbp + 0x1c8]
mov r9d, eax
lea r8, str.onecoreenduserwindowsupdate_ruximplugliblibonesettingscustomclient.cpp
mov edx, 0x335
call fcn.14000e238
mov edi, eax
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x140015116
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
jmp 0x140015116
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x140015114
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 0x1400151d9
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 0x14001513f
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 0x1400151a8
lea rcx, [rbp - 0x70]
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], bx
jne 0x140015186
test rax, rax
je 0x1400151a8
lea rdx, str._OneSettingsCustomClient__Reaching_out_to_custom_endpoint
xor ecx, ecx
call fcn.140009a7c
lea rdx, [rbp - 0x70]
jmp 0x1400151af
lea rdx, str.settings_win.data.microsoft.com
mov rcx, r14
call fcn.140008078
jmp 0x1400151f6
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.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