Function at 0x140008d40
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], r9
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x1c8]
sub rsp, 0x2a0
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov rsi, r8
mov r15, rdx
mov r14, rcx
lea rdx, str.MinLogLevel
lea rcx, [rsp + 0x78]
call fcn.1400065b0
nop
lea rcx, [rsp + 0x50]
call fcn.140006930
lea rcx, [rsp + 0x50]
call fcn.140006c00
mov qword [rax], 7
lea rcx, [rsp + 0x50]
call fcn.140006920
xor r12d, r12d
mov word [rbp + 0x1e8], r12w
mov qword [rax + 0x10], r12
cmp qword [rax + 0x18], 8
jb 0x140008dc7
mov rax, qword [rax]
lea rdx, [rbp + 0x1e8]
mov rcx, rax
call fcn.1400044f0
nop
or rbx, 0xffffffffffffffff
test rsi, rsi
je 0x140008e74
lea rcx, [rsp + 0x78]
call fcn.140006920
mov rdi, rax
cmp qword [rax + 0x18], 8
jb 0x140008dfb
mov rdi, qword [rax]
xor edx, edx
mov r8d, 0x200
lea rcx, [rbp - 0x60]
call fcn.1401d5b10
mov dword [rbp + 0x1e0], 0x100
mov dword [rbp + 0x1e8], r12d
lea rax, [rbp + 0x1e0]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x1e8]
xor r8d, r8d
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140008e74
cmp dword [rbp + 0x1e8], 1
jne 0x140008e74
lea rax, [rbp - 0x60]
mov r8, rbx
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140008e60
test r8, r8
jne 0x140008f05
test r15, r15
je 0x140008f3c
lea rcx, [rsp + 0x78]
call fcn.140006920
mov rdi, rax
cmp qword [rax + 0x18], 8
jb 0x140008e94
mov rdi, qword [rax]
xor edx, edx
mov r8d, 0x200
lea rcx, [rbp - 0x60]
call fcn.1401d5b10
mov dword [rbp + 0x1e0], 0x100
mov dword [rbp + 0x1e8], r12d
lea rax, [rbp + 0x1e0]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x1e8]
xor r8d, r8d
mov rdx, rdi
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140008f3c
cmp dword [rbp + 0x1e8], 1
jne 0x140008f3c
lea rax, [rbp - 0x60]
mov r8, rbx
inc r8
cmp word [rax + r8*2], 0
jne 0x140008ef5
test r8, r8
je 0x140008f3c
cmp word [rbp - 0x60], 0
cmove r8, r12
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x50]
call fcn.1400069c0
lea rcx, [rsp + 0x50]
call fcn.140006920
cmp qword [rax + 0x18], 8
jb 0x140008f30
mov rax, qword [rax]
mov rcx, rax
call fcn.140008820
mov dword [r14 + 8], eax
lea rcx, [rsp + 0x30]
call fcn.140006930
lea rcx, [rsp + 0x30]
call fcn.140006c00
mov qword [rax], 7
lea rcx, [rsp + 0x30]
call fcn.140006920
mov word [rbp + 0x1e8], r12w
mov qword [rax + 0x10], r12
cmp qword [rax + 0x18], 8
jb 0x140008f77
mov rax, qword [rax]
lea rdx, [rbp + 0x1e8]
mov rcx, rax
call fcn.1400044f0
nop
test rsi, rsi
je 0x140009013
xor edx, edx
mov r8d, 0x200
lea rcx, [rbp - 0x60]
call fcn.1401d5b10
mov dword [rbp + 0x1e0], 0x100
mov dword [rbp + 0x1e8], r12d
lea rax, [rbp + 0x1e0]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x1e8]
xor r8d, r8d
lea rdx, str.MaxLogLevel
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140009013
cmp dword [rbp + 0x1e8], 1
jne 0x140009013
lea rax, [rbp - 0x60]
mov r8, rbx
inc r8
cmp word [rax + r8*2], 0
jne 0x140008ff5
test r8, r8
je 0x140009013
cmp word [rbp - 0x60], 0
cmove r8, r12
jmp 0x14000909b
test r15, r15
je 0x1400090c9
xor edx, edx
mov r8d, 0x200
lea rcx, [rbp - 0x60]
call fcn.1401d5b10
mov dword [rbp + 0x1e0], 0x100
mov dword [rbp + 0x1e8], r12d
lea rax, [rbp + 0x1e0]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x1e8]
xor r8d, r8d
lea rdx, str.MaxLogLevel
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400090c9
cmp dword [rbp + 0x1e8], 1
jne 0x1400090c9
lea rax, [rbp - 0x60]
nop
inc rbx
cmp word [rax + rbx*2], 0
jne 0x140009080
test rbx, rbx
je 0x1400090c9
cmp word [rbp - 0x60], 0
cmove rbx, r12
mov r8, rbx
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x30]
call fcn.1400069c0
lea rcx, [rsp + 0x30]
call fcn.140006920
cmp qword [rax + 0x18], 8
jb 0x1400090bd
mov rax, qword [rax]
mov rcx, rax
call fcn.140008820
mov dword [r14 + 0xc], eax
lea rcx, [rsp + 0x30]
call fcn.140006560
nop
lea rcx, [rsp + 0x50]
call fcn.140006560
nop
lea rcx, [rsp + 0x78]
call fcn.140006560
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret