Function at 0x100a5a60
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push edi
push 0x20
call esi
mov edi, 0x8000
test di, ax
je 0x100a5a85
pop edi
mov dword [0x101896cc], 0x20
pop esi
ret 4
push 0xd
call esi
test di, ax
je 0x100a5a9d
pop edi
mov dword [0x101896cc], 0xd
pop esi
ret 4
push 9
call esi
test di, ax
je 0x100a5ab5
pop edi
mov dword [0x101896cc], 9
pop esi
ret 4
push 0x26
call esi
test di, ax
je 0x100a5acd
pop edi
mov dword [0x101896cc], 0x80
pop esi
ret 4
push 0x28
call esi
test di, ax
je 0x100a5ae5
pop edi
mov dword [0x101896cc], 0x81
pop esi
ret 4
push 0x25
call esi
test di, ax
je 0x100a5afd
pop edi
mov dword [0x101896cc], 0x82
pop esi
ret 4
push 0x27
call esi
test di, ax
je 0x100a5b15
pop edi
mov dword [0x101896cc], 0x83
pop esi
ret 4
push 0x12
call esi
test di, ax
je 0x100a5b2d
pop edi
mov dword [0x101896cc], 0x84
pop esi
ret 4
push 0x11
call esi
test di, ax
je 0x100a5b45
pop edi
mov dword [0x101896cc], 0x85
pop esi
ret 4
push 0x10
call esi
test di, ax
je 0x100a5b5d
pop edi
mov dword [0x101896cc], 0x86
pop esi
ret 4
push 0x70
call esi
test di, ax
je 0x100a5b75
pop edi
mov dword [0x101896cc], 0x87
pop esi
ret 4
push 0x71
call esi
test di, ax
je 0x100a5b8d
pop edi
mov dword [0x101896cc], 0x88
pop esi
ret 4
push 0x72
call esi
test di, ax
je 0x100a5ba5
pop edi
mov dword [0x101896cc], 0x89
pop esi
ret 4
push 0x73
call esi
test di, ax
je 0x100a5bbd
pop edi
mov dword [0x101896cc], 0x8a
pop esi
ret 4
push 0x74
call esi
test di, ax
je 0x100a5bd5
pop edi
mov dword [0x101896cc], 0x8b
pop esi
ret 4
push 0x75
call esi
test di, ax
je 0x100a5bed
pop edi
mov dword [0x101896cc], 0x8c
pop esi
ret 4
push 0x76
call esi
test di, ax
je 0x100a5c05
pop edi
mov dword [0x101896cc], 0x8d
pop esi
ret 4
push 0x77
call esi
test di, ax
je 0x100a5c1d
pop edi
mov dword [0x101896cc], 0x8e
pop esi
ret 4
push 0x78
call esi
test di, ax
je 0x100a5c35
pop edi
mov dword [0x101896cc], 0x8f
pop esi
ret 4
push 0x79
call esi
test di, ax
je 0x100a5c4d
pop edi
mov dword [0x101896cc], 0x90
pop esi
ret 4
push 0x7a
call esi
test di, ax
je 0x100a5c65
pop edi
mov dword [0x101896cc], 0x91
pop esi
ret 4
push 0x7b
call esi
test di, ax
je 0x100a5c7d
pop edi
mov dword [0x101896cc], 0x92
pop esi
ret 4
push 0x22
call esi
test di, ax
je 0x100a5c95
pop edi
mov dword [0x101896cc], 0x95
pop esi
ret 4
push 0x21
call esi
test di, ax
je 0x100a5cad
pop edi
mov dword [0x101896cc], 0x96
pop esi
ret 4
push 0x24
call esi
test di, ax
je 0x100a5cc5
pop edi
mov dword [0x101896cc], 0x97
pop esi
ret 4
push 0x23
call esi
test di, ax
je 0x100a5cdd
pop edi
mov dword [0x101896cc], 0x98
pop esi
ret 4
push 0x51
call esi
test di, ax
je 0x100a5cf5
pop edi
mov dword [0x101896cc], 0x71
pop esi
ret 4
push 0x57
call esi
test di, ax
je 0x100a5d0d
pop edi
mov dword [0x101896cc], 0x77
pop esi
ret 4
push 0x45
call esi
test di, ax
je 0x100a5d25
pop edi
mov dword [0x101896cc], 0x65
pop esi
ret 4
push 0x52
call esi
test di, ax
je 0x100a5d3d
pop edi
mov dword [0x101896cc], 0x72
pop esi
ret 4
push 0x54
call esi
test di, ax
je 0x100a5d55
pop edi
mov dword [0x101896cc], 0x74
pop esi
ret 4
push 0x59
call esi
test di, ax
je 0x100a5d6d
pop edi
mov dword [0x101896cc], 0x79
pop esi
ret 4
push 0x55
call esi
test di, ax
je 0x100a5d85
pop edi
mov dword [0x101896cc], 0x75
pop esi
ret 4
push 0x49
call esi
test di, ax
je 0x100a5d9d
pop edi
mov dword [0x101896cc], 0x69
pop esi
ret 4
push 0x4f
call esi
test di, ax
je 0x100a5db5
pop edi
mov dword [0x101896cc], 0x6f
pop esi
ret 4
push 0x50
call esi
test di, ax
je 0x100a5dcd
pop edi
mov dword [0x101896cc], 0x70
pop esi
ret 4
push 0xdb
call esi
test di, ax
je 0x100a5de8
pop edi
mov dword [0x101896cc], 0x5b
pop esi
ret 4
push 0xdd
call esi
test di, ax
je 0x100a5e03
pop edi
mov dword [0x101896cc], 0x5d
pop esi
ret 4
push 0x41
call esi
test di, ax
je 0x100a5e1b
pop edi
mov dword [0x101896cc], 0x61
pop esi
ret 4
push 0x53
call esi
test di, ax
je 0x100a5e33
pop edi
mov dword [0x101896cc], 0x73
pop esi
ret 4
push 0x44
call esi
test di, ax
je 0x100a5e4b
pop edi
mov dword [0x101896cc], 0x64
pop esi
ret 4
push 0x46
call esi
test di, ax
je 0x100a5e63
pop edi
mov dword [0x101896cc], 0x66
pop esi
ret 4
push 0x47
call esi
test di, ax
je 0x100a5e7b
pop edi
mov dword [0x101896cc], 0x67
pop esi
ret 4
push 0x48
call esi
test di, ax
je 0x100a5e93
pop edi
mov dword [0x101896cc], 0x68
pop esi
ret 4
push 0x4a
call esi
test di, ax
je 0x100a5eab
pop edi
mov dword [0x101896cc], 0x6a
pop esi
ret 4
push 0x4b
call esi
test di, ax
je 0x100a5ec3
pop edi
mov dword [0x101896cc], 0x6b
pop esi
ret 4
push 0x4c
call esi
test di, ax
je 0x100a5edb
pop edi
mov dword [0x101896cc], 0x6c
pop esi
ret 4
push 0x5a
call esi
test di, ax
je 0x100a5ef3
pop edi
mov dword [0x101896cc], 0x7a
pop esi
ret 4
push 0x58
call esi
test di, ax
je 0x100a5f0b
pop edi
mov dword [0x101896cc], 0x78
pop esi
ret 4
push 0x43
call esi
test di, ax
je 0x100a5f23
pop edi
mov dword [0x101896cc], 0x63
pop esi
ret 4
push 0x56
call esi
test di, ax
je 0x100a5f3b
pop edi
mov dword [0x101896cc], 0x76
pop esi
ret 4
push 0x42
call esi
test di, ax
je 0x100a5f53
pop edi
mov dword [0x101896cc], 0x62
pop esi
ret 4
push 0x4e
call esi
test di, ax
je 0x100a5f6b
pop edi
mov dword [0x101896cc], 0x6e
pop esi
ret 4
push 0x4d
call esi
test di, ax
je 0x100a5f83
pop edi
mov dword [0x101896cc], 0x6d
pop esi
ret 4
push 0xbc
call esi
test di, ax
je 0x100a5f9e
pop edi
mov dword [0x101896cc], 0x2c
pop esi
ret 4
push 0xbe
call esi
test di, ax
je 0x100a5fb9
pop edi
mov dword [0x101896cc], 0x2e
pop esi
ret 4
push 1
call esi
test di, ax
je 0x100a5fd1
pop edi
mov dword [0x101896cc], 0xf1
pop esi
ret 4
push 2
call esi
test di, ax
je 0x100a5fe9
pop edi
mov dword [0x101896cc], 0xf2
pop esi
ret 4
push 4
call esi
test di, ax
je 0x100a6001
pop edi
mov dword [0x101896cc], 0xf3
pop esi
ret 4
push 5
call esi
test di, ax
je 0x100a6019
pop edi
mov dword [0x101896cc], 0xf4
pop esi
ret 4
push 6
call esi
test di, ax
je 0x100a6031
pop edi
mov dword [0x101896cc], 0xf5
pop esi
ret 4
push 0x30
call esi
test di, ax
je 0x100a6049
pop edi
mov dword [0x101896cc], 0x30
pop esi
ret 4
push 0x31
call esi
test di, ax
je 0x100a6061
pop edi
mov dword [0x101896cc], 0x31
pop esi
ret 4
push 0x32
call esi
test di, ax
je 0x100a6079
pop edi
mov dword [0x101896cc], 0x32
pop esi
ret 4
push 0x33
call esi
test di, ax
je 0x100a6091
pop edi
mov dword [0x101896cc], 0x33
pop esi
ret 4
push 0x34
call esi
test di, ax
je 0x100a60a9
pop edi
mov dword [0x101896cc], 0x34
pop esi
ret 4
push 0x35
call esi
test di, ax
je 0x100a60c1
pop edi
mov dword [0x101896cc], 0x35
pop esi
ret 4
push 0x36
call esi
test di, ax
je 0x100a60d9
pop edi
mov dword [0x101896cc], 0x36
pop esi
ret 4
push 0x37
call esi
test di, ax
je 0x100a60f1
pop edi
mov dword [0x101896cc], 0x37
pop esi
ret 4
push 0x38
call esi
test di, ax
je 0x100a6109
pop edi
mov dword [0x101896cc], 0x38
pop esi
ret 4
push 0x39
call esi
and ax, di
movzx eax, ax
neg eax
pop edi
sbb eax, eax
and eax, 0x39
mov dword [0x101896cc], eax
pop esi
ret 4