Function at 0x42dd80
Capabilities:
Log keystrokes via polling

Disassembly:
push 0xffffffffffffffff
push 0x6c1038
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.00609f10
mov ecx, dword [eax + 0x15c]
mov edx, dword [eax + 0x160]
mov eax, dword [0x74f090]
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 0x42df50
lea esi, [edi - 4]
mov edi, edi
mov ecx, dword [esi]
mov eax, dword [ecx + 0x3c]
shr eax, 7
test al, 1
je 0x42de52
call fcn.004302e0
cmp eax, 0x2a0
je 0x42df37
cmp eax, 0x2a1
je 0x42df37
cmp eax, 0x2a2
je 0x42df37
mov edx, dword [esp + 0x14]
mov ecx, dword [esi]
cmp ecx, dword [edx + 0x458]
je 0x42df37
mov eax, dword [ecx]
call dword [eax + 0x18]
test al, al
je 0x42df37
mov ecx, dword [esi]
mov edx, dword [ecx]
call dword [edx + 0x1c]
test al, al
je 0x42df37
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.0059e9a0
test al, al
je 0x42df37
mov al, byte [esp + 0x13]
test al, al
je 0x42df1c
mov ecx, dword [esi]
mov eax, dword [ecx + 0x3c]
mov edx, eax
shr edx, 7
test dl, 1
je 0x42deeb
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 0x42df37
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
mov dword [0x74f090], 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 0x42df0c
push 2
call fcn.004404f0
test al, al
je 0x42df0c
push esi
lea ecx, [esp + 0x2c]
call fcn.0042c000
mov ebp, dword [esp + 0x2c]
jmp 0x42df37
push esi
lea ecx, [esp + 0x3c]
call fcn.0042c000
mov ebx, dword [esp + 0x3c]
jmp 0x42df37
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 0x42dff3
mov eax, dword [esp + 0x58]
mov ecx, dword [eax + 4]
sub edi, 4
sub esi, 4
cmp edi, ecx
jne 0x42de20
xor esi, esi
mov edi, edi
test ebp, ebp
je 0x42df83
mov eax, dword [esp + 0x30]
sub eax, ebp
sar eax, 2
cmp esi, eax
jae 0x42df83
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 0x42e014
inc esi
jmp 0x42df50
xor esi, esi
xor ecx, ecx
cmp ebx, ecx
je 0x42dfb8
mov eax, dword [esp + 0x40]
sub eax, ebx
sar eax, 2
cmp esi, eax
jae 0x42dfb8
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 0x42deca
inc esi
jmp 0x42df85
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 [0x74f090], eax
jne 0x42e034
mov byte [esp + 0x1c], 1
jmp 0x42dde0
mov edx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
mov dword [0x74f090], 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 [0x74f090], 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