Function at 0x1010e620
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 4], edx
push esi
mov esi, ecx
mov ecx, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push edi
cmp ebx, 0xffffffff
jle 0x1010e86a
mov eax, dword [esi + 0x194]
test al, 2
je 0x1010e86a
test al, 4
je 0x1010e6f4
push 0x11
call ecx
bt ax, 0xf
jae 0x1010e6e8
cmp byte [esi + 0x191], 0
je 0x1010e6ba
xor edi, edi
cmp dword [esi + 0x12c], edi
jle 0x1010e6da
mov eax, dword [ebp + 0x10]
lea ebx, [eax*4]
mov eax, dword [esi + 0x130]
mov ecx, dword [ebp + 0xc]
mov eax, dword [eax + ecx*4]
mov edx, dword [eax]
mov eax, dword [ebx + edx]
cmp byte [eax + 0x10], 0
mov eax, dword [edx + edi*4]
sete cl
inc edi
mov byte [eax + 0x10], cl
cmp edi, dword [esi + 0x12c]
jl 0x1010e682
mov ebx, dword [ebp + 0xc]
mov ecx, esi
mov edx, ebx
call fcn.101070b0
jmp 0x1010e864
mov ecx, dword [ebp + 0x10]
cmp ecx, 0xffffffff
jle 0x1010e6da
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.101070b0
jmp 0x1010e864
mov eax, dword [esi + 0x194]
mov ecx, dword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 8
je 0x1010e7c4
push 0x10
call ecx
bt ax, 0xf
jae 0x1010e7c4
xor edx, edx
cmp dword [esi + 0x134], edx
jle 0x1010e744
xor ecx, ecx
cmp dword [esi + 0x12c], ecx
jle 0x1010e73b
nop
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 0x1010e720
inc edx
cmp edx, dword [esi + 0x134]
jl 0x1010e715
mov edx, dword [esi + 0x210]
mov ecx, dword [esi + 0x214]
mov edi, dword [ebp + 0x10]
cmp ebx, edx
jge 0x1010e75c
mov dword [ebp + 0xc], edx
mov edx, ebx
cmp edi, ecx
jge 0x1010e766
mov eax, ecx
mov ecx, edi
mov edi, eax
mov al, byte [esi + 0x191]
test al, al
je 0x1010e777
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 0x1010e864
nop dword [eax]
mov ecx, ebx
cmp ebx, edi
jg 0x1010e7ba
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 0x1010e7a0
mov eax, dword [ebp + 0xc]
inc edx
cmp edx, eax
jle 0x1010e790
jmp 0x1010e864
mov edi, dword [ebp + 0x10]
xor edx, edx
mov dword [esi + 0x210], ebx
mov dword [esi + 0x214], edi
cmp dword [esi + 0x134], edx
jle 0x1010e814
nop dword [eax]
xor ecx, ecx
cmp dword [esi + 0x12c], ecx
jle 0x1010e80b
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 0x1010e7f0
inc edx
cmp edx, dword [esi + 0x134]
jl 0x1010e7e0
cmp byte [esi + 0x191], 0
je 0x1010e84d
xor ecx, ecx
cmp dword [esi + 0x12c], ecx
jle 0x1010e864
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 0x1010e830
jmp 0x1010e864
cmp edi, 0xffffffff
jle 0x1010e864
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 ecx, dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov eax, dword [esi + 0x194]
test al, 0x10
je 0x1010e94e
test al, 4
je 0x1010e88c
push 0x11
call ecx
bt ax, 0xf
mov eax, 2
jb 0x1010e891
mov eax, 1
mov dword [esi + 0x1fc], eax
push dword [esi + 0x28]
mov dword [0x1018448c], esi
call dword [sym.imp.USER32.dll_SetCapture]
mov eax, dword [esi + 0x1b4]
mov ecx, dword [esi + 0x1d4]
push 0xffffffffffffffff
push 0xffffffffffffffff
mov edx, dword [eax + 4]
sub edx, dword [ecx]
mov eax, dword [esi + 0x1b0]
add edx, dword [ebp - 4]
mov dword [esi + 0x200], edx
push 0
mov ecx, dword [eax + 4]
sub ecx, dword [esi + 0x1bc]
mov eax, dword [ebp + 8]
add eax, ecx
mov dword [esi + 0x208], edx
push 0
push esi
mov dword [esi + 0x204], eax
mov dword [esi + 0x20c], eax
mov dword [esi + 0x1ec], 0xffffffff
mov dword [esi + 0x1f0], 0xffffffff
mov dword [esi + 0x1f4], 0xffffffff
mov dword [esi + 0x1f8], 0xffffffff
call sym.ExuiKrnln_X32.dll_ControlAddRedrawRect
cmp dword [esi + 0x2c], 1
jl 0x1010e94e
cmp dword [esi + 0xe4], 0
jle 0x1010e93a
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 0x101844c4
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret