Function at 0x1400661fc
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x218]
sub rsp, 0x300
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1401411c8]
xor rax, rsp
mov qword [rbp + 0x1f0], rax
mov rbx, rcx
mov qword [rsp + 0x40], rcx
mov dword [rsp + 0x40], 0x4e
call qword [sym.imp.api_ms_win_downlevel_kernel32_l1_1_0.dll_GetProcessHeap]
mov rcx, rax
mov edx, 8
mov r8d, 0x1078
call qword [sym.imp.api_ms_win_downlevel_kernel32_l1_1_0.dll_HeapAlloc]
mov rsi, rax
mov qword [rsp + 0x50], rax
xor r14d, r14d
test rax, rax
jne 0x140066275
mov qword [rbx], r14
jmp 0x14006640c
mov rdi, rsi
xor eax, eax
mov ecx, 0x1078
rep stosb byte [rdi], al
mov dword [rsi], 0x1078
mov dword [rsi + 0x2c], 0x20000
mov dword [rsi + 0x74], 0x78
mov dword [rsi + 0x70], 0x878
mov edi, 0x208
mov r8d, edi
xor edx, edx
lea rcx, [rbp - 0x20]
call sub.msvcrt.dll_memset
mov qword [rsp + 0x20], r14
mov r9d, edi
lea r8, [rbp - 0x20]
lea rdx, str.SYSTEMCurrentControlSetControlWMIAutologger_
lea rcx, str.ETWAutoLoggerPath
call qword [sym.imp.api_ms_win_stateseparation_helpers_l1_1_0.dll_GetPersistedRegistryLocationW]
test eax, eax
jne 0x1400663f5
lea edi, [rax + 7]
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x68], r14
mov word [rsp + 0x58], r14w
cmp word [rbp - 0x20], r14w
jne 0x1400662f6
mov r8, r14
jmp 0x140066308
lea rax, [rbp - 0x20]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], r14w
jne 0x1400662fe
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x58]
call fcn.140007004
nop
mov r8, r14
cmp word [0x1400fa498], r14w
setne r8b
lea rdx, [0x1400fa498]
lea rcx, [rsp + 0x58]
call fcn.140008328
mov r8d, reloc.WS2_32.dll_ntohs
lea rdx, str.WebB_AutoLogger
lea rcx, [rsp + 0x58]
call fcn.140008328
lea rdx, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae rdx, qword [rsp + 0x58]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
mov r9d, 2
lea r8, str.Guid
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
test eax, eax
jne 0x1400663da
lea rdx, [rsp + 0x78]
lea rcx, [rbp - 0x70]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_IIDFromString]
test eax, eax
jns 0x1400663d0
mov qword [rbx], r14
cmp qword [rsp + 0x70], 8
jb 0x1400663be
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x68], r14
mov word [rsp + 0x58], r14w
jmp 0x1400663f8
movups xmm0, xmmword [rsp + 0x78]
movdqu xmmword [rsi + 0x18], xmm0
cmp qword [rsp + 0x70], 8
jb 0x1400663ed
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
mov qword [rbx], rsi
jmp 0x140066270
mov qword [rbx], r14
call qword [sym.imp.api_ms_win_downlevel_kernel32_l1_1_0.dll_GetProcessHeap]
mov r8, rsi
xor edx, edx
mov rcx, rax
call qword [sym.imp.api_ms_win_downlevel_kernel32_l1_1_0.dll_HeapFree]
mov rax, rbx
mov rcx, qword [rbp + 0x1f0]
xor rcx, rsp
call fcn.1400c20a0
lea r11, [rsp + 0x300]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret