Function at 0x1000eb19
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x58
push esi
push edi
mov edi, dword [0x10050da8]
mov dword [esp + 0x1c], ecx
test edi, edi
je case.0x1000f1be.527
mov esi, dword [edi + 0x6c]
lea eax, [edi + 8]
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], esi
cmp edx, 0x200
ja 0x1000f1a6
je 0x1000f0d2
lea eax, [edx - 7]
cmp eax, 0xfe
ja case.0x1000f1be.527
movzx eax, byte [eax + 0x1000f414]
jmp dword [eax*4 + 0x1000f400]
cmp edx, 0x100
je 0x1000eb2e
mov byte [esp + 0x14], 0
cmp edx, 0x104
jne 0x1000eb33
mov byte [esp + 0x14], 1
mov esi, dword [ebp + 8]
cmp esi, 0x100
jae case.0x1000f1be.527
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
call edi
shr eax, 0xf
and al, 1
mov byte [esp + 0x1c], al
je 0x1000eb61
movss xmm3, dword [0x1004c080]
jmp 0x1000eb64
xorps xmm3, xmm3
push dword [esp + 0x1c]
mov ecx, dword [esp + 0x1c]
push 0x281
call fcn.10011230
push 0x10
call edi
shr eax, 0xf
and al, 1
mov byte [esp + 0x1c], al
je 0x1000eb8f
movss xmm3, dword [0x1004c080]
jmp 0x1000eb92
xorps xmm3, xmm3
push dword [esp + 0x1c]
mov ecx, dword [esp + 0x1c]
push 0x282
call fcn.10011230
push 0x12
call edi
shr eax, 0xf
and al, 1
mov byte [esp + 0x1c], al
je 0x1000ebbd
movss xmm3, dword [0x1004c080]
jmp 0x1000ebc0
xorps xmm3, xmm3
push dword [esp + 0x1c]
mov ecx, dword [esp + 0x1c]
push 0x283
call fcn.10011230
push 0x5d
call edi
shr eax, 0xf
and al, 1
mov byte [esp + 0x1c], al
je 0x1000ebeb
movss xmm3, dword [0x1004c080]
jmp 0x1000ebee
xorps xmm3, xmm3
push dword [esp + 0x1c]
mov ecx, dword [esp + 0x1c]
push 0x284
call fcn.10011230
cmp esi, 0xd
jne 0x1000ec18
mov eax, dword [ebp + 0xc]
shr eax, 0x10
test eax, 0x100
mov eax, 0x10d
cmovne esi, eax
mov ecx, esi
call fcn.1000e580
mov dword [esp + 0x1c], eax
test eax, eax
je 0x1000ec70
mov ecx, dword [0x10050da8]
add ecx, 8
cmp byte [esp + 0x14], 0
mov dword [esp + 0x18], ecx
je 0x1000ec45
movss xmm3, dword [0x1004c080]
jmp 0x1000ec48
xorps xmm3, xmm3
push dword [esp + 0x14]
push eax
call fcn.10011230
cmp esi, 0x1ff
ja 0x1000ec70
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov dword [ecx + esi*4 + 0xac], eax
mov dword [ecx + eax*4 + 0xac], esi
cmp esi, 0x10
jne 0x1000ed29
push 0xa0
call edi
mov cl, byte [esp + 0x14]
shr eax, 0xf
and al, 1
cmp al, cl
jne 0x1000ecca
mov eax, dword [0x10050da8]
lea esi, [eax + 8]
test cl, cl
je 0x1000eca3
movss xmm3, dword [0x1004c080]
jmp 0x1000eca6
xorps xmm3, xmm3
push dword [esp + 0x14]
mov ecx, esi
push 0x210
call fcn.10011230
mov dword [esi + 0x32c], 0x210
mov dword [esi + 0x8ec], 0xa0
push 0xa1
call edi
mov cl, byte [esp + 0x14]
shr eax, 0xf
and al, 1
cmp al, cl
jne case.0x1000f1be.527
mov esi, dword [0x10050da8]
test cl, cl
je 0x1000ecf6
movss xmm0, dword [0x1004c080]
jmp 0x1000ecf9
xorps xmm0, xmm0
push dword [esp + 0x14]
movaps xmm3, xmm0
lea ecx, [esi + 8]
push 0x214
call fcn.10011230
mov dword [esi + 0x338], 0x214
xor eax, eax
mov dword [esi + 0x904], 0xa1
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp esi, 0x11
jne 0x1000ede2
push 0xa2
call edi
mov cl, byte [esp + 0x14]
shr eax, 0xf
and al, 1
cmp al, cl
jne 0x1000ed83
mov eax, dword [0x10050da8]
lea esi, [eax + 8]
test cl, cl
je 0x1000ed5c
movss xmm3, dword [0x1004c080]
jmp 0x1000ed5f
xorps xmm3, xmm3
push dword [esp + 0x14]
mov ecx, esi
push 0x20f
call fcn.10011230
mov dword [esi + 0x334], 0x20f
mov dword [esi + 0x8e8], 0xa2
push 0xa3
call edi
mov cl, byte [esp + 0x14]
shr eax, 0xf
and al, 1
cmp al, cl
jne case.0x1000f1be.527
mov esi, dword [0x10050da8]
test cl, cl
je 0x1000edaf
movss xmm0, dword [0x1004c080]
jmp 0x1000edb2
xorps xmm0, xmm0
push dword [esp + 0x14]
movaps xmm3, xmm0
lea ecx, [esi + 8]
push 0x213
call fcn.10011230
mov dword [esi + 0x340], 0x213
xor eax, eax
mov dword [esi + 0x900], 0xa3
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp esi, 0x12
jne case.0x1000f1be.527
push 0xa4
call edi
mov cl, byte [esp + 0x14]
shr eax, 0xf
and al, 1
cmp al, cl
jne 0x1000ee3c
mov eax, dword [0x10050da8]
lea esi, [eax + 8]
test cl, cl
je 0x1000ee15
movss xmm3, dword [0x1004c080]
jmp 0x1000ee18
xorps xmm3, xmm3
push dword [esp + 0x14]
mov ecx, esi
push 0x211
call fcn.10011230
mov dword [esi + 0x33c], 0x211
mov dword [esi + 0x8f0], 0xa4
push 0xa5
call edi
mov cl, byte [esp + 0x14]
shr eax, 0xf
and al, 1
cmp al, cl
jne case.0x1000f1be.527
mov esi, dword [0x10050da8]
test cl, cl
je 0x1000ee68
movss xmm0, dword [0x1004c080]
jmp 0x1000ee6b
xorps xmm0, xmm0
push dword [esp + 0x14]
movaps xmm3, xmm0
lea ecx, [esi + 8]
push 0x215
call fcn.10011230
mov dword [esi + 0x348], 0x215
xor eax, eax
mov dword [esi + 0x908], 0xa5
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [edi + 0x3798]
cmp edx, 7
mov esi, dword [edi + 0x379c]
xorps xmm0, xmm0
movaps xmmword [esp + 0x40], xmm0
sete byte [esp + 0x48]
add edi, 0x3798
mov dword [esp + 0x40], 6
cmp ecx, esi
jne 0x1000eeeb
inc ecx
test esi, esi
je 0x1000eed9
mov eax, esi
cdq
sub eax, edx
sar eax, 1
add eax, esi
jmp 0x1000eede
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.10024500
mov eax, dword [edi]
movups xmm0, xmmword [esp + 0x40]
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]
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
test eax, eax
je case.0x1000f1be.527
cmp eax, 0x10000
jae case.0x1000f1be.527
movzx esi, ax
lea edx, [edi + 0x3784]
mov dword [esp + 0x18], edx
mov ecx, esi
test si, si
jne 0x1000ef4e
cmp word [edx], si
je case.0x1000f1be.527
mov eax, ecx
and eax, 0xfc00
jmp 0x1000f008
movzx ecx, word [edx]
mov eax, esi
and eax, 0xfc00
mov dword [esp + 0x1c], 0xd800
cmp ax, word [esp + 0x1c]
jne 0x1000efff
test cx, cx
je 0x1000eff4
mov ecx, dword [edi + 0x3798]
add edi, 0x3798
xorps xmm0, xmm0
mov dword [esp + 0x34], 0
movlpd qword [esp + 0x2c], xmm0
mov dword [esp + 0x20], 5
mov eax, dword [edi + 4]
mov dword [esp + 0x24], 2
mov dword [esp + 0x28], 0xfffd
cmp ecx, eax
jne 0x1000efd5
inc ecx
test eax, eax
je 0x1000efbf
cdq
sub eax, edx
sar eax, 1
add eax, dword [edi + 4]
jmp 0x1000efc4
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.10024500
mov edx, dword [esp + 0x18]
mov eax, dword [edi]
movups xmm0, xmmword [esp + 0x20]
lea ecx, [eax + eax*2]
mov eax, dword [edi + 8]
movups xmmword [eax + ecx*8], xmm0
movq xmm0, qword [esp + 0x30]
movq qword [eax + ecx*8 + 0x10], xmm0
inc dword [edi]
mov word [edx], si
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
test cx, cx
je 0x1000f09e
mov ecx, 0xdc00
cmp ax, cx
je 0x1000f090
mov ecx, dword [edi + 0x3798]
add edi, 0x3798
xorps xmm0, xmm0
mov dword [esp + 0x34], 0
movlpd qword [esp + 0x2c], xmm0
mov dword [esp + 0x20], 5
mov eax, dword [edi + 4]
mov dword [esp + 0x24], 2
mov dword [esp + 0x28], 0xfffd
cmp ecx, eax
jne 0x1000f06f
inc ecx
test eax, eax
je 0x1000f05d
cdq
sub eax, edx
sar eax, 1
add eax, dword [edi + 4]
jmp 0x1000f062
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.10024500
mov eax, dword [edi]
movups xmm0, xmmword [esp + 0x20]
lea ecx, [eax + eax*2]
mov eax, dword [edi + 8]
movups xmmword [eax + ecx*8], xmm0
movq xmm0, qword [esp + 0x30]
movq qword [eax + ecx*8 + 0x10], xmm0
inc dword [edi]
jmp 0x1000f095
mov esi, 0xfffd
mov eax, dword [esp + 0x18]
xor ecx, ecx
mov word [eax], cx
movzx eax, si
push eax
call fcn.100111a0
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp word [ebp + 0xc], 1
jne case.0x1000f1be.527
call fcn.1000db90
test al, al
je case.0x1000f1be.527
mov eax, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp byte [esi + 8], 0
mov dword [esi + 4], ecx
jne 0x1000f10c
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0x10
push eax
mov dword [esp + 0x28], 2
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], 0
call dword [sym.imp.USER32.dll_TrackMouseEvent]
mov edi, dword [0x10050da8]
mov byte [esi + 8], 1
mov ecx, dword [ebp + 0xc]
xorps xmm0, xmm0
mov esi, dword [edi + 0x379c]
add edi, 0x3798
movsx eax, cx
movlpd qword [esp + 0x50], xmm0
shr ecx, 0x10
mov dword [esp + 0x40], 1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movsx eax, cx
mov ecx, dword [edi]
mov dword [esp + 0x44], 1
movss dword [esp + 0x48], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x4c], xmm0
cmp ecx, esi
jne 0x1000f17f
inc ecx
test esi, esi
je 0x1000f16d
mov eax, esi
cdq
sub eax, edx
sar eax, 1
add eax, esi
jmp 0x1000f172
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.10024500
mov eax, dword [edi]
movups xmm0, xmmword [esp + 0x40]
lea ecx, [eax + eax*2]
mov eax, dword [edi + 8]
movups xmmword [eax + ecx*8], xmm0
movq xmm0, qword [esp + 0x50]
movq qword [eax + ecx*8 + 0x10], xmm0
inc dword [edi]
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea eax, [edx - 0x201]
cmp eax, 0xa2
ja case.0x1000f1be.527
movzx eax, byte [eax + 0x1000f530]
jmp dword [eax*4 + 0x1000f514]
cmp dword [esi + 4], ecx
jne 0x1000f1d1
mov dword [esi + 4], 0
add edi, 0x3798
mov byte [esi + 8], 0
xorps xmm0, xmm0
mov dword [esp + 0x40], 1
movlpd qword [esp + 0x50], xmm0
mov dword [esp + 0x44], 1
mov ecx, dword [edi]
mov esi, dword [edi + 4]
mov dword [esp + 0x48], 0xff7fffff
mov dword [esp + 0x4c], 0xff7fffff
cmp ecx, esi
jne 0x1000f17f
inc ecx
test esi, esi
je 0x1000f16d
mov eax, esi
cdq
sub eax, edx
sar eax, 1
add eax, esi
jmp 0x1000f172
cmp edx, 0x204
je 0x1000f23a
xor esi, esi
cmp edx, 0x206
jne 0x1000f23f
mov esi, 1
cmp edx, 0x207
je 0x1000f24f
cmp edx, 0x209
jne 0x1000f254
mov esi, 2
cmp edx, 0x20b
je 0x1000f264
cmp edx, 0x20d
jne 0x1000f274
mov esi, dword [ebp + 8]
shr esi, 0x10
dec esi
neg esi
sbb esi, esi
neg esi
add esi, 3
mov ecx, dword [esp + 0x14]
cmp dword [ecx + 0xc], 0
jne 0x1000f29c
call dword [sym.imp.USER32.dll_GetCapture]
test eax, eax
jne 0x1000f292
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_SetCapture]
mov ecx, dword [esp + 0x14]
mov edi, dword [0x10050da8]
mov eax, dword [ecx + 0xc]
add edi, 0x3798
bts eax, esi
xorps xmm0, xmm0
movaps xmmword [esp + 0x40], xmm0
mov dword [ecx + 0xc], eax
mov ecx, dword [edi]
mov dword [esp + 0x48], esi
mov esi, dword [edi + 4]
mov dword [esp + 0x40], 3
mov dword [esp + 0x44], 1
mov byte [esp + 0x4c], 1
cmp ecx, esi
jne 0x1000eeeb
inc ecx
test esi, esi
je 0x1000eed9
mov eax, esi
cdq
sub eax, edx
sar eax, 1
add eax, esi
jmp 0x1000eede
xor ecx, ecx
cmp edx, 0x205
sete cl
mov dword [esp + 0x18], ecx
cmp edx, 0x208
jne 0x1000f30e
mov ecx, 2
jmp 0x1000f326
cmp edx, 0x20c
jne 0x1000f32a
mov ecx, dword [ebp + 8]
shr ecx, 0x10
dec ecx
neg ecx
sbb ecx, ecx
neg ecx
add ecx, 3
mov dword [esp + 0x18], ecx
mov eax, dword [esi + 0xc]
btr eax, ecx
mov dword [esi + 0xc], eax
test eax, eax
jne 0x1000f353
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, dword [esp + 0x1c]
jne 0x1000f349
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov ecx, dword [esp + 0x18]
mov edi, dword [0x10050da8]
mov esi, dword [edi + 0x379c]
add edi, 0x3798
xorps xmm0, xmm0
movaps xmmword [esp + 0x40], xmm0
mov dword [esp + 0x48], ecx
mov ecx, dword [edi]
mov dword [esp + 0x40], 3
mov dword [esp + 0x44], 1
mov byte [esp + 0x4c], 0
cmp ecx, esi
jne 0x1000eeeb
inc ecx
test esi, esi
je 0x1000eed9
mov eax, esi
cdq
sub eax, edx
sar eax, 1
add eax, esi
jmp 0x1000eede
mov eax, dword [ebp + 8]
xorps xmm1, xmm1
shr eax, 0x10
cwde
movd xmm2, eax
cvtdq2ps xmm2, xmm2
divss xmm2, dword [0x1004c17c]
call fcn.10011380
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
xorps xmm2, xmm2
shr eax, 0x10
cwde
movd xmm1, eax
cvtdq2ps xmm1, xmm1
divss xmm1, dword [0x1004c17c]
call fcn.10011380
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp dword [ebp + 8], 7
jne case.0x1000f1be.527
mov byte [esi + 0x25], 1
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret