Function at 0x42d7b0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d7c48
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x254
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x18], esi
call fcn.00402fa0
xor edx, edx
mov ecx, eax
test ecx, ecx
setne dl
test edx, edx
jne 0x42d7f1
push 0x80004005
call fcn.00402d70
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov ecx, esi
mov dword [ebp - 4], 0
xor ebx, ebx
call fcn.0043ffe0
or ecx, 0xffffffff
test eax, eax
je 0x42da96
mov ecx, dword [ebp - 0x18]
push edi
lea edi, [ecx + 0xc0]
mov dword [ebp - 0x1c], edi
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], 0
lea edx, [eax - 0x10]
mov esi, dword [edx]
je 0x42d877
cmp dword [edx + 0xc], 0
lea ecx, [edx + 0xc]
jge 0x42d853
cmp dword [eax - 8], 0
jl 0x42da88
xor ecx, ecx
mov dword [eax - 0xc], 0
mov word [eax], cx
jmp 0x42d874
or eax, 0xffffffff
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x42d867
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x18]
movdqu xmm0, xmmword [edi + 0x10]
movdqu xmm1, xmmword [edi]
movdqu xmmword [ebp - 0x48], xmm0
movdqu xmm0, xmmword [edi + 0x20]
movd eax, xmm1
movdqu xmmword [ebp - 0x38], xmm0
cmp eax, 1
jne 0x42d915
push ebx
call fcn.0042dcb0
cmp eax, 1
jne 0x42da59
push 0x104
lea eax, [ebp - 0x260]
push eax
push dword [ebp - 0x40]
call dword [sym.imp.USER32.dll_GetKeyNameTextW]
test ebx, ebx
je 0x42d8e8
mov eax, dword [ebp + 8]
mov eax, dword [eax]
cmp dword [eax - 0xc], 0
je 0x42d8e8
lea eax, [ebp - 0x260]
push eax
lea eax, [ebp - 0x10]
push 0x4df878
push eax
call fcn.00405ad0
add esp, 0xc
jmp 0x42da59
lea ecx, [ebp - 0x260]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42d8f1
sub ecx, edx
lea eax, [ebp - 0x260]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x10]
call fcn.00408980
jmp 0x42da59
test eax, eax
jne 0x42da59
mov edi, dword [ebp - 0x44]
cmp edi, 4
je 0x42d933
cmp edi, 0x10
je 0x42d933
cmp edi, 0x40
jne 0x42da56
call fcn.00402fa0
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x42d7e7
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 1
cmp edi, 4
je 0x42d9f7
cmp edi, 0x10
je 0x42d9ce
cmp edi, 0x40
jne 0x42da38
push 0
push 0
push 0
lea eax, [ebp - 0x20]
push 0x409
push eax
call fcn.0047f650
add esp, 0x14
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 4
call fcn.00406fe0
mov edx, dword [ebp - 0x20]
add edx, 0xfffffff0
mov byte [ebp - 4], 1
or ecx, 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42d9b4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test ebx, ebx
je 0x42da23
mov eax, dword [ebp + 8]
mov eax, dword [eax]
cmp dword [eax - 0xc], 0
je 0x42da23
mov esi, dword [ebp - 0x14]
push esi
push 0x4df878
jmp 0x42da2c
push 0
push 0
push 0
lea eax, [ebp - 0x28]
push 0x408
push eax
call fcn.0047f650
add esp, 0x14
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.00406fe0
mov edx, dword [ebp - 0x28]
jmp 0x42d996
push 0
push 0
push 0
lea eax, [ebp - 0x24]
push 0x407
push eax
call fcn.0047f650
add esp, 0x14
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.00406fe0
mov edx, dword [ebp - 0x24]
jmp 0x42d996
mov esi, dword [ebp - 0x14]
push esi
push 0x4df884
lea eax, [ebp - 0x10]
push eax
call fcn.00405ad0
add esp, 0xc
add esi, 0xfffffff0
mov byte [ebp - 4], 0
or ecx, 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42da56
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax - 0xc]
test ecx, ecx
je 0x42da6d
push ecx
mov ecx, dword [ebp + 8]
push eax
call fcn.00407250
mov ecx, dword [ebp - 0x18]
add edi, 0x30
inc ebx
mov dword [ebp - 0x1c], edi
call fcn.0043ffe0
cmp ebx, eax
jae 0x42da92
mov ecx, dword [ebp - 0x18]
jmp 0x42d824
push 0x80070057
call fcn.00402d70
or ecx, 0xffffffff
pop edi
mov eax, dword [ebp + 8]
xor ebx, ebx
mov esi, dword [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [eax]
cmp dword [eax - 0xc], ebx
setne bl
add esi, 0xfffffff0
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42dac4
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov ecx, dword [ebp - 0xc]
mov eax, ebx
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4