Function at 0x100706d0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x38
mov eax, dword [0x1017b040]
xor eax, esp
mov dword [esp + 0x34], eax
mov eax, ecx
mov ecx, dword [0x101ab8cc]
mov dword [esp], eax
push esi
push edi
test ecx, ecx
je case.0x10070e45.527
mov esi, dword [ecx + 0x74]
lea edi, [ecx + 8]
mov dword [esp + 0x38], esi
cmp edx, 0x200
ja 0x10070e2d
je 0x10070dc5
lea eax, [edx - 7]
cmp eax, 0xfe
ja case.0x10070e45.527
movzx eax, byte [eax + 0x100710b4]
jmp dword [eax*4 + 0x100710a0]
cmp edx, 0x100
je 0x10070746
mov byte [esp + 8], 0
cmp edx, 0x104
jne 0x1007074b
mov byte [esp + 8], 1
cmp dword [ebp + 8], 0x100
jae case.0x10070e45.527
mov esi, dword [0x1010536c]
push 0x11
call esi
shr eax, 0xf
and al, 1
cmp byte [edi + 0x3761], 0
mov byte [esp + 0x38], al
je 0x10070795
test al, al
je 0x10070782
movss xmm3, dword [0x101714d4]
jmp 0x10070785
xorps xmm3, xmm3
push dword [esp + 0x38]
mov ecx, edi
push 0x1000
call fcn.10048170
push 0x10
call esi
shr eax, 0xf
and al, 1
cmp byte [edi + 0x3761], 0
mov byte [esp + 0x38], al
je 0x100707cc
test al, al
je 0x100707b9
movss xmm3, dword [0x101714d4]
jmp 0x100707bc
xorps xmm3, xmm3
push dword [esp + 0x38]
mov ecx, edi
push 0x2000
call fcn.10048170
push 0x12
call esi
shr eax, 0xf
and al, 1
cmp byte [edi + 0x3761], 0
mov byte [esp + 0x38], al
je 0x10070803
test al, al
je 0x100707f0
movss xmm3, dword [0x101714d4]
jmp 0x100707f3
xorps xmm3, xmm3
push dword [esp + 0x38]
mov ecx, edi
push 0x4000
call fcn.10048170
push 0x5d
call esi
shr eax, 0xf
and al, 1
cmp byte [edi + 0x3761], 0
mov byte [esp + 0x38], al
je 0x1007083a
test al, al
je 0x10070827
movss xmm3, dword [0x101714d4]
jmp 0x1007082a
xorps xmm3, xmm3
push dword [esp + 0x38]
mov ecx, edi
push 0x8000
call fcn.10048170
mov esi, dword [ebp + 8]
cmp esi, 0xd
jne 0x10070855
mov eax, dword [ebp + 0xc]
shr eax, 0x10
test eax, 0x100
mov eax, 0x10d
cmovne esi, eax
mov ecx, esi
call fcn.10070190
mov edi, eax
test edi, edi
je 0x100708b1
mov eax, dword [0x101ab8cc]
add eax, 8
mov dword [esp + 0x38], eax
cmp byte [eax + 0x3761], 0
je 0x1007089b
cmp byte [esp + 8], 0
je 0x10070888
movss xmm3, dword [0x101714d4]
jmp 0x1007088b
xorps xmm3, xmm3
push dword [esp + 8]
mov ecx, eax
push edi
call fcn.10048170
mov eax, dword [esp + 0x38]
cmp esi, 0x1ff
ja 0x100708b1
mov dword [eax + esi*4 + 0xb4], edi
mov dword [eax + edi*4 + 0xb4], esi
cmp esi, 0x10
jne 0x1007098d
mov edi, dword [0x1010536c]
push 0xa0
call edi
mov cl, byte [esp + 8]
shr eax, 0xf
and al, 1
cmp al, cl
jne 0x1007091a
mov eax, dword [0x101ab8cc]
cmp byte [eax + 0x3769], 0
lea esi, [eax + 8]
je 0x10070906
test cl, cl
je 0x100708f3
movss xmm3, dword [0x101714d4]
jmp 0x100708f6
xorps xmm3, xmm3
push dword [esp + 8]
mov ecx, esi
push 0x210
call fcn.10048170
mov dword [esi + 0x334], 0x210
mov dword [esi + 0x8f4], 0xa0
push 0xa1
call edi
mov cl, byte [esp + 8]
shr eax, 0xf
and al, 1
cmp al, cl
jne case.0x10070e45.527
mov esi, dword [0x101ab8cc]
cmp byte [esi + 0x3769], 0
je 0x10070966
test cl, cl
je 0x1007094f
movss xmm0, dword [0x101714d4]
jmp 0x10070952
xorps xmm0, xmm0
push dword [esp + 8]
movaps xmm3, xmm0
lea ecx, [esi + 8]
push 0x214
call fcn.10048170
mov dword [esi + 0x340], 0x214
xor eax, eax
mov dword [esi + 0x90c], 0xa1
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.100fc92f
mov esp, ebp
pop ebp
ret
cmp esi, 0x11
jne 0x10070a69
mov edi, dword [0x1010536c]
push 0xa2
call edi
mov cl, byte [esp + 8]
shr eax, 0xf
and al, 1
cmp al, cl
jne 0x100709f6
mov eax, dword [0x101ab8cc]
cmp byte [eax + 0x3769], 0
lea esi, [eax + 8]
je 0x100709e2
test cl, cl
je 0x100709cf
movss xmm3, dword [0x101714d4]
jmp 0x100709d2
xorps xmm3, xmm3
push dword [esp + 8]
mov ecx, esi
push 0x20f
call fcn.10048170
mov dword [esi + 0x33c], 0x20f
mov dword [esi + 0x8f0], 0xa2
push 0xa3
call edi
mov cl, byte [esp + 8]
shr eax, 0xf
and al, 1
cmp al, cl
jne case.0x10070e45.527
mov esi, dword [0x101ab8cc]
cmp byte [esi + 0x3769], 0
je 0x10070a42
test cl, cl
je 0x10070a2b
movss xmm0, dword [0x101714d4]
jmp 0x10070a2e
xorps xmm0, xmm0
push dword [esp + 8]
movaps xmm3, xmm0
lea ecx, [esi + 8]
push 0x213
call fcn.10048170
mov dword [esi + 0x348], 0x213
xor eax, eax
mov dword [esi + 0x908], 0xa3
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.100fc92f
mov esp, ebp
pop ebp
ret
cmp esi, 0x12
jne case.0x10070e45.527
mov edi, dword [0x1010536c]
push 0xa4
call edi
mov cl, byte [esp + 8]
shr eax, 0xf
and al, 1
cmp al, cl
jne 0x10070ad2
mov eax, dword [0x101ab8cc]
cmp byte [eax + 0x3769], 0
lea esi, [eax + 8]
je 0x10070abe
test cl, cl
je 0x10070aab
movss xmm3, dword [0x101714d4]
jmp 0x10070aae
xorps xmm3, xmm3
push dword [esp + 8]
mov ecx, esi
push 0x211
call fcn.10048170
mov dword [esi + 0x344], 0x211
mov dword [esi + 0x8f8], 0xa4
push 0xa5
call edi
mov cl, byte [esp + 8]
shr eax, 0xf
and al, 1
cmp al, cl
jne case.0x10070e45.527
mov esi, dword [0x101ab8cc]
cmp byte [esi + 0x3769], 0
je 0x10070b1e
test cl, cl
je 0x10070b07
movss xmm0, dword [0x101714d4]
jmp 0x10070b0a
xorps xmm0, xmm0
push dword [esp + 8]
movaps xmm3, xmm0
lea ecx, [esi + 8]
push 0x215
call fcn.10048170
mov dword [esi + 0x350], 0x215
xor eax, eax
mov dword [esi + 0x910], 0xa5
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.100fc92f
mov esp, ebp
pop ebp
ret
cmp edx, 7
lea esi, [ecx + 0x3780]
mov edx, dword [esi]
sete byte [esp + 0xf]
sub edx, 1
js 0x10070b83
mov eax, dword [0x101ab8cc]
lea ecx, [edx + edx*2]
mov eax, dword [eax + 0x3788]
lea eax, [eax + ecx*8]
nop dword [eax + eax]
cmp dword [eax], 6
je 0x10070bd2
sub eax, 0x18
sub edx, 1
jns 0x10070b70
mov ecx, dword [0x101ab8cc]
cmp byte [ecx + 0x3768], 0
sete al
mov dl, byte [esp + 0xf]
cmp al, dl
je case.0x10070e45.527
xorps xmm0, xmm0
lea eax, [esp + 0x10]
movaps xmmword [esp + 0x10], xmm0
mov ecx, esi
push eax
movq qword [esp + 0x24], xmm0
mov dword [esp + 0x14], 6
mov byte [esp + 0x1c], dl
call fcn.1005eb50
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.100fc92f
mov esp, ebp
pop ebp
ret
test eax, eax
je 0x10070b7d
mov al, byte [eax + 8]
jmp 0x10070b8d
mov ecx, dword [esp + 8]
push ecx
call dword [0x10105390]
test eax, eax
je 0x10070d10
mov ecx, dword [ebp + 8]
lea eax, [ecx - 1]
cmp eax, 0xfffe
ja case.0x10070e45.527
movzx esi, cx
mov eax, esi
test ax, ax
jne 0x10070c16
cmp word [edi + 0x3764], ax
je case.0x10070e45.527
cmp byte [edi + 0x3761], 0
je case.0x10070e45.527
movzx edx, word [edi + 0x3764]
mov ecx, eax
and ecx, 0xfc00
mov dword [esp + 0x38], 0xd800
cmp cx, word [esp + 0x38]
jne 0x10070c9f
test dx, dx
je 0x10070c85
mov ecx, dword [0x101ab8cc]
lea eax, [esp + 0x10]
xorps xmm0, xmm0
mov dword [esp + 0x24], 0
push eax
movlpd qword [esp + 0x20], xmm0
lea ecx, [ecx + 0x3780]
mov dword [esp + 0x14], 5
mov dword [esp + 0x18], 2
mov dword [esp + 0x1c], 0xfffd
call fcn.1005eb50
mov word [edi + 0x3764], si
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.100fc92f
mov esp, ebp
pop ebp
ret
test dx, dx
je 0x10070d0b
mov eax, 0xdc00
cmp cx, ax
je 0x10070cfd
mov ecx, dword [0x101ab8cc]
lea eax, [esp + 0x10]
xorps xmm0, xmm0
mov dword [esp + 0x24], 0
push eax
movlpd qword [esp + 0x20], xmm0
lea ecx, [ecx + 0x3780]
mov dword [esp + 0x14], 5
mov dword [esp + 0x18], 2
mov dword [esp + 0x1c], 0xfffd
call fcn.1005eb50
mov eax, esi
xor ecx, ecx
mov word [edi + 0x3764], cx
movzx eax, ax
jmp 0x10070d34
xor ecx, ecx
mov eax, 0xfffd
mov word [edi + 0x3764], cx
movzx eax, ax
jmp 0x10070d34
push 1
lea eax, [esp + 0x3c]
mov dword [esp + 0x3c], 0
push eax
push 1
lea eax, [ebp + 8]
push eax
push 1
push 0
call dword [0x1010512c]
movzx eax, word [esp + 0x38]
test eax, eax
je case.0x10070e45.527
cmp byte [edi + 0x3761], 0
je case.0x10070e45.527
mov ecx, dword [0x101ab8cc]
xorps xmm0, xmm0
mov dword [esp + 0x18], eax
lea eax, [esp + 0x10]
push eax
movlpd qword [esp + 0x20], xmm0
lea ecx, [ecx + 0x3780]
mov dword [esp + 0x28], 0
mov dword [esp + 0x14], 5
mov dword [esp + 0x18], 2
call fcn.1005eb50
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.100fc92f
mov esp, ebp
pop ebp
ret
cmp word [ebp + 0xc], 1
jne case.0x10070e45.527
call fcn.1006f6f0
test al, al
je case.0x10070e45.527
mov eax, 1
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.100fc92f
mov esp, ebp
pop ebp
ret
cmp byte [esi + 8], 0
mov dword [esi + 4], eax
jne 0x10070df9
mov dword [esp + 0x18], eax
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x14], 0x10
mov dword [esp + 0x18], 2
mov dword [esp + 0x20], 0
call dword [0x1010537c]
mov byte [esi + 8], 1
mov ecx, dword [ebp + 0xc]
mov eax, ecx
shr eax, 0x10
cwde
movd xmm2, eax
movsx eax, cx
mov ecx, edi
cvtdq2ps xmm2, xmm2
movd xmm1, eax
cvtdq2ps xmm1, xmm1
call fcn.10048290
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.100fc92f
mov esp, ebp
pop ebp
ret
lea eax, [edx - 0x201]
cmp eax, 0xa2
ja case.0x10070e45.527
movzx eax, byte [eax + 0x100711d0]
jmp dword [eax*4 + 0x100711b4]
mov ecx, dword [esp + 8]
cmp dword [esi + 4], ecx
jne 0x10070e5c
mov dword [esi + 4], 0
movss xmm1, dword [0x10171788]
mov ecx, edi
movaps xmm2, xmm1
mov byte [esi + 8], 0
call fcn.10048290
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.100fc92f
mov esp, ebp
pop ebp
ret
xor esi, esi
cmp edx, 0x204
je 0x10070e97
cmp edx, 0x206
jne 0x10070e9c
mov esi, 1
cmp edx, 0x207
je 0x10070eac
cmp edx, 0x209
jne 0x10070eb1
mov esi, 2
cmp edx, 0x20b
je 0x10070ec1
cmp edx, 0x20d
jne 0x10070ed1
mov esi, dword [ebp + 8]
shr esi, 0x10
dec esi
neg esi
sbb esi, esi
neg esi
add esi, 3
mov ecx, dword [esp + 0x38]
cmp dword [ecx + 0xc], 0
jne 0x10070ef4
call dword [0x101053c8]
test eax, eax
jne 0x10070ef0
mov ecx, dword [esp + 8]
push ecx
call dword [0x10105384]
mov ecx, dword [esp + 0x38]
mov eax, dword [ecx + 0xc]
bts eax, esi
push 1
mov dword [ecx + 0xc], eax
mov ecx, edi
push esi
call fcn.10048360
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.100fc92f
mov esp, ebp
pop ebp
ret
xor ecx, ecx
cmp edx, 0x205
sete cl
mov dword [esp + 0x38], ecx
cmp edx, 0x208
jne 0x10070f38
mov ecx, 2
jmp 0x10070f50
cmp edx, 0x20c
jne 0x10070f54
mov ecx, dword [ebp + 8]
shr ecx, 0x10
dec ecx
neg ecx
sbb ecx, ecx
neg ecx
add ecx, 3
mov dword [esp + 0x38], ecx
mov eax, dword [esi + 0xc]
btr eax, ecx
mov dword [esi + 0xc], eax
test eax, eax
jne 0x10070f77
call dword [0x101053c8]
cmp eax, dword [esp + 8]
jne 0x10070f73
call dword [0x10105394]
mov ecx, dword [esp + 0x38]
push 0
push ecx
mov ecx, edi
call fcn.10048360
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.100fc92f
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
shr eax, 0x10
cmp byte [edi + 0x3761], 0
cwde
movd xmm1, eax
cvtdq2ps xmm1, xmm1
divss xmm1, dword [0x10171684]
je case.0x10070e45.527
xorps xmm0, xmm0
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jnp case.0x10070e45.527
lea eax, [esp + 0x10]
movlpd qword [esp + 0x20], xmm0
push eax
add ecx, 0x3780
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 1
mov dword [esp + 0x1c], 0
movss dword [esp + 0x20], xmm1
call fcn.1005eb50
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.100fc92f
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
shr eax, 0x10
cmp byte [edi + 0x3761], 0
cwde
movd xmm1, eax
cvtdq2ps xmm1, xmm1
divss xmm1, dword [0x10171684]
je case.0x10070e45.527
xorps xmm0, xmm0
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jnp case.0x10070e45.527
lea eax, [esp + 0x10]
movlpd qword [esp + 0x20], xmm0
push eax
add ecx, 0x3780
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 1
movss dword [esp + 0x1c], xmm1
mov dword [esp + 0x20], 0
call fcn.1005eb50
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.100fc92f
mov esp, ebp
pop ebp
ret
cmp dword [ebp + 8], 7
jne case.0x10070e45.527
mov byte [esi + 0x25], 1
mov ecx, dword [esp + 0x3c]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.100fc92f
mov esp, ebp
pop ebp
ret