Function at 0x1010d131
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x101e7000]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x2c]
push ebx
mov ebx, dword [ebp + 0x20]
push esi
and dword [eax], 0
xor esi, esi
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x2c], esi
cmp dword [edi + 8], esi
jle 0x1010d178
push esi
mov ecx, edi
call fcn.1001f499
cmp dword [eax], ebx
je 0x1010d18b
inc esi
mov dword [ebp - 0x2c], esi
cmp esi, dword [edi + 8]
jl 0x1010d163
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10154fa7
leave
ret 0x28
test esi, esi
js 0x1010d178
push 0x101ac0e8
mov ecx, ebx
call fcn.10030eb2
xor ebx, ebx
mov dword [ebp - 0x38], eax
cmp dword [ebp + 8], 9
jne 0x1010d326
or dword [ebp - 0x28], 0xffffffff
push 0x10
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x1010d26b
lea ebx, [esi - 1]
test ebx, ebx
jns 0x1010d1de
cmp dword [ebp + 0x24], 0
jne 0x1010d5a6
cmp dword [ebp + 0x28], 0
jne 0x1010d598
mov ebx, dword [edi + 8]
dec ebx
cmp ebx, esi
je 0x1010d178
cmp dword [ebp - 0x38], 0
je 0x1010d200
push ebx
mov ecx, edi
call fcn.1001f499
push 0x101ac0e8
mov ecx, dword [eax]
call fcn.10030eb2
test eax, eax
jne 0x1010d25a
push ebx
mov ecx, edi
call fcn.1001f499
mov edi, dword [eax]
mov eax, dword [edi]
mov esi, dword [eax + 0x11c]
mov ecx, esi
call dword [0x10190a00]
mov ecx, edi
call esi
test eax, eax
je 0x1010d254
mov ecx, dword [ebp - 0x30]
push ebx
call fcn.1001f499
lea edi, [ebp - 0x14]
mov esi, dword [eax]
lea eax, [ebp - 0x14]
add esi, 0x74
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [sym.imp.USER32.dll_IsRectEmpty]
mov ecx, dword [ebp - 0x28]
test eax, eax
mov esi, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x30]
cmove ecx, ebx
mov dword [ebp - 0x28], ecx
jmp 0x1010d25d
mov esi, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x28]
dec ebx
test ecx, ecx
js 0x1010d1c2
jmp 0x1010d315
lea ebx, [esi + 1]
cmp ebx, dword [edi + 8]
jl 0x1010d289
cmp dword [ebp + 0x28], 0
jne 0x1010d58a
cmp dword [ebp + 0x24], 0
jne 0x1010d57c
xor ebx, ebx
cmp ebx, esi
je 0x1010d178
cmp dword [ebp - 0x38], 0
je 0x1010d2af
push ebx
mov ecx, edi
call fcn.1001f499
push 0x101ac0e8
mov ecx, dword [eax]
call fcn.10030eb2
test eax, eax
jne 0x1010d309
push ebx
mov ecx, edi
call fcn.1001f499
mov edi, dword [eax]
mov eax, dword [edi]
mov esi, dword [eax + 0x11c]
mov ecx, esi
call dword [0x10190a00]
mov ecx, edi
call esi
test eax, eax
je 0x1010d303
mov ecx, dword [ebp - 0x30]
push ebx
call fcn.1001f499
lea edi, [ebp - 0x14]
mov esi, dword [eax]
lea eax, [ebp - 0x14]
add esi, 0x74
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [sym.imp.USER32.dll_IsRectEmpty]
mov ecx, dword [ebp - 0x28]
test eax, eax
mov esi, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x30]
cmove ecx, ebx
mov dword [ebp - 0x28], ecx
jmp 0x1010d30c
mov esi, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x28]
inc ebx
test ecx, ecx
js 0x1010d26e
push ecx
mov ecx, edi
call fcn.1001f499
mov ebx, dword [eax]
mov eax, ebx
jmp 0x1010d17a
mov edi, dword [ebp - 0x28]
mov eax, dword [edi]
mov esi, dword [eax + 0x160]
mov ecx, esi
call dword [0x10190a00]
mov ecx, edi
call esi
test eax, eax
jne 0x1010d178
mov eax, dword [ebp + 8]
lea esi, [edi + 0x74]
lea edi, [ebp - 0x4c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
sub eax, 0x25
je 0x1010d42f
sub eax, 1
je 0x1010d36e
sub eax, 1
je 0x1010d42f
sub eax, 1
jne 0x1010d31f
mov eax, dword [ebp - 0x4c]
add eax, dword [ebp - 0x44]
mov esi, dword [ebp - 0x48]
mov edi, dword [ebp - 0x30]
dec esi
cdq
sub eax, edx
mov edx, dword [ebp - 0x40]
sar eax, 1
inc edx
cmp dword [ebp + 8], 0x28
push 0xfffffffffffffffb
pop ecx
cmove esi, edx
mov dword [ebp - 0x2c], eax
push 5
pop edx
cmove ecx, edx
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x28], ecx
mov ecx, eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], esi
cmp ecx, dword [ebp + 0x10]
jge 0x1010d3b3
cmp eax, dword [ebp + 0x18]
jg 0x1010d31f
push edi
push esi
push ecx
call fcn.1010d0f0
mov ebx, eax
test ebx, ebx
jne 0x1010d3d1
push edi
push esi
push dword [ebp - 0x2c]
call fcn.1010d0f0
mov ebx, eax
test ebx, ebx
je 0x1010d3ee
mov eax, dword [ebx]
mov esi, dword [eax + 0x11c]
mov ecx, esi
call dword [0x10190a00]
mov ecx, ebx
call esi
mov esi, dword [ebp - 0x38]
neg eax
sbb eax, eax
and ebx, eax
add esi, dword [ebp - 0x28]
cmp dword [ebp + 8], 0x28
mov dword [ebp - 0x38], esi
jne 0x1010d401
cmp esi, dword [ebp + 0x1c]
jg 0x1010d40d
jmp 0x1010d406
cmp esi, dword [ebp + 0x14]
jl 0x1010d40d
mov ecx, dword [ebp - 0x34]
test ebx, ebx
je 0x1010d3b3
mov ecx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x2c]
sub ecx, 5
add eax, 5
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x2c], eax
test ebx, ebx
jne 0x1010d31f
mov esi, dword [ebp - 0x3c]
jmp 0x1010d3a2
cmp dword [ebp + 8], 0x27
mov edx, dword [ebp - 0x44]
mov esi, dword [ebp - 0x4c]
mov edi, dword [ebp - 0x30]
push 0xfffffffffffffffb
pop eax
push 5
pop ecx
cmove eax, ecx
lea ecx, [esi - 6]
mov dword [ebp - 0x50], eax
lea eax, [edx + 1]
cmove ecx, eax
mov dword [ebp - 0x2c], ecx
cmp dword [ebp + 8], 0x27
jne 0x1010d478
cmp ecx, dword [ebp + 0x18]
jle 0x1010d497
cmp dword [ebp + 0x28], 0
jne 0x1010d58a
cmp dword [ebp + 0x24], 0
jne 0x1010d57c
mov ecx, dword [ebp + 0x10]
jmp 0x1010d494
cmp ecx, dword [ebp + 0x10]
jge 0x1010d497
cmp dword [ebp + 0x24], 0
jne 0x1010d5a6
cmp dword [ebp + 0x28], 0
jne 0x1010d598
mov ecx, dword [ebp + 0x18]
mov dword [ebp - 0x2c], ecx
cmp ecx, esi
jl 0x1010d4a3
cmp ecx, edx
jle 0x1010d31f
mov eax, dword [ebp - 0x48]
mov esi, dword [ebp - 0x28]
mov dword [ebp - 0x10], eax
lea eax, [ecx + 5]
mov dword [ebp - 0x14], ecx
mov ecx, esi
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 8], eax
call fcn.100e8733
test eax, eax
jne 0x1010d4e7
mov eax, dword [esi]
mov esi, dword [eax + 0x144]
mov ecx, esi
call dword [0x10190a00]
mov ecx, dword [ebp - 0x28]
call esi
test eax, eax
je 0x1010d500
mov eax, dword [ebp - 8]
jmp 0x1010d4ea
mov eax, dword [ebp - 0x3c]
sub eax, dword [ebp - 0x10]
push 0xfffffffffffffffd
pop ecx
cdq
idiv ecx
push eax
push 0
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
xor eax, eax
xorps xmm0, xmm0
movups xmmword [ebp - 0x24], xmm0
mov dword [ebp - 0x30], eax
cmp dword [edi + 8], eax
jle 0x1010d560
push eax
mov ecx, edi
call fcn.1001f499
mov eax, dword [eax]
mov dword [ebp - 0x38], eax
mov eax, dword [eax]
mov esi, dword [eax + 0x11c]
mov ecx, esi
call dword [0x10190a00]
mov ecx, dword [ebp - 0x38]
call esi
test eax, eax
je 0x1010d550
mov esi, dword [ebp - 0x38]
lea eax, [ebp - 0x14]
push eax
lea eax, [esi + 0x74]
push eax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
jne 0x1010d55e
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp eax, dword [edi + 8]
jl 0x1010d511
jmp 0x1010d560
mov ebx, esi
mov ecx, dword [ebp - 0x2c]
add ecx, dword [ebp - 0x50]
mov dword [ebp - 0x2c], ecx
test ebx, ebx
jne 0x1010d31f
mov edx, dword [ebp - 0x44]
mov esi, dword [ebp - 0x4c]
jmp 0x1010d454
mov eax, dword [ebp - 0x34]
mov dword [eax], 0xfffffffe
jmp 0x1010d178
mov eax, dword [ebp - 0x34]
mov dword [eax], 1
jmp 0x1010d178
mov eax, dword [ebp - 0x34]
mov dword [eax], 2
jmp 0x1010d178
mov eax, dword [ebp - 0x34]
or dword [eax], 0xffffffff
jmp 0x1010d178