Function at 0x140002790
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push r14
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x140023020]
xor rax, rsp
mov qword [rbp - 8], rax
cmp qword [0x140025068], 0
mov rbx, rcx
mov dword [rbp - 0x50], 0xffffffff
je 0x1400027d3
lea rcx, [rbp - 0x50]
call qword [0x140025300]
test eax, eax
jne 0x1400027da
mov dword [rbp - 0x50], 0xffffffff
mov rax, qword [0x1400252d0]
mov esi, 1
mov dword [rbp - 0x18], esi
test rax, rax
jne 0x1400027ff
mov eax, 2
mov dword [rbp - 0x14], 4
mov dword [rbp - 0x10], eax
jmp 0x140002816
cmp qword [0x140025068], 0
je 0x14000281c
lea rcx, [rbp - 0x18]
call rax
test eax, eax
je 0x14000281c
mov eax, dword [rbp - 0x10]
mov dword [rbx + 0xdb0], eax
mov rax, qword [0x1400252c0]
mov dword [rbp - 0x20], 0xffffffff
mov dword [rbp - 0x28], esi
test rax, rax
jne 0x140002849
mov eax, 0x3c
mov dword [rbp - 0x24], 4
mov dword [rbp - 0x20], eax
mov dword [rbx + 0xe4c], eax
jmp 0x140002873
cmp qword [0x140025068], 0
je 0x140002869
lea rcx, [rbp - 0x28]
call rax
mov eax, dword [rbp - 0x20]
cmp eax, 0xffffffff
je 0x140002869
mov dword [rbx + 0xe4c], eax
jmp 0x140002873
mov dword [rbx + 0xe4c], 0x1e
mov eax, dword [rbp - 0x50]
xor r14d, r14d
add eax, 0xfffffff8
test eax, 0xfffffffd
je 0x14000288b
mov dword [rbx + 0xb4], esi
jmp 0x140002892
mov dword [rbx + 0xb4], r14d
lea rax, [rbp - 0x30]
lea rdx, str.SoftwareLenovoTpShocks
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov dword [rbp - 0x48], esi
mov qword [rsp + 0x20], rax
mov dword [rbp - 0x4c], 0x104
mov dword [rbp - 0x44], esi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000294f
mov rcx, qword [rbp - 0x30]
lea rax, [rbp - 0x4c]
lea r9, [rbp - 0x48]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x44]
lea rdx, str.AllowAllUser
xor r8d, r8d
mov dword [rbp - 0x48], 4
mov dword [rbp - 0x4c], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140002933
cmp dword [rbp - 0x44], r14d
je 0x14000291e
mov dword [rbx + 0xa0], esi
lea rcx, str.get_the_reg_is_allowuser_is_true
jmp 0x140002969
call fcn.140016820
mov ecx, r14d
test eax, eax
setne cl
mov dword [rbx + 0xa0], ecx
jmp 0x14000296e
call fcn.140016820
mov ecx, r14d
test eax, eax
setne cl
mov dword [rbx + 0xa0], ecx
lea rcx, str.get_the_reg_failed_amdin
jmp 0x140002969
call fcn.140016820
mov ecx, r14d
test eax, eax
setne cl
mov dword [rbx + 0xa0], ecx
lea rcx, str.no_key_reg_admin
call fcn.140017c00
mov rcx, qword [rbp - 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [0x140025068]
test rcx, rcx
je 0x140002995
lea rcx, [rbp - 0x40]
call qword [0x1400252f0]
mov rcx, qword [0x140025068]
mov eax, r14d
mov dword [rbp - 0x38], esi
cmp dword [rbp - 0x40], eax
sete al
mov dword [rbx + 0x3fc], eax
mov rax, qword [0x1400252b8]
test rax, rax
jne 0x1400029be
mov dword [rbp - 0x34], esi
mov dword [rbx + 0x73c], esi
jmp 0x1400029de
test rcx, rcx
je 0x1400029c9
lea rcx, [rbp - 0x38]
call rax
cmp dword [rbp - 0x34], r14d
je 0x1400029d7
mov dword [rbx + 0x73c], esi
jmp 0x1400029de
mov dword [rbx + 0x73c], r14d
mov ecx, dword [rbp - 0x50]
mov edx, r14d
cmp dword [rbx + 0xa0], edx
lea eax, [rcx - 9]
cmove edx, esi
cmp eax, esi
jbe 0x1400029f9
cmp ecx, 0xffffffff
jne 0x140002a00
mov dword [rbx + 0xa0], r14d
cmp dword [rbx + 0xa0], r14d
je 0x140002a91
cmp dword [rbx + 0xb4], r14d
je 0x140002a91
mov dword [rbx + 0xdac], esi
mov dword [rbx + 0xe44], esi
mov dword [rbx + 0x3e8], esi
mov dword [rbx + 0x728], esi
cmp ecx, 0xc
je 0x140002a47
cmp dword [rbx + 0x73c], r14d
je 0x140002a47
mov dword [rbx + 0xa68], esi
jmp 0x140002b4b
mov dword [rbx + 0xa68], r14d
cmp ecx, 0xc
jne 0x140002a59
mov dword [rbx + 0x398], esi
lea rcx, [rbx + 0xdf8]
mov dword [rcx + 0x4c], r14d
call fcn.140016e80
cmp dword [rbx + 0x73c], r14d
je 0x140002b4b
mov rcx, qword [rbx + 8]
mov edx, 0x3e9
xor r9d, r9d
lea r8d, [rdx - 1]
call qword [sym.imp.USER32.dll_SetTimer]
jmp 0x140002b4b
mov dword [rbx + 0xdac], r14d
mov dword [rbx + 0xe44], r14d
mov dword [rbx + 0xa68], r14d
mov dword [rbx + 0x3e8], r14d
mov dword [rbx + 0x728], r14d
cmp dword [rbx + 0xb4], r14d
je 0x140002b4b
test edx, edx
je 0x140002b4b
lea eax, [rcx - 9]
cmp eax, esi
jbe 0x140002b4b
cmp ecx, 0xffffffff
je 0x140002b4b
mov dword [rbx + 0xa68], esi
lea rcx, [rbx + 0xdf8]
mov qword [rsp + 0xa8], rdi
mov dword [rbx + 0xe44], esi
call fcn.140016e80
cmp dword [rbp - 0x50], 0xc
je 0x140002b04
cmp dword [rbx + 0x73c], r14d
jne 0x140002b43
mov dword [rbx + 0xa68], r14d
mov dword [rbx + 0x398], esi
lea rcx, [rbx + 0xdf8]
mov dword [rbx + 0xe44], r14d
call fcn.140016e80
cmp dword [rbx + 0x73c], r14d
je 0x140002b43
mov rcx, qword [rbx + 8]
mov edx, 0x3e9
xor r9d, r9d
lea r8d, [rdx - 1]
call qword [sym.imp.USER32.dll_SetTimer]
mov rdi, qword [rsp + 0xa8]
lea rcx, [rbx + 0x58]
call fcn.14000dd80
lea rcx, [rbx + 0x3a0]
call fcn.14000dd80
lea rcx, [rbx + 0x6e0]
call fcn.14000dd80
lea rcx, [rbx + 0xa20]
call fcn.14000dd80
lea rcx, [rbx + 0xd60]
call fcn.140017390
lea rcx, [rbx + 0xdf8]
call fcn.140017390
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140018cd0
mov rbx, qword [rsp + 0xb0]
add rsp, 0x80
pop r14
pop rsi
pop rbp
ret