Function at 0x670d92ef
Capabilities:
Resolve function by parsing pe exports
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x6715f480
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push ebp
push esi
push edi
mov eax, dword [0x672699e0]
xor eax, esp
push eax
lea eax, [esp + 0x64]
mov dword fs:[0], eax
mov ebp, ecx
mov dword [esp + 0x48], ebp
mov eax, dword [ebp + 0x74]
cmp dword [eax + 8], 0
je 0x670d91f5
lea esi, [eax + 0x10]
mov ecx, esi
call fcn.670d7bf0
test eax, eax
je 0x670d91f5
cmp byte [esi + 0xc], 0
jne 0x670d91f5
mov ecx, esi
call fcn.670d7bf0
test eax, eax
jne 0x670d9203
push 1
mov ecx, ebp
call fcn.670c5d50
jmp 0x670d97a5
mov eax, dword [esp + 0x74]
mov eax, dword [eax]
push ecx
mov ecx, esp
mov dword [ecx], eax
mov dword [esp + 0x5c], esp
mov ecx, 1
lock xadd dword [eax], ecx
lea edx, [esp + 0x1c]
push edx
call fcn.670d7f70
add esp, 8
lea edi, [esp + 0x18]
lea esi, [esp + 0x24]
mov dword [esp + 0x6c], 0
call fcn.670d7c50
mov esi, eax
mov eax, dword [ebp + 0x74]
cmp dword [eax + 8], 0
mov byte [esp + 0x6c], 1
je 0x670d926a
lea edi, [eax + 0x10]
mov ecx, edi
call fcn.670d7bf0
test eax, eax
je 0x670d926a
cmp byte [edi + 0xc], 0
jne 0x670d926a
mov ecx, edi
call fcn.670d7bf0
jmp 0x670d926c
xor eax, eax
mov edi, 0x2001f
mov ebx, eax
call fcn.670d7ae0
mov esi, eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x4c], esi
mov byte [esp + 0x6c], 0
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x670d929d
mov edx, dword [esp + 0x24]
push edx
call sym.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__
add esp, 4
test esi, esi
jne 0x670d92af
push 1
mov ecx, ebp
call fcn.670c5d50
jmp 0x670d9787
mov dword [esp + 0x14], sym.QtCore4.dll_struct_QByteArray::Data_QByteArray::shared_null
mov eax, sym.QtCore4.dll_struct_QByteArray::Data_QByteArray::shared_null
mov ecx, 1
lock xadd dword [eax], ecx
mov esi, dword [esp + 0x78]
mov ecx, esi
mov byte [esp + 0x6c], 2
call sym.QtCore4.dll_public:_enum_QVariant::Type___thiscall_QVariant::type_void_
add eax, 0xfffffffe
cmp eax, 9
ja case.0x670d92e8.6
movzx edx, byte [eax + 0x670d97cc]
jmp dword [edx*4 + 0x670d97bc]
lea eax, [esp + 0x20]
push eax
mov ecx, esi
mov ebp, 7
call sym.QtCore4.dll_public:_class_QList_class_QVariant____thiscall_QVariant::toList_void_
push eax
lea ecx, [esp + 0x78]
push ecx
mov byte [esp + 0x74], 3
call fcn.670ccac0
add esp, 8
mov edx, dword [esp + 0x20]
mov byte [esp + 0x6c], 5
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x670d9333
mov ecx, dword [esp + 0x20]
push ecx
lea ecx, [esp + 0x24]
call fcn.670c7260
mov eax, dword [esp + 0x74]
mov edx, dword [eax + 8]
mov ecx, dword [eax + 0xc]
lea edi, [eax + edx*4 + 0x14]
lea ebx, [eax + ecx*4 + 0x14]
mov dword [esp + 0x78], edi
cmp edi, ebx
je 0x670d9376
lea ecx, [ecx]
mov edx, dword [edi]
cmp dword [edx + 8], 0
je 0x670d941a
mov ecx, edi
call fcn.670d7e10
test al, al
jne 0x670d941a
add edi, 4
cmp edi, ebx
jne 0x670d9350
mov edi, dword [esp + 0x78]
mov esi, edi
cmp esi, ebx
je 0x670d93db
lea esp, [esp]
mov eax, dword [esi]
mov eax, dword [eax + 8]
lea ecx, [eax + eax + 2]
push ecx
mov ecx, esi
call sym.QtCore4.dll_public:_unsigned_short_int_const____thiscall_QString::utf16_void_const
push eax
lea ecx, [esp + 0x34]
call sym.QtCore4.dll_public:_void___thiscall_QByteArray::constructor_char_const___int_
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x70], 7
call sym.QtCore4.dll_public:_class_QByteArray____thiscall_QByteArray::append_class_QByteArray_const__
mov edx, dword [esp + 0x2c]
mov byte [esp + 0x6c], 5
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x670d93c9
mov ecx, dword [esp + 0x2c]
push ecx
call sym.QtCore4.dll_void___cdecl_qFree_void__
add esp, 4
mov eax, dword [esp + 0x74]
mov edx, dword [eax + 0xc]
add esi, 4
lea eax, [eax + edx*4 + 0x14]
cmp esi, eax
jne 0x670d9380
push 0
lea ecx, [esp + 0x18]
call sym.QtCore4.dll_public:_class_QByteArray____thiscall_QByteArray::append_char_
push 0
lea ecx, [esp + 0x18]
call sym.QtCore4.dll_public:_class_QByteArray____thiscall_QByteArray::append_char_
mov eax, dword [esp + 0x74]
mov byte [esp + 0x6c], 2
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x670d95f7
mov edx, dword [esp + 0x74]
push edx
lea ecx, [esp + 0x78]
call fcn.67019690
jmp 0x670d95f7
lea eax, [esp + 0x1c]
push esi
push eax
mov ebp, 3
call fcn.670c9cc0
add esp, 8
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx + 8]
lea edx, [eax + eax]
push edx
lea ecx, [esp + 0x20]
mov byte [esp + 0x70], 6
call sym.QtCore4.dll_public:_unsigned_short_int_const____thiscall_QString::utf16_void_const
push eax
lea ecx, [esp + 0x30]
call sym.QtCore4.dll_public:_void___thiscall_QByteArray::constructor_char_const___int_
mov edx, dword [eax]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x14], edx
mov dword [eax], ecx
mov eax, dword [esp + 0x28]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x670d9476
mov edx, dword [esp + 0x28]
push edx
call sym.QtCore4.dll_void___cdecl_qFree_void__
add esp, 4
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x6c], 5
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x670d93f1
mov edx, dword [esp + 0x1c]
push edx
call sym.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__
add esp, 4
jmp 0x670d93f1
push 0
mov ecx, esi
mov ebp, 4
call sym.QtCore4.dll_public:_int___thiscall_QVariant::toInt_bool__const
mov dword [esp + 0x50], eax
push ebp
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x5c]
call sym.QtCore4.dll_public:_void___thiscall_QByteArray::constructor_char_const___int_
mov ecx, dword [esp + 0x14]
mov edx, dword [eax]
mov dword [esp + 0x14], edx
mov dword [eax], ecx
lea ecx, [esp + 0x54]
call sym.QtCore4.dll_public:_void___thiscall_QBitArray::destructor_void_
jmp 0x670d95f7
push 0
mov ecx, esi
mov ebp, 0xb
call sym.QtCore4.dll_public:_long_long___int64____thiscall_QVariant::toLongLong_bool__const
mov dword [esp + 0x5c], eax
push 8
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x60]
mov dword [esp + 0x68], edx
call sym.QtCore4.dll_public:_void___thiscall_QByteArray::constructor_char_const___int_
mov ecx, dword [esp + 0x14]
mov edx, dword [eax]
mov dword [esp + 0x14], edx
mov dword [eax], ecx
lea ecx, [esp + 0x58]
call sym.QtCore4.dll_public:_void___thiscall_QBitArray::destructor_void_
jmp 0x670d95f7
lea eax, [esp + 0x78]
push esi
push eax
call fcn.670c9cc0
add esp, 8
mov edx, dword [esp + 0x78]
mov ecx, dword [edx + 8]
xor eax, eax
mov byte [esp + 0x6c], 8
test ecx, ecx
jle 0x670d954e
mov edx, dword [edx + 0xc]
lea esp, [esp]
cmp word [edx], 0
je 0x670d9596
inc eax
add edx, 2
cmp eax, ecx
jl 0x670d9540
xor al, al
xor edx, edx
test al, al
setne dl
lea ebp, [edx + edx + 1]
cmp ebp, 3
jne 0x670d959a
lea eax, [ecx + ecx]
push eax
lea ecx, [esp + 0x7c]
call sym.QtCore4.dll_public:_unsigned_short_int_const____thiscall_QString::utf16_void_const
push eax
lea ecx, [esp + 0x38]
call sym.QtCore4.dll_public:_void___thiscall_QByteArray::constructor_char_const___int_
mov edx, dword [eax]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x14], edx
mov dword [eax], ecx
mov eax, dword [esp + 0x30]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x670d95d8
mov edx, dword [esp + 0x30]
jmp 0x670d95cf
mov al, 1
jmp 0x670d9550
lea eax, [ecx + ecx + 2]
push eax
lea ecx, [esp + 0x7c]
call sym.QtCore4.dll_public:_unsigned_short_int_const____thiscall_QString::utf16_void_const
push eax
lea ecx, [esp + 0x3c]
call sym.QtCore4.dll_public:_void___thiscall_QByteArray::constructor_char_const___int_
mov edx, dword [eax]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x14], edx
mov dword [eax], ecx
mov eax, dword [esp + 0x34]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x670d95d8
mov edx, dword [esp + 0x34]
push edx
call sym.QtCore4.dll_void___cdecl_qFree_void__
add esp, 4
mov eax, dword [esp + 0x78]
mov byte [esp + 0x6c], 2
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x670d95f7
mov edx, dword [esp + 0x78]
push edx
call sym.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__
add esp, 4
lea eax, [esp + 0x38]
push eax
lea edi, [esp + 0x1c]
call fcn.670d8530
add esp, 4
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
push edx
push ecx
push ebp
push 0
mov ecx, eax
mov byte [esp + 0x7c], 9
call sym.QtCore4.dll_public:_unsigned_short_int_const____thiscall_QString::utf16_void_const
mov ecx, dword [esp + 0x5c]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [esp + 0x38]
mov esi, eax
mov byte [esp + 0x6c], 2
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x670d9650
mov ecx, dword [esp + 0x38]
push ecx
call sym.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__
add esp, 4
test esi, esi
jne 0x670d9661
mov edx, dword [esp + 0x48]
mov byte [edx + 0x78], 0
jmp 0x670d975d
lea eax, [esp + 0x44]
push esi
push eax
call fcn.670d7ca0
add esp, 8
lea ecx, [esp + 0x40]
push ecx
mov bl, 0xa
mov ecx, eax
mov byte [esp + 0x70], bl
call sym.QtCore4.dll_public:_class_QByteArray___thiscall_QString::toLatin1_void_
mov esi, eax
lea edx, [esp + 0x3c]
push edx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x70], 0xb
call sym.QtCore4.dll_public:_class_QByteArray___thiscall_QString::toLatin1_void_
mov edi, eax
mov eax, dword [esi]
mov eax, dword [eax]
mov byte [esp + 0x6c], 0xc
cmp eax, 1
jne 0x670d96b0
mov eax, dword [esi]
lea ecx, [eax + 0x10]
cmp dword [eax + 0xc], ecx
je 0x670d96bd
mov edx, dword [esi]
mov eax, dword [edx + 8]
push eax
mov ecx, esi
call sym.QtCore4.dll_private:_void___thiscall_QByteArray::realloc_int_
mov eax, dword [edi]
mov edx, dword [eax]
mov ecx, dword [esi]
mov esi, dword [ecx + 0xc]
cmp edx, 1
jne 0x670d96d5
mov eax, dword [edi]
lea ecx, [eax + 0x10]
cmp dword [eax + 0xc], ecx
je 0x670d96e2
mov edx, dword [edi]
mov eax, dword [edx + 8]
push eax
mov ecx, edi
call sym.QtCore4.dll_private:_void___thiscall_QByteArray::realloc_int_
mov ecx, dword [edi]
mov eax, dword [ecx + 0xc]
push esi
push eax
push str.QSettings:_failed_to_set_subkey___s_:__s
call sym.QtCore4.dll_void___cdecl_qWarning_char_const__
mov edx, dword [esp + 0x48]
add esp, 0xc
mov byte [esp + 0x6c], 0xb
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x670d9715
mov ecx, dword [esp + 0x3c]
push ecx
call sym.QtCore4.dll_void___cdecl_qFree_void__
add esp, 4
mov edx, dword [esp + 0x40]
mov byte [esp + 0x6c], bl
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x670d9733
mov ecx, dword [esp + 0x40]
push ecx
call sym.QtCore4.dll_void___cdecl_qFree_void__
add esp, 4
mov edx, dword [esp + 0x44]
mov byte [esp + 0x6c], 2
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x670d9752
mov ecx, dword [esp + 0x44]
push ecx
call sym.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__
add esp, 4
mov ecx, dword [esp + 0x48]
push 1
call fcn.670c5d50
mov edx, dword [esp + 0x4c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x14]
mov byte [esp + 0x6c], 0
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x670d9787
mov edx, dword [esp + 0x14]
push edx
call sym.QtCore4.dll_void___cdecl_qFree_void__
add esp, 4
mov eax, dword [esp + 0x18]
or ecx, 0xffffffff
mov dword [esp + 0x6c], ecx
lock xadd dword [eax], ecx
jne 0x670d97a5
mov edx, dword [esp + 0x18]
push edx
call sym.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__
add esp, 4
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret 8