Function at 0x1000d120
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 0x1001bc55
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x40
mov eax, dword [0x10023040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp byte [0x1002350c], 0
mov eax, dword [ebx + 0x10]
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0xc]
mov dword [ebp - 0x3c], eax
je 0x1000d7d2
push dword [0x10023514]
call dword [sym.imp.USer32.dLl_GetAsyncKeyState]
test ax, ax
je 0x1000d7d2
push esi
mov ecx, edi
call fcn.100065b0
test al, al
jne 0x1000d1bc
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x658]
call eax
test al, al
je 0x1000d7d2
mov ecx, edi
call fcn.10006470
cmp dword [eax], 0
je 0x1000d7d2
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10023eb8]
mov edx, dword [eax + ecx*4]
mov eax, dword [0x10023fd8]
mov dword [ebp - 0x24], edx
cmp eax, dword [edx + 4]
jle 0x1000d223
push 0x10023fd8
call fcn.1001a56d
add esp, 4
cmp dword [0x10023fd8], 0xffffffff
jne 0x1000d220
push str.m_iClass
push str.CTFPlayer
mov dword [ebp - 4], 0
call fcn.10016990
push 0x10023fd8
mov dword [0x10023fc4], eax
mov dword [ebp - 4], 0xffffffff
call fcn.1001a51c
add esp, 4
mov edx, dword [ebp - 0x24]
mov eax, dword [0x10023fc4]
cmp dword [eax + esi], 3
jne 0x1000d7d2
mov ecx, dword [0x10023ff4]
cmp ecx, dword [edx + 4]
jle 0x1000d290
push 0x10023ff4
call fcn.1001a56d
mov ecx, dword [0x10023ff4]
add esp, 4
cmp ecx, 0xffffffff
jne 0x1000d28d
push str.m_fFlags
push str.CBasePlayer
mov dword [ebp - 4], 1
call fcn.10016990
push 0x10023ff4
mov dword [0x10023fec], eax
mov dword [ebp - 4], 0xffffffff
call fcn.1001a51c
mov ecx, dword [0x10023ff4]
add esp, 4
mov edx, dword [ebp - 0x24]
mov eax, dword [0x10023fec]
test byte [eax + esi], 1
je 0x1000d7d2
cmp ecx, dword [edx + 4]
jle 0x1000d2ec
push 0x10023ff4
call fcn.1001a56d
add esp, 4
cmp dword [0x10023ff4], 0xffffffff
jne 0x1000d2ec
push str.m_fFlags
push str.CBasePlayer
mov dword [ebp - 4], 2
call fcn.10016990
push 0x10023ff4
mov dword [0x10023fec], eax
mov dword [ebp - 4], 0xffffffff
call fcn.1001a51c
add esp, 4
mov eax, dword [0x10023fec]
test byte [eax + esi], 2
jne 0x1000d7d2
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x600]
call eax
test eax, eax
jne 0x1000d7d2
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x254]
call eax
mov edi, dword [ebp - 0x3c]
movss xmm0, dword [0x1001fca4]
movss xmm1, dword [eax + 8]
comiss xmm0, xmm1
mov eax, dword [edi + 0x24]
jbe 0x1000d7cc
mov ecx, dword [ebp - 0x24]
or eax, 3
mov dword [edi + 0x24], eax
mov eax, dword [0x10023fdc]
cmp eax, dword [ecx + 4]
jle 0x1000d38b
push 0x10023fdc
call fcn.1001a56d
add esp, 4
cmp dword [0x10023fdc], 0xffffffff
jne 0x1000d38b
push str.m_vecVelocity_0_
push str.CBasePlayer
mov dword [ebp - 4], 3
call fcn.10016990
push 0x10023fdc
mov dword [0x10023fe0], eax
call fcn.1001a51c
add esp, 4
mov eax, dword [0x10023fe0]
xorps xmm0, xmm0
movss xmm4, dword [eax + esi + 4]
movss xmm3, dword [eax + esi]
movss xmm5, dword [eax + esi + 8]
ucomiss xmm4, xmm0
movss dword [ebp - 0x38], xmm3
movss dword [ebp - 0x28], xmm4
lahf
movss dword [ebp - 0x34], xmm5
test ah, 0x44
jp 0x1000d3ca
ucomiss xmm3, xmm0
lahf
test ah, 0x44
jp 0x1000d3ca
xorps xmm1, xmm1
jmp 0x1000d418
cvtps2pd xmm0, xmm4
movsd qword [ebp - 0x30], xmm0
fld qword [ebp - 0x30]
cvtps2pd xmm0, xmm3
movsd qword [ebp - 0x30], xmm0
fld qword [ebp - 0x30]
call sub.ApI_ms_WIn_CRt_mAth_l1_1_0.dLl__CIatan2
movss xmm3, dword [ebp - 0x38]
xorps xmm0, xmm0
movss xmm4, dword [ebp - 0x28]
movss xmm5, dword [ebp - 0x34]
fstp qword [ebp - 0x30]
movsd xmm1, qword [ebp - 0x30]
cvtpd2ps xmm1, xmm1
mulss xmm1, dword [0x1001fcac]
comiss xmm0, xmm1
jbe 0x1000d418
addss xmm1, dword [0x1001fcd0]
movss xmm2, dword [0x1001fce0]
comiss xmm3, xmm2
subss xmm1, dword [0x1001fcbc]
jbe 0x1000d450
comiss xmm0, xmm3
jbe 0x1000d450
comiss xmm4, xmm2
jbe 0x1000d450
comiss xmm0, xmm4
jbe 0x1000d450
comiss xmm5, xmm2
jbe 0x1000d450
comiss xmm0, xmm5
jbe 0x1000d450
movss xmm6, dword [0x1001fcb4]
jmp 0x1000d458
movss xmm6, dword [0x1001fca0]
comiss xmm3, xmm2
mov dword [ebp - 0x18], 0
movss dword [ebp - 0x24], xmm6
movss dword [ebp - 0x20], xmm6
movss dword [ebp - 0x1c], xmm1
jbe 0x1000d490
comiss xmm0, xmm3
jbe 0x1000d490
comiss xmm4, xmm2
jbe 0x1000d490
comiss xmm0, xmm4
jbe 0x1000d490
comiss xmm5, xmm2
jbe 0x1000d490
comiss xmm0, xmm5
ja 0x1000d79c
mulss xmm1, dword [0x1001fc3c]
cvtps2pd xmm0, xmm1
movss dword [ebp - 0x3c], xmm1
call sub.ApI_ms_WIn_CRt_mAth_l1_1_0.dLl__libm_sse2_sin_precise
movss xmm1, dword [ebp - 0x3c]
cvtsd2ss xmm0, xmm0
movss dword [ebp - 0x34], xmm0
cvtps2pd xmm0, xmm1
call sub.ApI_ms_WIn_CRt_mAth_l1_1_0.dLl__libm_sse2_cos_precise
xorps xmm2, xmm2
cvtsd2ss xmm2, xmm0
movss xmm0, dword [ebp - 0x24]
mulss xmm0, dword [0x1001fc3c]
movss dword [ebp - 0x4c], xmm2
movss dword [ebp - 0x24], xmm0
cvtps2pd xmm0, xmm0
call sub.ApI_ms_WIn_CRt_mAth_l1_1_0.dLl__libm_sse2_sin_precise
movss xmm6, dword [ebp - 0x24]
cvtsd2ss xmm0, xmm0
movss dword [ebp - 0x28], xmm0
cvtps2pd xmm0, xmm6
call sub.ApI_ms_WIn_CRt_mAth_l1_1_0.dLl__libm_sse2_cos_precise
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
xorps xmm0, xmm0
movss dword [ebp - 0x48], xmm1
call sub.ApI_ms_WIn_CRt_mAth_l1_1_0.dLl__libm_sse2_sin_precise
cvtsd2ss xmm0, xmm0
movss dword [ebp - 0x44], xmm0
xorps xmm0, xmm0
call sub.ApI_ms_WIn_CRt_mAth_l1_1_0.dLl__libm_sse2_cos_precise
movss xmm3, dword [ebp - 0x28]
xorps xmm1, xmm1
movss xmm4, dword [ebp - 0x34]
xorps xmm4, xmmword [0x1001fd90]
movss xmm7, dword [ebp - 0x4c]
movaps xmm6, xmm4
movss xmm2, dword [ebp - 0x48]
cvtsd2ss xmm1, xmm0
mulss xmm2, xmm7
movss dword [ebp - 0x3c], xmm1
movaps xmm5, xmm1
mulss xmm5, dword [0x1001fce8]
movss xmm1, dword [ebp - 0x44]
mulss xmm1, xmm3
mulss xmm6, xmm5
mulss xmm5, xmm7
movaps xmm0, xmm1
mulss xmm1, dword [ebp - 0x34]
mulss xmm0, xmm7
subss xmm5, xmm1
movss dword [ebp - 0x24], xmm2
movss xmm2, dword [ebp - 0x48]
mulss xmm2, dword [ebp - 0x34]
subss xmm6, xmm0
movss xmm0, dword [ebp - 0x44]
movss xmm1, dword [0x1001fc7c]
movaps xmm7, xmm0
mulss xmm7, dword [0x1001fce8]
movss dword [ebp - 0x2c], xmm5
movss xmm5, dword [ebp - 0x3c]
mulss xmm7, dword [ebp - 0x48]
mulss xmm5, xmm3
mulss xmm4, xmm0
mulss xmm0, dword [ebp - 0x4c]
movss dword [ebp - 0x38], xmm2
movaps xmm2, xmm3
xorps xmm2, xmmword [0x1001fd90]
movaps xmm3, xmm5
mulss xmm5, dword [ebp - 0x34]
mulss xmm3, dword [ebp - 0x4c]
subss xmm5, xmm0
movss dword [ebp - 0x28], xmm2
movss xmm2, dword [0x1001fc94]
movss xmm0, dword [ebp - 0x24]
subss xmm3, xmm4
movss xmm4, dword [ebp - 0x3c]
mulss xmm4, dword [ebp - 0x48]
mulss xmm0, xmm2
mulss xmm6, xmm1
subss xmm0, xmm6
movss dword [ebp - 0x24], xmm0
movss xmm0, dword [0x1001fc70]
movss xmm6, dword [ebp - 0x24]
mulss xmm3, xmm0
mulss xmm5, xmm0
subss xmm6, xmm3
mulss xmm7, xmm1
movss xmm3, dword [ebp - 0x2c]
mulss xmm3, xmm1
mulss xmm4, xmm0
xorps xmm0, xmm0
movss dword [ebp - 0x24], xmm6
movss xmm6, dword [ebp - 0x38]
mulss xmm6, xmm2
movss xmm1, dword [ebp - 0x24]
subss xmm6, xmm3
movss xmm3, dword [ebp - 0x28]
mulss xmm3, xmm2
subss xmm6, xmm5
subss xmm3, xmm7
ucomiss xmm6, xmm0
subss xmm3, xmm4
movss dword [ebp - 0x38], xmm6
lahf
movss dword [ebp - 0x28], xmm3
test ah, 0x44
jp 0x1000d6a5
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jp 0x1000d6a5
comiss xmm3, xmm0
xorps xmm2, xmm2
jbe 0x1000d698
movss xmm1, dword [0x1001fccc]
jmp 0x1000d78b
movss xmm1, dword [0x1001fcb8]
jmp 0x1000d78b
cvtps2pd xmm0, xmm6
movsd qword [ebp - 0x30], xmm0
fld qword [ebp - 0x30]
cvtps2pd xmm0, xmm1
movsd qword [ebp - 0x30], xmm0
fld qword [ebp - 0x30]
call sub.ApI_ms_WIn_CRt_mAth_l1_1_0.dLl__CIatan2
fstp qword [ebp - 0x30]
movsd xmm0, qword [ebp - 0x30]
xorps xmm1, xmm1
cvtpd2ps xmm0, xmm0
xor eax, eax
movss xmm2, dword [ebp - 0x28]
mulss xmm0, dword [0x1001fcac]
xorps xmm2, xmmword [0x1001fd90]
comiss xmm1, xmm0
xorps xmm1, xmm1
seta al
cvtsi2ss xmm1, eax
mulss xmm1, dword [0x1001fcd0]
addss xmm1, xmm0
xorps xmm0, xmm0
cvtss2sd xmm0, xmm2
movss xmm2, dword [ebp - 0x38]
movsd qword [ebp - 0x50], xmm0
movss xmm0, dword [ebp - 0x24]
mulss xmm0, xmm0
mulss xmm2, xmm2
movss dword [ebp - 0x2c], xmm1
xorps xmm1, xmm1
addss xmm2, xmm0
cvtps2pd xmm0, xmm2
ucomisd xmm1, xmm0
ja 0x1000d737
sqrtsd xmm0, xmm0
jmp 0x1000d73c
call sub.ApI_ms_WIn_CRt_mAth_l1_1_0.dLl__libm_sse2_sqrt_precise
fld qword [ebp - 0x50]
cvtsd2ss xmm0, xmm0
cvtss2sd xmm0, xmm0
movsd qword [ebp - 0x40], xmm0
fld qword [ebp - 0x40]
call sub.ApI_ms_WIn_CRt_mAth_l1_1_0.dLl__CIatan2
fstp qword [ebp - 0x40]
movsd xmm0, qword [ebp - 0x40]
xorps xmm1, xmm1
cvtpd2ps xmm0, xmm0
xor eax, eax
movss xmm2, dword [ebp - 0x2c]
mulss xmm0, dword [0x1001fcac]
comiss xmm1, xmm0
xorps xmm1, xmm1
seta al
cvtsi2ss xmm1, eax
mulss xmm1, dword [0x1001fcd0]
addss xmm1, xmm0
movss dword [ebp - 0x20], xmm1
movss dword [ebp - 0x1c], xmm2
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x20]
push eax
call fcn.10018710
movss xmm0, dword [ebp - 0x20]
movss dword [edi + 0xc], xmm0
movss xmm0, dword [ebp - 0x1c]
movss dword [edi + 0x10], xmm0
movss xmm0, dword [ebp - 0x18]
movss dword [edi + 0x14], xmm0
mov byte [0x10023f37], 1
jmp 0x1000d7d2
or eax, 4
mov dword [edi + 0x24], eax
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.1001a168
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc