Function at 0x462220
Capabilities:
Set global application hook

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f9afd
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x53c160]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x14], edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [edi + 4]
push dword [edi + 0x40]
call dword [sym.imp.USER32.dll_CallWindowProcW]
mov ecx, edi
mov dword [ebp + 0xc], eax
call fcn.00463ab0
push dword [edi + 4]
mov esi, dword [sym.imp.USER32.dll_GetParent]
call esi
mov ebx, eax
push ebx
call esi
test eax, eax
je 0x46228c
push eax
mov ebx, eax
call esi
test eax, eax
jne 0x462283
cmp dword [edi + 0x6c], 0
lea esi, [edi + 0x5c]
jne 0x4622a1
call fcn.004c3932
mov dword [esi + 0x10], eax
test eax, eax
je 0x4622ca
push esi
push 0x461fd0
push dword [esi + 0x10]
call fcn.004c3a34
push dword [esi + 0x10]
call fcn.004c3997
push eax
push 0xfffffffffffffffc
push ebx
call dword [sym.imp.USER32.dll_SetWindowLongW]
test eax, eax
je 0x4622ca
mov dword [esi + 0x18], eax
mov dword [esi], ebx
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0x14
push 0x41e
push dword [edi + 4]
call esi
push 0
push 0
push 0x430
push dword [edi + 4]
call esi
mov dword [ebp - 0x1c], 0x53d110
push 0x53d110
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
cmp dword [0x548648], 0
mov byte [ebp - 0x18], 1
jne 0x46235f
push 0xc
mov byte [ebp - 4], 1
call fcn.004c3bbd
add esp, 4
mov dword [0x548648], eax
mov dword [ebp - 4], 0
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
jmp 0x462357
test eax, eax
je 0x462442
call dword [sym.imp.KERNEL32.DLL_GetCurrentThreadId]
mov esi, eax
lea eax, [ebp + 0x10]
push eax
mov dword [ebp + 0x10], esi
call fcn.00462490
test eax, eax
jne 0x46243f
push 8
mov byte [ebp - 4], 3
call fcn.004c3bbd
add esp, 4
mov ebx, eax
push esi
mov dword [ebx], 0
mov dword [ebx + 4], 0
push dword [0x54795c]
push 0x4620f0
push 3
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
test ebx, ebx
je 0x462442
test eax, eax
je 0x462442
mov esi, dword [0x548648]
mov dword [ebx], eax
mov dword [ebx + 4], 1
push 4
mov eax, dword [esi + 8]
inc eax
push eax
push dword [esi]
call fcn.004d21a4
add esp, 0xc
test eax, eax
je 0x462442
mov dword [esi], eax
mov eax, dword [esi + 8]
push 4
inc eax
push eax
push dword [esi + 4]
call fcn.004d21a4
add esp, 0xc
test eax, eax
je 0x462442
mov ecx, dword [esi + 8]
mov dword [esi + 4], eax
lea edx, [ecx*4]
mov ecx, dword [esi]
add ecx, edx
je 0x462413
mov eax, dword [ebp + 0x10]
mov dword [ecx], eax
mov eax, dword [esi + 4]
add eax, edx
je 0x462419
mov dword [eax], ebx
inc dword [esi + 8]
jmp 0x462442
inc dword [eax + 4]
push 0x53d110
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
push 0xffffffffffffffec
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov cl, byte [edi + 0x85]
shr eax, 0x16
and cl, 0xbf
and al, 1
shl al, 6
or cl, al
mov eax, dword [ebp + 0xc]
mov byte [edi + 0x85], cl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10