Function at 0x40fad3
Capabilities:
Terminate process

Disassembly:
push 0x34
mov eax, 0x41b32e
call fcn.00417a4a
mov ebx, ecx
mov dword [ebp - 0x28], ebx
xor edi, edi
push 8
mov dword [ebp - 0x10], edi
call fcn.00416825
mov esi, eax
pop ecx
mov dword [ebp - 0x10], esi
push ebx
mov ecx, esi
mov dword [ebp - 4], edi
call dword [sym.imp.Qt5Network.dll_public:_void___thiscall_QUdpSocket::constructor_class_QObject__]
or dword [ebp - 4], 0xffffffff
mov dword [esi], vtable.QUdpSocket.0
push 8
mov dword [ebx + 0x48], esi
call fcn.00416825
mov esi, eax
mov dword [ebp - 0x2c], esi
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x24]
mov dword [esp], str.DSBridgeConnection
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_char_const__]
xor eax, eax
mov byte [ebp - 4], 2
inc eax
mov ecx, esi
push ebx
push eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.Qt5WebSockets.dll_public:_void___thiscall_QWebSocketServer::constructor_class_QString_const___enum_QWebSocketServer::SslMode__class_QObject__]
mov dword [esi], vtable.QWebSocketServer.0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
mov dword [ebx + 0x44], esi
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
push 0x429a
lea ecx, [ebp - 0x20]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QVariant::constructor_int_]
push str.Settings_AppPort
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 4
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_char_const__]
push 2
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 5
call dword [sym.imp.Qt5Network.dll_public:_void___thiscall_QHostAddress::constructor_enum_QHostAddress::SpecialAddress_]
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 6
mov ecx, dword [ebx + 0x24]
mov ebx, dword [sym.imp.Qt5Core.dll_public:_class_QVariant___thiscall_QSettings::value_class_QString_const___class_QVariant_const__]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x40]
push eax
call ebx
push ecx
mov ecx, esp
mov byte [ebp - 4], 7
push edi
mov dword [ecx], edi
mov ecx, eax
mov edi, dword [sym.imp.Qt5Core.dll_public:_int___thiscall_QVariant::toInt_bool__const]
call edi
mov ecx, dword [ebp - 0x28]
push eax
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ecx + 0x48]
call dword [sym.imp.Qt5Network.dll_public:_bool___thiscall_QAbstractSocket::bind_class_QHostAddress_const___unsigned_short_int__class_QFlags_enum_QAbstractSocket::BindFlag__]
lea ecx, [ebp - 0x40]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QVariant::destructor_void_]
mov esi, dword [sym.imp.Qt5Network.dll_public:_void___thiscall_QHostAddress::destructor_void_]
lea ecx, [ebp - 0x24]
call esi
lea ecx, [ebp - 0x10]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QVariant::destructor_void_]
push 0x429a
lea ecx, [ebp - 0x20]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QVariant::constructor_int_]
push str.Settings_AppPort
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 8
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_char_const__]
push 2
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 9
call dword [sym.imp.Qt5Network.dll_public:_void___thiscall_QHostAddress::constructor_enum_QHostAddress::SpecialAddress_]
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 0xa
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x40]
push eax
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 0x24]
call ebx
push 0
mov ecx, eax
mov byte [ebp - 4], 0xb
call edi
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 0x44]
call dword [sym.imp.Qt5WebSockets.dll_public:_bool___thiscall_QWebSocketServer::listen_class_QHostAddress_const___unsigned_short_int_]
mov edi, dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QVariant::destructor_void_]
lea ecx, [ebp - 0x40]
mov bl, al
call edi
lea ecx, [ebp - 0x10]
call esi
lea ecx, [ebp - 0x24]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call edi
test bl, bl
jne 0x40fce7
push str.Cant_start_DSBridgeConnection
lea ecx, [ebp - 0x24]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_char_const__]
push str.Critical_Error
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0xc
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_char_const__]
xor ebx, ebx
mov byte [ebp - 4], 0xd
push ebx
push ecx
mov ecx, esp
push ecx
call fcn.0040c591
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x10]
push eax
push ebx
call dword [sym.imp.Qt5Widgets.dll_public:_static_enum_QMessageBox::StandardButton___cdecl_QMessageBox::critical_class_QWidget___class_QString_const___class_QString_const___class_QFlags_enum_QMessageBox::StandardButton___enum_QMessageBox::StandardButton_]
add esp, 0x14
lea ecx, [ebp - 0x10]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp - 0x24]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
push ebx
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov ebx, dword [ebp - 0x28]
xor edi, edi
mov eax, dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QIODevice::readyRead_void_]
push 0x10
mov dword [ebp - 0x18], fcn.0040fe00
mov esi, dword [ebx + 0x48]
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], eax
call fcn.00416825
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov dword [eax], 1
mov dword [eax + 4], 0x414637
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
push dword [sym.imp.Qt5Core.dll_struct_QMetaObject_const_QIODevice::staticMetaObject]
push edi
push edi
mov edi, dword [sym.imp.Qt5Core.dll_private:_static_class_QMetaObject::Connection___cdecl_QObject::connectImpl_class_QObject_const___void____class_QObject_const___void____class_QtPrivate::QSlotObjectBase___enum_Qt::ConnectionType__int_const___struct_QMetaObject_const__]
push eax
lea eax, [ebp - 0x18]
push eax
push ebx
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x24]
push esi
push eax
call edi
mov ebx, dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QMetaObject::Connection::destructor_void_]
lea ecx, [ebp - 0x24]
add esp, 0x28
call ebx
mov eax, dword [sym.imp.Qt5WebSockets.dll_public:_void___thiscall_QWebSocketServer::newConnection_void_]
and dword [ebp - 0x14], 0
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x28]
push 0x10
mov dword [ebp - 0x18], fcn.0040fe59
mov esi, dword [eax + 0x44]
call fcn.00416825
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov dword [eax], 1
mov dword [eax + 4], 0x414637
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
push dword [sym.imp.Qt5WebSockets.dll_struct_QMetaObject_const_QWebSocketServer::staticMetaObject]
push 0
push 0
push eax
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x28]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x24]
push esi
push eax
call edi
add esp, 0x28
lea ecx, [ebp - 0x24]
call ebx
mov eax, dword [ebp - 0x28]
mov edx, eax
push ecx
push 0
push fcn.0040ff83
push eax
push 0
push fcn.00415aa3
lea ecx, [ebp - 0x30]
call fcn.00413fd5
add esp, 0x18
lea ecx, [ebp - 0x30]
call ebx
call fcn.00417a18
ret