Function at 0x100e7d20
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
cmp byte [0x101c9aae], 0
mov eax, dword [0x101cd4c0]
push ebx
push esi
mov dword [ebp - 0x18], eax
mov eax, dword [0x101cd4bc]
push edi
mov dword [ebp - 8], eax
je 0x100e7e41
mov ecx, dword [0x101cf678]
lea edx, [ebp - 0x10]
push edx
lea edx, [ebp - 0x14]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x180]
call eax
cmp dword [0x102b777c], 0
jne 0x100e7d7d
push 0x10173818
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
mov dword [0x102b777c], eax
test eax, eax
je 0x100e7d9c
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, dword [0x102b777c]
jne 0x100e7d9c
push 1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x100e7d9c
mov dl, 1
jmp 0x100e7d9e
xor dl, dl
mov ecx, dword [0x101cd4c4]
mov edi, dword [ebp - 0x14]
mov ebx, dword [0x101cd4c8]
mov esi, dword [ebp - 0x10]
mov byte [ebp - 1], dl
mov dword [ebp - 0xc], ecx
cmp edi, ecx
jle 0x100e7e00
mov eax, dword [ebp - 8]
add eax, ecx
cmp edi, eax
jge 0x100e7e00
cmp esi, ebx
jle 0x100e7e00
mov eax, dword [ebp - 0x18]
add eax, ebx
cmp esi, eax
jge 0x100e7e00
test dl, dl
je 0x100e7e00
cmp byte [0x102b77c8], 0
mov byte [0x102b77dc], 1
jne 0x100e7e09
mov eax, edi
mov byte [0x102b77c8], 1
sub eax, ecx
mov edx, esi
sub edx, ebx
mov dword [0x102b77e0], eax
mov dword [0x102b77e4], edx
jmp 0x100e7e14
cmp byte [0x102b77dc], 0
je 0x100e7e2b
mov edx, dword [0x102b77e4]
mov eax, dword [0x102b77e0]
mov ecx, edi
mov ebx, esi
sub ecx, eax
sub ebx, edx
mov dword [ebp - 0xc], ecx
mov dword [0x101cd4c4], ecx
mov dword [0x101cd4c8], ebx
cmp byte [ebp - 1], 0
jne 0x100e7e4f
mov byte [0x102b77dc], 0
mov byte [0x102b77c8], 0
jmp 0x100e7e4f
mov eax, dword [0x101cd4c4]
mov ebx, dword [0x101cd4c8]
mov dword [ebp - 0xc], eax
mov ecx, dword [0x101cf678]
mov esi, dword [0x101cd4c0]
mov edi, dword [0x101cd4bc]
push 0xfa
mov eax, dword [ecx]
push 0x2d
push 0x2b
push 0x2b
mov eax, dword [eax + 0x2c]
call eax
mov ecx, dword [0x101cf678]
lea eax, [ebx + esi]
mov esi, dword [ebp - 0xc]
push eax
mov edx, dword [ecx]
lea eax, [esi + edi]
push eax
push ebx
mov eax, dword [edx + 0x30]
push esi
call eax
push str.Spectators
push 0x1018d524
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 1
push eax
mov eax, dword [0x101cd4c0]
cdq
sub eax, edx
mov dword [ebp - 0x14], 4
sar eax, 1
add eax, dword [0x101cd4c8]
push 0x101a7114
push eax
mov eax, dword [0x101cd4bc]
cdq
sub eax, edx
sar eax, 1
add eax, dword [0x101cd4c4]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x101c9378
call fcn.1011c500
mov esi, dword [0x101c93a8]
add esp, 0x20
test esi, esi
je 0x100e80e9
mov ecx, esi
call fcn.10010b00
test al, al
jne 0x100e80e9
push esi
call fcn.100e7980
test al, al
je 0x100e80e9
mov eax, dword [0x101c9378]
mov ebx, dword [0x101cd4c4]
mov ecx, dword [0x101cd4b4]
sub ecx, dword [0x101cd4b0]
mov esi, dword [eax + 0x58]
lea eax, [ebx + 5]
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x1c], eax
add eax, 0x19
mov dword [ebp - 0x28], eax
mov eax, dword [0x101cd4c0]
add eax, dword [0x101cd4c8]
mov dword [ebp - 0xc], eax
mov eax, 0x88888889
imul ecx
push 0xff
add edx, ecx
mov ecx, dword [0x101cf678]
sar edx, 5
mov edi, edx
push 0x24
mov eax, dword [ecx]
shr edi, 0x1f
add edi, edx
push 0x24
mov eax, dword [eax + 0x2c]
imul edi, esi
mov esi, dword [0x101cd4bc]
push 0x24
call eax
mov ecx, dword [0x101cf678]
lea eax, [ebx + esi]
add edi, dword [ebp - 0xc]
push edi
push eax
mov edx, dword [ecx]
push dword [ebp - 0xc]
push ebx
mov eax, dword [edx + 0x30]
call eax
mov ecx, dword [0x101cf678]
push 0xff
push 0xff
push 0xff
mov eax, dword [ecx]
push 0xff
mov eax, dword [eax + 0x2c]
call eax
mov ecx, dword [0x101cf678]
lea eax, [edi - 1]
push eax
lea edx, [ebx + 0x19]
push edx
mov esi, dword [ecx]
push dword [ebp - 0xc]
push edx
mov eax, dword [esi + 0x3c]
call eax
mov edi, dword [0x101cd4b0]
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov eax, 0x88888889
mov ecx, dword [0x101cd4b4]
sub ecx, edi
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x100e80e9
xor esi, esi
mov dword [ebp - 0x18], 0
xor ebx, ebx
mov dword [ebp - 8], 0xffffffff
mov dword [ebp - 0x20], 4
mov dword [ebp - 0x24], 0
mov dword [ebp - 0xc], 0xffffffff
mov dword [ebp - 0x2c], 4
mov dword [ebp - 0x14], ebx
nop word [eax + eax]
mov eax, dword [esi + edi + 0x10]
lea ecx, [esi + edi]
cmp eax, 0x14
jbe 0x100e804c
push 3
push ecx
push eax
push ecx
call fcn.100e84d0
mov edi, dword [0x101cd4b0]
add ebx, dword [0x101cd4c0]
lea eax, [edi + 0x18]
add ebx, dword [0x101cd4c8]
add eax, esi
cmp dword [eax + 0x14], 8
jb 0x100e8065
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 8]
push eax
push ebx
push dword [ebp - 0x1c]
lea eax, [ebp - 0x20]
push eax
push 0x101c9378
call fcn.1011c760
mov eax, dword [0x101cd4b0]
add esp, 0x1c
add eax, esi
cmp dword [eax + 0x14], 8
jb 0x100e8092
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
push dword [ebp - 0x28]
lea eax, [ebp - 0x2c]
push eax
push 0x101c9378
call fcn.1011c760
mov ecx, dword [0x101cd4b4]
mov eax, 0x88888889
mov edi, dword [0x101cd4b0]
add esp, 0x1c
mov ebx, dword [ebp - 0x14]
sub ecx, edi
add ebx, dword [ebp - 0x30]
add esi, 0x3c
inc dword [ebp - 0x10]
imul ecx
mov dword [ebp - 0x14], ebx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0x10], eax
jb 0x100e8030
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret