Function at 0x100a5250
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x101a34c0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
xorps xmm0, xmm0
mov dword [ebp - 0xd8], edi
comiss xmm0, dword [edi + 0x1c]
jae 0x100a56a5
comiss xmm0, dword [edi + 0x20]
jae 0x100a56a5
mov ebx, dword [0x101b6fa8]
test ebx, ebx
je 0x100a4d67
mov ebx, dword [ebx + 0xc8]
jmp 0x100a4d69
xor ebx, ebx
mov ecx, dword [ebx + 4]
mov dword [ebp - 0xdc], ebx
test ecx, ecx
je 0x100a4d8b
mov eax, dword [ebx + 0x20]
cmp eax, dword [edi + 0xc]
jge 0x100a4dc0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebx + 4], 0
mov ecx, dword [edi + 0xc]
mov esi, dword [ebx]
add ecx, 0x1388
mov dword [ebx + 0x20], ecx
mov eax, dword [esi]
mov edx, dword [eax + 0x5c]
lea eax, [ebx + 4]
push eax
push 0
push 0x142
lea eax, [ecx + ecx*2]
push 0x208
shl eax, 3
push eax
push esi
call edx
test eax, eax
js 0x100a56a5
mov ecx, dword [ebx + 0xc]
test ecx, ecx
je 0x100a4ddc
mov eax, dword [ebx + 0x24]
cmp eax, dword [edi + 8]
jge 0x100a4e0b
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebx + 0xc], 0
mov edx, dword [edi + 8]
mov esi, dword [ebx]
add edx, 0x2710
mov dword [ebx + 0x24], edx
mov eax, dword [esi]
mov ecx, dword [eax + 0x60]
lea eax, [ebx + 0xc]
push eax
push 0
push 0x65
push 0x208
lea eax, [edx + edx]
push eax
push esi
call ecx
test eax, eax
js 0x100a56a5
cmp dword [ebx + 8], 0
lea edx, [ebx + 8]
jne 0x100a4ed1
cmp dword [ebx + 0x10], 0
lea esi, [ebx + 0x10]
jne 0x100a4ed1
mov ecx, dword [ebx]
push edx
push 0
push 0x142
mov eax, dword [ecx]
push 0x208
push 0x90
push ecx
call dword [eax + 0x5c]
test eax, eax
js 0x100a56a5
mov ecx, dword [ebx]
push esi
push 0
push 0x65
mov eax, dword [ecx]
push 0x208
push 0xc
push ecx
call dword [eax + 0x60]
test eax, eax
js 0x100a56a5
mov eax, dword [esi]
lea edx, [ebp - 0xcc]
push 0x2000
push edx
push 0xc
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0xcc]
xor ecx, ecx
mov edx, 2
mov word [eax], cx
mov ecx, 1
mov eax, dword [ebp - 0xcc]
mov word [eax + 2], cx
xor ecx, ecx
mov eax, dword [ebp - 0xcc]
mov word [eax + 4], dx
mov eax, dword [ebp - 0xcc]
mov word [eax + 6], cx
mov ecx, 3
mov eax, dword [ebp - 0xcc]
mov word [eax + 8], dx
mov eax, dword [ebp - 0xcc]
mov word [eax + 0xa], cx
mov eax, dword [esi]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov ecx, dword [ebx]
lea edx, [ebp - 8]
push edx
push 1
push ecx
mov eax, dword [ecx]
call dword [eax + 0xe4]
test eax, eax
js 0x100a56a5
mov eax, dword [ebx]
lea edx, [ebp - 0x48]
push edx
push 0x100
push eax
mov ecx, dword [eax]
call dword [ecx + 0x98]
mov eax, dword [ebx]
lea edx, [ebp - 0x88]
push edx
push 2
push eax
mov ecx, dword [eax]
call dword [ecx + 0x98]
mov eax, dword [ebx]
lea edx, [ebp - 0xc8]
push edx
push 3
push eax
mov ecx, dword [eax]
call dword [ecx + 0x98]
mov edx, dword [ebx + 4]
push 0x2000
mov eax, dword [edx]
mov ecx, dword [eax + 0x2c]
lea eax, [ebp - 0xd0]
push eax
mov eax, dword [edi + 0xc]
lea eax, [eax + eax*2]
shl eax, 3
push eax
push 0
push edx
call ecx
test eax, eax
js 0x100a5697
mov edx, dword [ebx + 0xc]
push 0x2000
mov eax, dword [edx]
mov ecx, dword [eax + 0x2c]
lea eax, [ebp - 0xd4]
push eax
mov eax, dword [edi + 8]
add eax, eax
push eax
push 0
push edx
call ecx
test eax, eax
jns 0x100a4f82
mov eax, dword [ebx + 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
jmp 0x100a5697
xor ecx, ecx
mov dword [ebp - 0xe0], ecx
cmp dword [edi + 4], ecx
jle 0x100a508e
mov ebx, edi
mov eax, dword [ebx + 0x10]
xor edi, edi
mov ecx, dword [eax + ecx*4]
mov dword [ebp - 0xcc], ecx
mov esi, dword [ecx + 0x20]
cmp dword [ecx + 0x18], edi
jle 0x100a503d
mov ecx, dword [ebp - 0xd0]
mov ebx, dword [ebp - 0xcc]
nop dword [eax + eax]
mov eax, dword [esi]
lea esi, [esi + 0x14]
mov dword [ecx], eax
inc edi
mov eax, dword [ebp - 0xd0]
mov ecx, dword [esi - 0x10]
mov dword [eax + 4], ecx
mov eax, dword [ebp - 0xd0]
mov dword [eax + 8], 0
mov edx, dword [esi - 4]
mov eax, edx
shr eax, 0x10
movzx ecx, al
movzx eax, dl
and edx, 0xff00ff00
shl eax, 0x10
or ecx, eax
mov eax, dword [ebp - 0xd0]
or ecx, edx
mov dword [eax + 0xc], ecx
mov eax, dword [ebp - 0xd0]
mov ecx, dword [esi - 0xc]
mov dword [eax + 0x10], ecx
mov eax, dword [ebp - 0xd0]
mov ecx, dword [esi - 8]
mov dword [eax + 0x14], ecx
mov ecx, dword [ebp - 0xd0]
add ecx, 0x18
mov dword [ebp - 0xd0], ecx
cmp edi, dword [ebx + 0x18]
jl 0x100a4fc0
mov ebx, dword [ebp - 0xd8]
mov ecx, dword [ebp - 0xcc]
mov eax, dword [ecx + 0xc]
add eax, eax
push eax
push dword [ecx + 0x14]
push dword [ebp - 0xd4]
call fcn.100fe470
mov eax, dword [ebp - 0xcc]
add esp, 0xc
mov ecx, dword [eax + 0xc]
mov eax, dword [ebp - 0xd4]
lea eax, [eax + ecx*2]
mov ecx, dword [ebp - 0xe0]
inc ecx
mov dword [ebp - 0xd4], eax
mov dword [ebp - 0xe0], ecx
cmp ecx, dword [ebx + 4]
jl 0x100a4f95
mov ebx, dword [ebp - 0xdc]
mov edi, dword [ebp - 0xd8]
mov eax, dword [ebx + 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov eax, dword [ebx + 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov eax, dword [ebx]
push 0x18
push dword [ebx + 4]
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0x14c]
mov eax, dword [ebx]
push 0x142
push eax
mov ecx, dword [eax]
call dword [ecx + 0x130]
mov ecx, edi
call fcn.100a49a0
mov ecx, dword [ebp - 0xd8]
xor edi, edi
xor edx, edx
mov dword [ebp - 0xe0], edi
mov dword [ebp - 0xdc], edi
mov dword [ebp - 0xf8], edx
movss xmm1, dword [ecx + 0x14]
movss xmm2, dword [ecx + 0x18]
movss dword [ebp - 0xf0], xmm1
movss dword [ebp - 0xf4], xmm2
cmp dword [ecx + 4], edx
jle 0x100a562c
nop dword [eax + eax]
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0xe8], 0
mov esi, dword [eax + edx*4]
mov dword [ebp - 0xe4], esi
cmp dword [esi], 0
jle 0x100a5613
xor eax, eax
mov dword [ebp - 0xec], eax
mov edi, dword [esi + 8]
add edi, eax
mov eax, dword [edi + 0x20]
test eax, eax
je 0x100a515e
cmp eax, 0xffffffff
jne 0x100a5152
call fcn.100a49a0
jmp 0x100a55be
push edi
push esi
call eax
add esp, 8
jmp 0x100a55be
movss xmm0, dword [edi]
subss xmm0, xmm1
push dword [edi + 0x10]
push 0
cvttss2si eax, xmm0
movss xmm0, dword [edi + 4]
subss xmm0, xmm2
mov dword [ebp - 0xfc], eax
cvttss2si eax, xmm0
movss xmm0, dword [edi + 8]
subss xmm0, xmm1
mov dword [ebp - 0x104], eax
cvttss2si eax, xmm0
movss xmm0, dword [edi + 0xc]
subss xmm0, xmm2
mov dword [ebp - 0x108], eax
cvttss2si eax, xmm0
mov dword [ebp - 0x100], eax
mov eax, dword [ebx]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xf4]
mov eax, dword [0x101b6fa8]
test eax, eax
je 0x100a51ca
mov esi, dword [eax + 0xc8]
jmp 0x100a51cc
xor esi, esi
mov eax, dword [esi + 8]
lea edx, [ebp - 0xcc]
push 0
push edx
push 0x90
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0xcc]
movd xmm2, dword [ebp - 0xfc]
movd xmm3, dword [ebp - 0x100]
movd xmm1, dword [ebp - 0x104]
cvtdq2ps xmm2, xmm2
movd xmm0, dword [ebp - 0x108]
movss dword [eax], xmm2
mov eax, dword [ebp - 0xcc]
cvtdq2ps xmm3, xmm3
cvtdq2ps xmm1, xmm1
movss dword [eax + 4], xmm3
mov eax, dword [ebp - 0xcc]
cvtdq2ps xmm0, xmm0
mov dword [eax + 8], 0
mov eax, dword [ebp - 0xcc]
movss dword [eax + 0x18], xmm2
mov eax, dword [ebp - 0xcc]
movss dword [eax + 0x1c], xmm1
mov eax, dword [ebp - 0xcc]
mov dword [eax + 0x20], 0
mov eax, dword [ebp - 0xcc]
movss dword [eax + 0x30], xmm0
mov eax, dword [ebp - 0xcc]
movss dword [eax + 0x34], xmm1
mov eax, dword [ebp - 0xcc]
mov dword [eax + 0x38], 0
mov eax, dword [ebp - 0xcc]
movss dword [eax + 0x48], xmm2
mov eax, dword [ebp - 0xcc]
movss dword [eax + 0x4c], xmm3
mov eax, dword [ebp - 0xcc]
mov dword [eax + 0x50], 0
mov eax, dword [ebp - 0xcc]
movss dword [eax + 0x60], xmm0
mov eax, dword [ebp - 0xcc]
movss dword [eax + 0x64], xmm1
mov eax, dword [ebp - 0xcc]
mov dword [eax + 0x68], 0
mov eax, dword [ebp - 0xcc]
movss dword [eax + 0x78], xmm0
mov eax, dword [ebp - 0xcc]
movss dword [eax + 0x7c], xmm3
mov eax, dword [ebp - 0xcc]
mov dword [eax + 0x80], 0
mov eax, dword [ebp - 0xcc]
mov dword [eax + 0xc], 0xffffffff
mov eax, dword [ebp - 0xcc]
mov dword [eax + 0x24], 0xffffffff
mov eax, dword [ebp - 0xcc]
mov dword [eax + 0x3c], 0xffffffff
mov eax, dword [ebp - 0xcc]
mov dword [eax + 0x54], 0xffffffff
mov eax, dword [ebp - 0xcc]
mov dword [eax + 0x6c], 0xffffffff
mov eax, dword [ebp - 0xcc]
mov dword [eax + 0x84], 0xffffffff
mov eax, dword [ebp - 0xcc]
mov dword [eax + 0x10], 0
mov eax, dword [ebp - 0xcc]
mov dword [eax + 0x14], 0
mov eax, dword [ebp - 0xcc]
mov dword [eax + 0x28], 0
mov eax, dword [ebp - 0xcc]
mov dword [eax + 0x2c], 0
mov eax, dword [ebp - 0xcc]
mov dword [eax + 0x40], 0
mov eax, dword [ebp - 0xcc]
mov dword [eax + 0x44], 0
mov eax, dword [ebp - 0xcc]
mov dword [eax + 0x58], 0
mov eax, dword [ebp - 0xcc]
mov dword [eax + 0x5c], 0
mov eax, dword [ebp - 0xcc]
mov dword [eax + 0x70], 0
mov eax, dword [ebp - 0xcc]
mov dword [eax + 0x74], 0
mov eax, dword [ebp - 0xcc]
mov dword [eax + 0x88], 0
mov eax, dword [ebp - 0xcc]
mov dword [eax + 0x8c], 0
mov eax, dword [esi + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov eax, dword [ebx]
push 0
push 0xa8
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc8]
mov eax, dword [ebx]
push 1
push 7
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc8]
mov eax, dword [ebx]
push 1
push 0x34
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc8]
mov eax, dword [ebx]
push 0xff
push 0x3b
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc8]
mov eax, dword [ebx]
push 0xff
push 0x3a
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc8]
mov eax, dword [ebx]
push 8
push 0x38
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc8]
mov eax, dword [ebx]
push 8
push 0x17
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc8]
mov eax, dword [ebx]
push 3
push 0x37
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc8]
mov eax, dword [ebx]
push 0xff
push 0x39
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc8]
mov eax, dword [ebx]
push 0
mov ecx, dword [eax]
push ecx
mov dword [esp], 0x3f800000
push 0
push 4
push 0
push 0
push eax
call dword [ecx + 0x90]
mov eax, dword [ebx]
push 0x18
push dword [ebx + 8]
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0x14c]
mov eax, dword [ebx]
push 0
push dword [ebx + 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x154]
mov eax, dword [ebx]
push 2
push 0
push 4
mov ecx, dword [eax]
push 0
push 4
push eax
call dword [ecx + 0x11c]
mov eax, dword [ebx]
push 2
push 0
push 4
mov ecx, dword [eax]
push eax
call dword [ecx + 0x118]
mov eax, dword [ebx]
push 0x18
push dword [ebx + 4]
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0x14c]
mov eax, dword [ebx]
push dword [ebp - 0xe0]
push dword [ebx + 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x154]
mov eax, dword [ebx]
push 0xf
push 0xa8
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc8]
mov eax, dword [ebx]
push 0
push 7
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc8]
mov eax, dword [ebx]
push 1
push 0x34
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc8]
mov eax, dword [ebx]
push 0
push 0x3b
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc8]
mov eax, dword [ebx]
push 0xff
push 0x3a
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc8]
mov eax, dword [ebx]
push 3
push 0x38
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc8]
mov eax, dword [ebx]
push 1
push 0x35
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc8]
mov eax, dword [ebx]
mov ecx, dword [eax]
push 1
push 0x37
push eax
call dword [ecx + 0xc8]
mov eax, dword [ebx]
push 0xff
push 0x39
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc8]
mov ecx, dword [ebx]
mov eax, 0xaaaaaaab
mul dword [edi + 0x1c]
mov eax, dword [ebp - 0xe4]
mov esi, dword [ecx]
shr edx, 1
push edx
push dword [ebp - 0xdc]
push dword [eax + 0x18]
push 0
push 4
push ecx
call dword [esi + 0x11c]
mov esi, dword [ebp - 0xe4]
mov ecx, dword [ebp - 0xe8]
mov edx, dword [ebp - 0xdc]
inc ecx
mov eax, dword [ebp - 0xec]
add edx, dword [edi + 0x1c]
add eax, 0x28
cmp ecx, dword [esi]
movss xmm1, dword [ebp - 0xf0]
movss xmm2, dword [ebp - 0xf4]
mov dword [ebp - 0xe8], ecx
mov ecx, dword [ebp - 0xd8]
mov dword [ebp - 0xdc], edx
mov dword [ebp - 0xec], eax
jl 0x100a5137
mov edx, dword [ebp - 0xf8]
mov edi, dword [ebp - 0xe0]
add edi, dword [esi + 0x18]
inc edx
mov dword [ebp - 0xe0], edi
mov dword [ebp - 0xf8], edx
cmp edx, dword [ecx + 4]
jl 0x100a5110
mov eax, dword [ebx]
lea edx, [ebp - 0x48]
push edx
push 0x100
push eax
mov ecx, dword [eax]
call dword [ecx + 0x94]
mov eax, dword [ebx]
lea edx, [ebp - 0x88]
push edx
push 2
push eax
mov ecx, dword [eax]
call dword [ecx + 0x94]
mov eax, dword [ebx]
lea edx, [ebp - 0xc8]
push edx
push 3
push eax
mov ecx, dword [eax]
call dword [ecx + 0x94]
mov ecx, dword [ebx]
push dword [ebx + 0x18]
push 0
mov eax, dword [ecx]
push ecx
call dword [eax + 0x7c]
mov ecx, dword [ebx + 0x18]
test ecx, ecx
je 0x100a5689
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebx + 0x18], 0
mov eax, dword [ebx]
push dword [ebp - 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xd8]
mov eax, dword [ebx]
push dword [ebp - 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xe0]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100fc8a1
mov esp, ebp
pop ebp
ret