Function at 0x4387a0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
push esi
mov esi, dword [ebp + 8]
push 0x12
call ebx
mov ecx, 0x8000
test cx, ax
jne 0x438a17
push edi
push 0x10
call ebx
mov edi, eax
push 0x11
and edi, 0x8000
call ebx
mov ecx, dword [ebp + 0xc]
mov ebx, eax
add ecx, 0xffffffdd
and ebx, 0x8000
cmp ecx, 0xb
ja case.0x4387e8.38
jmp dword [ecx*4 + 0x438a20]
test ebx, ebx
je 0x43884f
mov eax, dword [esi + 0xe10]
mov ebx, dword [esi + 0xe14]
mov dword [ebp + 8], eax
mov eax, dword [esi + 0xddc]
cmp eax, 0xffffffff
jne 0x43881f
push dword [esi + 0xdd8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [esi + 0xddc], eax
test ebx, ebx
je 0x438832
push 0
push eax
push ebx
push 0
mov ecx, esi
call fcn.00436bf0
mov ebx, eax
push ebx
test edi, edi
mov ecx, esi
cmovne ebx, dword [ebp + 8]
push ebx
call fcn.004375d0
mov ecx, esi
call fcn.004372b0
pop edi
pop esi
pop ebx
pop ebp
ret 0x10
push edi
mov ecx, esi
call fcn.00437ca0
pop edi
pop esi
pop ebx
pop ebp
ret 0x10
test ebx, ebx
je 0x4388c1
mov eax, dword [esi + 0xe10]
mov ebx, dword [esi + 0xe14]
mov dword [ebp + 8], eax
mov eax, dword [esi + 0xddc]
cmp eax, 0xffffffff
jne 0x43888e
push dword [esi + 0xdd8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [esi + 0xddc], eax
cmp ebx, eax
je 0x4388a4
push 1
push eax
lea eax, [ebx + 1]
mov ecx, esi
push eax
push 0
call fcn.00436bf0
mov ebx, eax
push ebx
test edi, edi
mov ecx, esi
cmovne ebx, dword [ebp + 8]
push ebx
call fcn.004375d0
mov ecx, esi
call fcn.004372b0
pop edi
pop esi
pop ebx
pop ebp
ret 0x10
push edi
mov ecx, esi
call fcn.00437d30
pop edi
pop esi
pop ebx
pop ebp
ret 0x10
test edi, edi
je 0x4388dc
mov eax, dword [esi + 0xe10]
jmp 0x4388de
xor eax, eax
push 0
push eax
mov ecx, esi
call fcn.004375d0
mov ecx, esi
call fcn.004372b0
pop edi
pop esi
pop ebx
pop ebp
ret 0x10
push ebx
push edi
mov ecx, esi
call fcn.00437ce0
pop edi
pop esi
pop ebx
pop ebp
ret 0x10
test dword [esi + 0xdf8], 0x800
jne case.0x4387e8.38
test edi, edi
je 0x438922
test ebx, ebx
jne case.0x4387e8.38
mov eax, dword [esi + 0xe10]
cmp eax, dword [esi + 0xe14]
je 0x438948
mov eax, dword [esi]
push esi
test edi, edi
je 0x4389dc
call dword [eax + 0x1c8]
pop edi
pop esi
pop ebx
pop ebp
ret 0x10
push 0
push 0xffffffffffffffff
mov ecx, esi
call fcn.004375d0
test edi, edi
je 0x438967
mov eax, dword [esi + 0xe14]
test eax, eax
lea ecx, [eax - 1]
cmove ecx, eax
jmp 0x4389c4
test ebx, ebx
je 0x4389ad
mov eax, dword [esi + 0xddc]
cmp eax, 0xffffffff
jne 0x438988
push dword [esi + 0xdd8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [esi + 0xddc], eax
push eax
push dword [esi + 0xe10]
mov ecx, esi
call fcn.004375d0
mov ecx, esi
call fcn.004372b0
mov eax, dword [esi]
push esi
call dword [eax + 0x1c4]
pop edi
pop esi
pop ebx
pop ebp
ret 0x10
mov edx, dword [esi + 0xe14]
mov eax, dword [esi + 0xdd8]
lea ecx, [edx + 1]
cmp word [eax + edx*2], 0
cmove ecx, edx
push ecx
push dword [esi + 0xe10]
mov ecx, esi
call fcn.004375d0
mov ecx, esi
call fcn.004372b0
mov eax, dword [esi]
push esi
call dword [eax + 0x1c4]
pop edi
pop esi
pop ebx
pop ebp
ret 0x10
test edi, edi
je 0x438a09
test dword [esi + 0xdf8], 0x800
jne case.0x4387e8.38
mov eax, dword [esi]
push esi
call dword [eax + 0x1bc]
pop edi
pop esi
pop ebx
pop ebp
ret 0x10
test ebx, ebx
je case.0x4387e8.38
mov eax, dword [esi]
push esi
call dword [eax + 0x1c0]
pop edi
pop esi
pop ebx
pop ebp
ret 0x10