Function at 0x140023348
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
mov rbp, rsp
sub rsp, 0x80
mov qword [rbp - 0x10], 0xfffffffffffffffe
cmp byte [0x14019ac21], 0
jne 0x140023372
mov al, byte [0x14019fd87]
jmp 0x140023671
mov byte [0x14019ac21], 0
lea rdx, str.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX0000000
lea rcx, [rbp - 0x50]
call fcn.140001cb0
nop
lea rdx, str.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
lea rcx, [rbp - 0x48]
call fcn.140001cb0
nop
mov rax, qword [rbp - 0x50]
mov r8d, dword [rax - 0x10]
mov rax, qword [rbp - 0x48]
sub r8d, dword [rax - 0x10]
lea rdx, [rbp + 0x38]
lea rcx, [rbp - 0x50]
call fcn.140017318
nop
or rsi, 0xffffffffffffffff
jmp 0x140023404
js 0x140023411
cmp word [rax], 0x30
jne 0x14002341c
lea r8d, [rcx - 1]
lea rdx, [rbp - 0x28]
lea rcx, [rbp + 0x38]
call fcn.140017318
nop
mov rdx, rax
lea rcx, [rbp + 0x38]
call fcn.140001d7c
nop
mov rdx, qword [rbp - 0x28]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, esi
test eax, eax
jg 0x140023404
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rbp + 0x38]
mov ecx, dword [rax - 0x10]
test ecx, ecx
jne 0x1400233bf
jmp 0x14002341c
mov ecx, 0x80070057
call fcn.140001874
int3
mov rcx, qword [0x1401a1688]
test rcx, rcx
je 0x14002342e
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, str.SoftwareBrowserExten
lea rcx, [rbp - 0x38]
call fcn.140001cb0
nop
lea r8, str.sionsProxySettings_
mov rdx, rax
lea rcx, [rbp - 0x40]
call fcn.140017478
nop
lea r8, [rbp + 0x38]
mov rdx, rax
lea rcx, [rbp - 0x18]
call fcn.14000d514
nop
lea rcx, [0x1401a1688]
mov qword [rsp + 0x20], rcx
mov r9d, 0x20019
xor r8d, r8d
mov rdx, qword [rax]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
setne bl
mov rdx, qword [rbp - 0x18]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, esi
test eax, eax
jg 0x1400234ad
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x40]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, esi
test eax, eax
jg 0x1400234cc
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x38]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, esi
test eax, eax
jg 0x1400234ea
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test bl, bl
je 0x14002355e
mov r8d, dword [0x14019fd80]
lea ecx, [r8 + 1]
imul ecx, r8d
mov eax, 0xb21642c9
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0x17
sub ecx, edx
cmp ecx, 4
jne 0x140023601
mov eax, 0x51eb851f
imul r8d
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
imul edx, edx, 0x64
sub r8d, edx
add r8d, 0x63
movsxd rcx, r8d
mov eax, 4
mul rcx
cmovo rax, rsi
mov rcx, rax
call fcn.1400b8688
mov rcx, rax
call fcn.1400ba0bc
jmp 0x140023601
and dword [rbp + 0x30], 0
and dword [rbp + 0x20], 0
mov dword [rbp + 0x28], 4
lea rdx, str.UseLoc
lea rcx, [rbp - 0x20]
call fcn.140001cb0
nop
lea r8, str.alSettings
mov rdx, rax
lea rcx, [rbp - 0x30]
call fcn.140017478
nop
lea rcx, [rbp + 0x28]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp + 0x20]
mov qword [rsp + 0x20], rcx
lea r9, [rbp + 0x30]
xor r8d, r8d
mov rdx, qword [rax]
mov rcx, qword [0x1401a1688]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
setne bl
mov rdx, qword [rbp - 0x30]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, esi
test eax, eax
jg 0x1400235df
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x20]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, esi
test eax, eax
jg 0x1400235fd
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test bl, bl
je 0x140023605
xor bl, bl
jmp 0x140023612
cmp dword [rbp + 0x20], 0
setne bl
mov byte [0x14019fd87], bl
mov rdx, qword [rbp + 0x38]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, esi
test eax, eax
jg 0x140023631
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x48]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, esi
test eax, eax
jg 0x140023650
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rax, qword [rbp - 0x50]
lea rdx, [rax - 0x18]
mov ecx, esi
lock xadd dword [rdx + 0x10], ecx
add ecx, esi
test ecx, ecx
jg 0x14002366f
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov al, bl
add rsp, 0x80
pop rsi
pop rbx
pop rbp
ret