Function at 0x140024c18
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 [0x1401a3c11], 0
jne 0x140024c42
mov al, byte [0x1401a8d87]
jmp 0x140024f35
mov byte [0x1401a3c11], 0
lea rdx, str.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX0000000
lea rcx, [rbp - 0x50]
call fcn.140001f2c
nop
lea rdx, str.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
lea rcx, [rbp - 0x48]
call fcn.140001f2c
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.140017a6c
nop
or esi, 0xffffffff
jmp 0x140024cd3
js 0x140024ce0
cmp word [rax], 0x30
jne 0x140024ceb
lea r8d, [rcx - 1]
lea rdx, [rbp - 0x28]
lea rcx, [rbp + 0x38]
call fcn.140017a6c
nop
mov rdx, rax
lea rcx, [rbp + 0x38]
call fcn.140001ff8
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 0x140024cd3
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 0x140024c8e
jmp 0x140024ceb
mov ecx, 0x80070057
call fcn.140001874
int3
mov rcx, qword [0x1401aae48]
test rcx, rcx
je 0x140024cfd
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, str.SoftwareBrowserExten
lea rcx, [rbp - 0x38]
call fcn.140001f2c
nop
lea r8, str.sionsProxySettings_
mov rdx, rax
lea rcx, [rbp - 0x40]
call fcn.140017bcc
nop
lea r8, [rbp + 0x38]
mov rdx, rax
lea rcx, [rbp - 0x18]
call fcn.14000d870
nop
lea rcx, [0x1401aae48]
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 0x140024d7c
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 0x140024d9b
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 0x140024db9
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test bl, bl
je 0x140024e22
mov ecx, dword [0x1401a8d80]
lea r8d, [rcx + 2]
lea eax, [rcx + 1]
imul r8d, eax
imul r8d, ecx
mov eax, 0x2aaaaaab
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
shl eax, 2
sub r8d, eax
cmp r8d, 1
jne 0x140024ec5
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r8d, eax
mov eax, 0xcccccccd
mul r8d
shr edx, 6
lea ecx, [rdx + rdx*4]
shl ecx, 4
sub r8d, ecx
lea eax, [r8 + 1]
mov dword [0x1401a8d80], eax
jmp 0x140024ec5
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.140001f2c
nop
lea r8, str.alSettings
mov rdx, rax
lea rcx, [rbp - 0x30]
call fcn.140017bcc
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 [0x1401aae48]
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 0x140024ea3
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 0x140024ec1
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test bl, bl
je 0x140024ec9
xor bl, bl
jmp 0x140024ed6
cmp dword [rbp + 0x20], 0
setne bl
mov byte [0x1401a8d87], 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 0x140024ef5
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 0x140024f14
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 0x140024f33
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