Function at 0x100c2620
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100edd19
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x1a0
mov eax, dword [0x10111040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push dword [ebx + 8]
call dword [sym.ateris.dll_void____fastcall___void___void___enum_PaintMode_t__Paint::OriginalFunction]
mov eax, dword [0x1011689c]
mov eax, dword [eax + 0xa8]
cmp byte [eax], 0
jne 0x100c2ad2
mov ecx, dword [0x10114ffc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x6c]
call eax
test al, al
je 0x100c26a0
mov ecx, dword [0x10114ffc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x68]
call eax
test al, al
jne 0x100c26ef
mov esi, dword [0x10116940]
mov ecx, dword [esi]
add ecx, 0x34
call fcn.10035df0
mov ecx, dword [esi]
add ecx, 0x14
call fcn.10035df0
mov eax, dword [esi]
vxorps xmm0, xmm0, xmm0
push 0x14
vmovss dword [eax + 8], xmm0
mov eax, dword [esi]
vmovss dword [eax + 4], xmm0
mov eax, dword [esi]
mov byte [eax + 0xd], 0
call fcn.100e12f9
mov ecx, eax
add esp, 4
vxorps xmm0, xmm0, xmm0
vmovups xmmword [ecx], xmm0
vmovss dword [ecx + 0x10], xmm0
mov eax, dword [esi]
mov dword [eax], ecx
mov ecx, dword [0x10114ffc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x154]
call eax
test al, al
jne 0x100c2ad2
test byte [ebx + 8], 1
je 0x100c2ad2
mov esi, dword [0x101168bc]
cmp dword [esi + 0x40], 0
lea edi, [esi + 0x40]
je 0x100c2726
cmp dword [esi + 0x44], 0
jne 0x100c273e
mov ecx, dword [0x10114ffc]
lea edx, [esi + 0x44]
push edx
push edi
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
mov esi, dword [0x101168bc]
mov ecx, dword [0x10116798]
lea edx, [ebp - 0x1a0]
vxorps xmm0, xmm0, xmm0
vmovups xmmword [ebp - 0x160], xmm0
vmovss dword [ebp - 0x150], xmm0
mov eax, dword [ecx]
vmovss dword [ebp - 0x14c], xmm0
push edx
mov eax, dword [eax + 0xec]
call eax
test al, al
je 0x100c279f
mov ecx, dword [0x101150ec]
lea edx, [ebp - 0x58]
push edx
push esi
lea edx, [ebp - 0x98]
mov eax, dword [ecx]
push edx
lea edx, [ebp - 0xd8]
push edx
mov eax, dword [eax + 0xc8]
lea edx, [ebp - 0x1a0]
push edx
call eax
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10114fb4]
mov esi, dword [0x10115098]
mov edi, dword [eax + ecx*4]
mov eax, dword [0x10117718]
mov dword [ebp - 0x1ac], edi
cmp eax, dword [edi + 4]
jle 0x100c280c
push 0x10117718
call fcn.100e1839
add esp, 4
cmp dword [0x10117718], 0xffffffff
jne 0x100c280c
push str.55_8B_EC_64_A1_________6A_FF_68_________50_64_89_25_________83_EC_14
push str.vguimatsurface.dll
mov dword [ebp - 4], 0
call fcn.100bd090
push 0x10117718
mov dword [0x1011771c], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100e17e8
add esp, 4
mov ecx, esi
call dword [0x1011771c]
cmp dword [0x10115080], 0
mov esi, dword [0x10116964]
je 0x100c2858
mov ecx, dword [0x101151d8]
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test al, al
jne 0x100c2858
mov eax, dword [0x101168cc]
mov eax, dword [eax + 0x18]
mov eax, dword [eax]
cmp byte [eax], 0
je 0x100c2858
mov ecx, esi
call fcn.1003cc80
mov ecx, esi
call fcn.1003b8c0
mov ecx, esi
call fcn.100372a0
call fcn.100b7df0
call fcn.100b9b10
call fcn.100ba020
call fcn.100b70d0
mov esi, dword [0x10115080]
test esi, esi
je 0x100c29cc
mov eax, dword [0x10115050]
cmp eax, dword [edi + 4]
jle 0x100c28cc
push 0x10115050
call fcn.100e1839
add esp, 4
cmp dword [0x10115050], 0xffffffff
jne 0x100c28cc
push str.m_lifeState
push str.CBasePlayer
mov dword [ebp - 4], 1
call fcn.100e09f0
push 0x10115050
mov dword [0x10115010], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100e17e8
add esp, 4
mov eax, dword [0x10115010]
cmp byte [esi + eax], 0
jne 0x100c29cc
mov eax, dword [0x101168cc]
mov eax, dword [eax + 0x10]
cmp byte [eax + 0xc], 0
je 0x100c29cc
mov ecx, dword [0x101151d8]
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test al, al
jne 0x100c29cc
mov ecx, dword [0x10115080]
call fcn.1001cf20
mov eax, dword [eax]
shr eax, 1
test al, 1
je 0x100c29cc
mov ecx, dword [0x101168bc]
mov dword [ebp - 0x1a4], 0xff000000
push dword [ebp - 0x1a4]
mov eax, dword [ecx + 0x44]
cdq
sub eax, edx
mov esi, eax
sar esi, 1
lea eax, [esi + 0xc8]
add esi, 0xffffff38
mov dword [ebp - 0x1a8], eax
mov eax, dword [ecx + 0x40]
mov ecx, dword [0x10115098]
cdq
sub eax, edx
mov edi, eax
mov edx, dword [ecx]
sar edi, 1
call dword [edx + 0x28]
push dword [ebp - 0x1a8]
mov ecx, dword [0x10115098]
push edi
push esi
push edi
mov eax, dword [ecx]
call dword [eax + 0x3c]
mov ecx, dword [0x101168bc]
mov dword [ebp - 0x1a4], 0xff000000
push dword [ebp - 0x1a4]
mov eax, dword [ecx + 0x44]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x1a8], eax
mov eax, dword [ecx + 0x40]
mov ecx, dword [0x10115098]
cdq
sub eax, edx
sar eax, 1
lea edi, [eax + 0xc8]
lea esi, [eax - 0xc8]
mov eax, dword [ecx]
call dword [eax + 0x28]
mov ecx, dword [0x10115098]
mov edx, dword [ebp - 0x1a8]
push edx
push edi
mov eax, dword [ecx]
push edx
push esi
call dword [eax + 0x3c]
mov ecx, dword [0x1011696c]
call fcn.100b8820
call fcn.100b4820
mov ecx, dword [0x1011696c]
call fcn.100b50b0
call fcn.100b82e0
call fcn.100b6470
call fcn.100b4e60
call fcn.100b8590
call fcn.100b9710
mov edi, dword [0x101168c0]
xor esi, esi
push esi
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x100c2a33
mov eax, dword [edi + esi*4]
cmp eax, 1
jne 0x100c2a25
mov dword [edi + esi*4], 2
jmp 0x100c2a3a
cmp eax, 2
je 0x100c2a3a
mov dword [edi + esi*4], 1
jmp 0x100c2a3a
mov dword [edi + esi*4], 0
inc esi
cmp esi, 0x100
jl 0x100c2a08
mov ecx, dword [0x10115098]
mov eax, dword [ecx]
mov edx, dword [eax + 0x180]
lea eax, [edi + 0x404]
push eax
lea eax, [edi + 0x400]
push eax
call edx
mov ecx, dword [0x1011690c]
call fcn.100592a0
mov ecx, dword [ebp - 0x1ac]
mov eax, dword [0x10117710]
mov esi, dword [0x10115098]
cmp eax, dword [ecx + 4]
jle 0x100c2aca
push 0x10117710
call fcn.100e1839
add esp, 4
cmp dword [0x10117710], 0xffffffff
jne 0x100c2aca
push str.55_8B_EC_6A_FF_68_________64_A1_________50_64_89_25_________51_56_6A_00
push str.vguimatsurface.dll
mov dword [ebp - 4], 2
call fcn.100bd090
push 0x10117710
mov dword [0x10117714], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100e17e8
add esp, 4
mov ecx, esi
call dword [0x10117714]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100e12eb
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4