Function at 0x10117d60
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 0x10117f9d
mov eax, dword [esi + 0x19c]
test al, 2
je 0x10117f9d
test al, 4
je 0x10117e1d
push 0x11
call ecx
test ax, ax
jns 0x10117e11
cmp byte [esi + 0x199], 0
je 0x10117de3
xor edx, edx
cmp dword [esi + 0x12c], edx
jle 0x10117e03
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 0x10117db4
mov edx, ebx
mov ecx, esi
call fcn.10110930
jmp 0x10117f97
mov ecx, dword [ebp + 0x10]
cmp ecx, 0xffffffff
jle 0x10117e03
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.10110930
jmp 0x10117f97
mov eax, dword [esi + 0x19c]
mov ecx, dword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 8
je 0x10117ef4
push 0x10
call ecx
test ax, ax
jns 0x10117ef4
xor edx, edx
cmp dword [esi + 0x134], edx
jle 0x10117e74
nop dword [eax]
xor ecx, ecx
cmp dword [esi + 0x12c], ecx
jle 0x10117e6b
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 0x10117e50
inc edx
cmp edx, dword [esi + 0x134]
jl 0x10117e40
mov edx, dword [esi + 0x218]
mov ecx, dword [esi + 0x21c]
mov edi, dword [ebp + 0x10]
cmp ebx, edx
jge 0x10117e8c
mov dword [ebp + 0xc], edx
mov edx, ebx
cmp edi, ecx
jge 0x10117e96
mov eax, ecx
mov ecx, edi
mov edi, eax
mov al, byte [esi + 0x199]
test al, al
je 0x10117ea7
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 0x10117f94
nop dword [eax]
mov ecx, ebx
cmp ebx, edi
jg 0x10117eea
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 0x10117ed0
mov eax, dword [ebp + 0xc]
inc edx
cmp edx, eax
jle 0x10117ec0
jmp 0x10117f94
mov edi, dword [ebp + 0x10]
xor edx, edx
mov dword [esi + 0x218], ebx
mov dword [esi + 0x21c], edi
cmp dword [esi + 0x134], edx
jle 0x10117f44
nop dword [eax]
xor ecx, ecx
cmp dword [esi + 0x12c], ecx
jle 0x10117f3b
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 0x10117f20
inc edx
cmp edx, dword [esi + 0x134]
jl 0x10117f10
cmp byte [esi + 0x199], 0
je 0x10117f7d
xor ecx, ecx
cmp dword [esi + 0x12c], ecx
jle 0x10117f94
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 0x10117f60
jmp 0x10117f94
cmp edi, 0xffffffff
jle 0x10117f94
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 0x10118087
test al, 4
je 0x10117fbd
push 0x11
call ecx
test ax, ax
mov eax, 2
js 0x10117fc2
mov eax, 1
mov dword [esi + 0x204], eax
push dword [esi + 0x28]
mov dword [0x101916bc], 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 0x10118087
cmp dword [esi + 0xdc], 1
jl 0x10118087
cmp dword [esi + 0xe4], 0
jle 0x10118073
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 0x101916f4
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret