Function at 0x417fa0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x549e00]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 0x10]
cmp eax, 0x204
ja 0x41810d
je 0x4180b7
mov ecx, eax
sub ecx, 0x200
je 0x418157
sub ecx, 1
jne 0x41811b
test dword [esi + 4], 0x800
jne 0x41805f
movzx ebx, di
push 0x11
shr edi, 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x41803a
push edi
push ebx
mov ecx, esi
call fcn.00417120
test eax, eax
js 0x4181eb
mov ecx, dword [esi + 0x58]
shl eax, 5
movups xmm1, xmmword [ecx + eax]
movups xmm0, xmmword [ecx + eax + 0x10]
psrldq xmm1, 4
movd eax, xmm1
movups xmmword [ebp - 0x14], xmm0
push eax
call fcn.0045e110
add esp, 4
jmp 0x4181eb
push 0
call fcn.004190a0
add esp, 4
mov ecx, esi
test eax, eax
je 0x418053
push 0
push edi
push ebx
jmp 0x4181e6
push edi
push ebx
call fcn.00417a00
jmp 0x4181eb
mov ebx, dword [esi + 0x3c]
test ebx, ebx
je 0x4181eb
mov eax, edi
mov dword [esi + 0x60], 0xfff46287
shr eax, 0x10
mov ecx, esi
push eax
movzx eax, di
push eax
call fcn.00417120
test eax, eax
js 0x4181eb
mov edx, dword [esi + 0x58]
lea ecx, [ebp - 0x24]
shl eax, 5
push esi
push ecx
push 0x512
movups xmm0, xmmword [edx + eax]
mov ecx, ebx
movups xmmword [ebp - 0x24], xmm0
movups xmm0, xmmword [edx + eax + 0x10]
movups xmmword [ebp - 0x14], xmm0
mov eax, dword [ebx]
call dword [eax + 0x10]
jmp 0x4181eb
mov ebx, dword [esi + 0x3c]
mov dword [esi + 0x60], 0xfff46287
test ebx, ebx
je 0x4181eb
mov eax, edi
shr eax, 0x10
push eax
movzx eax, di
push eax
call fcn.00417120
test eax, eax
js 0x4181eb
mov edx, dword [esi + 0x58]
lea ecx, [ebp - 0x24]
shl eax, 5
push esi
push ecx
push 0x513
movups xmm0, xmmword [edx + eax]
mov ecx, ebx
movups xmmword [ebp - 0x24], xmm0
movups xmm0, xmmword [edx + eax + 0x10]
movups xmmword [ebp - 0x14], xmm0
mov eax, dword [ebx]
call dword [eax + 0x10]
jmp 0x4181eb
cmp eax, 0x2a1
je 0x418157
cmp eax, 0x507
je 0x41813a
push edi
push dword [ebp + 0xc]
mov ecx, esi
push eax
call fcn.0041cda0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048a3c9
mov esp, ebp
pop ebp
ret 0xc
and dword [esi + 4], 0xfffffbff
push edi
push dword [ebp + 0xc]
mov dword [esi + 0x60], 0xfff46287
push eax
call fcn.0041cda0
jmp 0x4181eb
mov eax, dword [esi + 4]
mov ecx, esi
or eax, 0x400
mov dword [ebp - 0x2c], eax
mov dword [esi + 4], eax
movzx eax, di
shr edi, 0x10
push edi
push eax
mov dword [ebp - 0x28], eax
call fcn.00417120
mov ebx, eax
mov dword [esi + 0x5c], ebx
test ebx, ebx
js 0x4181bd
test dword [ebp - 0x2c], 0x200
jne 0x4181bd
push ebx
push esi
mov ecx, 0x54e4f0
call fcn.0040a200
test eax, eax
jne 0x4181c7
mov eax, dword [esi + 0x58]
mov ecx, ebx
push 0
push edi
push dword [ebp - 0x28]
shl ecx, 5
push dword [esi + 0x70]
push dword [eax + ecx + 4]
push dword [eax + ecx]
push ebx
push esi
call fcn.0040abe0
add esp, 0x20
jmp 0x4181c7
mov ecx, 0x54e4f0
call fcn.0040a160
test dword [esi + 4], 0x1000
je 0x4181eb
push 0
call fcn.004190a0
add esp, 4
test eax, eax
je 0x4181eb
push 1
push edi
push dword [ebp - 0x28]
mov ecx, esi
call fcn.00416cf0
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0048a3c9
mov esp, ebp
pop ebp
ret 0xc