Function at 0x140020b20
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 [0x140187c21], 0
jne 0x140020b7e
mov eax, dword [0x14018cd80]
lea ecx, [rax + 1]
imul ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0xe
sub ecx, edx
cmp ecx, 0xb
jne 0x140020b73
call fcn.1400b1650
mov dword [0x14018cd80], eax
mov al, byte [0x14018cd87]
jmp 0x140020e10
mov byte [0x140187c21], 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.1400168f8
nop
or esi, 0xffffffff
jmp 0x140020c0f
js 0x140020c1c
cmp word [rax], 0x30
jne 0x140020c27
lea r8d, [rcx - 1]
lea rdx, [rbp - 0x28]
lea rcx, [rbp + 0x38]
call fcn.1400168f8
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 0x140020c0f
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 0x140020bca
jmp 0x140020c27
mov ecx, 0x80070057
call fcn.140001874
int3
mov rcx, qword [0x14018d810]
test rcx, rcx
je 0x140020c39
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.140016a58
nop
lea r8, [rbp + 0x38]
mov rdx, rax
lea rcx, [rbp - 0x18]
call fcn.14000cfa0
nop
lea rcx, [0x14018d810]
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 0x140020cb8
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 0x140020cd7
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 0x140020cf5
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test bl, bl
jne 0x140020daf
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.140016a58
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 [0x14018d810]
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 0x140020d7e
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 0x140020d9c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test bl, bl
jne 0x140020daf
cmp dword [rbp + 0x20], 0
setne bl
mov byte [0x14018cd87], bl
jmp 0x140020db1
xor bl, 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 0x140020dd0
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 0x140020def
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 0x140020e0e
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