Function at 0x10042660
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017d4e6
mov eax, dword fs:[0]
push eax
sub esp, 0x12c
mov eax, dword [0x101f9224]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x10
call esi
shr eax, 0xf
and al, 1
push 0x11
mov byte [ebp - 0x3e], al
call esi
mov esi, dword [ebp + 8]
movzx edx, ax
mov al, byte [ebx + 0x18b]
shr edx, 0xf
and al, 0xfb
and edx, 0xffffff01
mov byte [ebp - 0x39], 0
mov cl, dl
mov dword [ebp - 0x48], edx
shl cl, 2
or cl, al
mov byte [ebp - 0x42], 1
lea eax, [esi - 9]
mov byte [ebp - 0x3a], 1
mov byte [ebx + 0x18b], cl
cmp eax, 0x72
ja case.0x100426ec.10
movzx eax, byte [eax + 0x10042b70]
jmp dword [eax*4 + 0x10042b40]
mov ecx, ebx
call fcn.10045640
cmp dword [eax + 0x56e], 1
jne 0x10042ae5
mov ecx, ebx
call fcn.10044e50
mov byte [ebp - 0x42], al
jmp 0x10042ae5
mov ecx, ebx
call fcn.10045640
mov ecx, ebx
cmp dword [eax + 0x56e], 1
je 0x10042738
shr esi, 0x10
push esi
push 2
call fcn.10047500
jmp 0x10042ae5
push dword [ebp - 0x3e]
call fcn.100488f0
push 1
push 0
mov ecx, ebx
call fcn.100447c0
jmp 0x10042ae5
mov ecx, ebx
call fcn.10045640
mov ecx, ebx
cmp dword [eax + 0x56e], 1
je 0x10042772
shr esi, 0x10
push esi
push 3
call fcn.10047500
jmp 0x10042ae5
push dword [ebp - 0x3e]
call fcn.100488f0
push 1
push 1
mov ecx, ebx
call fcn.100447c0
jmp 0x10042ae5
mov ecx, ebx
call fcn.10045640
cmp dword [eax + 0x56e], 1
jne 0x10042ae5
push dword [ebp - 0x3e]
mov ecx, ebx
call fcn.100488f0
cmp byte [ebp - 0x48], 0
mov ecx, ebx
push 1
je 0x100427c3
call fcn.10046fe0
mov byte [ebp - 0x42], al
mov byte [ebp - 0x39], 1
jmp 0x10042ae5
push 1
call fcn.10046db0
mov byte [ebp - 0x42], al
mov byte [ebp - 0x39], 1
jmp 0x10042ae5
mov ecx, ebx
call fcn.10045640
cmp dword [eax + 0x56e], 1
jne 0x10042ae5
push dword [ebp - 0x3e]
mov ecx, ebx
call fcn.100488f0
cmp byte [ebp - 0x48], 0
mov ecx, ebx
push 1
je 0x1004280f
call fcn.10047160
mov byte [ebp - 0x42], al
mov byte [ebp - 0x39], 1
jmp 0x10042ae5
push 1
call fcn.10046ce0
mov byte [ebp - 0x42], al
mov byte [ebp - 0x39], 1
jmp 0x10042ae5
mov ecx, ebx
call fcn.10045640
mov ecx, ebx
cmp dword [eax + 0x56e], 1
je 0x10042844
shr esi, 0x10
push esi
push 1
call fcn.10047500
jmp 0x10042ae5
push dword [ebp - 0x3e]
call fcn.100488f0
push 1
push 1
mov ecx, ebx
call fcn.10046b20
mov byte [ebp - 0x42], al
mov byte [ebp - 0x39], 1
jmp 0x10042ae5
mov ecx, ebx
call fcn.10045640
mov ecx, ebx
cmp dword [eax + 0x56e], 1
je 0x10042885
shr esi, 0x10
push esi
push 0
call fcn.10047500
jmp 0x10042ae5
push dword [ebp - 0x3e]
call fcn.100488f0
push 1
push 1
mov ecx, ebx
call fcn.100471d0
mov byte [ebp - 0x42], al
mov byte [ebp - 0x39], 1
jmp 0x10042ae5
mov ecx, ebx
call fcn.10045640
cmp dword [eax + 0x56e], 1
jne 0x10042ae5
push dword [ebp - 0x3e]
mov ecx, ebx
call fcn.100488f0
cmp byte [ebp - 0x48], 0
je 0x10042965
lea eax, [ebx + 0x5d2]
push eax
lea ecx, [ebp - 0xd0]
call fcn.10049420
push 2
lea ecx, [ebp - 0xd0]
mov dword [ebp - 4], 0
call fcn.10049670
push 0
push 0
lea ecx, [ebp - 0x4c]
call fcn.1011a150
push 0
mov ecx, dword [eax]
mov dword [ebp - 0xb8], ecx
lea ecx, [ebp - 0xd0]
mov eax, dword [eax + 4]
mov dword [ebp - 0xb4], eax
call fcn.100497d0
push dword [ebx + 0x216]
lea ecx, [ebp - 0x50]
push 0
push 0
push 0
call fcn.1011a190
mov ecx, eax
call fcn.1011b3a0
push 2
push eax
push 0
push 0
lea ecx, [ebp - 0x50]
call fcn.1011a190
push eax
mov ecx, ebx
call fcn.100478d0
lea ecx, [ebp - 0xd0]
mov dword [ebp - 4], 0xffffffff
call fcn.100415d0
jmp 0x10042ae5
push 1
push dword [ebx + 0x216]
lea ecx, [ebx + 0x1b8]
call fcn.1011b3a0
lea ecx, [ebx + 0x1b8]
mov esi, eax
call fcn.1011b390
sub eax, esi
mov ecx, ebx
push eax
call fcn.10046ce0
mov byte [ebp - 0x39], 1
jmp 0x10042ae5
mov ecx, ebx
call fcn.10045640
cmp dword [eax + 0x56e], 1
jne 0x10042ae5
push dword [ebp - 0x3e]
mov ecx, ebx
call fcn.100488f0
cmp byte [ebp - 0x48], 0
mov eax, dword [ebx + 0x216]
je 0x10042a89
lea ecx, [eax + 0x250]
call fcn.101039b0
mov ecx, dword [ebx + 0x216]
add ecx, 0x250
lea esi, [eax - 1]
push esi
lea eax, [ebp - 0x68]
push eax
call fcn.10103860
lea eax, [ebx + 0x5d2]
push eax
lea ecx, [ebp - 0x138]
call fcn.10049420
push 2
lea ecx, [ebp - 0x138]
mov dword [ebp - 4], 1
call fcn.10049670
lea ecx, [ebp - 0x68]
call fcn.100a7e50
dec eax
lea ecx, [ebp - 0x4c]
push eax
push esi
call fcn.1011a150
push 0
mov ecx, dword [eax]
mov dword [ebp - 0x120], ecx
lea ecx, [ebp - 0x138]
mov eax, dword [eax + 4]
mov dword [ebp - 0x11c], eax
call fcn.100497d0
push 2
push 0xffffffffffffffff
push dword [ebx + 0x216]
lea eax, [ebp - 0x38]
lea esi, [ebx + 0x5ea]
push eax
mov ecx, esi
call fcn.1011b450
mov ecx, eax
call fcn.101138a0
push eax
push esi
lea ecx, [ebp - 0x50]
call fcn.1011a170
push eax
mov ecx, ebx
call fcn.100478d0
lea ecx, [ebp - 0x138]
mov dword [ebp - 4], 0xffffffff
call fcn.100415d0
jmp 0x10042ae5
push eax
lea ecx, [ebx + 0x1b8]
call fcn.1011b3f0
lea ecx, [ebx + 0x1b8]
mov esi, eax
call fcn.1011b390
cmp eax, esi
je 0x10042ae5
push 1
lea ecx, [ebx + 0x1b8]
call fcn.1011b390
sub esi, eax
mov ecx, ebx
push esi
call fcn.10046db0
mov byte [ebp - 0x39], 1
jmp 0x10042ae5
mov byte [ebp - 0x3a], 0
test dl, dl
je 0x10042ae5
push dword [ebp + 0xc]
mov ecx, ebx
push esi
call fcn.100423f0
jmp 0x10042b22
mov ecx, ebx
call fcn.10043280
jmp 0x10042ae5
mov byte [ebp - 0x3a], 0
mov ecx, ebx
call fcn.10045640
cmp dword [eax + 0x56e], 1
jne 0x10042b09
cmp byte [ebp - 0x39], 0
je 0x10042b09
lea eax, [ebx + 0x1d0]
mov ecx, ebx
push eax
call fcn.100467c0
cmp byte [ebp - 0x3a], 0
je 0x10042b22
push 1
push dword [ebp - 0x42]
mov ecx, ebx
call fcn.10049070
mov ecx, ebx
call fcn.1004d2a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10175e83
mov esp, ebp
pop ebp
ret 8