Function at 0x42f960
Capabilities:
Log keystrokes via polling

Disassembly:
push 0xffffffffffffffff
push 0x6ee398
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
push ebx
push ebp
push esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push edi
push 0x12
mov dword [esp + 0x18], ecx
call esi
test ax, ax
push 0x10
setl byte [esp + 0x17]
call esi
call fcn.00636960
mov ecx, dword [eax + 0x15c]
mov edx, dword [eax + 0x160]
mov eax, dword [0x780688]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edx
mov byte [esp + 0x1c], 0
lea esp, [esp]
mov dword [esp + 0x18], eax
xor esi, esi
xor ebx, ebx
mov dword [esp + 0x50], esi
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
xor ebp, ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
mov eax, dword [esp + 0x58]
mov edi, dword [eax + 8]
cmp edi, dword [eax + 4]
mov byte [esp + 0x50], 2
je 0x42fb30
lea esi, [edi - 4]
mov edi, edi
mov ecx, dword [esi]
mov eax, dword [ecx + 0x3c]
shr eax, 7
test al, 1
je 0x42fa32
call fcn.004321f0
cmp eax, 0x2a0
je 0x42fb17
cmp eax, 0x2a1
je 0x42fb17
cmp eax, 0x2a2
je 0x42fb17
mov edx, dword [esp + 0x14]
mov ecx, dword [esi]
cmp ecx, dword [edx + 0x458]
je 0x42fb17
mov eax, dword [ecx]
call dword [eax + 0x18]
test al, al
je 0x42fb17
mov ecx, dword [esi]
mov edx, dword [ecx]
call dword [edx + 0x1c]
test al, al
je 0x42fb17
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
push eax
push ecx
mov ecx, dword [esi]
push edx
call fcn.005c9560
test al, al
je 0x42fb17
mov al, byte [esp + 0x13]
test al, al
je 0x42fafc
mov ecx, dword [esi]
mov eax, dword [ecx + 0x3c]
mov edx, eax
shr edx, 7
test dl, 1
je 0x42facb
mov eax, dword [esp + 0x14]
mov dword [eax + 0x24c], ecx
mov ecx, dword [esi]
mov edx, dword [ecx]
call dword [edx + 0x48]
test al, al
je 0x42fb17
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
mov dword [0x780688], ecx
mov al, 1
pop ebx
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
add esp, 0x44
ret 4
shr eax, 1
test al, 1
je 0x42faec
push 2
call fcn.00442360
test al, al
je 0x42faec
push esi
lea ecx, [esp + 0x2c]
call fcn.0042c940
mov ebp, dword [esp + 0x2c]
jmp 0x42fb17
push esi
lea ecx, [esp + 0x3c]
call fcn.0042c940
mov ebx, dword [esp + 0x3c]
jmp 0x42fb17
mov eax, dword [esi]
mov ecx, dword [esp + 0x14]
mov dword [ecx + 0x24c], eax
mov ecx, dword [esi]
mov edx, dword [ecx]
call dword [edx + 0x48]
test al, al
jne 0x42fbd3
mov eax, dword [esp + 0x58]
mov ecx, dword [eax + 4]
sub edi, 4
sub esi, 4
cmp edi, ecx
jne 0x42fa00
xor esi, esi
mov edi, edi
test ebp, ebp
je 0x42fb63
mov eax, dword [esp + 0x30]
sub eax, ebp
sar eax, 2
cmp esi, eax
jae 0x42fb63
mov ecx, dword [ebp + esi*4]
mov edx, dword [esp + 0x14]
mov dword [edx + 0x24c], ecx
mov ecx, dword [ebp + esi*4]
mov eax, dword [ecx]
call dword [eax + 0x48]
test al, al
jne 0x42fbf4
inc esi
jmp 0x42fb30
xor esi, esi
xor ecx, ecx
cmp ebx, ecx
je 0x42fb98
mov eax, dword [esp + 0x40]
sub eax, ebx
sar eax, 2
cmp esi, eax
jae 0x42fb98
mov ecx, dword [ebx + esi*4]
mov edx, dword [esp + 0x14]
mov dword [edx + 0x24c], ecx
mov ecx, dword [ebx + esi*4]
mov eax, dword [ecx]
call dword [eax + 0x48]
test al, al
jne 0x42faaa
inc esi
jmp 0x42fb65
mov eax, dword [esp + 0x18]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], ecx
mov cl, byte [esp + 0x1c]
test cl, cl
mov dword [esp + 0x50], 0xffffffff
mov dword [0x780688], eax
jne 0x42fc14
mov byte [esp + 0x1c], 1
jmp 0x42f9c0
mov edx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
mov dword [0x780688], edx
mov al, 1
pop ebx
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
add esp, 0x44
ret 4
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
mov dword [0x780688], eax
mov al, 1
pop ebx
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
add esp, 0x44
ret 4
mov ecx, dword [esp + 0x48]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov dword fs:[0], ecx
add esp, 0x44
ret 4