Function at 0x10033f90
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e53b9
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x10112040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10115fb4]
mov ebx, dword [ebp + 8]
mov edi, dword [0x10117924]
mov dword [ebp - 0x20], ebx
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x1011790c]
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], ecx
cmp eax, dword [ecx + 4]
jle 0x1003402e
push 0x1011790c
call fcn.100e217f
add esp, 4
cmp dword [0x1011790c], 0xffffffff
jne 0x1003402e
mov dword [ebp - 4], 0
mov ecx, dword [0x10116180]
push str.tf_weapon_criticals
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
push 0x1011790c
mov dword [0x10117904], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100e212e
add esp, 4
mov eax, dword [0x10117904]
test eax, eax
je 0x10034044
mov eax, dword [eax + 0x1c]
cmp dword [eax + 0x30], 0
je 0x10034688
mov esi, dword [0x10116164]
test esi, esi
je 0x10034688
mov eax, dword [0x10116080]
test eax, eax
je 0x10034688
lea ecx, [eax + 8]
test ecx, ecx
je 0x10034078
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
mov esi, dword [0x10116164]
mov dword [ebp - 0x18], eax
jmp 0x1003407f
mov dword [ebp - 0x18], 0
test esi, esi
jne 0x10034087
xor ecx, ecx
jmp 0x100340ea
mov ecx, dword [ebp - 0x28]
mov eax, dword [0x10116194]
cmp eax, dword [ecx + 4]
jle 0x100340dc
push 0x10116194
call fcn.100e217f
add esp, 4
cmp dword [0x10116194], 0xffffffff
jne 0x100340dc
push str.m_iDamage
push str.CTFPlayerResource
mov dword [ebp - 4], 1
call fcn.100e1330
push 0x10116194
mov dword [0x10116190], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100e212e
add esp, 4
mov ecx, dword [ebp - 0x18]
mov eax, dword [0x10116190]
lea eax, [eax + ecx*4]
mov ecx, dword [eax + esi]
cmp dword [0x10116080], 0
mov eax, dword [0x10117924]
vxorps xmm0, xmm0, xmm0
vcvtsi2ss xmm0, xmm0, ecx
mov eax, dword [eax]
mov eax, dword [eax]
vsubss xmm0, xmm0, dword [eax + 4]
vsubss xmm0, xmm0, dword [eax + 8]
vsubss xmm0, xmm0, dword [eax + 0x10]
vmovss dword [eax], xmm0
je 0x10034688
cmp dword [0x10116000], 0
je 0x10034688
mov eax, dword [0x101178b0]
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 0x34]
cmp byte [eax], 0
je 0x10034688
push ebx
mov ecx, edi
call fcn.10034b60
mov eax, dword [0x10117880]
cmp dword [eax + 0x74], 0x12
jne 0x1003415e
mov eax, dword [ebx + 0x24]
test al, 1
je 0x1003415e
and eax, 0xfffff7ff
mov dword [ebx + 0x24], eax
call fcn.10035600
test al, al
je 0x1003467a
mov ecx, dword [0x10116080]
call fcn.1002ebc0
test al, al
jne 0x10034688
mov ecx, dword [0x10116000]
mov esi, dword [edi]
test ecx, ecx
je 0x10034198
add ecx, 8
je 0x10034198
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
jmp 0x1003419a
xor eax, eax
mov dword [ebp - 0x30], eax
lea ecx, [esi + 0x14]
lea eax, [ebp - 0x30]
push eax
call fcn.10035bc0
mov ecx, dword [0x10116000]
mov esi, dword [edi]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x100341c6
add ecx, 8
je 0x100341c6
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
jmp 0x100341c8
xor eax, eax
mov dword [ebp - 0x34], eax
lea ecx, [esi + 0x34]
lea eax, [ebp - 0x34]
push eax
call fcn.10035bc0
mov ecx, dword [0x10116000]
mov esi, eax
push ecx
mov dword [ebp - 0x24], esi
vmovss xmm0, dword [ecx + 0xa54]
mov ecx, edi
vmovss dword [ebp - 0x14], xmm0
call fcn.10035390
vcomiss xmm0, dword [ebp - 0x14]
jbe 0x10034207
mov byte [ebp - 0xd], 0
jmp 0x100342d4
call fcn.10033d20
mov ecx, dword [0x10116000]
test al, al
je 0x10034233
mov eax, dword [ecx + 0xa5c]
inc eax
lea eax, [eax + eax*4]
add eax, eax
cmp dword [ecx + 0xa58], eax
jge 0x10034233
mov byte [ebp - 0xd], 0
jmp 0x100342d4
mov eax, dword [0x10117880]
mov eax, dword [eax + 0x8c]
cmp byte [eax], 0
jne 0x100342ad
mov eax, dword [0x101178b0]
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 0x34]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x100341fe
cmp dword [0x10116228], 0
jne 0x1003427d
push str.Team_Fortress_2
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
mov dword [0x10116228], eax
mov byte [ebp - 0xd], 0
jmp 0x100342d4
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, dword [0x10116228]
jne 0x100341fe
mov ecx, dword [0x10116098]
mov eax, dword [ecx]
mov eax, dword [eax + 0xd4]
call eax
test al, al
jne 0x100341fe
mov ecx, dword [0x10116000]
mov eax, dword [edi]
cmp byte [eax + 0xd], 0
je 0x100342d0
test ecx, ecx
je 0x100341fe
mov eax, dword [ecx]
mov eax, dword [eax + 0x528]
call eax
mov byte [ebp - 0xd], 0
cmp eax, 2
jne 0x100342d4
mov byte [ebp - 0xd], 1
call fcn.10033d20
test al, al
je 0x1003437e
mov eax, dword [0x10116000]
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x14], eax
mov eax, dword [0x10116080]
mov dword [ebp - 0x1c], eax
mov eax, dword [0x10116070]
cmp eax, dword [ecx + 4]
jle 0x10034346
push 0x10116070
call fcn.100e217f
add esp, 4
cmp dword [0x10116070], 0xffffffff
jne 0x10034346
push str.m_nTickBase
push str.CBasePlayer
mov dword [ebp - 4], 2
call fcn.100e1330
push 0x10116070
mov dword [0x10115fe4], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100e212e
add esp, 4
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
vmovss xmm0, dword [eax + 0xb60]
vaddss xmm1, xmm0, dword [0x10100bf8]
mov eax, dword [0x10115fe4]
vxorps xmm0, xmm0, xmm0
vcvtsi2ss xmm0, xmm0, dword [ecx + eax]
mov eax, dword [0x101160a4]
vmulss xmm0, xmm0, dword [eax + 0x1c]
vcomiss xmm1, xmm0
ja 0x10034688
mov ecx, dword [esi + 4]
sub ecx, dword [esi]
sar ecx, 3
cmp ecx, 2
jbe 0x100344e7
cmp byte [ebp - 0xd], 0
jne 0x100344e7
mov eax, dword [0x10116198]
xor edx, edx
div ecx
mov eax, dword [esi]
mov dword [0x10116198], edx
mov eax, dword [eax + edx*8 + 4]
mov dword [ebp - 0x1c], eax
mov eax, dword [edi]
mov byte [eax + 0xe], 0
mov eax, dword [0x10116000]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x100344e0
mov ecx, dword [ebp - 0x28]
mov eax, dword [0x10117920]
cmp eax, dword [ecx + 4]
jle 0x1003440d
push 0x10117920
call fcn.100e217f
add esp, 4
cmp dword [0x10117920], 0xffffffff
jne 0x1003440d
push 0x110
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
add esp, 4
mov dword [0x10117914], eax
push 0x10117920
call fcn.100e212e
add esp, 4
mov edx, dword [ebp - 0x14]
mov ecx, 0x44
mov eax, dword [0x10116188]
mov edi, dword [0x10117914]
vxorps xmm0, xmm0, xmm0
lea esi, [edx + 0xa54]
mov ebx, dword [eax]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x1c]
inc dword [edx + 0xb5c]
vmovss dword [edx + 0xb60], xmm0
call fcn.100d1910
mov ecx, dword [0x10116188]
and eax, 0x7fffffff
mov edi, dword [ebp - 0x2c]
mov dword [ecx], eax
mov eax, dword [edi]
mov byte [eax + 0xc], 1
mov eax, dword [ebp - 0x14]
mov ecx, eax
mov esi, dword [eax + 0xb24]
mov dword [eax + 0xb24], 0
call dword [sym.ateris.dll_void____fastcall___void___void___CalcIsAttackCritical::OriginalFunction]
mov ecx, dword [ebp - 0x14]
call fcn.10033c80
mov ecx, dword [ebp - 0x14]
vmovss xmm0, dword [eax]
mov dword [ecx + 0xb24], esi
mov eax, dword [edi]
mov esi, dword [0x10117914]
vmovss dword [ebp - 0x1c], xmm0
mov byte [eax + 0xc], 0
mov edx, dword [edi]
mov al, byte [ecx + 0xb36]
mov ecx, 0x44
mov edi, dword [ebp - 0x14]
add edi, 0xa54
mov byte [edx + 0xe], al
mov eax, dword [0x10116188]
mov dword [eax], ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [0x10116000]
call fcn.10033c80
vmovss xmm0, dword [ebp - 0x1c]
mov edx, dword [0x10116198]
mov ebx, dword [ebp - 0x20]
mov edi, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x24]
vmovss dword [eax], xmm0
inc edx
mov dword [0x10116198], edx
push ebx
call fcn.100d4b60
test al, al
jne 0x10034512
mov ecx, dword [0x10116000]
test ecx, ecx
je 0x1003467a
mov eax, dword [ecx]
mov eax, dword [eax + 0x528]
call eax
cmp eax, 2
jne 0x1003467a
cmp byte [ebp - 0xd], 0
jne 0x100345c1
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
mov ecx, dword [eax + 4]
sub ecx, edx
mov dword [ebp - 0x20], edx
sar ecx, 3
cmp ecx, 2
jbe 0x10034688
mov eax, dword [0x1011617c]
xor edx, edx
div ecx
mov eax, dword [ebp - 0x20]
mov ecx, dword [0x10116000]
mov esi, edx
mov dword [0x1011617c], esi
mov eax, dword [eax + esi*8 + 4]
mov dword [ebx + 4], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov eax, dword [eax + esi*8]
mov dword [edi + 4], eax
test ecx, ecx
je 0x100345b5
mov eax, dword [ecx]
mov eax, dword [eax + 0x528]
call eax
cmp eax, 2
jne 0x100345af
push ebx
call fcn.100d4b60
test al, al
je 0x100345af
mov ebx, dword [ebp - 0x18]
mov esi, dword [0x1011617c]
mov eax, dword [ebx]
lea edx, [eax + esi*8]
mov eax, dword [ebx + 4]
lea ecx, [edx + 8]
sub eax, ecx
push eax
push ecx
push edx
call sub.VCRUNTIME140.dll_memmove
add dword [ebx + 4], 0xfffffff8
add esp, 0xc
inc esi
mov dword [0x1011617c], esi
jmp 0x1003467a
mov esi, dword [0x1011617c]
inc esi
mov dword [0x1011617c], esi
jmp 0x1003467a
mov eax, dword [esi]
mov ecx, dword [esi + 4]
sub ecx, eax
mov dword [ebp - 0x20], eax
sar ecx, 3
cmp ecx, 2
jbe 0x10034688
mov eax, dword [0x10116198]
xor edx, edx
div ecx
mov eax, dword [ebp - 0x20]
mov ecx, dword [0x10116000]
mov esi, edx
mov dword [0x10116198], esi
mov eax, dword [eax + esi*8 + 4]
mov dword [ebx + 4], eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
mov eax, dword [eax + esi*8]
mov dword [edi + 4], eax
test ecx, ecx
je 0x10034650
mov eax, dword [ecx]
mov eax, dword [eax + 0x528]
call eax
cmp eax, 2
jne 0x1003464a
push ebx
call fcn.100d4b60
test al, al
je 0x1003464a
mov ecx, dword [ebp - 0x24]
mov esi, dword [0x10116198]
mov eax, dword [ecx]
lea edx, [eax + esi*8]
mov eax, dword [ecx + 4]
lea ecx, [edx + 8]
sub eax, ecx
push eax
push ecx
push edx
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [ebp - 0x24]
add esp, 0xc
add dword [eax + 4], 0xfffffff8
jmp 0x10034650
mov esi, dword [0x10116198]
inc esi
test byte [ebx + 0x24], 1
mov dword [0x10116198], esi
je 0x1003467a
mov ecx, dword [0x10116000]
test ecx, ecx
je 0x1003467a
mov eax, dword [ecx]
mov eax, dword [eax + 0x528]
call eax
cmp eax, 2
jne 0x1003467a
mov byte [edi + 9], 1
mov eax, dword [0x10117880]
mov eax, dword [eax + 0x8c]
mov byte [eax], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4