Function at 0x1400949c0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], rbx
mov byte [rsp + 0x18], r8b
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x30]
sub rsp, 0x130
mov rax, qword [0x1401761c0]
xor rax, rsp
mov qword [rbp + 0x20], rax
mov r13, qword [rbp + 0x70]
xor ebx, ebx
mov eax, dword [0x140176eb0]
test eax, eax
jns 0x140094b8b
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], rax
mov rdx, qword [0x14017fb68]
test rdx, rdx
je 0x140094a37
cmp qword [rdx + 0x18], 7
jbe 0x140094a3e
mov rdx, qword [rdx]
jmp 0x140094a3e
lea rdx, str.SoftwareAVAST_SoftwareAvast
lea rcx, [rsp + 0x70]
call fcn.14000bfe0
nop
mov qword [rbp - 0x70], rbx
mov rdx, qword [rbp - 0x80]
test rdx, rdx
je 0x140094aae
cmp rdx, 1
jb 0x140094a7a
dec rdx
lea r9, [0x140143394]
mov r8d, 1
lea rcx, [rsp + 0x70]
call fcn.140094340
test eax, eax
je 0x140094aae
mov r8d, 1
lea rdx, [0x140143394]
lea rcx, str.properties
call fcn.1400da8e8
test eax, eax
je 0x140094aae
mov r8d, 1
lea rdx, [0x140143394]
lea rcx, [rsp + 0x70]
call fcn.14000bdb0
mov r8d, 0xa
lea rdx, str.properties
lea rcx, [rsp + 0x70]
call fcn.14000bdb0
mov qword [rsp + 0x30], rbx
lea rdx, [rsp + 0x70]
cmp qword [rbp - 0x78], 7
cmova rdx, qword [rsp + 0x70]
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x30]
mov r8d, 0x20019
lea rcx, str.HKEY_LOCAL_MACHINE
call fcn.140080fd0
test eax, eax
jne 0x140094b6b
mov dword [rsp + 0x40], ebx
mov rdi, qword [rsp + 0x30]
test rdi, rdi
je 0x140094b55
mov dword [rsp + 0x44], 4
lea rax, [rsp + 0x44]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.UseRegistry
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140094b55
cmp dword [rsp + 0x40], eax
je 0x140094b55
mov dword [0x140176eb0], 1
jmp 0x140094b5b
mov dword [0x140176eb0], ebx
test rdi, rdi
je 0x140094b71
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140094b71
mov dword [0x140176eb0], ebx
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x140094b80
call fcn.1400b8a80
nop
lea rcx, [rsp + 0x70]
call fcn.14000c080
nop
lea rdi, [0x140154b18]
mov rdx, qword [0x14017fb60]
test rdx, rdx
je 0x140094baa
cmp qword [rdx + 0x18], 7
jbe 0x140094bad
mov rdx, qword [rdx]
jmp 0x140094bad
mov rdx, rdi
mov r14, 0xffffffffffffffff
mov r8, r14
nop word [rax + rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x140094bc0
mov rcx, r13
call fcn.14000be50
lea r12, str.avast5.ini
lea rax, [0x14017f7c8]
cmp qword [r13 + 0x10], 0
jne 0x140094c13
mov rdx, r12
cmp word [0x14017f7c8], 0
cmovne rdx, rax
mov r8, r14
nop word [rax + rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x140094c00
mov rcx, r13
call fcn.14000be50
mov eax, dword [0x140176eb0]
test eax, eax
jle 0x140094ee4
mov rsi, r13
cmp qword [r13 + 0x18], 7
jbe 0x140094c2f
mov rsi, qword [r13]
mov rdx, qword [0x14017fbf0]
test rdx, rdx
je 0x140094c47
cmp qword [rdx + 0x18], 7
jbe 0x140094c4a
mov rdx, qword [rdx]
jmp 0x140094c4a
mov rdx, rdi
mov rdi, r14
nop dword [rax]
inc rdi
cmp word [rdx + rdi*2], 0
jne 0x140094c50
mov r8, rdi
mov rcx, rsi
call fcn.1400d00c4
test eax, eax
jne 0x140094c70
cmp word [rsi + rdi*2], 0x5c
je 0x140094c79
test rdi, rdi
jne 0x140094ee4
mov rax, rbx
test rdi, rdi
setne al
add rax, rdi
lea r15, [rsi + rax*2]
cmp word [0x14017f7c8], 0
lea rax, [0x14017f7c8]
cmovne r12, rax
mov rdx, r12
mov rcx, r15
call fcn.1400da778
lea r12, str.settings
test eax, eax
jne 0x140094cb7
mov rdi, r12
jmp 0x140094d0e
mov edi, ebx
lea rsi, str.uefiscan.ini
mov rdx, qword [rsi]
mov rcx, r15
call fcn.1400da778
test eax, eax
je 0x140094ee4
inc edi
add rsi, 8
cmp edi, 1
jb 0x140094cc0
mov r8d, 0x40
mov rdx, r15
lea rcx, [rbp - 0x60]
call fcn.1400d55a8
mov word [rbp + 0x1e], bx
mov edx, 0x2e
lea rcx, [rbp - 0x60]
call fcn.1400bbb8c
test rax, rax
je 0x140094d0a
mov word [rax], bx
lea rdi, [rbp - 0x60]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x48], xmm0
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], rax
mov rdx, qword [0x14017fb68]
test rdx, rdx
je 0x140094d3a
cmp qword [rdx + 0x18], 7
jbe 0x140094d41
mov rdx, qword [rdx]
jmp 0x140094d41
lea rdx, str.SoftwareAVAST_SoftwareAvast
lea rcx, [rsp + 0x48]
call fcn.14000bfe0
nop
mov qword [rsp + 0x68], rbx
mov rdx, qword [rsp + 0x58]
test rdx, rdx
je 0x140094db3
cmp rdx, 1
jb 0x140094d7f
dec rdx
lea r9, [0x140143394]
mov r8d, 1
lea rcx, [rsp + 0x48]
call fcn.140094340
test eax, eax
je 0x140094db3
mov r8d, 1
lea rdx, [0x140143394]
lea rcx, str.properties
call fcn.1400da8e8
test eax, eax
je 0x140094db3
mov r8d, 1
lea rdx, [0x140143394]
lea rcx, [rsp + 0x48]
call fcn.14000bdb0
mov r8d, 0xa
lea rdx, str.properties
lea rcx, [rsp + 0x48]
call fcn.14000bdb0
mov rdx, qword [rsp + 0x58]
test rdx, rdx
je 0x140094e30
cmp rdx, 1
jb 0x140094df8
dec rdx
lea r9, [0x140143394]
mov r8d, 1
lea rcx, [rsp + 0x48]
call fcn.140094340
test eax, eax
je 0x140094e30
mov r8d, 1
lea rdx, [0x140143394]
mov rcx, rdi
call fcn.1400da8e8
test eax, eax
je 0x140094e30
mov r8d, 1
lea rdx, [0x140143394]
lea rcx, [rsp + 0x48]
call fcn.14000bdb0
nop dword [rax + rax]
inc r14
cmp word [rdi + r14*2], 0
jne 0x140094e30
mov r8, r14
mov rdx, rdi
lea rcx, [rsp + 0x48]
call fcn.14000bdb0
cmp rdi, r12
jne 0x140094e62
movzx eax, byte [0x14017fc30]
test al, al
je 0x140094e62
mov ebx, 1
jmp 0x140094ebb
mov qword [rsp + 0x38], rbx
lea rdx, [rsp + 0x48]
cmp qword [rsp + 0x60], 7
cmova rdx, qword [rsp + 0x48]
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x38]
mov r8d, 0x20019
lea rcx, str.HKEY_LOCAL_MACHINE
call fcn.140080fd0
test eax, eax
jne 0x140094ec9
lea ebx, [rax + 1]
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140094eb0
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp rdi, r12
jne 0x140094ebb
mov byte [0x14017fc30], bl
lea rdx, [rsp + 0x48]
mov rcx, r13
call fcn.140025ba0
nop
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140094ed9
call fcn.1400b8a80
nop
lea rcx, [rsp + 0x48]
call fcn.14000c080
nop
mov eax, ebx
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.1400b89f0
mov rbx, qword [rsp + 0x188]
add rsp, 0x130
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret