Function at 0x101131a0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, ecx
mov ecx, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push edi
mov edi, edx
mov dword [ebp - 4], edi
cmp ebx, 0xffffffff
jle 0x101133ed
mov eax, dword [esi + 0x19c]
test al, 2
je 0x101133ed
test al, 4
je 0x10113269
push 0x11
call ecx
bt ax, 0xf
jae 0x1011325d
cmp byte [esi + 0x199], 0
je 0x1011322f
xor edx, edx
cmp dword [esi + 0x12c], edx
jle 0x1011324f
nop word [eax + eax]
mov eax, dword [esi + 0x130]
mov eax, dword [eax + ebx*4]
mov eax, dword [eax]
mov ecx, dword [eax + edx*4]
cmp byte [ecx + 0x10], 0
sete al
inc edx
mov byte [ecx + 0x10], al
cmp edx, dword [esi + 0x12c]
jl 0x10113200
mov edx, ebx
mov ecx, esi
call fcn.1010bc70
jmp 0x101133e7
mov ecx, dword [ebp + 0x10]
cmp ecx, 0xffffffff
jle 0x1011324f
mov eax, dword [esi + 0x130]
mov eax, dword [eax + ebx*4]
mov eax, dword [eax]
mov ecx, dword [eax + ecx*4]
cmp byte [ecx + 0x10], 0
sete al
mov byte [ecx + 0x10], al
mov edx, ebx
mov ecx, esi
call fcn.1010bc70
jmp 0x101133e7
mov eax, dword [esi + 0x19c]
mov ecx, dword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 8
je 0x10113344
push 0x10
call ecx
bt ax, 0xf
jae 0x10113344
xor edx, edx
cmp dword [esi + 0x134], edx
jle 0x101132c4
nop word [eax + eax]
xor ecx, ecx
cmp dword [esi + 0x12c], ecx
jle 0x101132bb
nop word [eax + eax]
mov eax, dword [esi + 0x130]
mov eax, dword [eax + edx*4]
mov eax, dword [eax]
mov eax, dword [eax + ecx*4]
inc ecx
mov byte [eax + 0x10], 0
cmp ecx, dword [esi + 0x12c]
jl 0x101132a0
inc edx
cmp edx, dword [esi + 0x134]
jl 0x10113290
mov edx, dword [esi + 0x218]
mov ecx, dword [esi + 0x21c]
mov edi, dword [ebp + 0x10]
cmp ebx, edx
jge 0x101132dc
mov dword [ebp + 0xc], edx
mov edx, ebx
cmp edi, ecx
jge 0x101132e6
mov eax, ecx
mov ecx, edi
mov edi, eax
mov al, byte [esi + 0x199]
test al, al
je 0x101132f7
mov edi, dword [esi + 0x12c]
dec edi
xor ebx, ebx
test al, al
mov eax, dword [ebp + 0xc]
cmove ebx, ecx
cmp edx, eax
jg 0x101133e4
nop dword [eax]
mov ecx, ebx
cmp ebx, edi
jg 0x1011333a
nop word [eax + eax]
mov eax, dword [esi + 0x130]
mov eax, dword [eax + edx*4]
mov eax, dword [eax]
mov eax, dword [eax + ecx*4]
inc ecx
mov byte [eax + 0x10], 1
cmp ecx, edi
jle 0x10113320
mov eax, dword [ebp + 0xc]
inc edx
cmp edx, eax
jle 0x10113310
jmp 0x101133e4
mov edi, dword [ebp + 0x10]
xor edx, edx
mov dword [esi + 0x218], ebx
mov dword [esi + 0x21c], edi
cmp dword [esi + 0x134], edx
jle 0x10113394
nop dword [eax]
xor ecx, ecx
cmp dword [esi + 0x12c], ecx
jle 0x1011338b
nop word [eax + eax]
mov eax, dword [esi + 0x130]
mov eax, dword [eax + edx*4]
mov eax, dword [eax]
mov eax, dword [eax + ecx*4]
inc ecx
mov byte [eax + 0x10], 0
cmp ecx, dword [esi + 0x12c]
jl 0x10113370
inc edx
cmp edx, dword [esi + 0x134]
jl 0x10113360
cmp byte [esi + 0x199], 0
je 0x101133cd
xor ecx, ecx
cmp dword [esi + 0x12c], ecx
jle 0x101133e4
nop word [eax + eax]
mov eax, dword [esi + 0x130]
mov eax, dword [eax + ebx*4]
mov eax, dword [eax]
mov eax, dword [eax + ecx*4]
inc ecx
mov byte [eax + 0x10], 1
cmp ecx, dword [esi + 0x12c]
jl 0x101133b0
jmp 0x101133e4
cmp edi, 0xffffffff
jle 0x101133e4
mov eax, dword [esi + 0x130]
mov eax, dword [eax + ebx*4]
mov eax, dword [eax]
mov eax, dword [eax + edi*4]
mov byte [eax + 0x10], 1
mov edi, dword [ebp - 4]
mov ecx, dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov eax, dword [esi + 0x19c]
test al, 0x10
je 0x101134d0
test al, 4
je 0x1011340f
push 0x11
call ecx
bt ax, 0xf
mov eax, 2
jb 0x10113414
mov eax, 1
mov dword [esi + 0x204], eax
push dword [esi + 0x28]
mov dword [0x1018a57c], esi
call dword [sym.imp.USER32.dll_SetCapture]
mov eax, dword [esi + 0x1bc]
mov ecx, dword [esi + 0x1dc]
push 0xffffffffffffffff
push 0xffffffffffffffff
mov edx, dword [eax + 4]
sub edx, dword [ecx]
mov eax, dword [esi + 0x1b8]
add edx, edi
mov dword [esi + 0x208], edx
push 0
push 0
mov ecx, dword [eax + 4]
sub ecx, dword [esi + 0x1c4]
mov eax, dword [ebp + 8]
add eax, ecx
mov dword [esi + 0x210], edx
push esi
mov dword [esi + 0x20c], eax
mov dword [esi + 0x214], eax
mov dword [esi + 0x1f4], 0xffffffff
mov dword [esi + 0x1f8], 0xffffffff
mov dword [esi + 0x1fc], 0xffffffff
mov dword [esi + 0x200], 0xffffffff
call sym.ExuiKrnln_X32.dll_ControlAddRedrawRect
cmp dword [esi + 0x2c], 1
jl 0x101134d0
cmp dword [esi + 0xe4], 0
jle 0x101134bc
inc dword [esi + 0xe0]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
or dword [esi + 0xd0], 1
push 1
push 0x1018a5b4
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret