Function at 0x42ad90
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
push esi
push edi
mov ebx, ecx
xor edi, edi
cmp dword [ebx + 0x210], edi
je 0x42adb3
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp dword [ebx + 0x204], edi
jne 0x42ada8
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edi
call esi
mov ecx, 0x8000
test cx, ax
je 0x42addc
mov edi, 1
push 0x12
call esi
mov edx, 0x8000
test dx, ax
je 0x42adf2
mov dword [esp + 0x14], 1
push 0x10
call esi
mov ecx, 0x8000
test cx, ax
je 0x42ae08
mov dword [esp + 0x10], 1
push ebx
lea esi, [esp + 0x1c]
call fcn.0042a7d0
mov eax, dword [ebp + 8]
lea ecx, [eax - 8]
cmp ecx, 0x69
ja case.0x42ae28.9
movzx edx, byte [ecx + 0x42b39c]
jmp dword [edx*4 + 0x42b350]
test edi, edi
je case.0x42ae28.9
cmp dword [esp + 0x14], 0
jne case.0x42ae28.9
cmp dword [esp + 0x10], 0
jne case.0x42ae28.9
mov eax, dword [ebx]
mov edx, dword [eax + 0x64]
push 0
push 0x4c3af8
push 0x72
mov ecx, ebx
call edx
jmp case.0x42ae28.9
test edi, edi
je case.0x42ae28.9
cmp dword [esp + 0x14], 0
jne case.0x42ae28.9
cmp dword [esp + 0x10], 0
jne case.0x42ae28.9
mov eax, dword [ebx]
mov edx, dword [eax + 0x64]
push 0
push 0x4c3af8
push 0x2d
mov ecx, ebx
call edx
jmp case.0x42ae28.9
test edi, edi
je case.0x42ae28.9
cmp dword [esp + 0x14], 0
jne case.0x42ae28.9
cmp dword [esp + 0x10], 0
jne case.0x42ae28.9
mov eax, dword [ebx]
mov edx, dword [eax + 0x64]
push 0
push 0x4c3af8
push 0x60
mov ecx, ebx
call edx
jmp case.0x42ae28.9
test edi, edi
je case.0x42ae28.9
cmp dword [esp + 0x14], 0
jne case.0x42ae28.9
cmp dword [esp + 0x10], 0
jne case.0x42ae28.9
mov eax, dword [ebx]
mov edx, dword [eax + 0x64]
push 0
push 0x4c3af8
push 0x2b
mov ecx, ebx
call edx
jmp case.0x42ae28.9
test edi, edi
je case.0x42ae28.9
cmp dword [esp + 0x14], 0
jne case.0x42ae28.9
cmp dword [esp + 0x10], 0
jne case.0x42ae28.9
mov eax, dword [ebx]
mov edx, dword [eax + 0x64]
push 0
push 0x4c3af8
push 0x2a
mov ecx, ebx
call edx
jmp case.0x42ae28.9
test edi, edi
je case.0x42ae28.9
cmp dword [esp + 0x14], 0
jne case.0x42ae28.9
cmp dword [esp + 0x10], 0
jne case.0x42ae28.9
mov eax, dword [ebx]
mov edx, dword [eax + 0x64]
push 0
push 0x4c3af8
push 0x2c
mov ecx, ebx
call edx
jmp case.0x42ae28.9
test edi, edi
je case.0x42ae28.9
cmp dword [esp + 0x14], 0
jne case.0x42ae28.9
cmp dword [esp + 0x10], 0
mov eax, dword [ebx]
mov edx, dword [eax + 0x64]
push 0
mov ecx, ebx
push 0x4c3af8
jne 0x42af9e
push 0x68
call edx
jmp case.0x42ae28.9
push 0x69
call edx
jmp case.0x42ae28.9
mov ecx, dword [ebx + 0x1c0]
cmp dword [ecx + 0x100], 0
jne 0x42b03a
test edi, edi
jne case.0x42ae28.9
cmp dword [esp + 0x14], edi
jne case.0x42ae28.9
cmp dword [esp + 0x10], edi
jne case.0x42ae28.9
push 1
push ecx
call fcn.00460b70
mov eax, dword [ebx]
mov edx, dword [eax + 0x60]
mov ecx, ebx
call edx
mov esi, ebx
call fcn.00431a10
jmp case.0x42ae28.9
mov eax, dword [ebx]
mov edx, dword [eax + 0x64]
push 0
push 0x4c3af8
push 0x9c
mov ecx, ebx
call edx
jmp case.0x42ae28.9
mov eax, dword [ebx]
mov edx, dword [eax + 0x64]
push 0
push 0x4c3af8
push 0x9b
mov ecx, ebx
call edx
jmp case.0x42ae28.9
mov ecx, dword [ebx + 0x1c0]
cmp dword [ecx + 0x100], 0
je case.0x42ae28.9
push eax
call fcn.004610e0
mov eax, dword [ebx]
mov edx, dword [eax + 0x60]
mov ecx, ebx
call edx
jmp case.0x42ae28.9
mov ecx, dword [ebx + 0x1c0]
cmp dword [ecx + 0x100], 0
jne 0x42b03a
test edi, edi
jne 0x42b09d
cmp dword [esp + 0x14], edi
jne 0x42b09d
cmp dword [esp + 0x10], edi
je 0x42b08c
mov eax, dword [ebx]
mov edx, dword [eax + 0x64]
push edi
push 0x4c3af8
push 0x2b
mov ecx, ebx
call edx
mov eax, dword [ebx]
mov edx, dword [eax + 0x60]
mov ecx, ebx
call edx
jmp case.0x42ae28.9
push 1
push ecx
call fcn.00460b70
xor edi, edi
mov esi, ebx
call fcn.00431a10
mov eax, dword [ebx]
mov edx, dword [eax + 0x60]
mov ecx, ebx
call edx
jmp case.0x42ae28.9
test edi, edi
je 0x42b0e5
cmp dword [esp + 0x14], 0
jne case.0x42ae28.9
cmp dword [esp + 0x10], 0
jne case.0x42ae28.9
push 0
push 0x4c3af8
push 0x2a
mov eax, dword [ebx]
mov edx, dword [eax + 0x64]
mov ecx, ebx
call edx
mov eax, dword [ebx]
mov edx, dword [eax + 0x60]
mov ecx, ebx
call edx
jmp case.0x42ae28.9
cmp dword [esp + 0x14], 0
jne case.0x42ae28.9
cmp dword [esp + 0x10], 0
je case.0x42ae28.9
push 0
push 0x4c3af8
push 0x2c
jmp 0x42b0ce
mov eax, dword [ebx + 0x1c0]
call fcn.00460cb0
cmp eax, 1
jne case.0x42ae28.9
mov eax, dword [ebx + 0x1c0]
call fcn.0045fac0
mov edi, eax
test edi, edi
je 0x42b0d7
jmp 0x42b130
mov eax, dword [edi]
mov edx, dword [eax + 0x50]
mov ecx, edi
call edx
test eax, eax
jne 0x42b15c
mov ecx, dword [ebx + 0x1c0]
call fcn.0045fb00
mov edi, eax
test edi, edi
jne 0x42b130
mov eax, dword [ebx]
mov edx, dword [eax + 0x60]
mov ecx, ebx
call edx
jmp case.0x42ae28.9
mov eax, dword [ebx + 0x1d8]
mov ecx, dword [ebx + 0x1d4]
mov esi, dword [ebx + 0x1c0]
push eax
push ecx
call fcn.00460ce0
mov edx, dword [0x4ee74c]
mov dword [edx + 0x2cc], ebx
mov eax, dword [ebx]
mov edx, dword [eax + 0x60]
mov ecx, ebx
call edx
jmp case.0x42ae28.9
mov ecx, dword [ebx + 0x1c0]
cmp dword [ecx + 0x100], 0
jne 0x42b03a
cmp dword [esp + 0x10], 0
je 0x42b1c9
mov eax, dword [esp + 0x20]
inc eax
cmp eax, dword [ecx + 0x70]
jae 0x42b323
push 1
push 0
push 1
mov edi, ecx
call fcn.00460670
jmp 0x42b323
mov edx, dword [esp + 0x20]
add edx, 8
cmp edx, dword [ecx + 0x70]
jae 0x42b0d7
push 0
push 8
mov esi, ecx
call fcn.004607d0
mov eax, dword [ebx]
mov edx, dword [eax + 0x60]
mov ecx, ebx
call edx
jmp case.0x42ae28.9
mov ecx, dword [ebx + 0x1c0]
cmp dword [ecx + 0x100], 0
jne 0x42b03a
cmp dword [esp + 0x10], 0
je 0x42b232
cmp dword [esp + 0x18], 0
jle 0x42b0d7
push 1
push 0
push 0xffffffffffffffff
mov edi, ecx
call fcn.00460670
mov eax, dword [ebx]
mov edx, dword [eax + 0x60]
mov ecx, ebx
call edx
jmp case.0x42ae28.9
cmp dword [esp + 0x18], 8
jl 0x42b0d7
push 0
push 0xfffffffffffffff8
mov esi, ecx
call fcn.004607d0
mov eax, dword [ebx]
mov edx, dword [eax + 0x60]
mov ecx, ebx
call edx
jmp case.0x42ae28.9
mov ecx, dword [ebx + 0x1c0]
cmp dword [ecx + 0x100], 0
jne 0x42b03a
mov edi, ecx
call fcn.00463640
test eax, eax
jne 0x42b2a2
cmp dword [esp + 0x10], eax
je 0x42b2a2
cmp dword [esp + 0x1c], eax
jle 0x42b0d7
mov edi, dword [ebx + 0x1c0]
push 1
push 0xffffffffffffffff
push eax
call fcn.00460670
mov eax, dword [ebx]
mov edx, dword [eax + 0x60]
mov ecx, ebx
call edx
jmp case.0x42ae28.9
cmp dword [esp + 0x1c], 8
jl 0x42b0d7
mov esi, dword [ebx + 0x1c0]
push 0xfffffffffffffff8
push 0
call fcn.004607d0
mov eax, dword [ebx]
mov edx, dword [eax + 0x60]
mov ecx, ebx
call edx
jmp case.0x42ae28.9
mov ecx, dword [ebx + 0x1c0]
cmp dword [ecx + 0x100], 0
jne 0x42b03a
mov edi, ecx
call fcn.00463640
test eax, eax
je 0x42b2e9
xor ecx, ecx
jmp 0x42b2ed
mov ecx, dword [esp + 0x10]
mov esi, dword [ebx + 0x1c0]
mov eax, dword [esi + 0x6c]
test ecx, ecx
je 0x42b30f
cmp dword [esp + 0x24], eax
ja 0x42b323
push 1
push 1
push 0
mov edi, esi
call fcn.00460670
jmp 0x42b323
mov ecx, dword [esp + 0x24]
add ecx, 8
cmp ecx, eax
ja 0x42b323
push 8
push 0
call fcn.004607d0
mov edx, dword [ebx]
mov eax, dword [edx + 0x60]
mov ecx, ebx
call eax
mov edi, ebx
call fcn.0042db70
push ebx
call fcn.00430fe0
mov edx, dword [ebx]
mov eax, dword [edx + 0x60]
mov ecx, ebx
call eax
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 4