Function at 0x1000d9c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x100219a3
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1003ead0]
xor eax, esp
push eax
lea eax, [esp + 0x64]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x7c]
mov dword [esp + 0x38], 0
mov eax, dword [ecx + 4]
mov dword [esp + 0x34], eax
test bl, 2
je 0x1000da06
call sym.phonon4.dll_public:_bool___thiscall_Phonon::GlobalConfig::hideAdvancedDevices_void_const
jmp 0x1000da0a
mov al, bl
and al, 1
mov byte [esp + 0x17], al
mov eax, dword [sym.imp.QtCore4.dll_struct_QListData::Data_QListData::shared_null]
mov dword [esp + 0x18], eax
mov ecx, 1
lock xadd dword [eax], ecx
mov dword [esp + 0x6c], 1
call sym.phonon4.dll_public:_static_class_Phonon::PulseSupport____cdecl_Phonon::PulseSupport::getInstance_void_
mov esi, eax
mov ecx, esi
call sym.phonon4.dll_public:_bool___thiscall_Phonon::PulseSupport::isActive_void_
test al, al
je 0x1000dab9
push 4
lea edx, [esp + 0x24]
push edx
mov ecx, esi
call sym.phonon4.dll_public:_class_QList_int____thiscall_Phonon::PulseSupport::objectDescriptionIndexes_enum_Phonon::ObjectDescriptionType_
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x70], 2
call fcn.10017f10
mov eax, dword [esp + 0x20]
mov byte [esp + 0x6c], 1
test eax, eax
je 0x1000da85
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x1000da85
mov edx, dword [esp + 0x20]
mov eax, dword [edx]
test eax, eax
jne 0x1000da85
mov ecx, dword [esp + 0x20]
push ecx
call dword [sym.imp.QtCore4.dll_void___cdecl_qFree_void__]
add esp, 4
mov al, byte [esp + 0x17]
test al, al
jne 0x1000da96
test bl, 4
je 0x1000dcd9
xor edx, edx
test al, al
setne dl
and ebx, 4
lea eax, [esp + 0x18]
or edx, ebx
push edx
push eax
push 0
push 4
call fcn.1000c640
add esp, 0x10
jmp 0x1000dcd9
push 1
call sym.phonon4.dll_class_QObject____cdecl_Phonon::Factory::backend_bool_
add esp, 4
test eax, eax
je 0x1000dadb
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 4]
push str.BackendInterface3.phonon.kde.org
call eax
mov dword [esp + 0x30], eax
jmp 0x1000dae3
mov dword [esp + 0x30], 0
call sym.phonon4.dll_class_Phonon::PlatformPlugin____cdecl_Phonon::Factory::platformPlugin_void_
test eax, eax
je 0x1000dc37
mov edx, dword [eax]
mov edx, dword [edx + 0x28]
push 4
lea ecx, [esp + 0x28]
push ecx
mov ecx, eax
call edx
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x70], 3
call fcn.10017f10
mov eax, dword [esp + 0x24]
mov byte [esp + 0x6c], 1
test eax, eax
je 0x1000db3d
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x1000db3d
mov edx, dword [esp + 0x24]
mov eax, dword [edx]
test eax, eax
jne 0x1000db3d
mov ecx, dword [esp + 0x24]
push ecx
call dword [sym.imp.QtCore4.dll_void___cdecl_qFree_void__]
add esp, 4
cmp byte [esp + 0x17], 0
je 0x1000dc37
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x40]
call fcn.1000c560
mov ebp, dword [esp + 0x3c]
mov eax, dword [ebp]
mov ecx, dword [eax + 0xc]
mov esi, dword [esp + 0x40]
lea eax, [eax + ecx*4 + 0x14]
mov byte [esp + 0x6c], 4
cmp eax, esi
je 0x1000dc2b
mov bl, 5
mov eax, esi
mov edx, dword [eax]
mov dword [esp + 0x44], eax
push edx
lea eax, [esp + 0x2c]
add esi, 4
push eax
mov dword [esp + 0x48], esi
call fcn.10005470
add esp, 8
push str.isAdvanced
lea ecx, [esp + 0x58]
push ecx
lea ecx, [esp + 0x30]
mov byte [esp + 0x74], bl
call fcn.1000b730
test dword [esp + 0x5c], 0x3fffffff
mov byte [esp + 0x6c], 6
je 0x1000dbd9
lea ecx, [esp + 0x54]
call dword [sym.imp.QtCore4.dll_public:_bool___thiscall_QVariant::toBool_void_const]
test al, al
je 0x1000dbd9
lea ecx, [esp + 0x3c]
call fcn.1000c5f0
mov esi, dword [esp + 0x40]
mov ebp, dword [esp + 0x3c]
lea ecx, [esp + 0x54]
mov byte [esp + 0x6c], bl
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QVariant::destructor_void_]
mov eax, dword [esp + 0x28]
mov byte [esp + 0x6c], 4
test eax, eax
je 0x1000dc15
or edx, 0xffffffff
lock xadd dword [eax], edx
jne 0x1000dc15
mov ecx, dword [esp + 0x28]
mov edi, ecx
test ecx, ecx
je 0x1000dc15
call sym.phonon4.dll_public:_void___thiscall_Phonon::ObjectDescriptionData::destructor_void_
push edi
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [ebp]
mov ecx, dword [eax + 0xc]
lea eax, [eax + ecx*4 + 0x14]
cmp eax, esi
jne 0x1000db77
mov ebx, dword [esp + 0x7c]
mov eax, dword [ebp]
or dword [eax + 0x10], 1
mov byte [esp + 0x6c], 1
mov esi, dword [esp + 0x30]
test esi, esi
je 0x1000dcd9
mov edx, dword [esi]
mov edx, dword [edx + 8]
push 4
lea eax, [esp + 0x20]
push eax
mov ecx, esi
call edx
mov cl, byte [esp + 0x17]
mov eax, dword [esp + 0x18]
mov byte [esp + 0x6c], 7
test cl, cl
jne 0x1000dc71
mov edx, dword [eax + 0xc]
cmp edx, dword [eax + 8]
jne 0x1000dc71
test bl, 4
je 0x1000dc9d
mov edx, dword [eax + 0xc]
sub edx, dword [eax + 8]
neg edx
sbb edx, edx
and edx, 2
xor eax, eax
test cl, cl
setne al
and ebx, 4
lea ecx, [esp + 0x1c]
or edx, eax
or edx, ebx
push edx
push ecx
push esi
push 4
call fcn.1000c640
add esp, 0x10
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x1c]
call fcn.1000c230
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x6c], 1
test eax, eax
je 0x1000dcd9
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x1000dcd9
mov edx, dword [esp + 0x1c]
mov eax, dword [edx]
test eax, eax
jne 0x1000dcd9
mov ecx, dword [esp + 0x1c]
push ecx
call dword [sym.imp.QtCore4.dll_void___cdecl_qFree_void__]
add esp, 4
push 0xffffffffffffffff
push str.AudioCaptureDevice
call dword [sym.imp.QtCore4.dll_private:_static_struct_QString::Data____cdecl_QString::fromLatin1_helper_char_const___int_]
add esp, 8
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x34]
lea edx, [esp + 0x2c]
push edx
add eax, 4
push eax
lea ecx, [esp + 0x50]
mov byte [esp + 0x74], 8
call fcn.1000bb10
mov ecx, dword [esp + 0x2c]
mov byte [esp + 0x6c], 0xa
or edx, 0xffffffff
lock xadd dword [ecx], edx
mov edi, dword [sym.imp.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__]
jne 0x1000dd2a
mov eax, dword [esp + 0x2c]
push eax
call edi
add esp, 4
mov edx, dword [esp + 0x78]
mov esi, dword [esp + 0x74]
lea ecx, [esp + 0x18]
push ecx
push edx
push 4
lea eax, [esp + 0x54]
push eax
push esi
call fcn.1000ced0
add esp, 0x14
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x38], 1
mov byte [esp + 0x6c], 1
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x1000dd6c
mov eax, dword [esp + 0x50]
push eax
call edi
add esp, 4
mov eax, dword [esp + 0x18]
mov byte [esp + 0x6c], 0
test eax, eax
je 0x1000dd9a
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x1000dd9a
mov edx, dword [esp + 0x18]
mov eax, dword [edx]
test eax, eax
jne 0x1000dd9a
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.QtCore4.dll_void___cdecl_qFree_void__]
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret 0xc