Function at 0x408710
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x40bc8d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, ecx
mov ecx, dword [esi + 8]
push edi
call fcn.00406fc0
mov eax, dword [sym.imp.QtCore4.dll_struct_QString::Data_QString::shared_null]
mov dword [esp + 0x14], eax
mov ecx, 1
lock xadd dword [eax], ecx
mov edx, dword [esi + 0x38]
mov ebp, dword [sym.imp.QtCore4.dll_public:_class_QString____cdecl_QString::sprintf_char_const__]
push edx
lea eax, [esp + 0x18]
push str.AvpMemoryCmd__x
xor ebx, ebx
push eax
mov dword [esp + 0x30], ebx
call ebp
add esp, 0xc
lea ecx, [esp + 0x14]
lea edi, [esi + 0x18]
push ecx
mov ecx, edi
call dword [sym.imp.QtCore4.dll_public:_class_QString____thiscall_QString::operator_class_QString_const__]
mov eax, dword [sym.imp.QtCore4.dll_struct_QString::Data_QString::shared_null]
mov dword [esp + 0x10], eax
mov edx, 1
lock xadd dword [eax], edx
mov eax, dword [esi + 0x38]
push ebx
push eax
lea ecx, [esp + 0x18]
push str.AvpMemoryPic__x__x
push ecx
mov byte [esp + 0x34], 1
call ebp
add esp, 0x10
lea edx, [esp + 0x10]
push edx
lea ecx, [esi + 0x1c]
call dword [sym.imp.QtCore4.dll_public:_class_QString____thiscall_QString::operator_class_QString_const__]
push edi
lea ecx, [esi + 0x10]
mov dword [esi + 0x64], ebx
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QSharedMemory::setKey_class_QString_const__]
push 0x18
mov dword [esi + 0x5c], 1
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
mov edi, eax
add esp, 4
mov dword [esp + 0x18], edi
mov byte [esp + 0x24], 2
cmp edi, ebx
je 0x4087ee
push esi
mov ecx, edi
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QTimer::constructor_class_QObject__]
mov dword [edi], vtable.QTimer.0
jmp 0x4087f0
xor edi, edi
push ebx
push str.1OnTimerSetPlayerRunningMsg__
push esi
push str.2timeout__
push edi
mov byte [esp + 0x38], 1
mov dword [esi + 0x58], edi
call dword [sym.imp.QtCore4.dll_public:_static_bool___cdecl_QObject::connect_class_QObject_const___char_const___class_QObject_const___char_const___enum_Qt::ConnectionType_]
mov ecx, dword [esi + 0x58]
add esp, 0x14
push 0x3a98
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QTimer::start_int_]
push 0x20
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
fldz
mov dword [esi + 0x68], eax
mov dword [eax], ebx
mov eax, dword [esi + 0x68]
mov dword [eax + 4], ebx
mov ecx, dword [esi + 0x68]
fstp qword [ecx + 0x10]
mov edx, dword [esi + 0x68]
mov dword [edx + 8], ebx
mov eax, dword [esi + 0x68]
mov dword [eax + 0x18], ebx
add esp, 4
push 7
mov ecx, esi
mov dword [esi + 0x6c], ebx
mov byte [esi + 0x70], bl
mov dword [esi + 0x74], ebx
mov dword [esi + 0x7c], ebx
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QThread::start_enum_QThread::Priority_]
mov ecx, dword [esp + 0x10]
mov byte [esp + 0x24], bl
or edx, 0xffffffff
lock xadd dword [ecx], edx
mov esi, dword [sym.imp.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__]
jne 0x40887c
mov eax, dword [esp + 0x10]
push eax
call esi
add esp, 4
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x24], 0xffffffff
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x40889b
mov eax, dword [esp + 0x14]
push eax
call esi
add esp, 4
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret