Function at 0x42f76f
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x508040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, ecx
mov ecx, dword [0x57ecb0]
mov dword [ebp - 0x1c], eax
push esi
push edi
test ecx, ecx
je case.0x42fce6.527
mov edi, dword [ecx + 0x6c]
lea esi, [ecx + 8]
mov dword [ebp - 0x18], esi
cmp edx, 0x200
ja 0x42fcce
je 0x42fbff
lea eax, [edx - 7]
cmp eax, 0xfe
ja case.0x42fce6.527
movzx eax, byte [eax + 0x42fe8c]
jmp dword [eax*4 + 0x42fe78]
cmp edx, 0x100
je 0x42f783
mov byte [ebp - 0x18], 0
cmp edx, 0x104
jne 0x42f787
mov byte [ebp - 0x18], 1
mov edi, dword [ebx + 8]
cmp edi, 0x100
jae case.0x42fce6.527
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp byte [esi + 0x3779], 0
mov byte [ebp - 0x1c], al
je 0x42f7cf
test al, al
je 0x42f7bd
movss xmm3, dword [0x4fb928]
jmp 0x42f7c0
xorps xmm3, xmm3
push dword [ebp - 0x1c]
mov ecx, esi
push 0x281
call fcn.004085f0
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp byte [esi + 0x3779], 0
mov byte [ebp - 0x1c], al
je 0x42f808
test al, al
je 0x42f7f6
movss xmm3, dword [0x4fb928]
jmp 0x42f7f9
xorps xmm3, xmm3
push dword [ebp - 0x1c]
mov ecx, esi
push 0x282
call fcn.004085f0
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp byte [esi + 0x3779], 0
mov byte [ebp - 0x1c], al
je 0x42f841
test al, al
je 0x42f82f
movss xmm3, dword [0x4fb928]
jmp 0x42f832
xorps xmm3, xmm3
push dword [ebp - 0x1c]
mov ecx, esi
push 0x283
call fcn.004085f0
push 0x5d
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp byte [esi + 0x3779], 0
mov byte [ebp - 0x1c], al
je 0x42f87a
test al, al
je 0x42f868
movss xmm3, dword [0x4fb928]
jmp 0x42f86b
xorps xmm3, xmm3
push dword [ebp - 0x1c]
mov ecx, esi
push 0x284
call fcn.004085f0
cmp edi, 0xd
jne 0x42f892
mov eax, dword [ebx + 0xc]
shr eax, 0x10
test eax, 0x100
mov eax, 0x10d
cmovne edi, eax
mov ecx, edi
call fcn.0042f1c0
mov esi, eax
test esi, esi
je 0x42f8ea
mov eax, dword [0x57ecb0]
add eax, 8
mov dword [ebp - 0x1c], eax
cmp byte [eax + 0x3779], 0
je 0x42f8d4
cmp byte [ebp - 0x18], 0
je 0x42f8c3
movss xmm3, dword [0x4fb928]
jmp 0x42f8c6
xorps xmm3, xmm3
push dword [ebp - 0x18]
mov ecx, eax
push esi
call fcn.004085f0
mov eax, dword [ebp - 0x1c]
cmp edi, 0x1ff
ja 0x42f8ea
mov dword [eax + edi*4 + 0xac], esi
mov dword [eax + esi*4 + 0xac], edi
cmp edi, 0x10
jne 0x42f9b4
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0xa0
call edi
mov cl, byte [ebp - 0x18]
shr eax, 0xf
and al, 1
cmp al, cl
jne 0x42f951
mov eax, dword [0x57ecb0]
cmp byte [eax + 0x3781], 0
lea esi, [eax + 8]
je 0x42f93d
test cl, cl
je 0x42f92b
movss xmm3, dword [0x4fb928]
jmp 0x42f92e
xorps xmm3, xmm3
push dword [ebp - 0x18]
mov ecx, esi
push 0x210
call fcn.004085f0
mov dword [esi + 0x32c], 0x210
mov dword [esi + 0x8ec], 0xa0
push 0xa1
call edi
mov cl, byte [ebp - 0x18]
shr eax, 0xf
and al, 1
cmp al, cl
jne case.0x42fce6.527
mov esi, dword [0x57ecb0]
cmp byte [esi + 0x3781], 0
je 0x42f99b
test cl, cl
je 0x42f985
movss xmm0, dword [0x4fb928]
jmp 0x42f988
xorps xmm0, xmm0
push dword [ebp - 0x18]
movaps xmm3, xmm0
lea ecx, [esi + 8]
push 0x214
call fcn.004085f0
mov dword [esi + 0x338], 0x214
mov dword [esi + 0x904], 0xa1
jmp case.0x42fce6.527
cmp edi, 0x11
jne 0x42fa7e
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0xa2
call edi
mov cl, byte [ebp - 0x18]
shr eax, 0xf
and al, 1
cmp al, cl
jne 0x42fa1b
mov eax, dword [0x57ecb0]
cmp byte [eax + 0x3781], 0
lea esi, [eax + 8]
je 0x42fa07
test cl, cl
je 0x42f9f5
movss xmm3, dword [0x4fb928]
jmp 0x42f9f8
xorps xmm3, xmm3
push dword [ebp - 0x18]
mov ecx, esi
push 0x20f
call fcn.004085f0
mov dword [esi + 0x334], 0x20f
mov dword [esi + 0x8e8], 0xa2
push 0xa3
call edi
mov cl, byte [ebp - 0x18]
shr eax, 0xf
and al, 1
cmp al, cl
jne case.0x42fce6.527
mov esi, dword [0x57ecb0]
cmp byte [esi + 0x3781], 0
je 0x42fa65
test cl, cl
je 0x42fa4f
movss xmm0, dword [0x4fb928]
jmp 0x42fa52
xorps xmm0, xmm0
push dword [ebp - 0x18]
movaps xmm3, xmm0
lea ecx, [esi + 8]
push 0x213
call fcn.004085f0
mov dword [esi + 0x340], 0x213
mov dword [esi + 0x900], 0xa3
jmp case.0x42fce6.527
cmp edi, 0x12
jne case.0x42fce6.527
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0xa4
call edi
mov cl, byte [ebp - 0x18]
shr eax, 0xf
and al, 1
cmp al, cl
jne 0x42fae5
mov eax, dword [0x57ecb0]
cmp byte [eax + 0x3781], 0
lea esi, [eax + 8]
je 0x42fad1
test cl, cl
je 0x42fabf
movss xmm3, dword [0x4fb928]
jmp 0x42fac2
xorps xmm3, xmm3
push dword [ebp - 0x18]
mov ecx, esi
push 0x211
call fcn.004085f0
mov dword [esi + 0x33c], 0x211
mov dword [esi + 0x8f0], 0xa4
push 0xa5
call edi
mov cl, byte [ebp - 0x18]
shr eax, 0xf
and al, 1
cmp al, cl
jne case.0x42fce6.527
mov esi, dword [0x57ecb0]
cmp byte [esi + 0x3781], 0
je 0x42fb2f
test cl, cl
je 0x42fb19
movss xmm0, dword [0x4fb928]
jmp 0x42fb1c
xorps xmm0, xmm0
push dword [ebp - 0x18]
movaps xmm3, xmm0
lea ecx, [esi + 8]
push 0x215
call fcn.004085f0
mov dword [esi + 0x348], 0x215
mov dword [esi + 0x908], 0xa5
jmp case.0x42fce6.527
mov edi, dword [ecx + 0x379c]
lea esi, [ecx + 0x3798]
mov ecx, dword [esi]
cmp edx, 7
xorps xmm0, xmm0
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x34], 6
sete byte [ebp - 0x2c]
cmp ecx, edi
jne 0x42fb91
inc ecx
test edi, edi
je 0x42fb7f
mov eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, edi
jmp 0x42fb84
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.0041c3e0
mov eax, dword [esi]
movups xmm0, xmmword [ebp - 0x34]
lea ecx, [eax + eax*2]
mov eax, dword [esi + 8]
movups xmmword [eax + ecx*8], xmm0
xorps xmm0, xmm0
movq qword [eax + ecx*8 + 0x10], xmm0
inc dword [esi]
jmp case.0x42fce6.527
mov ecx, dword [ebx + 8]
lea eax, [ecx - 1]
cmp eax, 0xfffe
ja case.0x42fce6.527
push ecx
mov ecx, esi
call fcn.00408450
jmp case.0x42fce6.527
cmp word [ebx + 0xc], 1
jne case.0x42fce6.527
call fcn.0042e740
test al, al
je case.0x42fce6.527
mov eax, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004af2b0
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
cmp byte [edi + 8], 0
mov dword [edi + 4], eax
jne 0x42fc2e
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
cmp byte [esi + 0x3779], 0
je case.0x42fce6.527
mov ecx, dword [ebx + 0xc]
xorps xmm0, xmm0
mov esi, dword [0x57ecb0]
movsx eax, cx
movlpd qword [ebp - 0x24], xmm0
shr ecx, 0x10
add esi, 0x3798
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movsx eax, cx
movss dword [ebp - 0x2c], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x28], xmm0
mov ecx, dword [esi]
mov edi, dword [esi + 4]
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x34], 1
cmp ecx, edi
jne 0x42fcac
inc ecx
test edi, edi
je 0x42fc9a
mov eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, edi
jmp 0x42fc9f
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.0041c3e0
mov eax, dword [esi]
movups xmm0, xmmword [ebp - 0x34]
lea ecx, [eax + eax*2]
mov eax, dword [esi + 8]
movups xmmword [eax + ecx*8], xmm0
movq xmm0, qword [ebp - 0x24]
movq qword [eax + ecx*8 + 0x10], xmm0
inc dword [esi]
jmp case.0x42fce6.527
lea eax, [edx - 0x201]
cmp eax, 0xa2
ja case.0x42fce6.527
movzx eax, byte [eax + 0x42ffa8]
jmp dword [eax*4 + 0x42ff8c]
mov edx, dword [ebp - 0x1c]
cmp dword [edi + 4], edx
jne 0x42fcfc
mov dword [edi + 4], 0
mov byte [edi + 8], 0
cmp byte [esi + 0x3779], 0
je case.0x42fce6.527
xorps xmm0, xmm0
mov dword [ebp - 0x2c], 0xff7fffff
movlpd qword [ebp - 0x24], xmm0
lea esi, [ecx + 0x3798]
mov dword [ebp - 0x28], 0xff7fffff
jmp 0x42fc73
cmp edx, 0x204
je 0x42fd40
xor esi, esi
cmp edx, 0x206
jne 0x42fd45
mov esi, 1
cmp edx, 0x207
je 0x42fd55
cmp edx, 0x209
jne 0x42fd5a
mov esi, 2
cmp edx, 0x20b
je 0x42fd6a
cmp edx, 0x20d
jne 0x42fd7a
mov esi, dword [ebx + 8]
shr esi, 0x10
dec esi
neg esi
sbb esi, esi
neg esi
add esi, 3
cmp dword [edi + 0xc], 0
jne 0x42fd94
call dword [sym.imp.USER32.dll_GetCapture]
test eax, eax
jne 0x42fd94
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_SetCapture]
mov eax, dword [edi + 0xc]
mov ecx, dword [ebp - 0x18]
bts eax, esi
push 1
push esi
mov dword [edi + 0xc], eax
call fcn.004087e0
jmp case.0x42fce6.527
xor ecx, ecx
cmp edx, 0x205
sete cl
mov dword [ebp - 0x18], ecx
cmp edx, 0x208
jne 0x42fdca
mov ecx, 2
jmp 0x42fde2
cmp edx, 0x20c
jne 0x42fde5
mov ecx, dword [ebx + 8]
shr ecx, 0x10
dec ecx
neg ecx
sbb ecx, ecx
neg ecx
add ecx, 3
mov dword [ebp - 0x18], ecx
mov eax, dword [edi + 0xc]
btr eax, ecx
mov dword [edi + 0xc], eax
test eax, eax
jne 0x42fe06
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, dword [ebp - 0x1c]
jne 0x42fe03
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov ecx, dword [ebp - 0x18]
push 0
push ecx
mov ecx, esi
call fcn.004087e0
jmp case.0x42fce6.527
mov eax, dword [ebx + 8]
xorps xmm1, xmm1
shr eax, 0x10
mov ecx, esi
cwde
movd xmm2, eax
cvtdq2ps xmm2, xmm2
divss xmm2, dword [0x4fba0c]
call fcn.00408890
jmp case.0x42fce6.527
mov eax, dword [ebx + 8]
xorps xmm2, xmm2
shr eax, 0x10
mov ecx, esi
cwde
movd xmm1, eax
cvtdq2ps xmm1, xmm1
divss xmm1, dword [0x4fba0c]
call fcn.00408890
jmp case.0x42fce6.527
cmp dword [ebx + 8], 7
jne case.0x42fce6.527
mov byte [edi + 0x25], 1
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.004af2b0
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret