Function at 0x551da0
Capabilities:
Check for unmoving mouse cursor
Get graphical window text
Log keystrokes via polling
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x4fc
cmp edx, dword [esp + 0x500]
push ebx
push ebp
push esi
mov ebx, ecx
push edi
mov dword [esp + 0x28], ebx
jne 0x552b98
mov ebp, dword [esp + 0x514]
xor edi, edi
cmp ebp, edi
je 0x552b98
mov eax, dword [ebp + 8]
cmp eax, 0xfffffffb
ja 0x5528b3
je 0x552c29
cmp eax, 0xfffffe6b
je 0x552802
cmp eax, 0xfffffe6e
je 0x552752
cmp eax, 0xfffffff4
jne 0x552b98
mov eax, dword [ebp + 0xc]
dec eax
je 0x552740
sub eax, 0x10000
jne 0x552b98
mov eax, dword [ebp + 0x24]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push eax
push 3
mov dword [esp + 0x90], eax
mov eax, dword [ebp]
push 0x110a
push eax
call esi
mov ebx, dword [ebp + 0x10]
lea ecx, [ebp + 0x14]
mov edx, dword [ecx]
mov dword [esp + 0x8c], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0x10], edx
mov edx, dword [ecx + 8]
mov dword [esp + 0x14], eax
mov eax, dword [ecx + 0xc]
lea ecx, [esp + 0x10]
push ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x55272e
mov edx, dword [ebp]
mov edi, dword [sym.imp.USER32.dll_GetWindowLongA]
push 0xfffffffffffffff0
push edx
call edi
push 0
push 0
mov dword [esp + 0x8c], eax
mov eax, dword [ebp]
push 0x1106
push eax
call esi
mov ecx, dword [ebp]
push 0xffffffffffffffeb
push ecx
mov dword [esp + 0x28], eax
call edi
mov edi, eax
push 8
mov dword [esp + 0x9c], edi
call dword [sym.imp.USER32.dll_GetSysColor]
push 5
mov dword [esp + 0x98], eax
call dword [sym.imp.USER32.dll_GetSysColor]
cmp edi, 1
mov dword [esp + 0x30], eax
jne 0x551ef5
mov ecx, dword [0x5c9da4]
call fcn.00435dc0
mov edx, dword [eax*4 + 0x5c8f18]
mov ecx, dword [0x5c9da8]
mov dword [esp + 0x94], edx
call fcn.00435dc0
mov eax, dword [eax*4 + 0x5c8f18]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x18]
add eax, 2
mov dword [esp + 0x10], eax
mov eax, dword [ebp]
mov dword [esp + 0x3c], ecx
push 0
add ecx, 2
push eax
mov dword [esp + 0x48], edx
mov dword [esp + 0x20], ecx
call dword [sym.imp.USER32.dll_GetScrollPos]
sub dword [esp + 0x10], eax
mov edx, 0x3e7
lea ecx, [esp + 0x124]
call fcn.00420e60
xor eax, eax
mov ecx, 0xa
lea edi, [esp + 0x44]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x88]
lea eax, [esp + 0x44]
push eax
push 0
mov dword [esp + 0x50], ecx
mov ecx, dword [ebp]
push 0x110c
lea edx, [esp + 0x130]
push ecx
mov dword [esp + 0x54], 0x7f
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], 0x3e7
call esi
mov ecx, dword [esp + 0x60]
or eax, 0xffffffff
cmp ecx, eax
je 0x551faa
cmp dword [esp + 0x5c], eax
je 0x551faa
cmp dword [esp + 0x54], eax
je 0x551faa
cmp dword [esp + 0x64], eax
jne 0x55204f
xor eax, eax
mov ecx, 0xd
lea edi, [esp + 0xf0]
rep stosd dword es:[edi], eax
mov eax, dword [ebp]
mov ecx, 0xa
lea esi, [esp + 0x44]
lea edi, [esp + 0xfc]
rep movsd dword es:[edi], dword [esi]
push eax
mov dword [esp + 0xf4], eax
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
lea edx, [esp + 0xf0]
push edx
push eax
mov dword [esp + 0xfc], eax
mov eax, dword [esp + 0x30]
push 0x4e
push eax
mov dword [esp + 0x108], 0xfffffe6d
call dword [sym.imp.USER32.dll_SendMessageA]
cmp dword [esp + 0x60], 0xffffffff
jne 0x552017
mov ecx, dword [esp + 0x118]
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x5c]
or eax, 0xffffffff
cmp ecx, eax
jne 0x55202d
mov edx, dword [esp + 0x114]
mov dword [esp + 0x5c], edx
cmp dword [esp + 0x54], eax
jne 0x55203e
mov ecx, dword [esp + 0x10c]
mov dword [esp + 0x54], ecx
cmp dword [esp + 0x64], eax
jne 0x55204f
mov edx, dword [esp + 0x11c]
mov dword [esp + 0x64], edx
mov eax, dword [esp + 0x98]
xor esi, esi
cmp eax, 1
mov dword [esp + 0x24], esi
jne 0x552073
mov ecx, dword [esp + 0x68]
shr ecx, 0x10
call fcn.00561030
mov esi, eax
mov dword [esp + 0x24], esi
push 6
push ebx
call dword [sym.imp.GDI32.dll_GetCurrentObject]
mov edx, eax
xor eax, eax
mov ecx, 0xf
lea edi, [esp + 0xb4]
rep stosd dword es:[edi], eax
lea eax, [esp + 0xb4]
push eax
push 0x3c
push edx
mov dword [esp + 0x38], edx
call dword [sym.imp.GDI32.dll_GetObjectA]
mov eax, dword [esp + 0xb4]
cdq
xor eax, edx
sub eax, edx
mov dword [esp + 0xb4], eax
mov eax, dword [0x5c00ec]
test eax, eax
mov dword [esp + 0x90], 0
jne 0x5520d8
test esi, esi
je 0x552131
mov eax, dword [esi + 0xa0c]
test eax, eax
je 0x552131
mov ecx, dword [esp + 0x54]
call fcn.0055a130
cmp eax, 2
jne 0x552131
test esi, esi
mov eax, 1
mov dword [esp + 0x90], eax
je 0x552100
mov ecx, dword [esi + 0xa0c]
test ecx, ecx
jne 0x552102
xor eax, eax
movzx ecx, byte [esp + 0xcb]
mov edx, dword [esp + 0xc4]
push esi
push eax
mov eax, dword [esp + 0xbc]
push 5
push ecx
mov ecx, dword [esp + 0x64]
push edx
push eax
lea edx, [esp + 0xe8]
call fcn.0047cc40
jmp 0x552144
mov edx, dword [esp + 0x54]
push 0
push 0
push 0
push 0xffffffffffffffff
mov ecx, ebx
call fcn.00510470
mov edx, dword [esp + 0x38]
mov esi, dword [esp + 0x3c]
mov edi, dword [esp + 0x34]
mov dword [esp + 0x9c], eax
xor eax, eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x40]
sub eax, edx
sub esi, edi
push ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x7c], esi
mov dword [esp + 0x84], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edi, eax
test edi, edi
je 0x5521fb
mov ecx, dword [esp + 0x80]
push ecx
push esi
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
test eax, eax
mov dword [esp + 0x28], eax
je 0x5521f2
mov edx, dword [esp + 0x2c]
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
push edx
push edi
call ebx
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x28]
push eax
push edi
call ebx
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x80]
push ecx
push edx
push esi
push 0
xor edx, edx
mov ecx, edi
mov dword [esp + 0x7c], eax
call fcn.005436d0
mov eax, dword [esp + 0x14]
sub dword [esp + 0x1c], eax
mov dword [esp + 0x14], 0
mov ebx, edi
jmp 0x552219
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
xor edi, edi
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x80]
mov eax, dword [esp + 0x38]
push ecx
push edx
mov edx, dword [esp + 0x3c]
push esi
push eax
mov ecx, ebx
call fcn.005436d0
mov eax, dword [esp + 0x84]
mov esi, eax
and esi, 2
mov dword [esp + 0x2c], esi
je 0x55223b
test al, 4
jne 0x55224d
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x10]
sub eax, ecx
jmp 0x552249
test al, 1
je 0x55224d
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x10]
sub eax, edx
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x8c]
test edx, edx
je 0x552266
mov ecx, dword [ebp]
lea eax, [esp + 0x10]
push eax
push ebx
call fcn.00550790
test esi, esi
mov esi, dword [esp + 0x88]
je 0x55228e
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x8c]
push ecx
mov ecx, dword [ebp]
lea edx, [esp + 0x14]
push edx
push ebx
push eax
mov edx, esi
call fcn.00550890
test byte [esp + 0x84], 1
je 0x5522ff
mov eax, dword [esp + 0x8c]
test eax, eax
jne 0x5522ab
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x5522ff
mov eax, dword [esp + 0x64]
cmp eax, 1
jne 0x5522d6
mov ecx, dword [ebp]
push esi
push 4
push 0x110a
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [esp + 0x4c]
push eax
and edx, 0x20
push edx
lea eax, [esp + 0x18]
push eax
jmp 0x5522f5
cmp eax, 0xffffffff
jne 0x5522ff
mov ecx, dword [ebp]
push esi
push 4
push 0x110a
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
push eax
push 0
lea edx, [esp + 0x18]
push edx
mov ecx, dword [ebp]
mov edx, ebx
call fcn.005509d0
test byte [esp + 0x84], 3
je 0x552317
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x20]
add ecx, eax
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x4c]
test ah, 0xf0
je 0x552395
mov ecx, dword [ebp]
push 0
push 2
push 0x1108
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov esi, eax
test esi, esi
je 0x552395
xor eax, eax
lea edx, [esp + 0x2c]
mov dword [esp + 0x20], eax
mov dword [esp + 0x2c], eax
push edx
lea eax, [esp + 0x24]
push eax
push esi
call dword [sym.imp.COMCTL32.dll_ImageList_GetIconSize]
mov al, byte [esp + 0x68]
test al, al
je 0x552395
test byte [esp + 0x4c], 0x20
mov ecx, 1
je 0x55236d
mov ecx, 2
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push 0
push edx
inc eax
push eax
push ebx
push ecx
push esi
mov dword [esp + 0x28], eax
call dword [sym.imp.COMCTL32.dll_ImageList_Draw]
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x20]
add ecx, eax
mov dword [esp + 0x10], ecx
mov ecx, dword [ebp]
push 0
push 0
push 0x1108
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov esi, eax
test esi, esi
je 0x552470
xor eax, eax
lea edx, [esp + 0x2c]
mov dword [esp + 0x20], eax
mov dword [esp + 0x2c], eax
push edx
lea eax, [esp + 0x24]
push eax
push esi
call dword [sym.imp.COMCTL32.dll_ImageList_GetIconSize]
mov al, byte [esp + 0x69]
test al, al
mov eax, dword [esp + 0x24]
je 0x552421
test eax, eax
je 0x55240d
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x28]
push edx
mov edx, dword [ecx + 0x720]
push eax
push ebx
push edx
mov edx, dword [ecx + 0x71c]
call fcn.00539640
mov eax, dword [esp + 0x10]
add eax, dword [esp + 0x20]
jmp 0x552474
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x60]
push 0
push eax
push ecx
push ebx
push edx
jmp 0x55245f
test eax, eax
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
je 0x552455
mov eax, dword [esp + 0x30]
push eax
push ecx
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx + 0x720]
push edx
mov edx, dword [ecx + 0x71c]
push ebx
push eax
call fcn.00539640
mov eax, dword [esp + 0x10]
add eax, dword [esp + 0x20]
jmp 0x552474
mov eax, dword [esp + 0x5c]
push 0
push ecx
push edx
push ebx
push eax
push esi
call dword [sym.imp.COMCTL32.dll_ImageList_Draw]
mov eax, dword [esp + 0x10]
add eax, dword [esp + 0x20]
jmp 0x552474
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x9c]
mov edx, dword [esp + 0x14]
add eax, 4
add ecx, eax
mov dword [esp + 0x10], eax
sub eax, 2
mov dword [esp + 0xac], ecx
mov dword [esp + 0xa4], eax
mov al, byte [esp + 0x69]
mov dword [esp + 0x18], ecx
mov dword [esp + 0xa8], edx
mov edx, dword [esp + 0x1c]
add ecx, 5
test al, al
mov dword [esp + 0xb0], edx
mov dword [esp + 0xac], ecx
je 0x5524f1
mov esi, dword [sym.imp.USER32.dll_GetSysColor]
push 0xe
call esi
push eax
push ebx
call dword [sym.imp.GDI32.dll_SetTextColor]
push 0xd
call esi
push eax
push ebx
call dword [sym.imp.GDI32.dll_SetBkColor]
push 0xd
call esi
push eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov esi, eax
jmp 0x5525c7
mov eax, dword [esp + 0x94]
push eax
push ebx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov esi, dword [esp + 0x30]
push esi
push ebx
call dword [sym.imp.GDI32.dll_SetBkColor]
push esi
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov esi, eax
cmp dword [esp + 0x98], 1
jne 0x5525c7
mov eax, dword [esp + 0x24]
test eax, eax
je 0x552535
mov eax, dword [eax + 0x724]
test eax, eax
jne 0x552550
mov ecx, dword [esp + 0x68]
test cl, cl
je 0x5525c7
test byte [esp + 0x4c], 0x20
jne 0x5525c7
shr ecx, 0x10
call fcn.0054e940
cmp eax, 1
jne 0x552576
mov eax, dword [0x5bfdc0]
cmp eax, 1
jl 0x5525c7
cmp eax, 0x10
jg 0x5525c7
lea ecx, [eax - 1]
call fcn.00435dc0
mov ecx, dword [eax*4 + 0x5c8f18]
push ecx
jmp 0x5525c0
cmp eax, 2
jne 0x55259c
mov eax, dword [0x5bfdc4]
cmp eax, 1
jl 0x5525c7
cmp eax, 0x10
jg 0x5525c7
lea ecx, [eax - 1]
call fcn.00435dc0
mov edx, dword [eax*4 + 0x5c8f18]
push edx
jmp 0x5525c0
cmp eax, 3
jne 0x5525c7
mov eax, dword [0x5bfdc8]
cmp eax, 1
jl 0x5525c7
cmp eax, 0x10
jg 0x5525c7
lea ecx, [eax - 1]
call fcn.00435dc0
mov eax, dword [eax*4 + 0x5c8f18]
push eax
push ebx
call dword [sym.imp.GDI32.dll_SetTextColor]
push esi
lea ecx, [esp + 0xa8]
push ecx
push ebx
call dword [sym.imp.USER32.dll_FillRect]
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esp + 0x90]
test eax, eax
je 0x55266e
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x552606
mov eax, dword [ecx + 0xa0c]
test eax, eax
je 0x552606
mov eax, 1
jmp 0x552608
xor eax, eax
movzx edx, byte [esp + 0xcb]
push ecx
mov ecx, dword [esp + 0xb8]
push eax
mov eax, dword [esp + 0xcc]
push 4
push 1
push 0
push 0
mov esi, dword [esp + 0x30]
push 2
push 0
push edx
push eax
mov eax, dword [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x40]
lea edx, [esp + 0xfc]
push edx
push 0
push 0
sub esp, 0x10
mov edx, esp
mov dword [edx], eax
mov dword [edx + 4], ecx
mov dword [edx + 8], esi
mov esi, dword [esp + 0x64]
inc ecx
push ecx
mov dword [edx + 0xc], esi
mov edx, dword [esp + 0xa0]
push eax
mov ecx, ebx
call fcn.0047bf70
jmp 0x55269d
mov edx, dword [esp + 0x54]
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x552677
mov ecx, dword [esp + 0x14]
push 0
sub eax, esi
push eax
push edx
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x1c]
push eax
push 4
inc ecx
push ecx
push edx
push ebx
call dword [sym.imp.GDI32.dll_ExtTextOutA]
test byte [ebp + 0x28], 0x10
je 0x5526d0
mov esi, dword [sym.imp.USER32.dll_GetSysColor]
push 8
call esi
push eax
push ebx
call dword [sym.imp.GDI32.dll_SetTextColor]
push 5
call esi
push eax
push ebx
call dword [sym.imp.GDI32.dll_SetBkColor]
lea eax, [esp + 0xa4]
push eax
push ebx
call dword [sym.imp.USER32.dll_DrawFocusRect]
test edi, edi
je 0x55272e
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x38]
push 0xcc0020
push 0
push 0
push edi
push ecx
mov ecx, dword [esp + 0x48]
push edx
mov edx, dword [esp + 0x88]
push eax
push ecx
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esp + 0xa0]
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push edi
call esi
mov ecx, dword [esp + 0x6c]
push ecx
push edi
call esi
mov edx, dword [esp + 0x28]
push edx
call dword [sym.imp.GDI32.dll_DeleteObject]
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4fc
ret 8
mov eax, 0x20
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4fc
ret 8
cmp dword [0x5f8cc8], edi
jne 0x552b98
mov eax, dword [ebp]
push 0xffffffffffffffeb
push eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
cmp eax, edi
jne 0x5527b6
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
call esi
test ah, ah
js 0x5527df
push 0x10
call esi
test ah, ah
jns 0x5527bb
mov eax, dword [0x5f8cc4]
cmp eax, edi
je 0x5527ab
mov edx, dword [ebp + 0x3c]
mov ecx, dword [ebp]
push edi
push edi
push eax
call fcn.005512b0
mov ecx, dword [0x5f8cc4]
mov edx, dword [ebp + 0x3c]
push 1
push 1
push ecx
jmp 0x5527d7
mov edx, dword [ebp + 0x14]
mov dword [0x5f8cc4], edx
jmp 0x5527cf
cmp eax, 1
jne 0x5527df
push edi
mov dword [0x5f8cc4], edi
mov edx, dword [ebp + 0x3c]
mov ecx, dword [ebp]
push edi
push edx
call fcn.005512b0
mov edx, dword [ebp + 0x3c]
push 1
push 1
push edx
mov ecx, dword [ebp]
call fcn.005512b0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x3c]
push eax
push ecx
push 0x805d
push ebx
call dword [sym.imp.USER32.dll_PostMessageA]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4fc
ret 8
mov eax, dword [ebp + 0xc]
test al, 2
je 0x55285a
mov edx, dword [ebp + 0x3c]
xor eax, eax
mov ecx, 0xa
lea edi, [esp + 0x44]
rep stosd dword es:[edi], eax
mov ecx, dword [ebp]
lea eax, [esp + 0x44]
push eax
push 0
push 0x110d
push ecx
mov dword [esp + 0x54], 0x18
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], 0x2000
mov dword [esp + 0x60], 0xf000
call dword [sym.imp.USER32.dll_SendMessageA]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4fc
ret 8
test al, 1
je 0x552b98
mov edx, dword [ebp + 0x3c]
xor eax, eax
mov ecx, 0xa
lea edi, [esp + 0x44]
rep stosd dword es:[edi], eax
mov ecx, dword [ebp]
lea eax, [esp + 0x44]
push eax
push 0
push 0x110d
push ecx
mov dword [esp + 0x54], 0x18
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], 0x1000
mov dword [esp + 0x60], 0xf000
call dword [sym.imp.USER32.dll_SendMessageA]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4fc
ret 8
cmp eax, 0xfffffffc
je 0x552b88
cmp eax, 0xfffffffd
je 0x552af8
cmp eax, 0xfffffffe
jne 0x552b98
mov edx, dword [ebp]
push 0xffffffffffffffeb
push edx
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x78]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x78]
mov esi, dword [ebp]
push ecx
push edx
call dword [sym.imp.USER32.dll_WindowFromPoint]
cmp eax, esi
jne 0x552b98
lea eax, [esp + 0x78]
push eax
push esi
call dword [sym.imp.USER32.dll_ScreenToClient]
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x7c]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
xor ecx, ecx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], ecx
lea ecx, [esp + 0x34]
push ecx
xor edi, edi
push edi
mov dword [esp + 0x3c], edx
mov edx, dword [ebp]
push 0x1111
push edx
mov dword [esp + 0x48], eax
call esi
mov ebx, eax
cmp ebx, edi
mov al, byte [esp + 0x3c]
je 0x552aae
test al, 0x46
je 0x552aae
mov eax, dword [ebp]
push edi
push 9
push 0x110a
push eax
call esi
mov edx, dword [ebp]
mov dword [esp + 0x70], eax
xor eax, eax
mov ecx, 0xa
lea edi, [esp + 0x44]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x44]
push ecx
push eax
push 0x110c
push edx
mov dword [esp + 0x54], 0x14
mov dword [esp + 0x58], ebx
call esi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
call edi
test ah, ah
jns 0x552a29
mov eax, dword [esp + 0x6c]
test eax, eax
jne 0x552a29
mov eax, dword [0x5f8cc4]
test eax, eax
jne 0x5529c2
mov dword [0x5f8cc4], ebx
mov eax, dword [esp + 0x68]
test ah, ah
mov dword [esp + 0x48], ebx
mov dword [esp + 0x44], 0x14
je 0x5529fe
mov ecx, eax
shr ecx, 0x10
movzx edx, al
shl ecx, 0x10
lea eax, [esp + 0x44]
push eax
or ecx, edx
push 0
mov dword [esp + 0x70], ecx
mov ecx, dword [ebp]
push 0x110d
push ecx
call esi
jmp 0x552a8a
mov edx, eax
shr edx, 0x10
shl edx, 0x10
movzx eax, al
or edx, eax
lea ecx, [esp + 0x44]
push ecx
or edx, 0x100
push 0
mov dword [esp + 0x70], edx
mov edx, dword [ebp]
push 0x110d
push edx
call esi
jmp 0x552a8a
push 0x10
call edi
test ah, ah
jns 0x552a62
mov eax, dword [esp + 0x6c]
test eax, eax
jne 0x552a62
mov edx, dword [0x5f8cc4]
test edx, edx
jne 0x552a4d
mov edx, dword [esp + 0x70]
mov dword [0x5f8cc4], edx
mov ecx, dword [ebp]
push 0
push 0
push ebx
call fcn.005512b0
mov edx, dword [0x5f8cc4]
jmp 0x552a7d
push 0
push 0
mov dword [0x5f8cc4], 0
mov ecx, dword [ebp]
push ebx
mov edx, ebx
call fcn.005512b0
mov edx, ebx
mov ecx, dword [ebp]
push 1
push 1
push ebx
call fcn.005512b0
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x28]
push eax
push ebx
push 0x805d
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4fc
ret 8
test al, 0x20
je 0x552ae3
call dword [sym.imp.USER32.dll_GetFocus]
cmp dword [ebp], eax
jne 0x552b98
push edi
push edi
mov dword [0x5f8cc4], edi
mov ecx, dword [ebp]
push ebx
mov edx, ebx
call fcn.005512b0
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4fc
ret 8
mov dword [0x5f8cc4], edi
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4fc
ret 8
lea edx, [esp + 0x70]
push edx
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x70]
mov esi, dword [ebp]
push eax
push ecx
call dword [sym.imp.USER32.dll_WindowFromPoint]
cmp eax, esi
jne 0x552b98
lea edx, [esp + 0x70]
push edx
push esi
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x74]
xor eax, eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
lea eax, [esp + 0x34]
push eax
push edi
mov dword [esp + 0x3c], ecx
mov ecx, dword [ebp]
push 0x1111
push ecx
mov dword [esp + 0x48], edx
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, edi
je 0x552b98
test byte [esp + 0x3c], 0x46
je 0x552b98
mov edx, dword [ebp + 8]
push edx
push eax
push 0x805d
push ebx
call dword [sym.imp.USER32.dll_PostMessageA]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4fc
ret 8
mov eax, dword [ebp]
push 0xffffffffffffffeb
push eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
test eax, eax
jne 0x552ba7
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4fc
ret 8
mov ecx, dword [ebp]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push edi
push 9
push 0x110a
push ecx
call ebx
mov esi, eax
cmp esi, edi
je 0x552c29
cmp esi, 0xffff0000
mov edx, dword [ebp]
mov dword [esp + 0x70], edi
mov dword [esp + 0x78], edi
je 0x552c29
xor eax, eax
mov ecx, 0xa
lea edi, [esp + 0x44]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x44]
push eax
push 0
push 0x110c
push edx
mov dword [esp + 0x54], 0x54
mov dword [esp + 0x58], esi
call ebx
test eax, eax
je 0x552c29
mov eax, dword [esp + 0x68]
test ah, ah
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x70], eax
mov dword [esp + 0x78], ecx
je 0x552c29
mov edx, dword [ebp + 8]
mov eax, dword [esp + 0x28]
push edx
push esi
push 0x805d
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x4fc
ret 8