Function at 0x14000e84c
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rax - 0x328]
sub rsp, 0x400
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 0x20], rbx
mov rax, qword [0x140025328]
xor rax, rsp
mov qword [rbp + 0x2f0], rax
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
xor r14d, r14d
mov dword [rsp + 0x30], r14d
mov dword [rsp + 0x34], 4
mov qword [rbp + 0x1b8], r14
lea rax, [rbp + 0x1b0]
mov qword [rbp + 0x1c0], rax
mov qword [rbp + 0x1c8], r14
mov dword [rbp + 0x1d0], r14d
lea rax, [rbp + 0x210]
mov qword [rbp + 0x1d8], rax
lea rax, [rbp + 0x1e8]
mov qword [rbp + 0x1e0], rax
mov dword [rbp + 0x1e8], r14d
mov byte [rbp + 0x1ec], r14b
mov byte [rbp + 0x228], r14b
mov dword [rbp + 0x210], r14d
lea rax, [0x14001d5e8]
mov qword [rbp + 0x218], rax
mov qword [rbp + 0x220], r14
mov qword [rbp + 0x230], 1
mov qword [rbp + 0x2c8], r14
xor edx, edx
mov r8d, 0x90
lea rcx, [rbp + 0x238]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
xor eax, eax
mov qword [rbp + 0x2d0], rax
mov qword [rbp + 0x2d8], rax
mov qword [rbp + 0x2e0], r14
lea r15, [0x14001b328]
mov qword [rbp + 0x1b0], r15
lea rcx, [rbp + 0x1b0]
call fcn.140010cd0
nop
or dword [rbp + 0x84], 0xffffffff
mov qword [rbp + 0x70], rbx
lea rax, [0x140025c70]
mov qword [rbp + 0x78], rax
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcessId]
mov dword [rbp + 0x80], eax
mov rax, qword [rdi]
mov qword [rsp + 0x50], rax
mov rax, qword [rdi + 8]
mov qword [rsp + 0x58], rax
mov eax, dword [rdi + 0x10]
mov dword [rsp + 0x60], eax
mov eax, dword [rdi + 0x14]
mov dword [rsp + 0x64], eax
mov eax, dword [rdi + 0x18]
mov dword [rsp + 0x68], eax
xor edx, edx
mov r8d, 0x104
lea rcx, [rsp + 0x6c]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
lea rax, [rbp + 0x88]
lea rcx, [rsp + 0x50]
lea edx, [r14 + 2]
mov r8d, edx
lea r9d, [rdx + 0x7e]
movups xmm0, xmmword [rcx]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [rcx + 0x20]
movups xmmword [rax + 0x20], xmm0
movups xmm1, xmmword [rcx + 0x30]
movups xmmword [rax + 0x30], xmm1
movups xmm0, xmmword [rcx + 0x40]
movups xmmword [rax + 0x40], xmm0
movups xmm1, xmmword [rcx + 0x50]
movups xmmword [rax + 0x50], xmm1
movups xmm0, xmmword [rcx + 0x60]
movups xmmword [rax + 0x60], xmm0
add rax, r9
movups xmm1, xmmword [rcx + 0x70]
movups xmmword [rax - 0x10], xmm1
add rcx, r9
sub r8, 1
jne 0x14000e9d4
movups xmm0, xmmword [rcx]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rax + 0x10], xmm1
lea rbx, [rdi + 0x1c]
lea rcx, [rbp + 0xa4]
test rbx, rbx
je 0x14000eb38
movups xmm0, xmmword [rbx]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rbx + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rbx + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rbx + 0x40]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rbx + 0x50]
movups xmmword [rcx + 0x50], xmm1
movups xmm0, xmmword [rbx + 0x60]
movups xmmword [rcx + 0x60], xmm0
add rcx, r9
movups xmm1, xmmword [rbx + 0x70]
movups xmmword [rcx - 0x10], xmm1
add rbx, r9
sub rdx, 1
jne 0x14000ea40
mov al, byte [rbx]
mov byte [rcx], al
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionOctagon
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000eaf8
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.TelemetryIntervalOverride
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
mov ecx, dword [rbp + 0x84]
test eax, eax
cmove ecx, dword [rsp + 0x30]
mov dword [rbp + 0x84], ecx
mov rcx, qword [rsi]
mov rax, qword [rcx]
lea r8, [rbp + 0x70]
xor edx, edx
mov rax, qword [rax + 0x18]
call qword [case.0x14001920e.0]
mov ebx, eax
mov rcx, qword [rbp + 0x328]
test eax, eax
jns 0x14000eb28
mov r9d, eax
mov edx, 0xbd
call fcn.140011310
mov edx, ebx
lea rcx, [rbp + 0x1b0]
call fcn.14000984c
jmp 0x14000eb60
xor edx, edx
mov r8d, 0x101
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
test rbx, rbx
jne 0x14000eb5b
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__errno]
mov dword [rax], 0x16
call sub.api_ms_win_crt_private_l1_1_0.dll__o__invalid_parameter_noinfo
mov ebx, 0x80070016
mov qword [rbp + 0x1b0], r15
lea rcx, [rbp + 0x1b0]
call fcn.14000a5e8
lea rcx, [rbp + 0x1b0]
call fcn.14000a380
mov eax, ebx
mov rcx, qword [rbp + 0x2f0]
xor rcx, rsp
call fcn.140018a70
mov rbx, qword [rsp + 0x448]
add rsp, 0x400
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret