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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov ebx, ecx
sub esp, 0x5c
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [esp], eax
call dword [sym.imp.Qt5Core.dll_QThread::QThread_QObject_]
mov eax, dword [sym.imp.Qt5Core.dll_QListData::shared_null]
sub esp, 4
mov dword [ebx], 0x52c788
mov byte [ebx + 8], 0
mov byte [ebx + 9], 0
mov byte [ebx + 0x10], 0
mov dword [ebx + 0x14], 1
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x18], 0x400
mov byte [ebx + 0x1c], 0
mov dword [ebx + 0x20], 1
mov byte [ebx + 0x24], 0
mov byte [ebx + 0x25], 1
mov byte [ebx + 0x26], 0
mov byte [ebx + 0x27], 1
mov byte [ebx + 0x28], 0
mov byte [ebx + 0x29], 1
mov byte [ebx + 0x2a], 0
mov dword [ebx + 0x2c], 0x500
mov dword [ebx + 0x30], 0x2d0
mov dword [ebx + 0x34], 0xc0
mov byte [ebx + 0x38], 0
mov dword [ebx + 0x3c], 0x14
mov dword [ebx + 0x40], 0
mov byte [ebx + 0x44], 0
mov byte [ebx + 0x45], 0
mov byte [ebx + 0x46], 0
mov byte [ebx + 0x47], 0
mov byte [ebx + 0x48], 0
mov dword [ebx + 0x4c], 0
mov dword [esp + 4], 0
mov dword [esp], 0x51418d
mov esi, dword [method.QString.fromAscii_helper_char_const__int_]
call esi
mov dword [ebx + 0x50], eax
mov dword [esp + 4], 0
mov dword [esp], 0x51418d
call esi
mov dword [ebx + 0x54], eax
mov eax, dword [sym.imp.Qt5Core.dll_QArrayData::shared_null]
mov byte [ebx + 0x64], 0
mov dword [esp + 4], 0
mov dword [esp], 0x51418d
mov dword [ebx + 0x58], eax
mov dword [ebx + 0x5c], eax
mov dword [ebx + 0x60], eax
call esi
mov dword [ebx + 0x68], eax
mov dword [esp + 4], 0
mov dword [esp], 0x51418d
call esi
mov dword [ebx + 0x6c], eax
mov byte [ebx + 0x70], 0
mov dword [esp + 4], 0
mov dword [esp], 0x51418d
call esi
mov dword [ebx + 0x74], eax
mov byte [ebx + 0x78], 0
mov dword [esp + 4], 0
mov dword [esp], 0x51418d
call esi
mov dword [ebx + 0x7c], eax
mov byte [ebx + 0x80], 0
mov byte [ebx + 0x81], 0
mov dword [esp + 4], 0
mov dword [esp], 0x51418d
call esi
mov dword [ebx + 0x84], eax
fld dword [0x5141a0]
lea eax, [ebx + 0x138]
mov byte [ebx + 0x88], 0
mov dword [ebx + 0x8c], 0
mov byte [ebx + 0x90], 0
mov byte [ebx + 0x91], 1
fstp qword [ebx + 0x98]
mov byte [ebx + 0x92], 0
mov dword [ebx + 0x94], 1
mov byte [ebx + 0xa0], 0
mov dword [ebx + 0xa4], 2
mov byte [ebx + 0xa8], 0
mov dword [ebx + 0xac], 0
mov byte [ebx + 0xb0], 0
mov dword [ebx + 0xb4], 0
mov byte [ebx + 0xb8], 0
mov byte [ebx + 0xb9], 1
mov byte [ebx + 0xba], 0
mov byte [ebx + 0xbb], 1
mov byte [ebx + 0xbc], 0
mov byte [ebx + 0xbd], 1
mov byte [ebx + 0xbe], 0
mov dword [ebx + 0xc0], 0xffffffff
mov byte [ebx + 0xc4], 0
mov dword [ebx + 0xc8], 0
mov byte [ebx + 0xcc], 0
mov dword [ebx + 0xd0], 0
mov byte [ebx + 0xd4], 0
mov dword [ebx + 0xd8], 0xff
mov byte [ebx + 0xdc], 0
mov byte [ebx + 0xdd], 1
mov byte [ebx + 0xde], 0
mov byte [ebx + 0xdf], 0
mov byte [ebx + 0xe0], 0
mov byte [ebx + 0xe1], 0
mov byte [ebx + 0xe2], 0
mov byte [ebx + 0xe3], 1
mov byte [ebx + 0xe4], 0
mov byte [ebx + 0xe5], 0
mov byte [ebx + 0xe6], 0
mov byte [ebx + 0xe7], 0
mov byte [ebx + 0xe8], 0
mov byte [ebx + 0xe9], 0
mov dword [ebx + 0xf0], 0
mov dword [ebx + 0xf4], 0
mov dword [ebx + 0xf8], 0
mov dword [ebx + 0xfc], 4
mov dword [ebx + 0x100], 4
mov dword [ebx + 0x104], 4
mov dword [ebx + 0x108], 0x140
mov dword [ebx + 0x10c], 0xb4
mov dword [ebx + 0x110], 0
mov dword [ebx + 0x114], 0
mov dword [ebx + 0x118], 0
mov dword [ebx + 0x11c], 0
mov dword [ebx + 0x120], 0x28
mov dword [ebx + 0x124], 0x28
mov dword [ebx + 0x128], 0xa
mov dword [ebx + 0x12c], 0
mov dword [ebx + 0x130], 1
mov dword [ebx + 0x134], 1
mov dword [ebx + 0x138], 0
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
call dword [sym.imp.libmemuqt.dll_adjustCpus_int__int__int__int_]
mov eax, dword [ebx + 0x130]
mov dword [ebx + 0x13c], 0
mov dword [esp + 4], 0xffffffff
mov dword [esp + 8], eax
lea eax, [ebx + 0x13c]
mov dword [esp], eax
call dword [sym.imp.libmemuqt.dll_adjustMemorys_int__int__int_]
mov eax, dword [ebx + 0x130]
mov dword [esp], eax
call dword [sym.imp.libmemuqt.dll_adjustRender_int_]
mov dword [ebx + 0x140], eax
mov eax, dword [0x512b7c]
fld dword [0x5141a0]
mov dword [ebx + 0x14c], 1
mov dword [ebx + 0x15c], 0x500
mov dword [ebx + 0x160], 0x2d0
test eax, eax
fstp qword [ebx + 0x150]
mov dword [ebx + 0x164], 0xc0
mov dword [ebx + 0x168], 0
mov dword [ebx + 0x170], 1
mov dword [ebx + 0x174], 1
mov dword [ebx + 0x178], 1
mov dword [ebx + 0x17c], 1
mov dword [ebx + 0x180], 1
mov dword [ebx + 0x184], 1
mov dword [ebx + 0x188], 1
mov dword [ebx + 0x190], 0
je 0x408f10
mov eax, dword [ebx + 0xc]
mov edx, dword [edi]
cmp eax, edx
je 0x408e41
mov dword [ebp - 0x2c], edx
mov ecx, dword [edx]
test ecx, ecx
jne 0x408ee0
mov eax, dword [edx + 4]
lea ecx, [ebp - 0x2c]
mov dword [esp], eax
call dword [method.QListData.detach_int_]
mov eax, dword [edi]
sub esp, 4
mov edx, dword [eax + 8]
lea esi, [eax + edx*4 + 0x10]
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 0xc]
lea edi, [edx + eax*4 + 0x10]
mov eax, dword [edx + 8]
lea eax, [edx + eax*4 + 0x10]
cmp edi, eax
je 0x408e1a
test eax, eax
je 0x408e0d
mov edx, dword [esi]
mov ecx, dword [edx]
mov dword [eax], edx
add ecx, 1
cmp ecx, 1
jbe 0x408e0d
lock add dword [edx], 1
setne cl
add eax, 4
add esi, 4
cmp edi, eax
jne 0x408df4
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebx + 0xc]
mov dword [ebx + 0xc], edx
mov edx, dword [eax]
mov dword [ebp - 0x2c], eax
test edx, edx
je 0x408f02
cmp edx, 0xffffffff
je 0x408e41
lock sub dword [eax], 1
setne dl
test dl, dl
je 0x409031
mov eax, dword [method.QThread.finished_QThread::QPrivateSignal_]
mov dword [esp], 0x10
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x28], eax
mov eax, dword [method.QObject.deleteLater__]
mov dword [ebp - 0x20], eax
call sub.libstdc_6.dll_operator_new_unsigned_int_
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
lea esi, [ebp - 0x34]
mov dword [eax], 1
mov dword [eax + 4], 0x4f99d0
mov dword [eax + 0xc], edx
mov dword [eax + 8], ecx
mov dword [esp + 0x14], eax
lea eax, [ebp - 0x20]
mov edx, dword [sym.imp.Qt5Core.dll_QThread::staticMetaObject]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x28]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x20], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp], esi
call dword [method.QObject.connectImpl_QObject_const__void__QObject_const__void__QtPrivate::QSlotObjectBase__Qt::ConnectionType__int_const__QMetaObject_const_]
mov ecx, esi
call dword [method.QMetaObject::Connection.Connection__]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 8
cmp ecx, 0xffffffff
je 0x408ef2
lock add dword [edx], 1
setne al
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebx + 0xc]
mov dword [ebx + 0xc], edx
mov edx, dword [eax]
mov dword [ebp - 0x2c], eax
test edx, edx
jne 0x408e2d
call fcn.00405280
jmp 0x408e41
lea esi, [ebp - 0x30]
mov dword [esp + 4], 0x51418e
mov dword [esp], esi
call dword [method.QMetaObject.normalizedType_char_const_]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0x113
mov dword [esp + 0x14], 4
mov dword [esp + 0x10], 0x4ea900
mov dword [esp + 0xc], 0x4ea8f0
mov dword [esp + 8], 0x4ea8a0
mov dword [esp + 4], 0x4ea8e0
mov dword [esp], esi
call dword [method.QMetaType.registerNormalizedType_QByteArray_const__void____void___void____void_const___void____void___void____void__void_const___int__QFlags_QMetaType::TypeFlag___QMetaObject_const_]
mov edx, dword [ebp - 0x30]
mov esi, eax
mov ecx, dword [edx]
test ecx, ecx
je 0x408f90
cmp ecx, 0xffffffff
je 0x408f80
lock sub dword [edx], 1
setne al
test al, al
je 0x408f8b
mov dword [0x512b7c], esi
jmp 0x408daa
mov edx, dword [ebp - 0x30]
nop
mov dword [esp + 8], 4
mov dword [esp + 4], 1
mov dword [esp], edx
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
jmp 0x408f80
mov eax, dword [ebp - 0x2c]
jmp 0x408f02