Function at 0x1401506f0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x17]
sub rsp, 0xf0
mov rax, qword [0x1402b0268]
xor rax, rsp
mov qword [rbp + 7], rax
mov qword [rbp - 0x39], r9
mov r12, rdx
mov qword [rbp - 0x41], rdx
mov qword [rbp - 0x49], rdx
mov r15, qword [rbp + 0x77]
mov r14, qword [rbp + 0x7f]
xor bl, bl
mov dl, 1
mov rcx, r8
call fcn.14014fb80
mov qword [rbp - 0x49], rax
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x140150c42
xor ebx, ebx
mov edi, ebx
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x31], xmm0
mov qword [rbp - 0x21], rbx
mov edx, 0xfa000
lea rcx, [rbp - 0x31]
call fcn.14014bb80
mov r13, qword [rbp - 0x31]
mov esi, ebx
mov rax, qword [r14]
lea rbx, [0x140000000]
cmp dword [rax + 4], esi
jne 0x1401507e2
mov rcx, r15
call qword [sym.imp.Qt5Core.dll_public:_enum_QVariant::Type___cdecl_QVariant::type_void____ptr64]
add eax, 0xfffffffe
cmp eax, 0xa
ja case.0x1401507a2.7
cdqe
mov ecx, dword [rbx + rax*4 + 0x150c78]
add rcx, rbx
jmp rcx
mov edi, 1
lea eax, [rdi - 1]
jmp 0x140150bea
mov edi, 7
lea eax, [rdi - 1]
jmp 0x140150bea
mov edi, 3
lea eax, [rdi - 1]
jmp 0x140150bea
mov edi, 4
lea eax, [rdi - 1]
jmp 0x140150bea
mov edi, 0xb
jmp case.0x1401507a2.7
mov edx, 8
lea rcx, str.REG_NONE
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
xor r8d, r8d
lea rdx, [rsp + 0x30]
mov rcx, r14
call qword [sym.imp.Qt5Core.dll_public:_int___cdecl_QString::compare_class_QString_const____ptr64__enum_Qt::CaseSensitivity_const___ptr64]
mov ebx, eax
lea rcx, [rsp + 0x30]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
test ebx, ebx
jne 0x140150826
xor r15d, r15d
mov edi, r15d
jmp case.0x140150bf4.5
mov edx, 6
lea rcx, str.REG_SZ
call qword [sym.imp.Qt5Core.dll_private:_static_struct_QTypedArrayData_unsigned_short_int_____ptr64___cdecl_QString::fromAscii_helper_char_const____ptr64__int_]
mov qword [rbp - 0x79], rax
xor r8d, r8d
lea rdx, [rbp - 0x79]
mov rcx, r14
call qword [sym.imp.Qt5Core.dll_public:_int___cdecl_QString::compare_class_QString_const____ptr64__enum_Qt::CaseSensitivity_const___ptr64]
mov ebx, eax
lea rcx, [rbp - 0x79]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
test ebx, ebx
jne 0x14015089b
lea edi, [rbx + 1]
lea rdx, [rsp + 0x30]
mov rcx, r15
call qword [sym.imp.Qt5Core.dll_public:_class_QString___cdecl_QVariant::toString_void____ptr64]
nop
mov rdx, r13
lea rcx, [rsp + 0x30]
call qword [sym.imp.Qt5Core.dll_public:_int___cdecl_QString::toWCharArray_wchar_t____ptr64_const___ptr64]
mov rax, qword [rsp + 0x30]
mov ecx, dword [rax + 4]
lea esi, [rcx*2 + 2]
lea rcx, [rsp + 0x30]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
jmp case.0x140150bf4.5
mov edx, 0xd
lea rcx, str.REG_EXPAND_SZ
call qword [sym.imp.Qt5Core.dll_private:_static_struct_QTypedArrayData_unsigned_short_int_____ptr64___cdecl_QString::fromAscii_helper_char_const____ptr64__int_]
mov qword [rbp - 0x71], rax
xor r8d, r8d
lea rdx, [rbp - 0x71]
mov rcx, r14
call qword [sym.imp.Qt5Core.dll_public:_int___cdecl_QString::compare_class_QString_const____ptr64__enum_Qt::CaseSensitivity_const___ptr64]
mov ebx, eax
lea rcx, [rbp - 0x71]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
test ebx, ebx
jne 0x1401508d6
lea edi, [rbx + 2]
jmp case.0x140150bf4.1
mov edx, 0xa
lea rcx, str.REG_BINARY
call qword [sym.imp.Qt5Core.dll_private:_static_struct_QTypedArrayData_unsigned_short_int_____ptr64___cdecl_QString::fromAscii_helper_char_const____ptr64__int_]
mov qword [rbp - 0x69], rax
xor r8d, r8d
lea rdx, [rbp - 0x69]
mov rcx, r14
call qword [sym.imp.Qt5Core.dll_public:_int___cdecl_QString::compare_class_QString_const____ptr64__enum_Qt::CaseSensitivity_const___ptr64]
mov ebx, eax
lea rcx, [rbp - 0x69]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
test ebx, ebx
jne 0x140150958
lea edi, [rbx + 3]
lea rdx, [rsp + 0x30]
mov rcx, r15
call qword [sym.imp.Qt5Core.dll_public:_class_QByteArray___cdecl_QVariant::toByteArray_void____ptr64]
nop
mov rax, qword [rsp + 0x30]
movsxd rbx, dword [rax + 4]
lea rcx, [rsp + 0x30]
call qword [sym.imp.Qt5Core.dll_public:_char____ptr64___cdecl_QByteArray::data_void____ptr64]
mov rdx, rax
mov r8, rbx
mov rcx, r13
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsp + 0x30]
mov esi, dword [rax + 4]
lea rcx, [rsp + 0x30]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QByteArray::destructor_void____ptr64]
jmp case.0x140150bf4.5
mov edx, 9
lea rcx, str.REG_DWORD
call qword [sym.imp.Qt5Core.dll_private:_static_struct_QTypedArrayData_unsigned_short_int_____ptr64___cdecl_QString::fromAscii_helper_char_const____ptr64__int_]
mov qword [rbp - 0x61], rax
xor r8d, r8d
lea rdx, [rbp - 0x61]
mov rcx, r14
call qword [sym.imp.Qt5Core.dll_public:_int___cdecl_QString::compare_class_QString_const____ptr64__enum_Qt::CaseSensitivity_const___ptr64]
mov ebx, eax
lea rcx, [rbp - 0x61]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
test ebx, ebx
jne 0x1401509a6
lea edi, [rbx + 4]
xor edx, edx
mov rcx, r15
call qword [sym.imp.Qt5Core.dll_public:_int___cdecl_QVariant::toInt_bool____ptr64_const___ptr64]
mov esi, 4
jmp 0x140150b55
mov edx, 0xc
lea rcx, str.REG_MULTI_SZ
call qword [sym.imp.Qt5Core.dll_private:_static_struct_QTypedArrayData_unsigned_short_int_____ptr64___cdecl_QString::fromAscii_helper_char_const____ptr64__int_]
mov qword [rbp - 0x59], rax
xor r8d, r8d
lea rdx, [rbp - 0x59]
mov rcx, r14
call qword [sym.imp.Qt5Core.dll_public:_int___cdecl_QString::compare_class_QString_const____ptr64__enum_Qt::CaseSensitivity_const___ptr64]
mov ebx, eax
lea rcx, [rbp - 0x59]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
test ebx, ebx
jne 0x140150b08
lea edi, [rbx + 7]
mov r14, r13
lea rdx, [rsp + 0x38]
mov rcx, r15
call qword [sym.imp.Qt5Core.dll_public:_class_QStringList___cdecl_QVariant::toStringList_void____ptr64]
mov rcx, rax
mov rax, qword [rax]
mov qword [rsp + 0x40], rax
mov rax, qword [sym.imp.Qt5Core.dll_struct_QListData::Data_const_QListData::shared_null]
mov qword [rcx], rax
lea rcx, [rsp + 0x40]
call qword [sym.imp.Qt5Core.dll_public:_void____ptr64____ptr64___cdecl_QListData::begin_void_const___ptr64]
mov qword [rsp + 0x48], rax
lea rcx, [rsp + 0x40]
call qword [sym.imp.Qt5Core.dll_public:_void____ptr64____ptr64___cdecl_QListData::end_void_const___ptr64]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x58], 1
mov rax, qword [rsp + 0x38]
mov ecx, dword [rax]
test ecx, ecx
je 0x140150a54
cmp ecx, 0xffffffff
je 0x140150a9f
mov rax, qword [rsp + 0x38]
mov ecx, 0xffffffff
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x140150a9f
mov r12, qword [rsp + 0x38]
movsxd r15, dword [r12 + 8]
add r15, 2
lea r15, [r12 + r15*8]
movsxd rbx, dword [r12 + 0xc]
add rbx, 2
lea rbx, [r12 + rbx*8]
cmp rbx, r15
je 0x140150a92
nop dword [rax + rax]
sub rbx, 8
mov rcx, rbx
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
cmp rbx, r15
jne 0x140150a80
mov rcx, r12
call qword [sym.imp.Qt5Core.dll_public:_static_void___cdecl_QListData::dispose_struct_QListData::Data____ptr64_]
mov r12, qword [rbp - 0x41]
mov eax, dword [rsp + 0x58]
xor r15d, r15d
test eax, eax
je 0x140150af5
mov rbx, qword [rsp + 0x48]
nop
cmp rbx, qword [rsp + 0x50]
je 0x140150af5
test eax, eax
je 0x140150ae3
mov rdx, r14
mov rcx, rbx
call qword [sym.imp.Qt5Core.dll_public:_int___cdecl_QString::toWCharArray_wchar_t____ptr64_const___ptr64]
mov rax, qword [rbx]
mov ecx, dword [rax + 4]
lea ecx, [rcx*2 + 2]
mov eax, ecx
add r14, rax
add esi, ecx
mov eax, r15d
mov rbx, qword [rsp + 0x48]
add rbx, 8
mov qword [rsp + 0x48], rbx
xor eax, 1
mov dword [rsp + 0x58], eax
jne 0x140150ab0
lea rcx, [rsp + 0x40]
call fcn.140001610
mov word [r14], r15w
add esi, 2
jmp case.0x140150bf4.5
mov edx, 9
lea rcx, str.REG_QWORD
call qword [sym.imp.Qt5Core.dll_private:_static_struct_QTypedArrayData_unsigned_short_int_____ptr64___cdecl_QString::fromAscii_helper_char_const____ptr64__int_]
mov qword [rbp - 0x51], rax
xor r8d, r8d
lea rdx, [rbp - 0x51]
mov rcx, r14
call qword [sym.imp.Qt5Core.dll_public:_int___cdecl_QString::compare_class_QString_const____ptr64__enum_Qt::CaseSensitivity_const___ptr64]
mov ebx, eax
lea rcx, [rbp - 0x51]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
test ebx, ebx
jne 0x140150bd7
lea edi, [rbx + 0xb]
xor edx, edx
mov rcx, r15
call qword [sym.imp.Qt5Core.dll_public:_long_long___int64____cdecl_QVariant::toLongLong_bool____ptr64_const___ptr64]
mov esi, 8
mov dword [r13], eax
lea rdx, [rbp - 0x19]
mov rcx, qword [rbp - 0x39]
call qword [sym.imp.Qt5Core.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_QString::toStdWString_void____ptr64]
cmp qword [rax + 0x18], 8
jb 0x140150b71
mov rax, qword [rax]
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], r13
mov r9d, edi
mov r8, rax
lea rdx, [0x140192c90]
mov rdi, qword [rbp - 0x49]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegSetKeyValueW]
test eax, eax
setne bl
mov rdx, qword [rbp - 1]
cmp rdx, 8
jb 0x140150bfb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140150bf6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140150bf6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
lea rbx, [0x140000000]
lea eax, [rdi - 1]
cmp eax, 0xa
ja case.0x140150bf4.5
mov edx, dword [rbx + rax*4 + 0x150ca4]
add rdx, rbx
jmp rdx
call fcn.140167464
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rcx, qword [rbp - 0x31]
test rcx, rcx
je 0x140150c42
mov rdx, qword [rbp - 0x21]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140150c3d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140150c3d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140167464
movzx edx, bl
mov rcx, r12
call qword [sym.imp.Qt5Qml.dll_public:_void___cdecl_QJSValue::constructor_bool____ptr64]
mov rax, r12
mov rcx, qword [rbp + 7]
xor rcx, rsp
call fcn.140167750
mov rbx, qword [rsp + 0x130]
add rsp, 0xf0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret