Function at 0x140009740
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x20]
sub rsp, 0x120
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [rsp + 0x160], rbx
mov rax, qword [0x1400e07b8]
xor rax, rsp
mov qword [rbp + 0x18], rax
mov rbx, rdx
mov r15, rcx
mov qword [rsp + 0x68], rcx
xor esi, esi
mov dword [rsp + 0x34], esi
mov qword [rcx], rsi
mov qword [rcx + 8], rsi
call fcn.140008160
mov qword [r15], rax
mov qword [rsp + 0x50], 7
mov qword [rsp + 0x48], rsi
mov word [rsp + 0x38], si
lea r8d, [rsi + 0xf]
lea rdx, str.DefaultLogLevel
lea rcx, [rsp + 0x38]
call fcn.1400317d0
nop
mov dword [rbp - 0x30], 4
lea rdx, [rsp + 0x38]
cmp qword [rsp + 0x50], 8
cmovae rdx, qword [rsp + 0x38]
lea rax, [rbp - 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x48]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x40]
xor r8d, r8d
mov rcx, qword [rbx]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140009806
mov ecx, 0x3bc6
cmp dword [rbp - 0x40], 4
cmovne eax, ecx
lea rdx, str.RegQueryValueEx
mov ecx, eax
call fcn.140019d10
mov eax, dword [rbp - 0x48]
mov dword [r15 + 0x10], eax
cmp qword [rsp + 0x50], 8
jb 0x14000982d
mov rcx, qword [rsp + 0x38]
call fcn.14006119c
mov qword [rsp + 0x50], 7
mov qword [rsp + 0x48], rsi
mov word [rsp + 0x38], si
mov r8d, 0xb
lea rdx, str.OriginRules
lea rcx, [rsp + 0x38]
call fcn.1400317d0
nop
lea r8, [rsp + 0x38]
lea rdx, [rbp - 0x28]
mov rcx, rbx
call fcn.140016620
nop
cmp qword [rsp + 0x50], 8
jb 0x14000987c
mov rcx, qword [rsp + 0x38]
call fcn.14006119c
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x28]
call fcn.1400090f0
nop
mov rdx, rax
lea rcx, [rbp - 0x18]
call fcn.140008890
nop
mov rdi, qword [rbp - 0x40]
mov rbx, qword [rdi]
cmp rbx, rbx
jne 0x14000990f
mov rbx, qword [rdi + 8]
mov r14, rbx
cmp byte [rbx + 0x19], 0
jne 0x1400098f6
mov rdx, qword [r14 + 0x10]
lea rcx, [rbp - 0x40]
call fcn.140009170
mov r14, qword [r14]
cmp qword [rbx + 0x38], 8
jb 0x1400098d0
mov rcx, qword [rbx + 0x20]
call fcn.14006119c
mov qword [rbx + 0x38], 7
mov qword [rbx + 0x30], rsi
mov word [rbx + 0x20], si
mov rcx, rbx
call fcn.14006119c
mov rbx, r14
cmp byte [r14 + 0x19], 0
je 0x1400098b0
mov rdi, qword [rbp - 0x40]
mov qword [rdi + 8], rdi
mov rax, qword [rbp - 0x40]
mov qword [rax], rax
mov rax, qword [rbp - 0x40]
mov qword [rax + 0x10], rax
mov qword [rbp - 0x38], rsi
jmp 0x140009978
cmp rbx, rdi
je 0x14000997c
mov r8, rbx
cmp byte [rbx + 0x19], 0
jne 0x140009966
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
jne 0x140009941
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x140009966
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x140009933
jmp 0x140009966
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x140009963
nop dword [rax + rax]
cmp rbx, qword [rax + 0x10]
jne 0x140009963
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x140009950
mov rbx, rax
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 0x40]
call fcn.140009200
cmp rbx, rdi
jne 0x140009914
mov rdi, qword [rbp - 0x40]
mov rcx, rdi
call fcn.14006119c
nop
mov rcx, qword [rbp - 0x18]
mov rax, qword [rcx]
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], rcx
mov bl, 1
mov byte [rsp + 0x30], bl
nop word [rax + rax]
test bl, bl
je 0x1400099b9
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x48]
call fcn.140016700
test al, al
jne 0x1400099b9
mov bl, 1
jmp 0x1400099bb
xor bl, bl
bt esi, 0x10
jae 0x1400099d3
btr esi, 0x10
mov dword [rsp + 0x34], esi
lea rcx, [rsp + 0x78]
call fcn.1400088b0
bt esi, 0xf
jae 0x1400099ea
btr esi, 0xf
mov dword [rsp + 0x34], esi
lea rcx, [rbp - 0x78]
call fcn.1400088b0
test bl, bl
je 0x140009ae1
lea rcx, [rsp + 0x30]
call fcn.140031df0
test al, al
jne 0x140009a7d
lea rcx, [rbp - 0x48]
call fcn.140016710
mov rdx, rax
lea rcx, [rbp - 8]
call fcn.140031690
nop
bt esi, 0x12
jae 0x140009a2e
btr esi, 0x12
mov dword [rsp + 0x34], esi
lea rcx, [rbp - 0x58]
call fcn.1400088b0
nop
bt esi, 0x11
jae 0x140009a45
btr esi, 0x11
mov dword [rsp + 0x34], esi
lea rcx, [rbp - 0x68]
call fcn.1400088b0
movzx ebx, byte [rsp + 0x30]
test bl, bl
jne 0x140009a72
lea rdx, [rbp - 8]
mov rcx, r15
call fcn.14001cf60
mov rbx, rax
lea rdx, [rbp - 8]
lea rcx, [rbp - 0x28]
call fcn.140019de0
mov dword [rbx], eax
mov bl, 1
mov byte [rsp + 0x30], bl
lea rcx, [rbp - 8]
call fcn.14001a020
jmp 0x140009a82
movzx ebx, byte [rsp + 0x30]
test bl, bl
je 0x140009a8f
lea rcx, [rbp - 0x48]
call fcn.1400166a0
bt esi, 0xe
jae 0x140009ac0
btr esi, 0xe
mov dword [rsp + 0x34], esi
mov r8, qword [rsp + 0x58]
mov r9, r8
mov r8, qword [r8]
lea rdx, [rbp - 0x30]
lea rcx, [rsp + 0x58]
call fcn.140009650
mov rcx, qword [rsp + 0x58]
call fcn.14006119c
bt esi, 0xd
jae 0x1400099a0
btr esi, 0xd
mov dword [rsp + 0x34], esi
lea rcx, [rsp + 0x38]
call fcn.1400088b0
jmp 0x1400099a0
lea rcx, [rbp - 0x18]
call fcn.1400088b0
nop
lea rcx, [rbp - 0x28]
call fcn.140016760
nop
mov rax, r15
mov rcx, qword [rbp + 0x18]
xor rcx, rsp
call fcn.140060a70
mov rbx, qword [rsp + 0x160]
add rsp, 0x120
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret