Function at 0x140029f90
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0x88
mov qword [rbp + 7], 0xfffffffffffffffe
cmp byte [0x1401bec11], 0
jne 0x140029fc6
movzx eax, byte [0x1401c3d87]
jmp 0x14002a49c
mov byte [0x1401bec11], 0
lea rcx, [0x1401bb9a8]
mov rax, qword [0x1401bb9a8]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x39], rax
lea rdx, str.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX0000000
test rdx, 0xffffffffffff0000
jne 0x14002a016
movzx ebx, dx
mov ecx, ebx
call fcn.1400019e0
test rax, rax
je 0x14002a026
mov r8d, ebx
mov rdx, rax
lea rcx, [rbp - 0x39]
call fcn.1400025b0
jmp 0x14002a026
mov r8d, 0x27
lea rcx, [rbp - 0x39]
call fcn.1400022c0
nop
lea rcx, [0x1401bb9a8]
mov rax, qword [0x1401bb9a8]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x21], rax
lea rdx, str.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
test rdx, 0xffffffffffff0000
jne 0x14002a06f
movzx ebx, dx
mov ecx, ebx
call fcn.1400019e0
test rax, rax
je 0x14002a07f
mov r8d, ebx
mov rdx, rax
lea rcx, [rbp - 0x21]
call fcn.1400025b0
jmp 0x14002a07f
mov r8d, 0x20
lea rcx, [rbp - 0x21]
call fcn.1400022c0
nop
mov rax, qword [rbp - 0x39]
mov r8d, dword [rax - 0x10]
mov rax, qword [rbp - 0x21]
sub r8d, dword [rax - 0x10]
lea rdx, [rbp + 0x7f]
lea rcx, [rbp - 0x39]
call fcn.14001a500
nop
xor r13d, r13d
mov rax, qword [rbp + 0x7f]
mov ecx, dword [rax - 0x10]
test ecx, ecx
je 0x14002a250
js 0x14002a245
cmp word [rax], 0x30
jne 0x14002a250
lea r8d, [rcx - 1]
lea rdx, [rbp - 0x19]
lea rcx, [rbp + 0x7f]
call fcn.14001a500
nop
mov r14, qword [rax]
lea rdx, [r14 - 0x18]
mov rcx, qword [rbp + 0x7f]
lea rbx, [rcx - 0x18]
cmp rdx, rbx
je 0x14002a1f8
cmp dword [rbx + 0x10], 0
jl 0x14002a123
mov rax, qword [rbx]
cmp qword [rdx], rax
jne 0x14002a123
mov rcx, rdx
call fcn.140002410
mov rdi, rax
lock add dword [rbx + 0x10], 0xffffffff
jg 0x14002a116
mov rcx, qword [rbx]
mov r8, qword [rcx]
mov rdx, rbx
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
lea rax, [rdi + 0x18]
mov qword [rbp + 0x7f], rax
jmp 0x14002a1f8
movsxd rdi, dword [r14 - 0x10]
test edi, edi
jne 0x14002a17f
mov rdi, qword [rbx]
cmp dword [rbx + 8], 0
je 0x14002a1f8
cmp dword [rbx + 0x10], 0
jge 0x14002a159
cmp dword [rcx - 0xc], 0
jl 0x14002a219
mov dword [rcx - 0x10], r13d
mov rax, qword [rbp + 0x7f]
mov word [rax], r13w
jmp 0x14002a1f8
lock add dword [rbx + 0x10], 0xffffffff
jg 0x14002a16c
mov rcx, qword [rbx]
mov rax, qword [rcx]
mov rdx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp + 0x7f], rax
jmp 0x14002a1f8
test r14, r14
je 0x14002a23a
mov r12d, dword [rcx - 0x10]
mov rsi, r14
sub rsi, rcx
sar rsi, 1
test edi, edi
js 0x14002a22f
mov edx, 1
sub edx, dword [rbx + 0x10]
mov eax, dword [rbx + 0xc]
sub eax, edi
or eax, edx
jge 0x14002a1bd
mov edx, edi
lea rcx, [rbp + 0x7f]
call fcn.1400023b0
mov rcx, qword [rbp + 0x7f]
lea rbx, [rdi + rdi]
movsxd rdx, dword [rcx - 0xc]
mov r9, rbx
add rdx, rdx
cmp rsi, r12
ja 0x14002a1db
lea r8, [rcx + rsi*2]
call fcn.1400ce2e4
jmp 0x14002a1e3
mov r8, r14
call fcn.1400ce4a4
mov rax, qword [rbp + 0x7f]
cmp edi, dword [rax - 0xc]
jg 0x14002a224
mov dword [rax - 0x10], edi
mov rax, qword [rbp + 0x7f]
mov word [rbx + rax], r13w
mov rdx, qword [rbp - 0x19]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14002a0a0
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x14002a0a0
mov ecx, 0x80070057
call fcn.140001920
int3
mov ecx, 0x80070057
call fcn.140001920
int3
mov ecx, 0x80070057
call fcn.140001920
int3
mov ecx, 0x80070057
call fcn.140001920
nop
mov ecx, 0x80070057
call fcn.140001920
int3
mov rcx, qword [0x1401c5900]
test rcx, rcx
je 0x14002a262
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [0x1401bb9a8]
mov rax, qword [0x1401bb9a8]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x31], rax
lea rdx, str.SoftwareBrowserExten
test rdx, 0xffffffffffff0000
jne 0x14002a2ab
movzx ebx, dx
mov ecx, ebx
call fcn.1400019e0
test rax, rax
je 0x14002a2bb
mov r8d, ebx
mov rdx, rax
lea rcx, [rbp - 0x31]
call fcn.1400025b0
jmp 0x14002a2bb
mov r8d, 0x15
lea rcx, [rbp - 0x31]
call fcn.1400022c0
nop
lea r8, str.sionsProxySettings_
lea rdx, [rbp - 0x31]
lea rcx, [rbp - 0x11]
call fcn.14001a660
nop
lea r8, [rbp + 0x7f]
mov rdx, rax
lea rcx, [rbp - 1]
call fcn.14000fc80
nop
lea rcx, [0x1401c5900]
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 - 1]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14002a324
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x11]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14002a33d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x31]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14002a355
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test bl, bl
jne 0x14002a44c
mov dword [rbp + 0x77], r13d
mov dword [rbp + 0x67], r13d
mov dword [rbp + 0x6f], 4
lea rcx, [0x1401bb9a8]
mov rax, qword [0x1401bb9a8]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x29], rax
lea rdx, str.UseLoc
test rdx, 0xffffffffffff0000
jne 0x14002a3b5
movzx ebx, dx
mov ecx, ebx
call fcn.1400019e0
test rax, rax
je 0x14002a3c5
mov r8d, ebx
mov rdx, rax
lea rcx, [rbp - 0x29]
call fcn.1400025b0
jmp 0x14002a3c5
mov r8d, 6
lea rcx, [rbp - 0x29]
call fcn.1400022c0
nop
lea r8, str.alSettings
lea rdx, [rbp - 0x29]
lea rcx, [rbp - 9]
call fcn.14001a660
nop
lea rcx, [rbp + 0x6f]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp + 0x67]
mov qword [rsp + 0x20], rcx
lea r9, [rbp + 0x77]
xor r8d, r8d
mov rdx, qword [rax]
mov rcx, qword [0x1401c5900]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
setne bl
mov rdx, qword [rbp - 9]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14002a421
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x29]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14002a439
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test bl, bl
jne 0x14002a44c
cmp dword [rbp + 0x67], 0
setne bl
mov byte [0x1401c3d87], bl
jmp 0x14002a44e
xor bl, bl
mov rdx, qword [rbp + 0x7f]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14002a467
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x21]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14002a480
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rax, qword [rbp - 0x39]
lea rdx, [rax - 0x18]
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14002a499
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
movzx eax, bl
add rsp, 0x88
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret