Function at 0x67149910
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x67298705
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x674c7008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x24], ebx
mov eax, dword [ebx + 0x54]
cmp dword [eax + 4], 0
je 0x67149f5e
mov esi, dword [eax + 0xc]
add esi, eax
mov ecx, esi
call fcn.67148300
test eax, eax
je 0x67149f5e
cmp byte [esi + 0xc], 0
jne 0x67149f5e
mov ecx, esi
call fcn.67148300
test eax, eax
je 0x67149f5e
mov eax, dword [ebp + 8]
push ecx
mov ecx, esp
mov eax, dword [eax]
mov dword [ecx], eax
mov ecx, dword [eax]
test ecx, ecx
je 0x6714998f
cmp ecx, 0xffffffff
je 0x6714998f
lock inc dword [eax]
lea ecx, [ebp - 0x10]
call fcn.67147050
add esp, 4
mov dword [ebp - 4], 0
lea edx, [ebp - 0x10]
mov edi, dword [ebx + 0x5c]
lea ecx, [ebp - 0x1c]
call fcn.67146ee0
mov dword [ebp + 8], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebx + 0x54]
cmp dword [ecx + 4], 0
je 0x671499de
mov esi, dword [ecx + 0xc]
add esi, ecx
mov ecx, esi
call fcn.67148300
test eax, eax
je 0x671499de
cmp byte [esi + 0xc], 0
jne 0x671499de
mov ecx, esi
call fcn.67148300
jmp 0x671499e0
xor eax, eax
push edi
push dword [ebp + 8]
mov edx, 0x2001f
mov ecx, eax
call fcn.67147750
mov byte [ebp - 4], 0
add esp, 8
mov ecx, dword [ebp - 0x1c]
mov esi, eax
mov ebx, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
or edi, 0xffffffff
mov dword [ebp - 0x28], esi
mov ecx, dword [ecx]
test ecx, ecx
je 0x67149a23
cmp ecx, edi
je 0x67149a33
mov eax, dword [ebp - 0x1c]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x67149a33
mov eax, dword [ebp - 0x1c]
cmp eax, 0x674c7cb4
je 0x67149a33
push eax
call ebx
add esp, 4
test esi, esi
jne 0x67149a4f
mov eax, dword [ebp - 0x24]
cmp dword [eax + 0x50], esi
jne 0x67149f1d
mov dword [eax + 0x50], 1
jmp 0x67149f1d
mov dword [ebp + 8], sym.Qt5Core.dll_struct_QArrayData_const__const_const_QArrayData::shared_null
mov byte [ebp - 4], 2
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + 8]
and eax, 0x3fffffff
cmp eax, 0x400
jae case.0x67149a83.6
add eax, 0xfffffffe
cmp eax, 0xa
ja case.0x67149a83.6
movzx eax, byte [eax + 0x67149f94]
jmp dword [eax*4 + 0x67149f80]
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
push eax
call sym.Qt5Core.dll_public:_class_QList_class_QVariant____thiscall_QVariant::toList_void_
push eax
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 3
push eax
call sym.Qt5Core.dll_public:_static_class_QStringList___cdecl_QSettingsPrivate::variantListToStringList_class_QList_class_QVariant__const__
add esp, 8
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 5
call fcn.67146e90
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 8]
add ecx, 4
lea esi, [eax + ecx*4]
mov ecx, dword [eax + 0xc]
add ecx, 4
lea ecx, [eax + ecx*4]
cmp esi, ecx
je 0x67149b0b
mov eax, dword [esi]
cmp dword [eax + 4], 0
je 0x67149c13
xor eax, eax
mov ecx, esi
push 1
mov word [ebp - 0x30], ax
push eax
push dword [ebp - 0x30]
call sym.Qt5Core.dll_public:_int___thiscall_QString::indexOf_class_QChar__int__enum_Qt::CaseSensitivity_const
cmp eax, 0xffffffff
jne 0x67149c13
mov eax, dword [ebp - 0x14]
add esi, 4
mov ecx, dword [eax + 0xc]
add ecx, 4
lea ecx, [eax + ecx*4]
cmp esi, ecx
jne 0x67149ad0
mov ecx, dword [eax + 8]
add ecx, 4
lea esi, [eax + ecx*4]
mov ecx, dword [eax + 0xc]
lea eax, [eax + ecx*4]
add eax, 0x10
cmp esi, eax
je 0x67149bb2
mov eax, dword [esi]
cmp dword [eax + 0xc], 0x10
mov ecx, dword [eax + 4]
lea edx, [ecx*2 + 2]
mov dword [ebp - 0x34], edx
je 0x67149b4a
lea eax, [ecx + 1]
mov ecx, esi
push 0
push eax
call sym.Qt5Core.dll_private:_void___thiscall_QString::reallocData_unsigned_int__bool_
mov edx, dword [ebp - 0x34]
mov eax, dword [esi]
push edx
mov ecx, dword [eax + 0xc]
add ecx, eax
push ecx
lea ecx, [ebp + 0xc]
call sym.Qt5Core.dll_public:_void___thiscall_QByteArray::constructor_char_const___int_
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 7
call sym.Qt5Core.dll_public:_class_QByteArray____thiscall_QByteArray::append_class_QByteArray_const__
mov byte [ebp - 4], 5
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
test eax, eax
je 0x67149b8b
cmp eax, 0xffffffff
je 0x67149b9b
mov eax, dword [ebp + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x67149b9b
mov eax, dword [ebp + 0xc]
cmp eax, 0x674c7cb4
je 0x67149b9b
push eax
call ebx
add esp, 4
mov eax, dword [ebp - 0x14]
add esi, 4
mov ecx, dword [eax + 0xc]
lea eax, [eax + ecx*4]
add eax, 0x10
cmp esi, eax
jne 0x67149b25
push 0
lea ecx, [ebp + 8]
call sym.Qt5Core.dll_public:_class_QByteArray____thiscall_QByteArray::append_char_
push 0
lea ecx, [ebp + 8]
call sym.Qt5Core.dll_public:_class_QByteArray____thiscall_QByteArray::append_char_
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
test eax, eax
je 0x67149bf1
cmp eax, 0xffffffff
je 0x67149dc7
mov eax, dword [ebp - 0x14]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x67149dc7
mov esi, dword [ebp - 0x14]
mov eax, dword [esi + 0xc]
add eax, 4
lea eax, [esi + eax*4]
push eax
mov eax, dword [esi + 8]
add eax, 4
lea eax, [esi + eax*4]
push eax
call fcn.67016bc0
push esi
jmp 0x67149dc2
push dword [ebp + 0xc]
lea eax, [ebp + 0xc]
mov dword [ebp - 0x18], 3
push eax
call sym.Qt5Core.dll_public:_static_class_QString___cdecl_QSettingsPrivate::variantToString_class_QVariant_const__
add esp, 8
mov byte [ebp - 4], 6
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0xc], 0x10
mov ecx, dword [eax + 4]
lea esi, [ecx + ecx]
je 0x67149c4d
lea eax, [ecx + 1]
push 0
push eax
lea ecx, [ebp + 0xc]
call sym.Qt5Core.dll_private:_void___thiscall_QString::reallocData_unsigned_int__bool_
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0xc]
add ecx, eax
push esi
push ecx
lea ecx, [ebp - 0x34]
call sym.Qt5Core.dll_public:_void___thiscall_QByteArray::constructor_char_const___int_
mov ecx, dword [eax]
mov dword [ebp + 8], ecx
lea ecx, [ebp - 0x34]
mov dword [eax], sym.Qt5Core.dll_struct_QArrayData_const__const_const_QArrayData::shared_null
call sym.Qt5Core.dll_public:_void___thiscall_QVector_class_QPoint_::destructor_void_
lea ecx, [ebp + 0xc]
call sym.Qt5Core.dll_public:_void___thiscall_QVector_class_QPoint_::destructor_void_
jmp 0x67149bc6
push 0
mov dword [ebp - 0x18], 4
call sym.Qt5Core.dll_public:_int___thiscall_QVariant::toInt_bool__const
mov dword [ebp + 0xc], eax
lea ecx, [ebp - 0x34]
push 4
lea eax, [ebp + 0xc]
push eax
call sym.Qt5Core.dll_public:_void___thiscall_QByteArray::constructor_char_const___int_
lea ecx, [ebp - 0x34]
mov esi, dword [eax]
mov dword [ebp + 8], esi
mov dword [eax], sym.Qt5Core.dll_struct_QArrayData_const__const_const_QArrayData::shared_null
call sym.Qt5Core.dll_public:_void___thiscall_QVector_class_QPoint_::destructor_void_
jmp 0x67149dca
push ecx
push 0
mov dword [ebp - 0x18], 0xb
call fcn.671d6e10
add esp, 8
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
mov dword [ebp - 0x34], edx
lea ecx, [ebp + 0xc]
push 8
push eax
call sym.Qt5Core.dll_public:_void___thiscall_QByteArray::constructor_char_const___int_
lea ecx, [ebp + 0xc]
mov esi, dword [eax]
mov dword [ebp + 8], esi
mov dword [eax], sym.Qt5Core.dll_struct_QArrayData_const__const_const_QArrayData::shared_null
call sym.Qt5Core.dll_public:_void___thiscall_QVector_class_QPoint_::destructor_void_
jmp 0x67149dca
push ecx
lea eax, [ebp + 0xc]
push eax
call sym.Qt5Core.dll_public:_static_class_QString___cdecl_QSettingsPrivate::variantToString_class_QVariant_const__
add esp, 8
xor eax, eax
mov byte [ebp - 4], 8
push 1
push eax
mov word [ebp - 0x34], ax
lea ecx, [ebp + 0xc]
push dword [ebp - 0x34]
call sym.Qt5Core.dll_public:_int___thiscall_QString::indexOf_class_QChar__int__enum_Qt::CaseSensitivity_const
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
lea ecx, [ecx*2 + 1]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0xc]
mov esi, dword [ecx + 4]
lea edx, [esi + 1]
cmove esi, edx
cmp dword [ecx + 0xc], 0x10
je 0x67149d48
push 0
push edx
lea ecx, [ebp + 0xc]
call sym.Qt5Core.dll_private:_void___thiscall_QString::reallocData_unsigned_int__bool_
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0xc]
lea eax, [esi + esi]
add edx, ecx
lea ecx, [ebp - 0x14]
push eax
push edx
call sym.Qt5Core.dll_public:_void___thiscall_QByteArray::constructor_char_const___int_
mov ecx, dword [eax]
mov dword [eax], sym.Qt5Core.dll_struct_QArrayData_const__const_const_QArrayData::shared_null
mov eax, dword [ebp - 0x14]
mov dword [ebp + 8], ecx
mov eax, dword [eax]
test eax, eax
je 0x67149d84
cmp eax, 0xffffffff
je 0x67149d94
mov eax, dword [ebp - 0x14]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x67149d94
mov eax, dword [ebp - 0x14]
cmp eax, 0x674c7cb4
je 0x67149d94
push eax
call ebx
add esp, 4
mov byte [ebp - 4], 2
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
test eax, eax
je 0x67149db7
cmp eax, 0xffffffff
je 0x67149dc7
mov eax, dword [ebp + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x67149dc7
mov eax, dword [ebp + 0xc]
cmp eax, 0x674c7cb4
je 0x67149dc7
push eax
call ebx
add esp, 4
mov esi, dword [ebp + 8]
mov eax, dword [esi + 4]
lea edx, [ebp - 0x10]
mov dword [ebp + 0xc], eax
lea ecx, [ebp - 0x20]
mov eax, dword [esi + 0xc]
add eax, esi
mov dword [ebp - 0x34], eax
call fcn.67146f50
mov esi, eax
mov byte [ebp - 4], 9
mov ecx, dword [esi]
cmp dword [ecx + 0xc], 0x10
je 0x67149dff
mov ecx, dword [ecx + 4]
inc ecx
push 0
push ecx
mov ecx, esi
call sym.Qt5Core.dll_private:_void___thiscall_QString::reallocData_unsigned_int__bool_
push dword [ebp + 0xc]
mov eax, dword [esi]
push dword [ebp - 0x34]
push dword [ebp - 0x18]
mov ecx, dword [eax + 0xc]
push 0
add ecx, eax
push ecx
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov byte [ebp - 4], 2
mov esi, eax
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x34], esi
mov ecx, dword [ecx]
test ecx, ecx
je 0x67149e43
cmp ecx, 0xffffffff
je 0x67149e53
mov eax, dword [ebp - 0x20]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x67149e53
mov eax, dword [ebp - 0x20]
cmp eax, 0x674c7cb4
je 0x67149e53
push eax
call ebx
add esp, 4
test esi, esi
jne 0x67149e63
mov eax, dword [ebp - 0x24]
mov byte [eax + 0x58], 0
jmp 0x67149ee8
mov eax, dword [ebp - 0x10]
mov dword [ebp + 0xc], eax
mov eax, dword [eax]
test eax, eax
je 0x67149e7a
cmp eax, 0xffffffff
je 0x67149e7a
mov eax, dword [ebp - 0x10]
lock inc dword [eax]
mov byte [ebp - 4], 0xa
mov esi, dword [ebp + 0xc]
cmp dword [esi + 0xc], 0x10
je 0x67149e99
mov eax, dword [esi + 4]
lea ecx, [ebp + 0xc]
push 0
inc eax
push eax
call sym.Qt5Core.dll_private:_void___thiscall_QString::reallocData_unsigned_int__bool_
mov esi, dword [ebp + 0xc]
mov eax, dword [esi + 0xc]
add eax, esi
push eax
push str.QSettings:_failed_to_set_subkey___ls_
push dword [ebp - 0x34]
call sym.Qt5Core.dll_void___cdecl_qErrnoWarning_int__char_const__
mov ecx, dword [esi]
add esp, 0xc
mov eax, dword [ebp + 0xc]
test ecx, ecx
je 0x67149ecb
cmp ecx, 0xffffffff
je 0x67149ed8
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
setne cl
test cl, cl
jne 0x67149ed8
cmp eax, 0x674c7cb4
je 0x67149ed8
push eax
call ebx
add esp, 4
mov eax, dword [ebp - 0x24]
cmp dword [eax + 0x50], 0
jne 0x67149ee8
mov dword [eax + 0x50], 1
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ebp + 8]
test ecx, ecx
je 0x67149f10
cmp ecx, 0xffffffff
je 0x67149f1d
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
setne cl
test cl, cl
jne 0x67149f1d
cmp eax, 0x674c7cb4
je 0x67149f1d
push eax
call ebx
add esp, 4
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
test eax, eax
je 0x67149f3a
cmp eax, 0xffffffff
je 0x67149f6b
mov eax, dword [ebp - 0x10]
lock xadd dword [eax], edi
dec edi
setne al
test al, al
jne 0x67149f6b
mov eax, dword [ebp - 0x10]
cmp eax, 0x674c7cb4
je 0x67149f6b
push eax
call ebx
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp dword [ebx + 0x50], 0
jne 0x67149f6b
mov dword [ebx + 0x50], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8