Function at 0x14000bbbc
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x1b8]
sub rsp, 0x290
mov rax, qword [0x140015508]
xor rax, rsp
mov qword [rbp + 0x180], rax
mov rcx, qword [0x1400179c8]
lea rax, [rsp + 0x68]
xor esi, esi
mov qword [rsp + 0x20], rax
mov r9d, 0x101
mov qword [rsp + 0x68], rsi
xor r8d, r8d
lea rdx, str.Sources
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
nop dword [rax + rax]
lea r14d, [rsi + 4]
lea rbx, str.TraceOutputSettings::ReadConfiguration_Locked
lea r12, str.comcomplusdtc_shared_trace_src_traceoutputsettings.cpp
lea r13d, [rsi + 2]
lea r15d, [rsi + 1]
test eax, eax
jne 0x14000bd5f
lea rbx, str.TRACE_MISC
lea edi, [rsi + 0x16]
mov rdx, qword [rbx]
lea rax, [rsp + 0x54]
mov rcx, qword [rsp + 0x68]
lea r9, [rsp + 0x58]
mov qword [rsp + 0x28], rax
xor r8d, r8d
lea rax, [rsp + 0x50]
mov dword [rsp + 0x58], esi
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x50], esi
mov dword [rsp + 0x54], r14d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExA]
nop dword [rax + rax]
mov ecx, eax
test eax, eax
jne 0x14000bcf7
cmp dword [rsp + 0x58], r14d
jne 0x14000bcf7
cmp dword [rsp + 0x54], r14d
jne 0x14000bcf7
cmp byte [0x1400179c0], sil
mov eax, dword [rsp + 0x50]
mov dword [rbx + 8], eax
je 0x14000bd38
mov dword [rsp + 0x40], eax
lea edx, [rcx + 3]
mov rax, qword [rbx]
mov r9d, 0x10b
mov qword [rsp + 0x38], rax
mov r8, r12
lea rax, str.Now_tracing__S_at_level__d
mov ecx, r13d
mov qword [rsp + 0x30], rax
lea rax, str.TraceOutputSettings::ReadConfiguration_Locked
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rax
call fcn.140001d18
jmp 0x14000bd38
cmp byte [0x1400179c0], sil
je 0x14000bd38
mov rax, qword [rbx]
mov r9d, 0x115
mov qword [rsp + 0x38], rax
mov r8, r12
lea rax, str.Unable_to_read_level_for_source__S
mov edx, r15d
mov qword [rsp + 0x30], rax
lea rax, str.TraceOutputSettings::ReadConfiguration_Locked
mov dword [rsp + 0x28], ecx
mov ecx, r13d
mov qword [rsp + 0x20], rax
call fcn.140001d18
add rbx, 0x18
sub rdi, r15
jne 0x14000bc53
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
lea rbx, str.TraceOutputSettings::ReadConfiguration_Locked
jmp 0x14000bd91
cmp byte [0x1400179c0], sil
je 0x14000bd91
lea rcx, str.Unable_to_open_sources_key
mov r9d, 0x120
mov qword [rsp + 0x30], rcx
mov r8, r12
mov dword [rsp + 0x28], eax
mov ecx, r13d
mov edx, r15d
mov qword [rsp + 0x20], rbx
call fcn.140001d18
mov rcx, qword [0x1400179c8]
lea rax, [rsp + 0x60]
mov r9d, 0x101
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov qword [rsp + 0x60], rsi
lea rdx, str.Output
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
nop dword [rax + rax]
test eax, eax
jne 0x14000c22b
mov rcx, qword [rsp + 0x60]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x54]
lea rax, [rsp + 0x70]
mov dword [rsp + 0x50], 0x20a
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.TraceFilePath
mov dword [rsp + 0x54], esi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
nop dword [rax + rax]
test eax, eax
jne 0x14000bf85
cmp dword [rsp + 0x54], r15d
jne 0x14000bf85
mov word [rbp + 0x178], si
lea rax, [rsp + 0x70]
or rbx, 0xffffffffffffffff
inc rbx
cmp word [rax + rbx*2], si
jne 0x14000be2e
lea rax, [rbx + 1]
cmp rax, r15
jbe 0x14000bf46
cmp word [rsp + rax*2 + 0x6e], 0x5c
cmovne rbx, rax
cmp rbx, r15
jbe 0x14000bf46
lea rdx, [rbx + rbx]
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_heap_l2_1_0.dll_LocalAlloc]
nop dword [rax + rax]
mov rdi, rax
test rax, rax
je 0x14000bf16
lea r8, [rsp + 0x70]
mov rdx, rbx
mov rcx, rax
call fcn.140001530
lea rcx, [0x1400153b0]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
nop dword [rax + rax]
mov rcx, qword [0x1400179e8]
call qword [sym.imp.api_ms_win_core_heap_l2_1_0.dll_LocalFree]
nop dword [rax + rax]
lea rcx, [0x1400153b0]
mov qword [0x1400179e8], rdi
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
nop dword [rax + rax]
cmp byte [0x1400179c0], sil
lea rbx, str.TraceOutputSettings::ReadConfiguration_Locked
je 0x14000bfbe
mov rax, qword [0x1400179e8]
mov r9d, 0x157
mov qword [rsp + 0x38], rax
mov r8, r12
lea rax, str.Using_new_trace_file_path:__s
mov edx, 3
mov qword [rsp + 0x30], rax
mov ecx, r13d
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rbx
call fcn.140001d18
jmp 0x14000bfbe
cmp byte [0x1400179c0], sil
lea rbx, str.TraceOutputSettings::ReadConfiguration_Locked
je 0x14000bfbe
lea rax, str.Unable_to_duplicate_trace_path
mov r9d, 0x160
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x8007000e
jmp 0x14000bf70
cmp byte [0x1400179c0], sil
lea rbx, str.TraceOutputSettings::ReadConfiguration_Locked
je 0x14000bfbe
lea rax, str.Ignoring_empty_string_trace_directory
mov r9d, 0x16a
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x80070057
mov r8, r12
mov qword [rsp + 0x20], rbx
mov edx, r15d
mov ecx, r13d
call fcn.140001d18
jmp 0x14000bfbe
cmp byte [0x1400179c0], sil
je 0x14000bfb7
lea rcx, str.Unable_to_read_trace_path
mov r9d, 0x172
mov qword [rsp + 0x30], rcx
mov r8, r12
mov dword [rsp + 0x28], eax
mov ecx, r13d
mov edx, r15d
mov qword [rsp + 0x20], rbx
call fcn.140001d18
lea rbx, str.TraceOutputSettings::ReadConfiguration_Locked
mov rcx, qword [rsp + 0x60]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x54]
lea rax, [rsp + 0x58]
mov dword [rsp + 0x50], r14d
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.MemoryBufferSize
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
nop dword [rax + rax]
test eax, eax
jne 0x14000c05c
cmp dword [rsp + 0x54], r14d
jne 0x14000c05c
cmp dword [rsp + 0x50], r14d
jne 0x14000c05c
mov eax, dword [rsp + 0x58]
mov ecx, 0xfffffff
cmp eax, ecx
cmova eax, ecx
cmp byte [0x1400179c0], sil
mov dword [rsp + 0x58], eax
mov dword [0x140015528], eax
je 0x14000c08e
mov dword [rsp + 0x38], eax
mov r9d, 0x18f
lea rax, str.Memory_buffer_size_is_now__d
mov r8, r12
mov qword [rsp + 0x30], rax
mov edx, 3
mov qword [rsp + 0x28], rsi
mov ecx, r13d
mov qword [rsp + 0x20], rbx
call fcn.140001d18
jmp 0x14000c08e
cmp byte [0x1400179c0], sil
je 0x14000c08e
lea rcx, str.Unable_to_read_memory_buffer_size
mov r9d, 0x198
mov qword [rsp + 0x30], rcx
mov r8, r12
mov dword [rsp + 0x28], eax
mov ecx, r13d
mov edx, r15d
mov qword [rsp + 0x20], rbx
call fcn.140001d18
mov rcx, qword [rsp + 0x60]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x54]
lea rax, [rsp + 0x58]
mov dword [rsp + 0x50], r14d
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.DebugOutEnabled
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
nop dword [rax + rax]
test eax, eax
jne 0x14000c121
cmp dword [rsp + 0x54], r14d
jne 0x14000c121
cmp dword [rsp + 0x50], r14d
jne 0x14000c121
mov eax, dword [rsp + 0x58]
test eax, eax
setne byte [0x1400179a4]
cmp byte [0x1400179c0], sil
je 0x14000c153
mov dword [rsp + 0x38], eax
mov r9d, 0x1ae
lea rax, str.Debug_out_enabled_is_now__d
mov r8, r12
mov qword [rsp + 0x30], rax
mov edx, 3
mov qword [rsp + 0x28], rsi
mov ecx, r13d
mov qword [rsp + 0x20], rbx
call fcn.140001d18
jmp 0x14000c153
cmp byte [0x1400179c0], sil
je 0x14000c153
lea rcx, str.Unable_to_read_debug_out_enabled
mov r9d, 0x1b7
mov qword [rsp + 0x30], rcx
mov r8, r12
mov dword [rsp + 0x28], eax
mov ecx, r13d
mov edx, r15d
mov qword [rsp + 0x20], rbx
call fcn.140001d18
mov rcx, qword [rsp + 0x60]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x54]
lea rax, [rsp + 0x58]
mov dword [rsp + 0x50], r14d
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.ImageNameInTraceFileNameEnabled
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
nop dword [rax + rax]
test eax, eax
jne 0x14000c1e6
cmp dword [rsp + 0x54], r14d
jne 0x14000c1e6
cmp dword [rsp + 0x50], r14d
jne 0x14000c1e6
mov eax, dword [rsp + 0x58]
test eax, eax
setne byte [0x1400179e0]
cmp byte [0x1400179c0], sil
je 0x14000c218
mov dword [rsp + 0x38], eax
mov r9d, 0x1cd
lea rax, str.Including_Image_Name_in_Trace_File_Name_is_now__d
mov r8, r12
mov qword [rsp + 0x30], rax
mov edx, 3
mov qword [rsp + 0x28], rsi
mov ecx, r13d
mov qword [rsp + 0x20], rbx
call fcn.140001d18
jmp 0x14000c218
cmp byte [0x1400179c0], sil
je 0x14000c218
lea rcx, str.Unable_to_read_Including_Image_Name_in_Trace_File_Name
mov r9d, 0x1d6
mov qword [rsp + 0x30], rcx
mov r8, r12
mov dword [rsp + 0x28], eax
mov ecx, r13d
mov edx, r15d
mov qword [rsp + 0x20], rbx
call fcn.140001d18
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
jmp 0x14000c25d
cmp byte [0x1400179c0], sil
je 0x14000c25d
lea rcx, str.Unable_to_open_output_key
mov r9d, 0x1e0
mov qword [rsp + 0x30], rcx
mov r8, r12
mov dword [rsp + 0x28], eax
mov ecx, r13d
mov edx, r15d
mov qword [rsp + 0x20], rbx
call fcn.140001d18
mov rcx, qword [rbp + 0x180]
xor rcx, rsp
call fcn.14000cd20
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret