Function at 0x10134820
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 [0x1066bbc0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [0x106d663c]
mov dword [ebp - 0x20], ecx
test edi, edi
je case.0x10134d87.527
mov esi, dword [edi + 0x6c]
lea eax, [edi + 8]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], esi
cmp edx, 0x200
ja 0x10134d6f
je 0x10134caa
lea eax, [edx - 7]
cmp eax, 0xfe
ja case.0x10134d87.527
movzx eax, byte [eax + 0x10134fc8]
jmp dword [eax*4 + 0x10134fb4]
cmp edx, 0x100
je 0x101348a4
mov byte [ebp - 0x18], 0
cmp edx, 0x104
jne 0x101348a8
mov byte [ebp - 0x18], 1
mov esi, dword [ebx + 8]
cmp esi, 0x100
jae case.0x10134d87.527
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
call edi
shr eax, 0xf
and al, 1
mov byte [ebp - 0x20], al
je 0x101348d5
movss xmm3, dword [0x106541ec]
jmp 0x101348d8
xorps xmm3, xmm3
push dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
push 0x281
call fcn.1010e1d0
push 0x10
call edi
shr eax, 0xf
and al, 1
mov byte [ebp - 0x20], al
je 0x10134900
movss xmm3, dword [0x106541ec]
jmp 0x10134903
xorps xmm3, xmm3
push dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
push 0x282
call fcn.1010e1d0
push 0x12
call edi
shr eax, 0xf
and al, 1
mov byte [ebp - 0x20], al
je 0x1013492b
movss xmm3, dword [0x106541ec]
jmp 0x1013492e
xorps xmm3, xmm3
push dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
push 0x283
call fcn.1010e1d0
push 0x5d
call edi
shr eax, 0xf
and al, 1
mov byte [ebp - 0x20], al
je 0x10134956
movss xmm3, dword [0x106541ec]
jmp 0x10134959
xorps xmm3, xmm3
push dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
push 0x284
call fcn.1010e1d0
cmp esi, 0xd
jne 0x10134981
mov eax, dword [ebx + 0xc]
shr eax, 0x10
test eax, 0x100
mov eax, 0x10d
cmovne esi, eax
mov ecx, esi
call fcn.101342e0
mov dword [ebp - 0x20], eax
test eax, eax
je 0x101349d3
mov ecx, dword [0x106d663c]
add ecx, 8
cmp byte [ebp - 0x18], 0
mov dword [ebp - 0x1c], ecx
je 0x101349ab
movss xmm3, dword [0x106541ec]
jmp 0x101349ae
xorps xmm3, xmm3
push dword [ebp - 0x18]
push eax
call fcn.1010e1d0
cmp esi, 0x1ff
ja 0x101349d3
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
mov dword [ecx + esi*4 + 0xac], eax
mov dword [ecx + eax*4 + 0xac], esi
cmp esi, 0x10
jne 0x10134a85
push 0xa0
call edi
mov cl, byte [ebp - 0x18]
shr eax, 0xf
and al, 1
cmp al, cl
jne 0x10134a2b
mov eax, dword [0x106d663c]
lea esi, [eax + 8]
test cl, cl
je 0x10134a05
movss xmm3, dword [0x106541ec]
jmp 0x10134a08
xorps xmm3, xmm3
push dword [ebp - 0x18]
mov ecx, esi
push 0x210
call fcn.1010e1d0
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.0x10134d87.527
mov esi, dword [0x106d663c]
test cl, cl
je 0x10134a56
movss xmm0, dword [0x106541ec]
jmp 0x10134a59
xorps xmm0, xmm0
push dword [ebp - 0x18]
movaps xmm3, xmm0
lea ecx, [esi + 8]
push 0x214
call fcn.1010e1d0
mov dword [esi + 0x338], 0x214
mov dword [esi + 0x904], 0xa1
jmp case.0x10134d87.527
cmp esi, 0x11
jne 0x10134b37
push 0xa2
call edi
mov cl, byte [ebp - 0x18]
shr eax, 0xf
and al, 1
cmp al, cl
jne 0x10134add
mov eax, dword [0x106d663c]
lea esi, [eax + 8]
test cl, cl
je 0x10134ab7
movss xmm3, dword [0x106541ec]
jmp 0x10134aba
xorps xmm3, xmm3
push dword [ebp - 0x18]
mov ecx, esi
push 0x20f
call fcn.1010e1d0
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.0x10134d87.527
mov esi, dword [0x106d663c]
test cl, cl
je 0x10134b08
movss xmm0, dword [0x106541ec]
jmp 0x10134b0b
xorps xmm0, xmm0
push dword [ebp - 0x18]
movaps xmm3, xmm0
lea ecx, [esi + 8]
push 0x213
call fcn.1010e1d0
mov dword [esi + 0x340], 0x213
mov dword [esi + 0x900], 0xa3
jmp case.0x10134d87.527
cmp esi, 0x12
jne case.0x10134d87.527
push 0xa4
call edi
mov cl, byte [ebp - 0x18]
shr eax, 0xf
and al, 1
cmp al, cl
jne 0x10134b8f
mov eax, dword [0x106d663c]
lea esi, [eax + 8]
test cl, cl
je 0x10134b69
movss xmm3, dword [0x106541ec]
jmp 0x10134b6c
xorps xmm3, xmm3
push dword [ebp - 0x18]
mov ecx, esi
push 0x211
call fcn.1010e1d0
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.0x10134d87.527
mov esi, dword [0x106d663c]
test cl, cl
je 0x10134bba
movss xmm0, dword [0x106541ec]
jmp 0x10134bbd
xorps xmm0, xmm0
push dword [ebp - 0x18]
movaps xmm3, xmm0
lea ecx, [esi + 8]
push 0x215
call fcn.1010e1d0
mov dword [esi + 0x348], 0x215
mov dword [esi + 0x908], 0xa5
jmp case.0x10134d87.527
mov ecx, dword [edi + 0x3798]
cmp edx, 7
mov esi, dword [edi + 0x379c]
xorps xmm0, xmm0
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0x38], 6
sete byte [ebp - 0x30]
add edi, 0x3798
cmp ecx, esi
jne 0x10134c36
inc ecx
test esi, esi
je 0x10134c24
mov eax, esi
cdq
sub eax, edx
sar eax, 1
add eax, esi
jmp 0x10134c29
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.10122bc0
mov eax, dword [edi]
movups xmm0, xmmword [ebp - 0x38]
lea ecx, [eax + eax*2]
mov eax, dword [edi + 8]
movups xmmword [eax + ecx*8], xmm0
xorps xmm0, xmm0
movq qword [eax + ecx*8 + 0x10], xmm0
inc dword [edi]
jmp case.0x10134d87.527
mov eax, dword [ebx + 8]
test eax, eax
je case.0x10134d87.527
cmp eax, 0x10000
jae case.0x10134d87.527
mov ecx, dword [ebp - 0x1c]
push eax
call fcn.1010e030
jmp case.0x10134d87.527
cmp word [ebx + 0xc], 1
jne case.0x10134d87.527
call fcn.101338b0
test al, al
je case.0x10134d87.527
mov eax, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.102c15f2
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
cmp byte [esi + 8], 0
mov dword [esi + 4], ecx
jne 0x10134cdf
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0x10
push eax
mov dword [ebp - 0x10], 2
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], 0
call dword [sym.imp.USER32.dll_TrackMouseEvent]
mov edi, dword [0x106d663c]
mov byte [esi + 8], 1
mov ecx, dword [ebx + 0xc]
xorps xmm0, xmm0
mov esi, dword [edi + 0x379c]
add edi, 0x3798
movsx eax, cx
movlpd qword [ebp - 0x28], xmm0
shr ecx, 0x10
mov dword [ebp - 0x38], 1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movsx eax, cx
mov ecx, dword [edi]
mov dword [ebp - 0x34], 1
movss dword [ebp - 0x30], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x2c], xmm0
cmp ecx, esi
jne 0x10134d4d
inc ecx
test esi, esi
je 0x10134d3b
mov eax, esi
cdq
sub eax, edx
sar eax, 1
add eax, esi
jmp 0x10134d40
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.10122bc0
mov eax, dword [edi]
movups xmm0, xmmword [ebp - 0x38]
lea ecx, [eax + eax*2]
mov eax, dword [edi + 8]
movups xmmword [eax + ecx*8], xmm0
movq xmm0, qword [ebp - 0x28]
movq qword [eax + ecx*8 + 0x10], xmm0
inc dword [edi]
jmp case.0x10134d87.527
lea eax, [edx - 0x201]
cmp eax, 0xa2
ja case.0x10134d87.527
movzx eax, byte [eax + 0x101350e4]
jmp dword [eax*4 + 0x101350c8]
cmp dword [esi + 4], ecx
jne 0x10134d9a
mov dword [esi + 4], 0
add edi, 0x3798
mov byte [esi + 8], 0
xorps xmm0, xmm0
mov dword [ebp - 0x38], 1
movlpd qword [ebp - 0x28], xmm0
mov dword [ebp - 0x34], 1
mov ecx, dword [edi]
mov esi, dword [edi + 4]
mov dword [ebp - 0x30], 0xff7fffff
mov dword [ebp - 0x2c], 0xff7fffff
cmp ecx, esi
jne 0x10134d4d
inc ecx
test esi, esi
je 0x10134d3b
mov eax, esi
cdq
sub eax, edx
sar eax, 1
add eax, esi
jmp 0x10134d40
cmp edx, 0x204
je 0x10134dfe
xor esi, esi
cmp edx, 0x206
jne 0x10134e03
mov esi, 1
cmp edx, 0x207
je 0x10134e13
cmp edx, 0x209
jne 0x10134e18
mov esi, 2
cmp edx, 0x20b
je 0x10134e28
cmp edx, 0x20d
jne 0x10134e38
mov esi, dword [ebx + 8]
shr esi, 0x10
dec esi
neg esi
sbb esi, esi
neg esi
add esi, 3
mov ecx, dword [ebp - 0x18]
cmp dword [ecx + 0xc], 0
jne 0x10134e5d
call dword [sym.imp.USER32.dll_GetCapture]
test eax, eax
jne 0x10134e54
push dword [ebp - 0x20]
call dword [sym.imp.USER32.dll_SetCapture]
mov ecx, dword [ebp - 0x18]
mov edi, dword [0x106d663c]
mov eax, dword [ecx + 0xc]
add edi, 0x3798
bts eax, esi
xorps xmm0, xmm0
movups xmmword [ebp - 0x38], xmm0
mov dword [ecx + 0xc], eax
mov ecx, dword [edi]
mov dword [ebp - 0x30], esi
mov esi, dword [edi + 4]
mov dword [ebp - 0x38], 3
mov dword [ebp - 0x34], 1
mov byte [ebp - 0x2c], 1
cmp ecx, esi
jne 0x10134c36
inc ecx
test esi, esi
je 0x10134c24
mov eax, esi
cdq
sub eax, edx
sar eax, 1
add eax, esi
jmp 0x10134c29
xor ecx, ecx
cmp edx, 0x205
sete cl
mov dword [ebp - 0x1c], ecx
cmp edx, 0x208
jne 0x10134ec9
mov ecx, 2
jmp 0x10134ee1
cmp edx, 0x20c
jne 0x10134ee4
mov ecx, dword [ebx + 8]
shr ecx, 0x10
dec ecx
neg ecx
sbb ecx, ecx
neg ecx
add ecx, 3
mov dword [ebp - 0x1c], ecx
mov eax, dword [esi + 0xc]
btr eax, ecx
mov dword [esi + 0xc], eax
test eax, eax
jne 0x10134f0b
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, dword [ebp - 0x20]
jne 0x10134f02
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov ecx, dword [ebp - 0x1c]
mov edi, dword [0x106d663c]
mov esi, dword [edi + 0x379c]
add edi, 0x3798
xorps xmm0, xmm0
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0x30], ecx
mov ecx, dword [edi]
mov dword [ebp - 0x38], 3
mov dword [ebp - 0x34], 1
mov byte [ebp - 0x2c], 0
cmp ecx, esi
jne 0x10134c36
inc ecx
test esi, esi
je 0x10134c24
mov eax, esi
cdq
sub eax, edx
sar eax, 1
add eax, esi
jmp 0x10134c29
mov eax, dword [ebx + 8]
xorps xmm1, xmm1
shr eax, 0x10
cwde
movd xmm2, eax
cvtdq2ps xmm2, xmm2
divss xmm2, dword [0x10654370]
call fcn.1010e320
jmp case.0x10134d87.527
mov eax, dword [ebx + 8]
xorps xmm2, xmm2
shr eax, 0x10
cwde
movd xmm1, eax
cvtdq2ps xmm1, xmm1
divss xmm1, dword [0x10654370]
call fcn.1010e320
jmp case.0x10134d87.527
cmp dword [ebx + 8], 7
jne case.0x10134d87.527
mov byte [esi + 0x25], 1
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.102c15f2
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret