Function at 0x55df04
Capabilities:
Log keystrokes via polling

Disassembly:
push 0xffffffffffffffff
push 0x5cf347
mov eax, dword fs:[0]
push eax
sub esp, 0x144
push ebx
push ebp
push esi
push edi
mov eax, dword [0x67ff88]
xor eax, esp
push eax
lea eax, [esp + 0x158]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebx + 0x28]
mov ecx, dword [0x68ccc8]
push eax
push ecx
lea ecx, [esp + 0x50]
call fcn.0055c080
mov eax, dword [ebx + 0x114]
mov ebp, dword [0x68ccc8]
push 0
push 0
push 0x101f
push eax
mov dword [esp + 0x170], 0
mov dword [esp + 0x60], ebx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esp + 0x16c]
mov esi, eax
mov eax, dword [ecx]
or edi, 0xffffffff
cmp eax, esi
jne 0x55db3e
mov eax, dword [ecx + 8]
mov edx, dword [0x68ccc8]
mov dword [esp + 0x8c], edi
cmp eax, 0xfffffecc
ja 0x55d9f9
je case.0x55d9db.328
add eax, 0x149
cmp eax, 3
ja case.default.0x55d9db
jmp dword [eax*4 + 0x55e3b8]
lea ecx, [esp + 0x48]
mov dword [esp + 0x160], edi
call fcn.0055c100
mov al, 1
jmp 0x55dee8
cmp eax, 0xfffffecd
je case.0x55d9db.327
cmp eax, 0xfffffece
je case.0x55d9db.326
cmp eax, 0xfffffffb
je 0x55da45
mov edx, dword [esp + 0x170]
mov eax, dword [esp + 0x168]
push edx
push ecx
push eax
mov ecx, ebx
call fcn.0052ee20
lea ecx, [esp + 0x48]
mov bl, al
mov dword [esp + 0x160], edi
call fcn.0055c100
mov al, bl
jmp 0x55dee8
mov ebp, dword [0x691b84]
lea ecx, [esp + 0x20]
push ecx
mov dword [esp + 0x94], edi
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov edi, dword [sym.imp.USER32.dll_ScreenToClient]
lea ecx, [esp + 0x28]
mov dword [esp + 0x2c], eax
mov eax, dword [ebx + 0x114]
push ecx
push eax
mov dword [esp + 0x30], edx
call edi
test eax, eax
je 0x55da9b
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x94], edx
mov dword [esp + 0x98], eax
lea ecx, [esp + 0x20]
push ecx
push esi
call edi
push 0
push 0
push 0x1200
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
xor edi, edi
mov dword [esp + 0x18], eax
test eax, eax
jle 0x55dc6d
lea edx, [esp + 0x30]
push edx
push edi
push 0x1207
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x55daf0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
push eax
push ecx
lea edx, [esp + 0x38]
push edx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x55dafc
inc edi
cmp edi, dword [esp + 0x18]
jl 0x55dac1
jmp 0x55dc6d
mov dword [esp + 0x90], edi
jmp 0x55dc6d
mov ebp, dword [0x691b88]
cmp ebp, edx
jne 0x55db22
mov ebp, dword [0x691b8c]
cmp ebp, edx
jne 0x55db22
mov ebp, dword [0x691b90]
mov eax, dword [ecx + 0x14]
mov edx, dword [eax + 4]
mov eax, dword [ecx + 0xc]
mov dword [esp + 0xc8], edx
mov dword [esp + 0x90], eax
jmp 0x55dc6d
cmp eax, dword [ebx + 0x114]
jne 0x55ded2
cmp byte [ebx + 0x16c], 0
mov edx, ecx
mov edi, dword [edx + 0xc]
lea esi, [edx + 0xc]
je 0x55db70
mov eax, dword [edx + 8]
cmp eax, 0xffffff9b
je 0x55e30b
cmp eax, 0xffffff9c
je 0x55e30b
test edi, edi
jl 0x55dba1
mov ecx, ebx
call fcn.0055aeb0
cmp edi, eax
jge 0x55dba1
mov edx, dword [ebx + 0x114]
mov eax, edi
call fcn.0055af90
mov edx, dword [esp + 0x16c]
test eax, eax
je 0x55dba1
mov ecx, dword [eax + 4]
mov dword [esp + 0xc0], ecx
mov eax, dword [edx + 8]
lea ecx, [eax + 0xb3]
cmp ecx, 0xb0
ja case.0x55dbbd.178
movzx ecx, byte [ecx + 0x55e40c]
jmp dword [ecx*4 + 0x55e3c8]
mov ebp, dword [0x691b5c]
cmp ebp, dword [0x68ccc8]
jne 0x55dbd8
mov ebp, dword [0x691b58]
mov eax, dword [edx + 0x20]
mov ecx, dword [edx + 0x24]
mov dword [esp + 0x8c], edi
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], ecx
jmp 0x55dc6d
xor ecx, ecx
mov dword [esp + 0xd8], ecx
mov dword [esp + 0xdc], ecx
mov byte [esp + 0x160], 1
cmp eax, 0xffffff97
jne 0x55dc21
push esi
lea ecx, [esp + 0xdc]
call fcn.0055b020
jmp 0x55dc28
mov dword [esp + 0xdc], esi
mov eax, dword [ebx + 0x114]
mov edi, dword [esp + 0xdc]
mov ebp, dword [0x691b60]
push eax
lea esi, [esp + 0xa0]
call fcn.0055bba0
mov edx, dword [esp + 0xac]
add esp, 4
mov dword [esp + 0x8c], edx
lea ecx, [esp + 0xd8]
mov byte [esp + 0x160], 0
call fcn.0055c160
mov ecx, dword [ebx + 0x5c]
mov dword [esp + 0x54], ebp
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
lea edx, [esp + 0x48]
push edx
call eax
mov ecx, dword [esp + 0x16c]
mov byte [esp + 0x17], al
mov eax, dword [ecx + 8]
cmp eax, 0xffffff50
je 0x55e36c
cmp eax, 0xffffff96
je 0x55e36c
cmp eax, 0xffffff98
je 0x55e34c
cmp byte [esp + 0x17], 0
je 0x55dcc7
mov eax, dword [esp + 0x170]
xor edx, edx
cmp byte [esp + 0x80], dl
sete dl
mov dword [eax], edx
lea ecx, [esp + 0x48]
mov dword [esp + 0x160], 0xffffffff
call fcn.0055c100
mov al, byte [esp + 0x17]
jmp 0x55dee8
xor ecx, ecx
mov dword [esp + 0xd8], ecx
mov dword [esp + 0xdc], ecx
mov byte [esp + 0x160], 2
cmp eax, 0xffffff96
jne 0x55dd10
push esi
lea ecx, [esp + 0xdc]
call fcn.0055b020
jmp 0x55dd17
mov dword [esp + 0xdc], esi
mov esi, dword [esp + 0xdc]
mov ecx, 0xf
lea edi, [esp + 0x11c]
rep movsd dword es:[edi], dword [esi]
xor esi, esi
cmp dword [esp + 0x130], esi
je 0x55dd41
cmp dword [esp + 0x120], 0xffffffff
jne 0x55dd7d
mov ecx, dword [ebx + 0x150]
cmp ecx, esi
je 0x55dd75
call fcn.00511b40
mov eax, dword [ebx + 0x150]
mov dword [eax + 0x114], esi
mov ecx, dword [ebx + 0x150]
cmp ecx, esi
je 0x55dd6f
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push 1
call edx
mov dword [ebx + 0x150], esi
mov byte [esp + 0xd0], 1
mov edi, dword [esp + 0xdc]
mov ebp, dword [0x691b64]
push 0
lea esi, [esp + 0xa0]
call fcn.0055bba0
mov eax, dword [esp + 0xac]
add esp, 4
mov dword [esp + 0x8c], eax
jmp 0x55dc59
mov ecx, dword [edx + 0x10]
mov ebp, dword [0x691b80]
mov dword [esp + 0x8c], 0xffffffff
mov dword [esp + 0x90], ecx
jmp 0x55dc6d
mov ebp, dword [0x691b6c]
mov dword [esp + 0x8c], 0xffffffff
jmp 0x55dc6d
cmp dword [ebx + 0x168], 0
je 0x55ded2
mov ebp, dword [0x691b68]
mov eax, edi
mov dword [esp + 0x8c], edi
call fcn.0055d130
jmp 0x55dc6d
mov ebp, dword [0x691b7c]
mov dword [esp + 0x8c], edi
jmp 0x55dc6d
test byte [edx + 0x1c], 8
je 0x55dec6
cmp edi, 0xffffffff
je 0x55dec6
mov eax, dword [esp + 0x16c]
mov edx, dword [eax + 0x18]
mov eax, dword [eax + 0x14]
lea ecx, [esp + 0x9c]
push ecx
mov ecx, ebx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], eax
mov dword [esp + 0xac], edi
mov dword [esp + 0xa8], 0xe
call fcn.0055c340
mov al, 1
test byte [esp + 0x18], al
jne 0x55de80
test byte [esp + 0x1c], al
je 0x55de80
mov ebp, dword [0x691ba0]
mov dword [esp + 0x8c], edi
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
and esi, 2
and eax, 2
cmp esi, eax
je 0x55dec6
cmp ebp, dword [0x68ccc8]
je 0x55deaf
mov ecx, dword [ebx + 0x5c]
mov dword [esp + 0x54], ebp
mov edx, dword [ecx]
mov edx, dword [edx + 0x10]
lea eax, [esp + 0x48]
push eax
call edx
jmp 0x55deb6
mov dword [esp + 0x8c], edi
mov ebp, dword [0x691b70]
test esi, esi
jne 0x55dec6
mov ebp, dword [0x691b74]
cmp ebp, dword [0x68ccc8]
jne 0x55dc6d
mov dword [esp + 0x160], 0xffffffff
lea ecx, [esp + 0x48]
call fcn.0055c100
xor al, al
mov ecx, dword [esp + 0x158]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x150
ret 0xc
movzx edi, word [esi]
push 4
push 1
push 0xffffffffffffffff
mov ecx, ebx
call fcn.0055b660
mov esi, eax
cmp esi, 0xffffffff
je 0x55df4e
cmp di, 0xd
je 0x55df27
cmp di, 0x20
jne 0x55df4e
call fcn.0050d6a0
test al, al
jne 0x55df4e
call fcn.0050d6c0
test al, al
jne 0x55df4e
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jl 0x55df4e
mov ebp, dword [0x691b9c]
jmp 0x55df74
mov ebp, dword [0x691b78]
movzx edi, di
push 0
push edi
call fcn.0050d040
add esp, 8
mov dword [esp + 0x84], eax
test eax, eax
jne 0x55df74
mov dword [esp + 0x84], edi
mov dword [esp + 0xa8], esi
mov dword [esp + 0x8c], esi
cmp esi, 0xffffffff
je 0x55dc6d
push esi
lea eax, [esp + 0xd8]
push eax
mov ecx, ebx
call fcn.0055c530
push eax
lea ecx, [esp + 0xbc]
mov byte [esp + 0x164], 3
call fcn.004cecf0
lea ecx, [esp + 0xd4]
mov byte [esp + 0x160], 0
call fcn.00401017
push esi
mov ecx, ebx
call fcn.0055c630
mov dword [esp + 0xc0], eax
jmp 0x55dc6d
mov ecx, dword [esp + 0x170]
mov edx, dword [esp + 0x16c]
mov eax, dword [esp + 0x168]
push ecx
push edx
push eax
mov ecx, ebx
call fcn.0052ee20
test al, al
jne 0x55e30b
cmp edi, 0xffffffff
je 0x55ded2
mov ebp, dword [0x691b9c]
push edi
lea ecx, [esp + 0x2c]
push ecx
mov ecx, ebx
mov dword [esp + 0x94], edi
call fcn.0055c530
push eax
lea ecx, [esp + 0xbc]
mov byte [esp + 0x164], 4
call fcn.004cecf0
lea ecx, [esp + 0x28]
mov byte [esp + 0x160], 0
call fcn.00401017
push edi
mov ecx, ebx
call fcn.0055c630
mov dword [esp + 0xc0], eax
jmp 0x55dc6d
mov edx, dword [esp + 0x170]
mov eax, dword [esp + 0x16c]
mov ecx, dword [esp + 0x168]
push edx
push eax
push ecx
mov ecx, ebx
call fcn.0052ee20
test al, al
jne 0x55e30b
xor eax, eax
lea edx, [esp + 0x30]
push edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [ebx + 0x114]
lea ecx, [esp + 0x30]
push ecx
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [ebx + 0x114]
lea edx, [esp + 0x30]
push edx
push 0
push 0x1012
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
je 0x55dc6d
test byte [esp + 0x38], 0xe
je 0x55dc6d
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov ebp, dword [0x691b94]
mov dword [esp + 0x8c], eax
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], edx
jmp 0x55dc6d
mov eax, dword [esp + 0x16c]
push eax
mov ecx, ebx
call fcn.0055d850
mov ecx, dword [esp + 0x170]
test eax, eax
mov dword [ecx], eax
setne bl
lea ecx, [esp + 0x48]
mov dword [esp + 0x160], 0xffffffff
call fcn.0055c100
mov al, bl
jmp 0x55dee8
mov esi, dword [esi]
mov edx, dword [edx + 0x10]
cmp esi, edx
mov ebp, dword [0x691ba4]
jg 0x55ded2
mov ecx, ebx
mov dword [esp + 0x88], esi
call fcn.0055aeb0
cmp edx, eax
jge 0x55e17c
mov dword [esp + 0x8c], edx
jmp 0x55dc6d
dec eax
mov dword [esp + 0x8c], eax
jmp 0x55dc6d
mov eax, dword [ebx + 0xcc]
shr eax, 9
test al, 1
je case.0x55dbbd.178
mov ecx, ebx
call fcn.0055aeb0
cmp eax, 0x3e8
jg case.0x55dbbd.178
mov ecx, dword [esp + 0x170]
mov dword [ecx], 0xffffffff
test byte [edx + 0x10], 2
je 0x55ded2
mov edx, dword [esp + 0x16c]
mov ebp, dword [edx + 0x14]
push ebp
call fcn.004ce310
mov esi, dword [esi]
add esp, 4
mov ecx, ebx
mov dword [esp + 0x18], eax
call fcn.0055aeb0
cmp esi, eax
mov dword [esp + 0x1c], eax
jg 0x55ded2
mov edi, esi
cmp edi, eax
jne 0x55e1f7
xor edi, edi
push edi
lea eax, [esp + 0x24]
push eax
mov ecx, ebx
call fcn.0055c530
mov ecx, dword [esp + 0x18]
mov eax, dword [eax]
push ecx
push eax
push ebp
call fcn.00577b01
add esp, 0xc
test eax, eax
lea ecx, [esp + 0x20]
sete byte [esp + 0x17]
call fcn.00401017
cmp byte [esp + 0x17], 0
jne 0x55e237
inc edi
cmp edi, esi
je 0x55e242
mov eax, dword [esp + 0x1c]
jmp 0x55e1f1
mov esi, dword [esp + 0x170]
mov dword [esi], edi
jmp 0x55e249
mov esi, dword [esp + 0x170]
mov eax, dword [esi]
or edi, 0xffffffff
cmp eax, edi
jne 0x55e25e
mov dword [esp + 0x160], edi
jmp 0x55dedd
push 6
push 6
push eax
mov ecx, ebx
call fcn.0055d7a0
mov edx, dword [esi]
push edx
mov ecx, ebx
call fcn.0055b7b0
lea ecx, [esp + 0x48]
mov dword [esp + 0x160], edi
call fcn.0055c100
mov al, 1
jmp 0x55dee8
mov eax, dword [ebx + 0xcc]
shr eax, 9
test al, 1
je case.0x55dbbd.178
test byte [esi], 1
mov edi, dword [esi + 4]
je 0x55e2e6
mov eax, dword [esi + 8]
mov edx, dword [ebx]
mov edx, dword [edx + 0x2c4]
push eax
push edi
lea ecx, [esp + 0x20]
push ecx
mov ecx, ebx
call edx
mov eax, dword [esi + 0x18]
mov ecx, dword [esp + 0x18]
mov edx, dword [esi + 0x14]
dec eax
push eax
push ecx
push edx
call fcn.0057e4e0
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 0x18]
xor edx, edx
mov word [ecx + eax*2 - 2], dx
add esp, 0xc
lea ecx, [esp + 0x18]
call fcn.00401017
test byte [esi], 2
je 0x55e2ff
mov ecx, dword [esi + 8]
mov eax, dword [ebx]
mov edx, dword [eax + 0x2cc]
push ecx
push edi
mov ecx, ebx
call edx
mov dword [esi + 0x1c], eax
test byte [esi], 8
je 0x55e30b
mov dword [esi + 0x10], 0
lea ecx, [esp + 0x48]
mov dword [esp + 0x160], 0xffffffff
call fcn.0055c100
mov al, 1
jmp 0x55dee8
mov eax, dword [esp + 0x170]
mov ecx, dword [esp + 0x16c]
mov edx, dword [esp + 0x168]
push eax
push ecx
push edx
mov ecx, ebx
call fcn.0052ee20
mov bl, al
jmp 0x55e130
mov ecx, dword [esp + 0x170]
mov dword [ecx], 1
mov ecx, ebx
call fcn.0055d3d0
mov dword [ebx + 0x168], 0
jmp 0x55e30b
movzx edx, byte [esp + 0x80]
mov eax, dword [esp + 0x170]
mov dword [eax], edx
mov ecx, dword [ebx + 0x150]
xor esi, esi
cmp ecx, esi
je 0x55e30b
call fcn.00511b40
mov eax, dword [ebx + 0x150]
mov dword [eax + 0x114], esi
mov ecx, dword [ebx + 0x150]
cmp ecx, esi
je 0x55e3ad
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 1
call eax
mov dword [ebx + 0x150], esi
jmp 0x55e30b