Function at 0x1402c9eb0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x4e10]
mov eax, 0x4f10
call fcn.140323790
sub rsp, rax
mov rax, qword [0x1405a9ae8]
xor rax, rsp
mov qword [rbp + 0x4e00], rax
mov r14, rcx
mov qword [rbp - 0x80], rcx
xor r12d, r12d
mov dword [rsp + 0x50], r12d
call fcn.1401d91c0
nop
lea rax, vtable.QtKasperskyAntivirusManager.0
mov qword [r14], rax
mov esi, r12d
mov qword [rsp + 0x68], r12
mov dword [rsp + 0x70], r12d
mov qword [rsp + 0x78], r12
mov qword [rsp + 0x30], r12
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.AVP_shellopencommand
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1402c9f61
mov eax, r12d
mov rsi, qword [rsp + 0x30]
mov qword [rsp + 0x68], rsi
mov dword [rsp + 0x70], r12d
test eax, eax
jne 0x1402ca33d
xor edx, edx
mov r8d, 0x4e20
lea rcx, [rbp - 0x20]
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x48], 0x4e20
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x20]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x3c]
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1402ca30c
mov eax, dword [rsp + 0x3c]
dec eax
cmp eax, 1
ja 0x1402ca30c
mov eax, dword [rsp + 0x48]
test eax, eax
je 0x1402ca307
test al, 1
jne 0x1402ca30c
shr rax, 1
cmp word [rbp + rax*2 - 0x22], 0
jne 0x1402ca30c
cmp word [rbp - 0x20], 0
je 0x1402ca30c
mov byte [rbp - 0x68], 0
lea r13, vtable.vmsCommandLine.0
mov qword [rbp - 0x70], r13
mov qword [rbp - 0x60], r12
movdqa xmm0, xmmword [0x140356b80]
movdqa xmmword [rbp - 0x50], xmm0
mov word [rbp - 0x60], r12w
mov qword [rbp - 0x40], r12
movdqa xmmword [rbp - 0x30], xmm0
mov word [rbp - 0x40], r12w
xor r8d, r8d
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x70]
call fcn.140033180
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x60]
call qword [sym.imp.Qt5Core.dll_public:_static_class_QString___cdecl_QString::fromStdWString_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const____ptr64_]
nop
mov rdx, rax
lea rcx, [rsp + 0x48]
call qword [sym.imp.Qt5Core.dll_public:_static_class_QString___cdecl_QDir::fromNativeSeparators_class_QString_const____ptr64_]
mov r15, rax
mov rcx, rax
call fcn.140045980
mov edi, eax
test eax, eax
jne 0x1402ca185
mov edi, 1
mov r8d, edi
lea rdx, [rsp + 0x30]
mov rcx, r15
call qword [sym.imp.Qt5Core.dll_public:_class_QString___cdecl_QString::left_int____ptr64]
mov ebx, 2
mov rdx, rax
lea rcx, [rsp + 0x40]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_class_QString____ptr64____ptr64]
or ebx, 4
test bl, 2
je 0x1402ca0a3
and ebx, 0xfffffffd
lea rcx, [rsp + 0x30]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
test bl, 1
je 0x1402ca0b7
and ebx, 0xfffffffe
lea rcx, [rsp + 0x58]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x48]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x60]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov rax, qword [rsp + 0x40]
cmp dword [rax + 4], 0
je 0x1402ca264
mov edx, 0x2f
lea rcx, [rsp + 0x3c]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QChar::constructor_int____ptr64]
mov r8d, 1
movzx edx, word [rax]
lea rcx, [rsp + 0x40]
call qword [sym.imp.Qt5Core.dll_public:_bool___cdecl_QString::endsWith_class_QChar__enum_Qt::CaseSensitivity_const___ptr64]
test al, al
jne 0x1402ca1e1
mov edx, 0x5c
lea rcx, [rsp + 0x38]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QChar::constructor_int____ptr64]
mov r8d, 1
movzx edx, word [rax]
lea rcx, [rsp + 0x40]
call qword [sym.imp.Qt5Core.dll_public:_bool___cdecl_QString::endsWith_class_QChar__enum_Qt::CaseSensitivity_const___ptr64]
test al, al
jne 0x1402ca1e1
or ebx, 8
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x50]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_class_QString_const____ptr64____ptr64]
nop
mov edx, 0x2f
lea rcx, [rsp + 0x48]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QChar::constructor_int____ptr64]
movzx edx, word [rax]
lea rcx, [rsp + 0x50]
call qword [sym.imp.Qt5Core.dll_public:_class_QString____ptr64___cdecl_QString::append_class_QChar____ptr64]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x30]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_class_QString____ptr64____ptr64]
nop
lea rcx, [rsp + 0x50]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
jmp 0x1402ca1f4
cmp eax, 2
jne 0x1402ca1c2
lea edx, [rax + 0x38]
lea rcx, [rsp + 0x38]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QChar::constructor_int____ptr64]
movzx ebx, word [rax]
mov r8d, 1
lea rdx, [rsp + 0x3c]
mov rcx, r15
call qword [sym.imp.Qt5Core.dll_public:_class_QChar___cdecl_QString::operator___int_const___ptr64]
cmp word [rax], bx
jne 0x1402ca068
mov edi, 3
jmp 0x1402ca068
cmp eax, 0xffffffff
jne 0x1402ca068
lea rcx, [rsp + 0x58]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_void____ptr64]
nop
mov ebx, 1
jmp 0x1402ca07e
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x30]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_class_QString_const____ptr64____ptr64]
or ebx, 8
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x58]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_class_QString_const____ptr64____ptr64]
or ebx, 0x10
mov dword [rsp + 0x50], ebx
mov r8d, 0xffffffff
lea rdx, str.avp.com
lea rcx, [rsp + 0x60]
call qword [sym.imp.Qt5Core.dll_public:_static_class_QString___cdecl_QString::fromUtf8_char_const____ptr64__int_]
nop
mov rdx, rax
lea rcx, [rsp + 0x58]
call qword [sym.imp.Qt5Core.dll_public:_class_QString____ptr64___cdecl_QString::append_class_QString_const____ptr64____ptr64]
nop
lea rcx, [rsp + 0x60]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
lea rdx, [rsp + 0x58]
mov rcx, r14
call fcn.1401d96a0
nop
lea rcx, [rsp + 0x58]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x30]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x40]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
mov qword [rbp - 0x70], r13
mov rdx, qword [rbp - 0x28]
cmp rdx, 8
jb 0x1402ca2b0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1402ca2ab
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1402ca2f9
call fcn.140322dc0
movdqa xmm0, xmmword [0x140356b80]
movdqa xmmword [rbp - 0x30], xmm0
mov word [rbp - 0x40], r12w
mov rdx, qword [rbp - 0x48]
cmp rdx, 8
jb 0x1402ca30c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1402ca300
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1402ca300
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140322dc0
jmp 0x1402ca30c
mov word [rbp - 0x20], r12w
mov edx, 0xb
lea rcx, str.scan__path_
call qword [sym.imp.Qt5Core.dll_private:_static_struct_QTypedArrayData_unsigned_short_int_____ptr64___cdecl_QString::fromAscii_helper_char_const____ptr64__int_]
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x30]
mov rcx, r14
call fcn.1401d95e0
nop
lea rcx, [rsp + 0x30]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
test rsi, rsi
je 0x1402ca34c
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rax, r14
mov rcx, qword [rbp + 0x4e00]
xor rcx, rsp
call fcn.1403230f0
lea r11, [rsp + 0x4f10]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret