Function at 0x55b510
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
mov esi, dword [esp + 0x18]
push edi
push esi
call fcn.0058ed20
add esp, 4
test eax, eax
je 0x55b7a1
mov eax, dword [esp + 0x2c]
sub eax, 0
je 0x55b711
dec eax
jne 0x55b7a1
mov ebx, dword [esp + 0x24]
cmp ebx, 0xd
je 0x55b6fc
cmp ebx, 0xa
je 0x55b6fc
movzx eax, bl
push eax
call fcn.005daf42
add esp, 4
test eax, eax
je 0x55b573
push ebx
call fcn.005daf20
add esp, 4
mov dword [esp + 0x24], eax
mov ecx, dword [esi + 0x1488]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x18b
push ecx
call ebx
cmp eax, 0xffffffff
je 0x55b6f2
test eax, eax
je 0x55b6f2
mov edx, dword [esi + 0x1488]
push 0
push 0
push 0x19f
push edx
call ebx
mov edi, eax
cmp edi, 0xffffffff
je 0x55b6f2
mov ebp, edi
inc edi
cmp edi, ebp
mov dword [esp + 0x14], ebp
je 0x55b6f2
jmp 0x55b5d0
cmp dword [esi + 0x1314], 4
jne 0x55b624
mov ecx, dword [esi + 0x1488]
lea eax, [esp + 0x10]
push eax
push edi
push 0x189
push ecx
call ebx
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x55b63d
cmp eax, 0xffffffff
je 0x55b63d
cmp byte [ecx], 0x20
jne 0x55b60a
nop
inc ecx
mov dword [esp + 0x10], ecx
cmp byte [ecx], 0x20
je 0x55b600
mov edx, dword [esi + 0x1e90]
push edx
push ecx
call fcn.005295b0
add esp, 8
test al, al
je case.0x55b660.2
inc dword [esp + 0x10]
jmp case.0x55b660.2
mov eax, dword [esi + 0x1488]
push 0x67feb8
push edi
push 0x189
push eax
call ebx
cmp eax, 0xffffffff
jne 0x55b644
xor edi, edi
jmp 0x55b6cb
mov eax, dword [esi + 0x1314]
dec eax
cmp eax, 8
mov ecx, 0x67feb8
mov dword [esp + 0x10], ecx
ja case.0x55b660.2
movzx edx, byte [eax + 0x55b7bc]
jmp dword [edx*4 + 0x55b7b0]
mov eax, dword [esi + 0x1e90]
push eax
push 0x67feb8
call fcn.005295f0
add esp, 8
test al, al
je case.0x55b660.2
inc dword [esp + 0x10]
jmp case.0x55b660.2
cmp byte [0x67feb8], 0x20
jne case.0x55b660.2
mov edi, edi
inc ecx
mov dword [esp + 0x10], ecx
cmp byte [ecx], 0x20
je 0x55b690
mov ecx, dword [esp + 0x10]
mov al, byte [ecx]
test al, al
je 0x55b6ca
movzx ebp, al
push ebp
call fcn.005daf42
add esp, 4
test eax, eax
je 0x55b6c0
push ebp
call fcn.005daf20
add esp, 4
movzx ebp, al
cmp ebp, dword [esp + 0x24]
je 0x55b6dd
mov ebp, dword [esp + 0x14]
inc edi
cmp edi, ebp
jne 0x55b5d0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
mov edx, dword [esi]
push 1
push 1
push edi
push 0x8098
push edx
call fcn.00422e10
add esp, 0x14
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
mov eax, dword [esi]
push eax
call fcn.00438120
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
mov eax, dword [esp + 0x24]
cmp eax, 1
jne 0x55b743
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ah, ah
jns 0x55b7a1
mov ecx, dword [esp + 0x30]
push 0xffffffffffffffff
push 0
push 1
push ecx
call fcn.00489e90
add esp, 0x10
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
cmp eax, 9
jne 0x55b75e
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ah, ah
js 0x55b7a1
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
cmp eax, 0xd
je 0x55b768
cmp eax, 0xa
jne 0x55b7a1
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, dword [esi]
xor edx, edx
and eax, 0x8000
cmp eax, 0x8000
mov eax, dword [esp + 0x30]
setne dl
dec edx
and edx, 2
or edx, 1
push edx
push 5
push eax
push ecx
call fcn.0048b170
add esp, 0x10
test eax, eax
jne 0x55b6f2
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 8
ret