Function at 0x42f3dc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d0491
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x68
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x18], 1
call sub.CRCommon.dll_GetReaderTool
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x42f464
mov dword [ebp - 0x20], 0
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x1c]
call dword [edx + 0x18]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x20], 0
jne 0x42f435
mov dword [ebp - 0x18], 1
cmp dword [ebp - 0x18], 0
jne 0x42f464
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x20]
add ecx, 8
mov eax, dword [ebp - 0x20]
mov edx, dword [eax + 8]
call dword [edx]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x20]
push edx
call dword [ecx + 8]
cmp dword [ebp - 0x18], 0
jne 0x42f474
mov eax, 1
jmp 0x42f720
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x5c]
sub ecx, 0x20
mov dword [ebp - 0x5c], ecx
cmp dword [ebp - 0x5c], 0x52
ja case.0x42f4a6.8
mov eax, dword [ebp - 0x5c]
xor edx, edx
mov dl, byte [eax + 0x42f754]
jmp dword [edx*4 + 0x42f730]
mov ecx, dword [ebp - 0x58]
mov edx, dword [ecx + 0x2d]
mov dword [ebp - 0x10], edx
jmp case.0x42f4a6.8
mov eax, dword [ebp - 0x58]
mov ecx, dword [eax + 0x2d]
mov dword [ebp - 0x14], ecx
jmp case.0x42f4a6.8
mov edx, dword [ebp - 0x58]
mov eax, dword [edx + 0x2d]
neg eax
mov dword [ebp - 0x10], eax
jmp case.0x42f4a6.8
mov ecx, dword [ebp - 0x58]
mov edx, dword [ecx + 0x2d]
neg edx
mov dword [ebp - 0x14], edx
jmp case.0x42f4a6.8
push 1
mov ecx, dword [ebp - 0x58]
call fcn.0042a590
jmp case.0x42f4a6.8
push 0
mov ecx, dword [ebp - 0x58]
call fcn.0042a590
jmp case.0x42f4a6.8
call fcn.0043e08b
test eax, eax
jne 0x42f5b9
lea ecx, [ebp - 0x24]
call fcn.00402dc0
mov dword [ebp - 4], 0
push 0x802d
lea ecx, [ebp - 0x24]
call fcn.004a7fee
push 0x22
push 0x50b96c
push 0x22
lea eax, [ebp - 0x50]
push eax
call fcn.0049f362
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 0x64], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x64]
push edx
lea eax, [ebp - 0x54]
push eax
call fcn.0049f300
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0x68]
mov dword [ebp - 0x6c], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x6c]
push edx
lea ecx, [ebp - 0x24]
call fcn.004a7363
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x54]
call fcn.004a6f4b
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x50]
call fcn.004a6f4b
push 0x10
lea ecx, [ebp - 0x24]
call fcn.00430bb0
push eax
mov eax, dword [ebp - 0x58]
mov ecx, dword [eax + 0xe5d]
push ecx
call fcn.0045be40
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.004a6f4b
jmp case.0x42f4a6.8
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
movsx edx, ax
and edx, 0x8000
test edx, edx
je case.0x42f4a6.8
call fcn.0043dff5
cmp dword [ebp - 0x10], 0
jne 0x42f5e1
cmp dword [ebp - 0x14], 0
je 0x42f5fb
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov ecx, dword [ebp - 0x58]
call fcn.0042c86d
mov eax, 1
jmp 0x42f720
cmp dword [ebp - 0x18], 0
je 0x42f71b
call sub.CRCommon.dll_GetReaderTrace
mov dword [ebp - 0x48], eax
lea ecx, [ebp - 0x38]
call fcn.00429a30
mov dword [ebp - 4], 3
lea edx, [ebp - 0x38]
push edx
mov ecx, dword [ebp - 0x48]
call fcn.004298f7
lea ecx, [ebp - 0x38]
call fcn.0040d8c0
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x3c], 0
jmp 0x42f645
mov eax, dword [ebp - 0x3c]
add eax, 1
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
cmp ecx, dword [ebp - 0x44]
jge 0x42f6de
lea ecx, [ebp - 0x4c]
call fcn.00426900
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x4c]
call fcn.0040b050
push eax
push 0x4dc370
mov edx, dword [ebp - 0x3c]
push edx
lea ecx, [ebp - 0x38]
call fcn.00451f00
mov eax, dword [eax]
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp - 0x70]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x70]
push eax
call dword [edx]
mov dword [ebp - 0x18], eax
xor ecx, ecx
cmp dword [ebp - 0x18], 0
sete cl
and ecx, 0xff
test ecx, ecx
je 0x42f6cd
lea ecx, [ebp - 0x4c]
call fcn.00430bb0
test eax, eax
je 0x42f6cd
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x4c]
call fcn.00430bb0
add eax, 8
mov dword [ebp - 0x74], eax
mov edx, dword [ebp - 0x74]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x74]
call dword [eax]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x4c]
call fcn.00429a90
jmp 0x42f63c
mov ecx, dword [ebp - 0x58]
call fcn.0042c08b
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
je 0x42f70c
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x40]
add ecx, 8
mov edx, dword [ebp - 0x40]
mov eax, dword [edx + 8]
call dword [eax]
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.00439f00
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc