Function at 0x55d230
Capabilities:
Set global application hook

Disassembly:
sub esp, 0x28
push esi
mov esi, dword [ecx + 4]
cmp dword [esi + 0x58], 0
mov dword [esp + 0x28], ecx
jne 0x55d51e
push ecx
call fcn.0055c440
add esp, 4
mov dword [esi + 0x58], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0
push 0x55bac0
push 3
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
mov dword [esi + 0x5c], eax
test eax, eax
jne 0x55d27b
push str.Qt:_INTERNALL_ERROR:_failed_to_install_GetMessage_hook
call fcn.004f8970
add esp, 4
push ebp
push edi
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esi + 0x7c]
call fcn.0055c8b0
mov ecx, eax
call fcn.0055d0d0
lea edx, [esp + 0x18]
mov edi, eax
push edx
lea eax, [esp + 0x20]
push eax
lea ecx, [esi + 0x78]
call fcn.0055c8b0
mov ecx, eax
call fcn.0055d0d0
mov eax, dword [eax]
mov dword [esp + 0x10], eax
add eax, 8
mov ecx, 1
lock xadd dword [eax], ecx
mov eax, dword [esp + 0x10]
test byte [eax + 0x1c], 1
jne 0x55d310
mov edx, dword [eax + 8]
cmp edx, 1
je 0x55d310
mov ecx, dword [esp + 0x10]
push 4
push 8
push method.QAbstractEventDispatcher.virtual_88
push method.QAbstractEventDispatcher.virtual_88
call fcn.00528970
mov ebp, eax
mov eax, dword [esp + 0x10]
add eax, 8
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x55d30c
mov ecx, dword [esp + 0x10]
push method.QAbstractEventDispatcher.virtual_88
call fcn.00528640
mov dword [esp + 0x10], ebp
push edi
lea ecx, [esp + 0x14]
call fcn.0055d140
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x30]
push eax
lea ecx, [esi + 0x80]
call fcn.0055c8b0
mov ecx, eax
call fcn.0055d0d0
mov ebp, eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0xc], eax
add eax, 8
mov ecx, 1
lock xadd dword [eax], ecx
mov eax, dword [esp + 0xc]
test byte [eax + 0x1c], 1
jne 0x55d399
mov edx, dword [eax + 8]
cmp edx, 1
je 0x55d399
mov ecx, dword [esp + 0xc]
push 4
push 8
push method.QAbstractEventDispatcher.virtual_88
push method.QAbstractEventDispatcher.virtual_88
call fcn.00528970
mov edi, eax
mov eax, dword [esp + 0xc]
add eax, 8
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x55d395
mov ecx, dword [esp + 0xc]
push method.QAbstractEventDispatcher.virtual_88
call fcn.00528640
mov dword [esp + 0xc], edi
push ebp
lea ecx, [esp + 0x10]
call fcn.0055d140
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x10]
call fcn.0055c8b0
mov eax, dword [esp + 0xc]
add eax, 8
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x55d3cf
mov ecx, dword [esp + 0xc]
push method.QAbstractEventDispatcher.virtual_88
call fcn.00528640
mov eax, dword [esp + 0x10]
add eax, 8
or edx, 0xffffffff
lock xadd dword [eax], edx
jne 0x55d3ed
mov ecx, dword [esp + 0x10]
push method.QAbstractEventDispatcher.virtual_88
call fcn.00528640
mov eax, dword [esp + 0x18]
add eax, 8
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x55d40b
mov ecx, dword [esp + 0x18]
push method.QAbstractEventDispatcher.virtual_88
call fcn.00528640
mov edx, dword [esp + 0x1c]
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x55d425
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.005057e0
add esp, 4
mov eax, dword [esp + 0x20]
add eax, 8
or edx, 0xffffffff
lock xadd dword [eax], edx
jne 0x55d443
mov ecx, dword [esp + 0x20]
push method.QAbstractEventDispatcher.virtual_88
call fcn.00528640
mov eax, dword [esp + 0x24]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x55d45d
mov edx, dword [esp + 0x24]
push edx
call fcn.005057e0
add esp, 4
mov eax, dword [esp + 0x28]
add eax, 8
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x55d47b
mov ecx, dword [esp + 0x28]
push method.QAbstractEventDispatcher.virtual_88
call fcn.00528640
mov edx, dword [esp + 0x2c]
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x55d495
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.005057e0
add esp, 4
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
sub edx, ecx
xor edi, edi
test edx, edx
jle 0x55d4c6
add ecx, edi
mov eax, dword [eax + ecx*4 + 0x14]
push eax
mov ecx, esi
call fcn.0055bcc0
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
inc edi
sub edx, ecx
cmp edi, edx
jl 0x55d4a7
mov eax, dword [esi + 0x70]
mov ecx, dword [eax + 0xc]
sub ecx, dword [eax + 8]
xor edi, edi
test ecx, ecx
jle 0x55d4f7
mov eax, dword [esi + 0x70]
mov edx, dword [eax + 8]
add edx, edi
mov eax, dword [eax + edx*4 + 0x14]
push eax
mov ecx, esi
call fcn.0055b3a0
mov eax, dword [esi + 0x70]
mov ecx, dword [eax + 0xc]
sub ecx, dword [eax + 8]
inc edi
cmp edi, ecx
jl 0x55d4d5
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx]
mov eax, dword [edx + 0x4c]
call eax
mov ecx, dword [esp + 0x14]
pop edi
or edx, 0xffffffff
pop ebp
lock xadd dword [ecx], edx
jne 0x55d51e
mov eax, dword [esp + 0xc]
push eax
call fcn.005057e0
add esp, 4
pop esi
add esp, 0x28
ret