Function at 0x140025948
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 [0x1401a5c21], 0
jne 0x1400259ab
mov ecx, dword [0x1401aad80]
lea r8d, [rcx + 2]
lea eax, [rcx + 1]
imul r8d, eax
imul r8d, ecx
mov eax, 0x6bca1af3
imul r8d
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0x13
sub r8d, edx
cmp r8d, 4
jne 0x1400259a0
dec dword [0x1401abe60]
mov al, byte [0x1401aad87]
jmp 0x140025cab
mov byte [0x1401a5c21], 0
lea rdx, str.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX0000000
lea rcx, [rbp - 0x50]
call fcn.140001f6c
nop
lea rdx, str.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
lea rcx, [rbp - 0x48]
call fcn.140001f6c
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.140018eb8
nop
or rsi, 0xffffffffffffffff
jmp 0x140025a3d
js 0x140025a4a
cmp word [rax], 0x30
jne 0x140025a55
lea r8d, [rcx - 1]
lea rdx, [rbp - 0x28]
lea rcx, [rbp + 0x38]
call fcn.140018eb8
nop
mov rdx, rax
lea rcx, [rbp + 0x38]
call fcn.140002038
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 0x140025a3d
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 0x1400259f8
jmp 0x140025a55
mov ecx, 0x80070057
call fcn.140001874
int3
mov rcx, qword [0x1401aced0]
test rcx, rcx
je 0x140025a67
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, str.SoftwareBrowserExten
lea rcx, [rbp - 0x38]
call fcn.140001f6c
nop
lea r8, str.sionsProxySettings_
mov rdx, rax
lea rcx, [rbp - 0x40]
call fcn.140019018
nop
lea r8, [rbp + 0x38]
mov rdx, rax
lea rcx, [rbp - 0x18]
call fcn.14000de60
nop
lea rcx, [0x1401aced0]
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 0x140025ae6
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 0x140025b05
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 0x140025b23
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test bl, bl
jne 0x140025c4a
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.140001f6c
nop
lea r8, str.alSettings
mov rdx, rax
lea rcx, [rbp - 0x30]
call fcn.140019018
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 [0x1401aced0]
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 0x140025bac
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 0x140025bca
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test bl, bl
je 0x140025c3b
mov r8d, dword [0x1401aad80]
lea ecx, [r8 + 1]
imul ecx, r8d
mov eax, 0x66666667
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*4]
shl eax, 2
sub ecx, eax
cmp ecx, 0x13
jne 0x140025c4a
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, 0x2f4
movsxd rcx, r8d
mov eax, 4
mul rcx
cmovo rax, rsi
mov rcx, rax
call fcn.1400bcf98
mov rcx, rax
call fcn.1400be048
jmp 0x140025c4a
cmp dword [rbp + 0x20], 0
setne bl
mov byte [0x1401aad87], bl
jmp 0x140025c4c
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 0x140025c6b
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 0x140025c8a
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 0x140025ca9
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