Function at 0x42e216
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0041dde0
test eax, eax
je case.0x42e50e.527
call fcn.0041df30
mov ebx, eax
mov dword [ebp - 4], ebx
call fcn.0041dde0
test eax, eax
je 0x42e1e3
call fcn.0041df30
mov edi, dword [eax + 0x64]
jmp 0x42e1e5
xor edi, edi
mov ecx, dword [ebp + 0xc]
cmp ecx, 0x200
ja 0x42e4f6
je 0x42e48c
lea eax, [ecx - 7]
cmp eax, 0xfe
ja case.0x42e50e.527
movzx eax, byte [eax + 0x42e6c4]
jmp dword [eax*4 + 0x42e6b0]
cmp ecx, 0x100
je 0x42e22a
cmp ecx, 0x104
je 0x42e22a
xor bl, bl
jmp 0x42e22c
mov bl, 1
mov edi, dword [ebp + 0x10]
mov byte [ebp - 4], bl
cmp edi, 0x100
jae case.0x42e50e.527
call fcn.0041df30
push 0x11
mov esi, eax
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
movzx ecx, al
push ecx
push 0x281
mov ecx, esi
call fcn.00417cb0
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, esi
and al, 1
movzx eax, al
push eax
push 0x282
call fcn.00417cb0
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, esi
and al, 1
movzx eax, al
push eax
push 0x283
call fcn.00417cb0
push 0x5d
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, esi
and al, 1
movzx eax, al
push eax
push 0x284
call fcn.00417cb0
mov ecx, dword [ebp + 0x14]
cmp edi, 0xd
jne 0x42e2d3
mov eax, ecx
shr eax, 0x10
test eax, 0x100
mov eax, 0x10d
cmovne edi, eax
push edi
call fcn.0042dc00
shr ecx, 0x10
add esp, 4
movzx esi, cl
test eax, eax
je 0x42e2f4
push esi
push edi
push dword [ebp - 4]
push eax
call fcn.0042d020
add esp, 0x10
cmp edi, 0x10
jne 0x42e359
push 0xa0
call dword [sym.imp.USER32.dll_GetKeyState]
mov edi, dword [ebp - 4]
shr eax, 0xf
and al, 1
cmp al, bl
jne 0x42e324
push esi
push 0xa0
push edi
push 0x210
call fcn.0042d020
add esp, 0x10
push 0xa1
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, bl
jne case.0x42e50e.527
push esi
push 0xa1
push edi
push 0x214
call fcn.0042d020
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp edi, 0x11
jne 0x42e3be
push 0xa2
call dword [sym.imp.USER32.dll_GetKeyState]
mov edi, dword [ebp - 4]
shr eax, 0xf
and al, 1
cmp al, bl
jne 0x42e389
push esi
push 0xa2
push edi
push 0x20f
call fcn.0042d020
add esp, 0x10
push 0xa3
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, bl
jne case.0x42e50e.527
push esi
push 0xa3
push edi
push 0x213
call fcn.0042d020
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp edi, 0x12
jne case.0x42e50e.527
push 0xa4
call dword [sym.imp.USER32.dll_GetKeyState]
mov edi, dword [ebp - 4]
shr eax, 0xf
and al, 1
cmp al, bl
jne 0x42e3f2
push esi
push 0xa4
push edi
push 0x211
call fcn.0042d020
add esp, 0x10
push 0xa5
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, bl
jne case.0x42e50e.527
push esi
push 0xa5
push edi
push 0x215
call fcn.0042d020
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp ecx, 7
mov ecx, ebx
sete al
movzx eax, al
push eax
call fcn.004179a0
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x10]
test eax, eax
je case.0x42e50e.527
cmp eax, 0x10000
jae case.0x42e50e.527
push eax
mov ecx, ebx
call fcn.00417a20
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
cmp word [ebp + 0x14], 1
jne case.0x42e50e.527
call fcn.0042dac0
test al, al
je case.0x42e50e.527
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [edi + 8], 0
mov eax, dword [ebp + 8]
mov dword [edi + 4], eax
jne 0x42e4be
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x14], 0x10
mov dword [ebp - 0x10], 2
mov dword [ebp - 8], 0
call dword [sym.imp.USER32.dll_TrackMouseEvent]
mov byte [edi + 8], 1
mov ecx, dword [ebp + 0x14]
sub esp, 8
mov eax, ecx
shr eax, 0x10
cwde
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movsx eax, cx
mov ecx, ebx
movss dword [esp + 4], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
call fcn.00417eb0
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ecx - 0x201]
cmp eax, 0xa2
ja case.0x42e50e.527
movzx eax, byte [eax + 0x42e7e0]
jmp dword [eax*4 + 0x42e7c4]
mov eax, dword [edi + 4]
cmp eax, dword [ebp + 8]
jne 0x42e524
mov dword [edi + 4], 0
sub esp, 8
mov byte [edi + 8], 0
mov ecx, ebx
mov dword [esp + 4], 0xff7fffff
mov dword [esp], 0xff7fffff
call fcn.00417eb0
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
cmp ecx, 0x204
je 0x42e55c
xor esi, esi
cmp ecx, 0x206
jne 0x42e561
mov esi, 1
cmp ecx, 0x207
je 0x42e571
cmp ecx, 0x209
jne 0x42e576
mov esi, 2
cmp ecx, 0x20b
je 0x42e586
cmp ecx, 0x20d
jne 0x42e596
mov esi, dword [ebp + 0x10]
shr esi, 0x10
dec esi
neg esi
sbb esi, esi
neg esi
add esi, 3
cmp dword [edi + 0xc], 0
jne 0x42e5af
call dword [sym.imp.USER32.dll_GetCapture]
test eax, eax
jne 0x42e5af
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetCapture]
mov eax, dword [edi + 0xc]
mov ecx, ebx
push 1
bts eax, esi
push esi
mov dword [edi + 0xc], eax
call fcn.00417e20
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
xor ebx, ebx
cmp ecx, 0x205
sete bl
cmp ecx, 0x208
jne 0x42e5e5
mov ebx, 2
jmp 0x42e5fd
cmp ecx, 0x20c
jne 0x42e5fd
mov ebx, dword [ebp + 0x10]
shr ebx, 0x10
dec ebx
neg ebx
sbb ebx, ebx
neg ebx
add ebx, 3
mov eax, dword [edi + 0xc]
btr eax, ebx
mov dword [edi + 0xc], eax
test eax, eax
jne 0x42e61b
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, dword [ebp + 8]
jne 0x42e61b
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov ecx, dword [ebp - 4]
push 0
push ebx
call fcn.00417e20
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x10]
sub esp, 8
shr eax, 0x10
mov ecx, ebx
cwde
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm0, dword [0x463930]
movss dword [esp + 4], xmm0
mov dword [esp], 0
call fcn.00417f40
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x10]
sub esp, 8
shr eax, 0x10
mov ecx, ebx
cwde
mov dword [esp + 4], 0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm0, dword [0x463930]
movss dword [esp], xmm0
call fcn.00417f40
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ebp + 0x10], 7
jne case.0x42e50e.527
mov byte [edi + 0x25], 1
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret