Function at 0x670d76f0
Capabilities:
Set registry value

Disassembly:
push 0x1c
mov eax, 0x671b0f48
call fcn.671a2b02
mov ebx, ecx
call fcn.670d7ae7
test eax, eax
jne 0x670d7715
push 1
mov ecx, ebx
call fcn.670d4320
jmp 0x670d7a9a
mov eax, dword [ebp + 8]
push ecx
mov edx, esp
mov ecx, dword [eax]
mov dword [edx], ecx
call fcn.670042b7
lea eax, [ebp - 0x14]
push eax
call fcn.670d6b5b
and dword [ebp - 4], 0
lea eax, [ebp - 0x14]
mov edi, dword [ebx + 0x5c]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.670d6eb9
add esp, 0x10
mov esi, eax
mov ecx, ebx
mov byte [ebp - 4], 1
call fcn.670d7ae7
push edi
push esi
push 0x2001f
push eax
call fcn.670d69b1
add esp, 0x10
mov byte [ebp - 4], 0
mov esi, eax
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x28], esi
call sym.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_
test esi, esi
jne 0x670d7784
push 1
mov ecx, ebx
call fcn.670d4320
jmp 0x670d7a92
mov dword [ebp - 0x10], sym.Qt5Core.dll_struct_QArrayData_const__const_const_QArrayData::shared_null
mov edi, dword [ebp + 0xc]
mov ecx, edi
mov byte [ebp - 4], 2
call sym.Qt5Core.dll_public:_enum_QVariant::Type___thiscall_QVariant::type_void_
push 3
pop ecx
cmp eax, 2
jl 0x670d798a
cmp eax, ecx
jle 0x670d7955
cmp eax, 5
jle 0x670d7924
cmp eax, 9
je 0x670d77c4
cmp eax, 0xb
jne 0x670d798a
lea eax, [ebp - 0x18]
mov dword [ebp + 0xc], 7
push eax
mov ecx, edi
call sym.Qt5Core.dll_public:_class_QList_class_QVariant____thiscall_QVariant::toList_void_
push 3
pop edx
push eax
lea eax, [ebp + 8]
mov byte [ebp - 4], dl
push eax
call fcn.670d53a6
pop ecx
pop ecx
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 4], 6
call fcn.6700346c
test al, al
jne 0x670d7803
push dword [ebp - 0x18]
lea ecx, [ebp - 0x18]
call fcn.670d075f
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 5
mov ecx, dword [eax + 8]
add ecx, 4
lea esi, [eax + ecx*4]
jmp 0x670d783b
mov eax, dword [esi]
cmp dword [eax + 4], 0
je 0x670d7856
xor eax, eax
mov ecx, esi
push 1
push eax
mov word [ebp - 0x1c], ax
push dword [ebp - 0x1c]
call sym.Qt5Core.dll_public:_int___thiscall_QString::indexOf_class_QChar__int__enum_Qt::CaseSensitivity_const
cmp eax, 0xffffffff
jne 0x670d7856
mov eax, dword [ebp + 8]
add esi, 4
mov ecx, dword [eax + 0xc]
add ecx, 4
lea ecx, [eax + ecx*4]
cmp esi, ecx
jne 0x670d7815
mov ecx, dword [eax + 8]
add ecx, 4
lea esi, [eax + ecx*4]
jmp 0x670d78df
push 3
pop eax
mov dword [ebp + 0xc], eax
lea eax, [ebp - 0x1c]
push edi
push eax
call fcn.670d5437
pop ecx
pop ecx
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 7
mov eax, dword [eax + 4]
lea esi, [eax + eax]
call sym.Qt5Core.dll_public:_unsigned_short_int_const____thiscall_QString::utf16_void_const
push esi
push eax
lea ecx, [ebp - 0x18]
call sym.Qt5Core.dll_public:_void___thiscall_QByteArray::constructor_char_const___int_
mov edx, dword [ebp - 0x10]
mov ecx, dword [eax]
mov dword [ebp - 0x10], ecx
lea ecx, [ebp - 0x18]
mov dword [eax], edx
call sym.Qt5Core.dll_public:_void___thiscall_QByteArray::destructor_void_
lea ecx, [ebp - 0x1c]
call sym.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_
jmp 0x670d7900
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 4]
lea edi, [eax*2 + 2]
call sym.Qt5Core.dll_public:_unsigned_short_int_const____thiscall_QString::utf16_void_const
push edi
push eax
lea ecx, [ebp - 0x1c]
call sym.Qt5Core.dll_public:_void___thiscall_QByteArray::constructor_char_const___int_
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 8
call sym.Qt5Core.dll_public:_class_QByteArray____thiscall_QByteArray::append_class_QByteArray_const__
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 5
call sym.Qt5Core.dll_public:_void___thiscall_QByteArray::destructor_void_
mov eax, dword [ebp + 8]
add esi, 4
mov ecx, dword [eax + 0xc]
lea eax, [eax + ecx*4]
add eax, 0x10
cmp esi, eax
jne 0x670d78a3
push 0
lea ecx, [ebp - 0x10]
call sym.Qt5Core.dll_public:_class_QByteArray____thiscall_QByteArray::append_char_
push 0
lea ecx, [ebp - 0x10]
call sym.Qt5Core.dll_public:_class_QByteArray____thiscall_QByteArray::append_char_
mov ecx, dword [ebp + 8]
mov byte [ebp - 4], 9
call fcn.6700346c
test al, al
jne 0x670d791b
push dword [ebp + 8]
lea ecx, [ebp + 8]
call fcn.6701316b
mov byte [ebp - 4], 2
jmp 0x670d79f9
push 0
mov ecx, edi
mov dword [ebp + 0xc], 0xb
call sym.Qt5Core.dll_public:_long_long___int64____thiscall_QVariant::toLongLong_bool__const
mov dword [ebp - 0x20], eax
lea ecx, [ebp + 8]
push 8
lea eax, [ebp - 0x20]
mov dword [ebp - 0x1c], edx
push eax
call sym.Qt5Core.dll_public:_void___thiscall_QByteArray::constructor_char_const___int_
mov edx, dword [ebp - 0x10]
mov ecx, dword [eax]
mov dword [ebp - 0x10], ecx
lea ecx, [ebp + 8]
jmp 0x670d7981
push 0
mov ecx, edi
mov dword [ebp + 0xc], 4
call sym.Qt5Core.dll_public:_int___thiscall_QVariant::toInt_bool__const
mov dword [ebp + 8], eax
lea ecx, [ebp - 0x1c]
push 4
lea eax, [ebp + 8]
push eax
call sym.Qt5Core.dll_public:_void___thiscall_QByteArray::constructor_char_const___int_
mov edx, dword [ebp - 0x10]
mov ecx, dword [eax]
mov dword [ebp - 0x10], ecx
lea ecx, [ebp - 0x1c]
mov dword [eax], edx
call sym.Qt5Core.dll_public:_void___thiscall_QByteArray::destructor_void_
jmp 0x670d79f9
lea eax, [ebp + 8]
push edi
push eax
call fcn.670d5437
pop ecx
pop ecx
xor eax, eax
mov byte [ebp - 4], 0xb
push 1
push eax
mov word [ebp + 0xc], ax
lea ecx, [ebp + 8]
push dword [ebp + 0xc]
call sym.Qt5Core.dll_public:_int___thiscall_QString::indexOf_class_QChar__int__enum_Qt::CaseSensitivity_const
xor ecx, ecx
inc ecx
cmp eax, 0xffffffff
push 3
pop edx
cmovne ecx, edx
mov dword [ebp + 0xc], ecx
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 4]
jne 0x670d79c6
inc ecx
lea eax, [ecx + ecx]
push eax
lea ecx, [ebp + 8]
call sym.Qt5Core.dll_public:_unsigned_short_int_const____thiscall_QString::utf16_void_const
push eax
lea ecx, [ebp - 0x1c]
call sym.Qt5Core.dll_public:_void___thiscall_QByteArray::constructor_char_const___int_
mov edx, dword [ebp - 0x10]
mov ecx, dword [eax]
mov dword [ebp - 0x10], ecx
lea ecx, [ebp - 0x1c]
mov dword [eax], edx
call sym.Qt5Core.dll_public:_void___thiscall_QByteArray::destructor_void_
lea ecx, [ebp + 8]
mov byte [ebp - 4], 2
call sym.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_
mov eax, dword [ebp - 0x10]
mov edi, dword [eax + 0xc]
mov esi, dword [eax + 4]
add edi, eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp + 8]
push eax
call fcn.670d6dfe
pop ecx
pop ecx
mov ecx, eax
mov byte [ebp - 4], 0xc
call sym.Qt5Core.dll_public:_unsigned_short_int_const____thiscall_QString::utf16_void_const
push esi
push edi
push dword [ebp + 0xc]
mov edi, dword [ebp - 0x28]
push 0
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea ecx, [ebp + 8]
mov byte [ebp - 4], 2
mov esi, eax
call sym.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_
test esi, esi
jne 0x670d7a48
mov byte [ebx + 0x58], 0
jmp 0x670d7a83
mov ecx, dword [ebp - 0x14]
mov dword [ebp + 8], ecx
call fcn.670042b7
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0xd
call sym.Qt5Core.dll_public:_unsigned_short_int_const____thiscall_QString::utf16_void_const
push eax
push str.QSettings:_failed_to_set_subkey___ls_
push esi
call sym.Qt5Core.dll_void___cdecl_qErrnoWarning_int__char_const__
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp + 8]
call sym.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_
push 1
mov ecx, ebx
call fcn.670d4320
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x10]
call sym.Qt5Core.dll_public:_void___thiscall_QByteArray::destructor_void_
lea ecx, [ebp - 0x14]
call sym.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_
call fcn.671a2adc
ret 8