Function at 0x10034050
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e4a59
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x10111040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10114fb4]
mov ebx, dword [ebp + 8]
mov edi, dword [0x10116940]
mov dword [ebp - 0x20], ebx
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x10116928]
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], ecx
cmp eax, dword [ecx + 4]
jle 0x100340ee
push 0x10116928
call fcn.100e1839
add esp, 4
cmp dword [0x10116928], 0xffffffff
jne 0x100340ee
mov dword [ebp - 4], 0
mov ecx, dword [0x10115180]
push str.tf_weapon_criticals
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
push 0x10116928
mov dword [0x10116920], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100e17e8
add esp, 4
mov eax, dword [0x10116920]
test eax, eax
je 0x10034104
mov eax, dword [eax + 0x1c]
cmp dword [eax + 0x30], 0
je 0x10034748
mov esi, dword [0x10115164]
test esi, esi
je 0x10034748
mov eax, dword [0x10115080]
test eax, eax
je 0x10034748
lea ecx, [eax + 8]
test ecx, ecx
je 0x10034138
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
mov esi, dword [0x10115164]
mov dword [ebp - 0x18], eax
jmp 0x1003413f
mov dword [ebp - 0x18], 0
test esi, esi
jne 0x10034147
xor ecx, ecx
jmp 0x100341aa
mov ecx, dword [ebp - 0x28]
mov eax, dword [0x10115194]
cmp eax, dword [ecx + 4]
jle 0x1003419c
push 0x10115194
call fcn.100e1839
add esp, 4
cmp dword [0x10115194], 0xffffffff
jne 0x1003419c
push str.m_iDamage
push str.CTFPlayerResource
mov dword [ebp - 4], 1
call fcn.100e09f0
push 0x10115194
mov dword [0x10115190], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100e17e8
add esp, 4
mov ecx, dword [ebp - 0x18]
mov eax, dword [0x10115190]
lea eax, [eax + ecx*4]
mov ecx, dword [eax + esi]
cmp dword [0x10115080], 0
mov eax, dword [0x10116940]
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 0x10034748
cmp dword [0x10115000], 0
je 0x10034748
mov eax, dword [0x101168cc]
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 0x34]
cmp byte [eax], 0
je 0x10034748
push ebx
mov ecx, edi
call fcn.10034c20
mov eax, dword [0x1011689c]
cmp dword [eax + 0x74], 0x12
jne 0x1003421e
mov eax, dword [ebx + 0x24]
test al, 1
je 0x1003421e
and eax, 0xfffff7ff
mov dword [ebx + 0x24], eax
call fcn.10035760
test al, al
je 0x1003473a
mov ecx, dword [0x10115080]
call fcn.1002ec30
test al, al
jne 0x10034748
mov ecx, dword [0x10115000]
mov esi, dword [edi]
test ecx, ecx
je 0x10034258
add ecx, 8
je 0x10034258
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
jmp 0x1003425a
xor eax, eax
mov dword [ebp - 0x30], eax
lea ecx, [esi + 0x14]
lea eax, [ebp - 0x30]
push eax
call fcn.10035d20
mov ecx, dword [0x10115000]
mov esi, dword [edi]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x10034286
add ecx, 8
je 0x10034286
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
jmp 0x10034288
xor eax, eax
mov dword [ebp - 0x34], eax
lea ecx, [esi + 0x34]
lea eax, [ebp - 0x34]
push eax
call fcn.10035d20
mov ecx, dword [0x10115000]
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.100354f0
vcomiss xmm0, dword [ebp - 0x14]
jbe 0x100342c7
mov byte [ebp - 0xd], 0
jmp 0x10034394
call fcn.10033de0
mov ecx, dword [0x10115000]
test al, al
je 0x100342f3
mov eax, dword [ecx + 0xa5c]
inc eax
lea eax, [eax + eax*4]
add eax, eax
cmp dword [ecx + 0xa58], eax
jge 0x100342f3
mov byte [ebp - 0xd], 0
jmp 0x10034394
mov eax, dword [0x1011689c]
mov eax, dword [eax + 0x8c]
cmp byte [eax], 0
jne 0x1003436d
mov eax, dword [0x101168cc]
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 0x100342be
cmp dword [0x10115228], 0
jne 0x1003433d
push str.Team_Fortress_2
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
mov dword [0x10115228], eax
mov byte [ebp - 0xd], 0
jmp 0x10034394
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, dword [0x10115228]
jne 0x100342be
mov ecx, dword [0x10115098]
mov eax, dword [ecx]
mov eax, dword [eax + 0xd4]
call eax
test al, al
jne 0x100342be
mov ecx, dword [0x10115000]
mov eax, dword [edi]
cmp byte [eax + 0xd], 0
je 0x10034390
test ecx, ecx
je 0x100342be
mov eax, dword [ecx]
mov eax, dword [eax + 0x528]
call eax
mov byte [ebp - 0xd], 0
cmp eax, 2
jne 0x10034394
mov byte [ebp - 0xd], 1
call fcn.10033de0
test al, al
je 0x1003443e
mov eax, dword [0x10115000]
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x14], eax
mov eax, dword [0x10115080]
mov dword [ebp - 0x1c], eax
mov eax, dword [0x10115070]
cmp eax, dword [ecx + 4]
jle 0x10034406
push 0x10115070
call fcn.100e1839
add esp, 4
cmp dword [0x10115070], 0xffffffff
jne 0x10034406
push str.m_nTickBase
push str.CBasePlayer
mov dword [ebp - 4], 2
call fcn.100e09f0
push 0x10115070
mov dword [0x10114fe4], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100e17e8
add esp, 4
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
vmovss xmm0, dword [eax + 0xb60]
vaddss xmm1, xmm0, dword [0x101003e8]
mov eax, dword [0x10114fe4]
vxorps xmm0, xmm0, xmm0
vcvtsi2ss xmm0, xmm0, dword [ecx + eax]
mov eax, dword [0x101150a4]
vmulss xmm0, xmm0, dword [eax + 0x1c]
vcomiss xmm1, xmm0
ja 0x10034748
mov ecx, dword [esi + 4]
sub ecx, dword [esi]
sar ecx, 3
cmp ecx, 2
jbe 0x100345a7
cmp byte [ebp - 0xd], 0
jne 0x100345a7
mov eax, dword [0x10115198]
xor edx, edx
div ecx
mov eax, dword [esi]
mov dword [0x10115198], 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 [0x10115000]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x100345a0
mov ecx, dword [ebp - 0x28]
mov eax, dword [0x1011693c]
cmp eax, dword [ecx + 4]
jle 0x100344cd
push 0x1011693c
call fcn.100e1839
add esp, 4
cmp dword [0x1011693c], 0xffffffff
jne 0x100344cd
push 0x110
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
add esp, 4
mov dword [0x10116930], eax
push 0x1011693c
call fcn.100e17e8
add esp, 4
mov edx, dword [ebp - 0x14]
mov ecx, 0x44
mov eax, dword [0x10115188]
mov edi, dword [0x10116930]
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.100d1510
mov ecx, dword [0x10115188]
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.10033d40
mov ecx, dword [ebp - 0x14]
vmovss xmm0, dword [eax]
mov dword [ecx + 0xb24], esi
mov eax, dword [edi]
mov esi, dword [0x10116930]
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 [0x10115188]
mov dword [eax], ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [0x10115000]
call fcn.10033d40
vmovss xmm0, dword [ebp - 0x1c]
mov edx, dword [0x10115198]
mov ebx, dword [ebp - 0x20]
mov edi, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x24]
vmovss dword [eax], xmm0
inc edx
mov dword [0x10115198], edx
push ebx
call fcn.100d4770
test al, al
jne 0x100345d2
mov ecx, dword [0x10115000]
test ecx, ecx
je 0x1003473a
mov eax, dword [ecx]
mov eax, dword [eax + 0x528]
call eax
cmp eax, 2
jne 0x1003473a
cmp byte [ebp - 0xd], 0
jne 0x10034681
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 0x10034748
mov eax, dword [0x1011517c]
xor edx, edx
div ecx
mov eax, dword [ebp - 0x20]
mov ecx, dword [0x10115000]
mov esi, edx
mov dword [0x1011517c], 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 0x10034675
mov eax, dword [ecx]
mov eax, dword [eax + 0x528]
call eax
cmp eax, 2
jne 0x1003466f
push ebx
call fcn.100d4770
test al, al
je 0x1003466f
mov ebx, dword [ebp - 0x18]
mov esi, dword [0x1011517c]
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 [0x1011517c], esi
jmp 0x1003473a
mov esi, dword [0x1011517c]
inc esi
mov dword [0x1011517c], esi
jmp 0x1003473a
mov eax, dword [esi]
mov ecx, dword [esi + 4]
sub ecx, eax
mov dword [ebp - 0x20], eax
sar ecx, 3
cmp ecx, 2
jbe 0x10034748
mov eax, dword [0x10115198]
xor edx, edx
div ecx
mov eax, dword [ebp - 0x20]
mov ecx, dword [0x10115000]
mov esi, edx
mov dword [0x10115198], 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 0x10034710
mov eax, dword [ecx]
mov eax, dword [eax + 0x528]
call eax
cmp eax, 2
jne 0x1003470a
push ebx
call fcn.100d4770
test al, al
je 0x1003470a
mov ecx, dword [ebp - 0x24]
mov esi, dword [0x10115198]
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 0x10034710
mov esi, dword [0x10115198]
inc esi
test byte [ebx + 0x24], 1
mov dword [0x10115198], esi
je 0x1003473a
mov ecx, dword [0x10115000]
test ecx, ecx
je 0x1003473a
mov eax, dword [ecx]
mov eax, dword [eax + 0x528]
call eax
cmp eax, 2
jne 0x1003473a
mov byte [edi + 9], 1
mov eax, dword [0x1011689c]
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