Function at 0x14002d590
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 [0x1401c6c11], 0
jne 0x14002d5c6
movzx eax, byte [0x1401cbd87]
jmp 0x14002da9c
mov byte [0x1401c6c11], 0
lea rcx, [0x1401c39a8]
mov rax, qword [0x1401c39a8]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x39], rax
lea rdx, str.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX0000000
test rdx, 0xffffffffffff0000
jne 0x14002d616
movzx ebx, dx
mov ecx, ebx
call fcn.1400019e0
test rax, rax
je 0x14002d626
mov r8d, ebx
mov rdx, rax
lea rcx, [rbp - 0x39]
call fcn.1400025b0
jmp 0x14002d626
mov r8d, 0x27
lea rcx, [rbp - 0x39]
call fcn.1400022c0
nop
lea rcx, [0x1401c39a8]
mov rax, qword [0x1401c39a8]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x21], rax
lea rdx, str.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
test rdx, 0xffffffffffff0000
jne 0x14002d66f
movzx ebx, dx
mov ecx, ebx
call fcn.1400019e0
test rax, rax
je 0x14002d67f
mov r8d, ebx
mov rdx, rax
lea rcx, [rbp - 0x21]
call fcn.1400025b0
jmp 0x14002d67f
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.14001c7d0
nop
xor r13d, r13d
mov rax, qword [rbp + 0x7f]
mov ecx, dword [rax - 0x10]
test ecx, ecx
je 0x14002d850
js 0x14002d845
cmp word [rax], 0x30
jne 0x14002d850
lea r8d, [rcx - 1]
lea rdx, [rbp - 0x19]
lea rcx, [rbp + 0x7f]
call fcn.14001c7d0
nop
mov r14, qword [rax]
lea rdx, [r14 - 0x18]
mov rcx, qword [rbp + 0x7f]
lea rbx, [rcx - 0x18]
cmp rdx, rbx
je 0x14002d7f8
cmp dword [rbx + 0x10], 0
jl 0x14002d723
mov rax, qword [rbx]
cmp qword [rdx], rax
jne 0x14002d723
mov rcx, rdx
call fcn.140002410
mov rdi, rax
lock add dword [rbx + 0x10], 0xffffffff
jg 0x14002d716
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 0x14002d7f8
movsxd rdi, dword [r14 - 0x10]
test edi, edi
jne 0x14002d77f
mov rdi, qword [rbx]
cmp dword [rbx + 8], 0
je 0x14002d7f8
cmp dword [rbx + 0x10], 0
jge 0x14002d759
cmp dword [rcx - 0xc], 0
jl 0x14002d819
mov dword [rcx - 0x10], r13d
mov rax, qword [rbp + 0x7f]
mov word [rax], r13w
jmp 0x14002d7f8
lock add dword [rbx + 0x10], 0xffffffff
jg 0x14002d76c
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 0x14002d7f8
test r14, r14
je 0x14002d83a
mov r12d, dword [rcx - 0x10]
mov rsi, r14
sub rsi, rcx
sar rsi, 1
test edi, edi
js 0x14002d82f
mov edx, 1
sub edx, dword [rbx + 0x10]
mov eax, dword [rbx + 0xc]
sub eax, edi
or eax, edx
jge 0x14002d7bd
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 0x14002d7db
lea r8, [rcx + rsi*2]
call fcn.1400d1ea4
jmp 0x14002d7e3
mov r8, r14
call fcn.1400d2064
mov rax, qword [rbp + 0x7f]
cmp edi, dword [rax - 0xc]
jg 0x14002d824
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 0x14002d6a0
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x14002d6a0
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 [0x1401cdd38]
test rcx, rcx
je 0x14002d862
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [0x1401c39a8]
mov rax, qword [0x1401c39a8]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x31], rax
lea rdx, str.SoftwareBrowserExten
test rdx, 0xffffffffffff0000
jne 0x14002d8ab
movzx ebx, dx
mov ecx, ebx
call fcn.1400019e0
test rax, rax
je 0x14002d8bb
mov r8d, ebx
mov rdx, rax
lea rcx, [rbp - 0x31]
call fcn.1400025b0
jmp 0x14002d8bb
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.14001c930
nop
lea r8, [rbp + 0x7f]
mov rdx, rax
lea rcx, [rbp - 1]
call fcn.140010500
nop
lea rcx, [0x1401cdd38]
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 0x14002d924
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 0x14002d93d
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 0x14002d955
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test bl, bl
jne 0x14002da4c
mov dword [rbp + 0x77], r13d
mov dword [rbp + 0x67], r13d
mov dword [rbp + 0x6f], 4
lea rcx, [0x1401c39a8]
mov rax, qword [0x1401c39a8]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x29], rax
lea rdx, str.UseLoc
test rdx, 0xffffffffffff0000
jne 0x14002d9b5
movzx ebx, dx
mov ecx, ebx
call fcn.1400019e0
test rax, rax
je 0x14002d9c5
mov r8d, ebx
mov rdx, rax
lea rcx, [rbp - 0x29]
call fcn.1400025b0
jmp 0x14002d9c5
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.14001c930
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 [0x1401cdd38]
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 0x14002da21
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 0x14002da39
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test bl, bl
jne 0x14002da4c
cmp dword [rbp + 0x67], 0
setne bl
mov byte [0x1401cbd87], bl
jmp 0x14002da4e
xor bl, bl
mov rdx, qword [rbp + 0x7f]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14002da67
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 0x14002da80
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 0x14002da99
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