Function at 0x1005af50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
mov eax, 0x30f8
call fcn.10104b80
mov eax, dword [0x10269840]
xor eax, esp
mov dword [esp + 0x30f4], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [esp + 0x58], eax
mov dword [esp + 0x98], edi
mov esi, dword [edi + 0x208]
mov dword [edi + 0x204], 0
mov dword [edi + 0x208], 0
test esi, esi
je 0x1005afbf
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x1005afbf
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x1005afbf
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
cmp byte [edi + 8], 0
mov byte [edi + 0x260], 0
je 0x1005c538
mov eax, dword [0x10269964]
mov ecx, dword [eax + 0x18c]
mov dword [esp + 0x10], ecx
test ecx, ecx
je 0x1005c538
cmp dword [eax + 0x190], 0
je 0x1005c538
mov ecx, dword [0x10269a0c]
test cl, 1
jne 0x1005b088
mov esi, dword [0x10269968]
or ecx, 1
push 0xb
mov dword [0x10269a0c], ecx
lea ecx, [esp + 0x24]
vpxor xmm0, xmm0, xmm0
push str.m_bInReload
vmovdqu xmmword [esp + 0x28], xmm0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
call fcn.10002ab0
lea eax, [esp + 0x20]
mov ecx, esi
push eax
call fcn.10006660
mov ecx, dword [esp + 0x34]
mov dword [0x10269a08], eax
cmp ecx, 0xf
jbe 0x1005b083
mov edx, dword [esp + 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005b079
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005c3f1
push ecx
push edx
call fcn.101042db
add esp, 8
mov eax, dword [0x10269964]
mov ecx, dword [0x10269a08]
mov edx, dword [esp + 0x10]
mov ecx, dword [ecx + 4]
cmp byte [edx + ecx], 0
jne 0x1005c538
mov ecx, dword [eax + 0x190]
mov ecx, dword [ecx + 0xcc]
sub ecx, 2
cmp ecx, 5
jbe 0x1005b160
mov eax, dword [eax + 0x18c]
mov dword [esp + 0x10], eax
mov eax, dword [0x102699e4]
test al, 1
jne 0x1005b149
mov esi, dword [0x10269968]
lea ecx, [esp + 0x20]
push 0x2d
or eax, 1
mov dword [esp + 0x34], 0
vpxor xmm0, xmm0, xmm0
push str.CBaseAttributableItem__m_iItemDefinitionIndex
mov dword [0x102699e4], eax
vmovdqu xmmword [esp + 0x28], xmm0
mov dword [esp + 0x3c], 0
call fcn.10002ab0
lea eax, [esp + 0x20]
mov ecx, esi
push eax
call fcn.10006660
mov ecx, dword [esp + 0x34]
mov dword [0x102699e0], eax
cmp ecx, 0xf
jbe 0x1005b149
mov edx, dword [esp + 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005b13f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005c3f1
push ecx
push edx
call fcn.101042db
add esp, 8
mov eax, dword [0x102699e0]
mov ecx, dword [esp + 0x10]
mov eax, dword [eax + 4]
cmp word [ecx + eax], 0x1f
jne 0x1005c538
mov eax, dword [0x102699d4]
mov ecx, dword [0x10269e40]
mov eax, dword [eax]
mov dword [esp + 0x10], eax
test cl, 1
jne 0x1005b200
mov esi, dword [0x10269968]
or ecx, 1
push 0xa
mov dword [0x10269e40], ecx
lea ecx, [esp + 0x24]
vpxor xmm0, xmm0, xmm0
push str.m_MoveType
vmovdqu xmmword [esp + 0x28], xmm0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
call fcn.10002ab0
lea eax, [esp + 0x20]
mov ecx, esi
push eax
call fcn.10006660
mov ecx, dword [esp + 0x34]
mov dword [0x10269e3c], eax
cmp ecx, 0xf
jbe 0x1005b1fa
mov edx, dword [esp + 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005b1f0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005c3f1
push ecx
push edx
call fcn.101042db
add esp, 8
mov ecx, dword [0x10269e40]
mov eax, dword [0x10269e3c]
mov edx, dword [esp + 0x10]
mov eax, dword [eax + 4]
cmp byte [edx + eax], 9
je 0x1005c538
mov eax, dword [0x102699d4]
mov eax, dword [eax]
mov dword [esp + 0x10], eax
test cl, 1
jne 0x1005b2aa
mov esi, dword [0x10269968]
or ecx, 1
push 0xa
mov dword [0x10269e40], ecx
lea ecx, [esp + 0x24]
vpxor xmm0, xmm0, xmm0
push str.m_MoveType
vmovdqu xmmword [esp + 0x28], xmm0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
call fcn.10002ab0
lea eax, [esp + 0x20]
mov ecx, esi
push eax
call fcn.10006660
mov ecx, dword [esp + 0x34]
mov dword [0x10269e3c], eax
cmp ecx, 0xf
jbe 0x1005b2aa
mov edx, dword [esp + 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005b2a0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005c3f1
push ecx
push edx
call fcn.101042db
add esp, 8
mov eax, dword [0x10269e3c]
mov ecx, dword [esp + 0x10]
mov eax, dword [eax + 4]
cmp byte [ecx + eax], 8
je 0x1005c538
mov eax, dword [0x10269a34]
mov ecx, edi
mov byte [eax + 0x4e], 1
call fcn.100573a0
mov ecx, edi
call fcn.1005f070
mov eax, dword [esp + 0x58]
mov ecx, edi
push dword [eax + 4]
call fcn.10061bd0
mov esi, eax
mov dword [esp + 0x5c], esi
test esi, esi
je 0x1005c52d
mov ecx, dword [0x10269964]
mov eax, dword [esp + 0x58]
or byte [ecx + 0x188], 0x20
mov ecx, edi
push dword [eax + 4]
push esi
call fcn.1005ffd0
mov dword [esp + 0x94], eax
test eax, eax
je 0x1005c52d
cmp byte [eax + 0x25], 0
je 0x1005c52d
mov ecx, dword [esi]
lea eax, [esp + 0xe8]
vxorps xmm0, xmm0, xmm0
push 0x3000
push 0
mov esi, dword [ecx]
push eax
mov dword [esp + 0x18], esi
vmovss dword [esp + 0x98], xmm0
vmovups xmmword [esp + 0xb4], xmm0
vmovss dword [esp + 0xcc], xmm0
vmovss dword [esp + 0xc8], xmm0
vmovss dword [esp + 0xc4], xmm0
vmovss dword [esp + 0xd8], xmm0
vmovss dword [esp + 0xd4], xmm0
vmovss dword [esp + 0xd0], xmm0
vmovss dword [esp + 0xe4], xmm0
vmovss dword [esp + 0xe0], xmm0
vmovss dword [esp + 0xdc], xmm0
vmovss dword [esp + 0xf0], xmm0
vmovss dword [esp + 0xec], xmm0
vmovss dword [esp + 0xe8], xmm0
call sub.VCRUNTIME140.dll_memset
mov eax, dword [0x10269e10]
add esp, 0xc
mov dword [esp + 0x30e8], 0
mov dword [esp + 0x30f4], 0
test al, 1
jne 0x1005b46f
mov esi, dword [0x10269968]
lea ecx, [esp + 0x20]
push 0x16
or eax, 1
mov dword [esp + 0x34], 0
vpxor xmm0, xmm0, xmm0
push str.CCSPlayer__m_bIsScoped
mov dword [0x10269e10], eax
vmovdqu xmmword [esp + 0x28], xmm0
mov dword [esp + 0x3c], 0
call fcn.10002ab0
lea eax, [esp + 0x20]
mov ecx, esi
push eax
call fcn.10006660
mov ecx, dword [esp + 0x34]
mov dword [0x10269e0c], eax
cmp ecx, 0xf
jbe 0x1005b46b
mov edx, dword [esp + 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005b461
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005c3f1
push ecx
push edx
call fcn.101042db
add esp, 8
mov esi, dword [esp + 0xc]
mov eax, dword [0x10269e0c]
mov eax, dword [eax + 4]
mov eax, dword [eax + esi - 0x14]
test eax, eax
je 0x1005b490
vmovss xmm0, dword [eax + 0x80]
vmovss dword [esp + 0xa8], xmm0
mov eax, dword [0x10269de0]
test al, 1
jne 0x1005b51f
or dword [0x10269de0], 1
lea ecx, [esp + 0x20]
mov esi, dword [0x10269968]
push 0x18
vpxor xmm0, xmm0, xmm0
push str.CBaseEntity__m_vecOrigin
vmovdqu xmmword [esp + 0x28], xmm0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
call fcn.10002ab0
lea eax, [esp + 0x20]
mov ecx, esi
push eax
call fcn.10006660
mov ecx, dword [esp + 0x34]
mov dword [0x10269ddc], eax
cmp ecx, 0xf
jbe 0x1005b51b
mov edx, dword [esp + 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005b511
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005c3f1
push ecx
push edx
call fcn.101042db
add esp, 8
mov esi, dword [esp + 0xc]
mov eax, dword [0x10269ddc]
mov eax, dword [eax + 4]
vmovq xmm0, qword [eax + esi]
vmovq qword [esp + 0xac], xmm0
mov eax, dword [eax + esi + 8]
mov dword [esp + 0xb4], eax
mov eax, dword [0x10269de8]
test al, 1
jne 0x1005b5d0
mov esi, dword [0x10269968]
lea ecx, [esp + 0x20]
push 0xe
or eax, 1
mov dword [esp + 0x34], 0
vpxor xmm0, xmm0, xmm0
push str.m_vecAbsOrigin
mov dword [0x10269de8], eax
vmovdqu xmmword [esp + 0x28], xmm0
mov dword [esp + 0x3c], 0
call fcn.10002ab0
lea eax, [esp + 0x20]
mov ecx, esi
push eax
call fcn.10006660
mov ecx, dword [esp + 0x34]
mov dword [0x10269de4], eax
cmp ecx, 0xf
jbe 0x1005b5cc
mov edx, dword [esp + 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005b5c2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005c3f1
push ecx
push edx
call fcn.101042db
add esp, 8
mov esi, dword [esp + 0xc]
mov eax, dword [0x10269de4]
mov eax, dword [eax + 4]
vmovq xmm0, qword [eax + esi]
vmovq qword [esp + 0xb8], xmm0
mov eax, dword [eax + esi + 8]
mov dword [esp + 0xc0], eax
mov eax, dword [0x10269df8]
test al, 1
jne 0x1005b681
mov esi, dword [0x10269968]
lea ecx, [esp + 0x20]
push 0x16
or eax, 1
mov dword [esp + 0x34], 0
vpxor xmm0, xmm0, xmm0
push str.CBaseEntity__m_vecMins
mov dword [0x10269df8], eax
vmovdqu xmmword [esp + 0x28], xmm0
mov dword [esp + 0x3c], 0
call fcn.10002ab0
lea eax, [esp + 0x20]
mov ecx, esi
push eax
call fcn.10006660
mov ecx, dword [esp + 0x34]
mov dword [0x10269df4], eax
cmp ecx, 0xf
jbe 0x1005b67d
mov edx, dword [esp + 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005b673
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005c3f1
push ecx
push edx
call fcn.101042db
add esp, 8
mov esi, dword [esp + 0xc]
mov eax, dword [0x10269df4]
mov eax, dword [eax + 4]
vmovq xmm0, qword [eax + esi]
vmovq qword [esp + 0xc4], xmm0
mov eax, dword [eax + esi + 8]
mov dword [esp + 0xcc], eax
mov eax, dword [0x10269e00]
test al, 1
jne 0x1005b732
mov esi, dword [0x10269968]
lea ecx, [esp + 0x20]
push 0x16
or eax, 1
mov dword [esp + 0x34], 0
vpxor xmm0, xmm0, xmm0
push str.CBaseEntity__m_vecMaxs
mov dword [0x10269e00], eax
vmovdqu xmmword [esp + 0x28], xmm0
mov dword [esp + 0x3c], 0
call fcn.10002ab0
lea eax, [esp + 0x20]
mov ecx, esi
push eax
call fcn.10006660
mov ecx, dword [esp + 0x34]
mov dword [0x10269dfc], eax
cmp ecx, 0xf
jbe 0x1005b72e
mov edx, dword [esp + 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005b724
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005c3f1
push ecx
push edx
call fcn.101042db
add esp, 8
mov esi, dword [esp + 0xc]
mov eax, dword [0x10269dfc]
mov eax, dword [eax + 4]
vmovq xmm0, qword [eax + esi]
vmovq qword [esp + 0xd0], xmm0
mov eax, dword [eax + esi + 8]
mov dword [esp + 0xd8], eax
vmovq xmm0, qword [esi + 0xc4]
vmovq qword [esp + 0xdc], xmm0
mov eax, dword [esi + 0xcc]
mov dword [esp + 0xe4], eax
mov eax, dword [esi + 0x26ac]
mov dword [esp + 0x30ec], eax
mov eax, dword [esi + 0x26b0]
mov dword [esp + 0x30f0], eax
mov eax, dword [esi + 0x2920]
lea eax, [eax + eax*2]
shl eax, 4
push eax
push dword [esi + 0x2914]
lea eax, [esp + 0xf0]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esi + 0x2920]
add esp, 0xc
mov dword [esp + 0x30e8], eax
mov eax, dword [esi + 0x2690]
mov dword [esp + 0x30f4], eax
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax + 4]
lea esi, [eax + 4]
mov dword [esp + 0xa4], esi
mov dword [esp + 0x90], ecx
mov eax, dword [eax]
mov edx, dword [ecx + 0x14]
mov dword [esp + 0x18], edx
mov esi, dword [eax]
lea eax, [ecx + 0x58]
vmovq xmm0, qword [eax]
mov dword [esp + 0x4c], eax
mov eax, dword [eax + 8]
mov dword [esp + 0x10], eax
mov eax, dword [0x10269de0]
mov dword [esp + 0xc], esi
vmovq qword [esp + 0x50], xmm0
test al, 1
jne 0x1005b89c
or dword [0x10269de0], 1
lea ecx, [esp + 0x20]
mov esi, dword [0x10269968]
push 0x18
vpxor xmm0, xmm0, xmm0
push str.CBaseEntity__m_vecOrigin
vmovdqu xmmword [esp + 0x28], xmm0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
call fcn.10002ab0
lea eax, [esp + 0x20]
mov ecx, esi
push eax
call fcn.10006660
mov ecx, dword [esp + 0x34]
mov dword [0x10269ddc], eax
cmp ecx, 0xf
jbe 0x1005b892
mov edx, dword [esp + 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005b888
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005c3f1
push ecx
push edx
call fcn.101042db
add esp, 8
mov esi, dword [esp + 0xc]
vmovq xmm0, qword [esp + 0x50]
mov eax, dword [0x10269ddc]
mov ecx, dword [esp + 0x10]
push dword [esp + 0x4c]
mov eax, dword [eax + 4]
vmovq qword [eax + esi], xmm0
mov dword [eax + esi + 8], ecx
mov ecx, esi
mov eax, dword [0x10269964]
mov eax, dword [eax + 0x24]
call eax
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x550]
call eax
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0xc]
call eax
mov edx, eax
test edx, edx
je 0x1005b92f
mov ecx, dword [esp + 0x90]
vmovss xmm0, dword [esi + 0x9920]
vmovss dword [esp + 0x4c], xmm0
vmovss xmm0, dword [esi + 0x9924]
lea eax, [ecx + 0x70]
push eax
lea eax, [ecx + 0x64]
mov ecx, edx
push eax
mov eax, dword [0x10269964]
vmovss dword [esp + 0x18], xmm0
mov eax, dword [eax + 0x34]
call eax
vmovss xmm0, dword [esp + 0x4c]
vmovss dword [esi + 0x9920], xmm0
vmovss xmm0, dword [esp + 0x10]
vmovss dword [esi + 0x9924], xmm0
mov eax, dword [esp + 0x18]
cmp eax, 3
jae 0x1005c54e
mov esi, dword [esp + 0x90]
vmovss xmm1, dword [esp + 0x8c]
mov ecx, dword [esp + 0xc]
add esi, 0x378
imul eax, eax, 0x32f0
add esi, eax
lea eax, [esp + 0x20]
push eax
mov eax, dword [0x10269964]
vmovss dword [esp + 0x24], xmm1
vmovss xmm0, dword [esi + 0x3004]
vmovss dword [esp + 0x28], xmm0
vmovss dword [esp + 0x2c], xmm1
mov eax, dword [eax + 0x20]
call eax
mov eax, dword [esi + 0x3000]
lea eax, [eax + eax*2]
shl eax, 4
push eax
push esi
mov esi, dword [esp + 0x14]
push dword [esi + 0x2914]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [0x10269964]
add esp, 0xc
mov eax, dword [eax + 0x38]
mov eax, dword [eax + 0xa]
mov eax, dword [eax]
mov dword [esi + 0x2690], eax
mov ecx, dword [0x10269a40]
call fcn.10071af0
mov ecx, dword [esp + 0x94]
mov eax, dword [0x10269964]
vmovss xmm5, dword [0x1016f178]
vmovss xmm2, dword [0x10129e20]
vmovss xmm0, dword [ecx]
vsubss xmm3, xmm0, dword [eax + 0x144]
vmovss xmm0, dword [ecx + 4]
vsubss xmm1, xmm0, dword [eax + 0x148]
vmovss xmm0, dword [ecx + 8]
vsubss xmm4, xmm0, dword [eax + 0x14c]
vmovss xmm0, dword [esp + 0x8c]
vucomiss xmm3, xmm0
vmovss dword [esp + 0x10], xmm3
lahf
vmovss dword [esp + 0x4c], xmm1
vmovss dword [esp + 0x18], xmm4
test ah, 0x44
jp 0x1005ba58
vucomiss xmm1, xmm0
lahf
test ah, 0x44
jp 0x1005ba58
vcomiss xmm4, xmm0
vmovss dword [esp + 0xc], xmm0
jbe 0x1005ba4f
vmovss xmm1, dword [0x1016f184]
jmp 0x1005bb47
vmovaps xmm1, xmm5
jmp 0x1005bb47
vcvtss2sd xmm0, xmm1, xmm1
vmovsd qword [esp + 0x50], xmm0
fld qword [esp + 0x50]
vcvtss2sd xmm0, xmm3, xmm3
vmovsd qword [esp + 0x50], xmm0
fld qword [esp + 0x50]
call sub.api_ms_win_crt_math_l1_1_0.dll__CIatan2
fstp qword [esp + 0x50]
vmovsd xmm0, qword [esp + 0x50]
vcvtpd2ps xmm0, xmm0
vmulss xmm1, xmm0, dword [0x1016f16c]
vmovss xmm0, dword [esp + 0x8c]
vcomiss xmm0, xmm1
vmovss dword [esp + 0xc], xmm1
jbe 0x1005bab2
vaddss xmm1, xmm1, dword [0x10129e20]
vmovss dword [esp + 0xc], xmm1
vmovss xmm0, dword [esp + 0x18]
vxorps xmm0, xmm0, xmmword [0x101253e0]
vcvtss2sd xmm0, xmm0, xmm0
vmovsd qword [esp + 0x18], xmm0
vmovss xmm0, dword [esp + 0x4c]
vmulss xmm1, xmm0, xmm0
vmovss xmm0, dword [esp + 0x10]
vmulss xmm0, xmm0, xmm0
vaddss xmm0, xmm1, xmm0
vcvtss2sd xmm0, xmm0, xmm0
vxorpd xmm1, xmm1, xmm1
vucomisd xmm1, xmm0
ja 0x1005baf6
vsqrtsd xmm0, xmm0, xmm0
jmp 0x1005bafb
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sqrt_precise
fld qword [esp + 0x18]
vcvtsd2ss xmm0, xmm0, xmm0
vcvtss2sd xmm0, xmm0, xmm0
vmovsd qword [esp + 0x50], xmm0
fld qword [esp + 0x50]
call sub.api_ms_win_crt_math_l1_1_0.dll__CIatan2
vmovss xmm2, dword [0x10129e20]
fstp qword [esp + 0x50]
vmovsd xmm0, qword [esp + 0x50]
vcvtpd2ps xmm0, xmm0
vmulss xmm1, xmm0, dword [0x1016f16c]
vmovss xmm0, dword [esp + 0x8c]
vcomiss xmm0, xmm1
jbe 0x1005bb47
vaddss xmm1, xmm1, xmm2
sub esp, 8
vmovss dword [esp + 4], xmm2
vmovss dword [esp], xmm1
call dword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_remainderf]
vmovss xmm0, dword [0x10129e20]
vmovss dword [esp + 4], xmm0
vmovss xmm0, dword [esp + 0x14]
fstp dword [esp + 0x28]
vmovss dword [esp], xmm0
call dword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_remainderf]
fstp dword [esp + 0x14]
vmovss xmm0, dword [esp + 0x14]
vmovss dword [esp + 0x2c], xmm0
vmovss xmm0, dword [0x10129e20]
vmovss dword [esp + 4], xmm0
vmovss xmm0, dword [esp + 0x94]
vmovss dword [esp], xmm0
call dword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_remainderf]
mov eax, dword [0x10269964]
add esp, 8
fstp dword [esp + 0x10]
vmovss xmm0, dword [esp + 0x10]
vmovss dword [esp + 0x28], xmm0
mov eax, dword [eax + 0x18c]
mov dword [esp + 0x18], eax
mov eax, dword [0x102699e4]
test al, 1
jne 0x1005bc5a
mov esi, dword [0x10269968]
lea ecx, [esp + 0x60]
push 0x2d
or eax, 1
mov dword [esp + 0x74], 0
vpxor xmm0, xmm0, xmm0
push str.CBaseAttributableItem__m_iItemDefinitionIndex
mov dword [0x102699e4], eax
vmovdqu xmmword [esp + 0x68], xmm0
mov dword [esp + 0x7c], 0
call fcn.10002ab0
lea eax, [esp + 0x60]
mov ecx, esi
push eax
call fcn.10006660
mov ecx, dword [esp + 0x74]
mov dword [0x102699e0], eax
cmp ecx, 0xf
jbe 0x1005bc5a
mov edx, dword [esp + 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005bc50
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005c3f1
push ecx
push edx
call fcn.101042db
add esp, 8
mov eax, dword [0x102699e0]
mov ecx, dword [esp + 0x18]
mov eax, dword [eax + 4]
movzx eax, word [ecx + eax]
mov dword [esp + 0x90], eax
mov eax, dword [0x102699d4]
mov eax, dword [eax]
mov dword [esp + 0x18], eax
mov eax, dword [0x10269a2c]
test al, 1
jne 0x1005bd04
mov esi, dword [0x10269968]
lea ecx, [esp + 0x60]
push 0xe
or eax, 1
mov dword [esp + 0x74], 0
vpxor xmm0, xmm0, xmm0
push str.m_flNextAttack
mov dword [0x10269a2c], eax
vmovdqu xmmword [esp + 0x68], xmm0
mov dword [esp + 0x7c], 0
call fcn.10002ab0
lea eax, [esp + 0x60]
mov ecx, esi
push eax
call fcn.10006660
mov ecx, dword [esp + 0x74]
mov dword [0x10269a28], eax
cmp ecx, 0xf
jbe 0x1005bd04
mov edx, dword [esp + 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005bcfa
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005c3f1
push ecx
push edx
call fcn.101042db
add esp, 8
mov eax, dword [0x10269a28]
mov ecx, dword [eax + 4]
mov eax, dword [0x10269970]
vmovss xmm0, dword [eax + 0x10]
mov eax, dword [esp + 0x18]
vcomiss xmm0, dword [eax + ecx]
jb 0x1005bde7
call fcn.10057a70
cmp eax, 1
je 0x1005bdc3
call fcn.10057a70
cmp eax, 2
jne 0x1005bde7
mov eax, dword [esp + 0x5c]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [esp + 0x18], eax
mov eax, dword [0x10269a24]
test al, 1
jne 0x1005bda8
mov esi, dword [0x10269968]
lea ecx, [esp + 0x60]
push 0x16
or eax, 1
mov dword [esp + 0x74], 0
vpxor xmm0, xmm0, xmm0
push str.CBasePlayer__m_iHealth
mov dword [0x10269a24], eax
vmovdqu xmmword [esp + 0x68], xmm0
mov dword [esp + 0x7c], 0
call fcn.10002ab0
lea eax, [esp + 0x60]
mov ecx, esi
push eax
call fcn.10006660
lea ecx, [esp + 0x60]
mov dword [0x10269a20], eax
call fcn.100054d0
mov eax, dword [0x10269a20]
mov edx, dword [esp + 0x18]
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0x94]
mov eax, dword [eax + 0x10]
cmp eax, dword [edx + ecx]
jl 0x1005bde7
mov eax, dword [0x10269964]
test byte [eax + 0x188], 4
je 0x1005bdd9
call fcn.1005abd0
inc eax
jmp 0x1005bdde
call fcn.1005a850
mov ecx, dword [0x10269a34]
mov dword [ecx + 0x48], eax
mov eax, dword [0x10269964]
test byte [eax + 0x188], 4
je 0x1005c347
cmp byte [edi + 0xa], 0
je 0x1005bf6e
mov eax, dword [esp + 0x90]
cmp ax, 0xb
je 0x1005be32
cmp ax, 0x26
je 0x1005be32
cmp ax, 9
je 0x1005be32
cmp ax, 8
je 0x1005be32
cmp ax, 0x27
je 0x1005be32
cmp ax, 0x28
jne 0x1005bf6e
mov eax, dword [0x102699d4]
mov eax, dword [eax]
mov dword [esp + 0x18], eax
mov eax, dword [0x10269e48]
test al, 1
jne 0x1005bec5
mov esi, dword [0x10269968]
lea ecx, [esp + 0x60]
push 0x16
or eax, 1
mov dword [esp + 0x74], 0
vpxor xmm0, xmm0, xmm0
push str.CCSPlayer__m_bIsScoped
mov dword [0x10269e48], eax
vmovdqu xmmword [esp + 0x68], xmm0
mov dword [esp + 0x7c], 0
call fcn.10002ab0
lea eax, [esp + 0x60]
mov ecx, esi
push eax
call fcn.10006660
mov ecx, dword [esp + 0x74]
mov dword [0x10269e44], eax
cmp ecx, 0xf
jbe 0x1005bec5
mov edx, dword [esp + 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005bebb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005c3f1
push ecx
push edx
call fcn.101042db
add esp, 8
mov eax, dword [0x10269e44]
mov ecx, dword [esp + 0x18]
mov eax, dword [eax + 4]
cmp byte [ecx + eax], 0
jne 0x1005bf6e
mov eax, dword [0x102699d4]
mov eax, dword [eax]
mov dword [esp + 0x18], eax
mov eax, dword [0x102699dc]
test al, 1
jne 0x1005bf41
mov esi, dword [0x10269968]
lea ecx, [esp + 0x60]
push 0x15
or eax, 1
mov dword [esp + 0x74], 0
vpxor xmm0, xmm0, xmm0
push str.CBasePlayer__m_fFlags
mov dword [0x102699dc], eax
vmovdqu xmmword [esp + 0x68], xmm0
mov dword [esp + 0x7c], 0
call fcn.10002ab0
lea eax, [esp + 0x60]
mov ecx, esi
push eax
call fcn.10006660
lea ecx, [esp + 0x60]
mov dword [0x102699d8], eax
call fcn.100054d0
mov eax, dword [0x102699d8]
mov ecx, dword [esp + 0x18]
mov eax, dword [eax + 4]
test byte [ecx + eax], 1
je 0x1005bf6e
mov eax, dword [0x10269a40]
test byte [eax + 0x38], 2
jne 0x1005bf6e
mov eax, dword [esp + 0x58]
or dword [eax + 0x30], 0x800
jmp 0x1005c347
push dword [esp + 0x94]
lea eax, [esp + 0x24]
mov ecx, edi
push eax
push dword [esp + 0x64]
call fcn.10055bb0
cmp word [esp + 0x90], 0x1f
mov esi, eax
mov dword [esp + 0x50], esi
jne 0x1005bfa0
vmovss xmm1, dword [0x1016f170]
jmp 0x1005bfaf
call fcn.100588b0
fstp dword [esp + 0x18]
vmovss xmm1, dword [esp + 0x18]
vxorps xmm0, xmm0, xmm0
vcvtsi2ss xmm0, xmm0, esi
vcomiss xmm0, xmm1
jb 0x1005c319
mov eax, dword [0x10269964]
mov ecx, dword [eax + 0x114]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [esp + 0x18], eax
call dword [esp + 0x18]
mov eax, dword [0x102699d4]
fstp dword [esp + 0x18]
mov edi, dword [eax]
mov eax, dword [0x10269e38]
test al, 1
jne 0x1005c06c
mov esi, dword [0x10269968]
lea ecx, [esp + 0x60]
push 0x1c
or eax, 1
mov dword [esp + 0x74], 0
vpxor xmm0, xmm0, xmm0
push str.CBasePlayer__m_aimPunchAngle
mov dword [0x10269e38], eax
vmovdqu xmmword [esp + 0x68], xmm0
mov dword [esp + 0x7c], 0
call fcn.10002ab0
lea eax, [esp + 0x60]
mov ecx, esi
push eax
call fcn.10006660
mov ecx, dword [esp + 0x74]
mov dword [0x10269e34], eax
cmp ecx, 0xf
jbe 0x1005c06c
mov edx, dword [esp + 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005c062
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005c3f1
push ecx
push edx
call fcn.101042db
add esp, 8
mov eax, dword [0x10269e34]
sub esp, 8
vmovss xmm2, dword [esp + 0x20]
vmovss xmm0, dword [esp + 0x28]
mov eax, dword [eax + 4]
add eax, edi
mov edi, dword [esp + 0x60]
vmulss xmm1, xmm2, dword [eax]
vmovss xmm3, dword [eax + 4]
vmovss xmm4, dword [eax + 8]
vsubss xmm0, xmm0, xmm1
vmovss dword [edi + 0xc], xmm0
vmovss xmm1, dword [esp + 0x14]
vmulss xmm0, xmm2, xmm3
vsubss xmm0, xmm1, xmm0
vmovss dword [edi + 0x10], xmm0
vmovss xmm1, dword [esp + 0x18]
vmulss xmm0, xmm2, xmm4
vsubss xmm0, xmm1, xmm0
vmovss dword [edi + 0x14], xmm0
vmovss xmm1, dword [0x10129e20]
vmovss xmm0, dword [edi + 0xc]
vmovss dword [esp + 4], xmm1
vmovss dword [esp], xmm0
call dword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_remainderf]
vmovss xmm1, dword [0x10129e20]
lea esi, [edi + 0x10]
vmovss xmm0, dword [esi]
vmovss dword [esp + 4], xmm1
fstp dword [edi + 0xc]
vmovss dword [esp], xmm0
call dword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_remainderf]
vmovss xmm0, dword [0x10129e20]
add edi, 0x14
vmovss dword [esp + 4], xmm0
fstp dword [esi]
vmovss xmm0, dword [edi]
vmovss dword [esp], xmm0
call dword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_remainderf]
mov edx, dword [esp + 0x60]
lea ecx, [esp + 0x20]
vmovss xmm0, dword [0x1016f190]
vmovss xmm2, dword [0x1016f174]
add edx, 0xc
lea eax, [esp + 0x54]
fstp dword [esp + 0x20]
vmovss xmm3, dword [esp + 0x20]
add esp, 8
vmovss dword [edi], xmm3
vmovss xmm1, dword [edx]
vcomiss xmm0, xmm1
vmovss dword [esp + 0x18], xmm0
vmovss xmm0, dword [0x1016f198]
cmovbe ecx, edx
vcomiss xmm1, xmm2
vmovss dword [esp + 0x4c], xmm2
vmovss xmm2, dword [0x1016f17c]
cmovbe eax, ecx
lea ecx, [esp + 0x18]
mov eax, dword [eax]
mov dword [edx], eax
lea eax, [esp + 0x4c]
vmovss xmm1, dword [esi]
vcomiss xmm0, xmm1
vmovss dword [esp + 0x18], xmm0
vmovss xmm0, dword [0x1016f194]
cmovbe ecx, esi
vcomiss xmm1, xmm2
vmovss xmm1, dword [0x1016f178]
cmovbe eax, ecx
lea ecx, [esp + 0x18]
vcomiss xmm0, xmm3
vmovss dword [esp + 0x4c], xmm2
cmovbe ecx, edi
mov eax, dword [eax]
mov dword [esi], eax
lea eax, [esp + 0x4c]
vcomiss xmm3, xmm1
vmovss dword [esp + 0x4c], xmm1
vmovss dword [esp + 0x18], xmm0
cmovbe eax, ecx
mov eax, dword [eax]
mov ecx, dword [esp + 0x58]
mov esi, dword [esp + 0xa4]
mov dword [edi], eax
mov edx, dword [esp + 0x5c]
or dword [ecx + 0x30], 1
mov eax, dword [0x10269a30]
mov edi, dword [esp + 0x98]
mov byte [eax + 0x41], 0
mov eax, dword [esi]
vmovss xmm0, dword [eax + 0x24]
mov eax, dword [0x10269964]
vaddss xmm0, xmm0, dword [eax + 0x124]
mov eax, dword [0x10269970]
vdivss xmm0, xmm0, dword [eax + 0x20]
vaddss xmm0, xmm0, dword [0x101252a8]
vcvttss2si eax, xmm0
mov dword [ecx + 8], eax
mov eax, dword [edx]
mov dword [edi + 0x200], eax
mov eax, dword [esi + 4]
test eax, eax
je 0x1005c24e
lock inc dword [eax + 4]
mov ecx, dword [esi + 4]
mov eax, dword [esi]
mov esi, dword [edi + 0x208]
mov dword [edi + 0x204], eax
mov dword [edi + 0x208], ecx
test esi, esi
je 0x1005c28e
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x1005c28e
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x1005c28a
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov edx, dword [esp + 0x5c]
mov ecx, dword [esp + 0x94]
mov eax, dword [ecx + 0x2c]
mov dword [edi + 0x20c], eax
mov eax, dword [ecx + 0x10]
mov dword [edi + 0x210], eax
mov eax, dword [esp + 0x50]
mov dword [edi + 0x218], eax
vmovdqu ymm0, ymmword [ecx]
vmovdqu ymmword [edi + 0x21c], ymm0
vmovdqu xmm0, xmmword [ecx + 0x20]
vmovdqu xmmword [edi + 0x23c], xmm0
vmovq xmm0, qword [ecx + 0x30]
vmovq qword [edi + 0x24c], xmm0
mov eax, dword [ecx + 0x18]
mov dword [edi + 0x214], eax
mov eax, dword [0x10269964]
mov byte [eax + 0x140], 1
mov eax, dword [0x10269964]
or byte [eax + 0x188], 0x10
mov ecx, dword [0x10269a58]
cmp byte [ecx + 0xb6], 0
je 0x1005c347
mov eax, dword [edx]
lea esi, [edx + 4]
push esi
push dword [eax]
vzeroupper
call fcn.10092410
jmp 0x1005c347
mov eax, dword [esp + 0x58]
test byte [eax + 0x30], 2
jne 0x1005c347
mov eax, dword [0x10269964]
test byte [eax + 0x188], 4
je 0x1005c339
call fcn.1005abd0
inc eax
jmp 0x1005c33e
call fcn.1005a850
mov ecx, dword [0x10269a34]
mov dword [ecx + 0x48], eax
mov eax, dword [esp + 0x5c]
vmovq xmm0, qword [esp + 0xac]
vmovq qword [esp + 0x98], xmm0
mov eax, dword [eax]
mov esi, dword [eax]
mov eax, dword [esp + 0xb4]
mov dword [esp + 0x50], eax
mov eax, dword [0x10269de0]
mov dword [esp + 0x10], esi
test al, 1
jne 0x1005c40e
mov esi, dword [0x10269968]
lea ecx, [esp + 0x60]
vpxor xmm0, xmm0, xmm0
or eax, 1
mov dword [esp + 0x70], 0
push 0x18
mov dword [0x10269de0], eax
vmovdqu xmmword [esp + 0x64], xmm0
mov dword [esp + 0x78], 0
push str.CBaseEntity__m_vecOrigin
vzeroupper
call fcn.10002ab0
lea eax, [esp + 0x60]
mov ecx, esi
push eax
call fcn.10006660
mov ecx, dword [esp + 0x74]
mov dword [0x10269ddc], eax
cmp ecx, 0xf
jbe 0x1005c401
mov edx, dword [esp + 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005c3f7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1005c3f7
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.101042db
add esp, 8
mov esi, dword [esp + 0x10]
vmovq xmm0, qword [esp + 0x98]
mov eax, dword [0x10269ddc]
mov ecx, dword [esp + 0x50]
mov eax, dword [eax + 4]
vmovq qword [eax + esi], xmm0
mov dword [eax + esi + 8], ecx
lea eax, [esp + 0xb8]
push eax
mov eax, dword [0x10269964]
mov ecx, esi
mov eax, dword [eax + 0x24]
vzeroupper
call eax
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x550]
call eax
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0xc]
call eax
test eax, eax
je 0x1005c4ad
vmovss xmm0, dword [esi + 0x9920]
lea ecx, [esp + 0xd0]
push ecx
lea ecx, [esp + 0xc8]
push ecx
mov ecx, eax
mov eax, dword [0x10269964]
vmovss dword [esp + 0x58], xmm0
vmovss xmm0, dword [esi + 0x9924]
vmovss dword [esp + 0xa0], xmm0
mov eax, dword [eax + 0x34]
call eax
vmovss xmm0, dword [esp + 0x50]
vmovss dword [esi + 0x9920], xmm0
vmovss xmm0, dword [esp + 0x98]
vmovss dword [esi + 0x9924], xmm0
vmovss xmm1, dword [esp + 0x8c]
vmovss xmm0, dword [esp + 0xa8]
lea eax, [esp + 0x20]
mov ecx, esi
push eax
mov eax, dword [0x10269964]
vmovss dword [esp + 0x24], xmm1
vmovss dword [esp + 0x28], xmm0
vmovss dword [esp + 0x2c], xmm1
mov eax, dword [eax + 0x20]
call eax
mov eax, dword [esp + 0x30ec]
mov dword [esi + 0x26ac], eax
mov eax, dword [esp + 0x30f0]
mov dword [esi + 0x26b0], eax
mov eax, dword [esp + 0x30e8]
lea eax, [eax + eax*2]
shl eax, 4
push eax
lea eax, [esp + 0xec]
push eax
push dword [esi + 0x2914]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esp + 0x3100]
add esp, 0xc
mov dword [esi + 0x2690], eax
lea ecx, [edi + 0x254]
call fcn.10056df0
mov ecx, dword [esp + 0x30fc]
pop edi
pop esi
xor ecx, esp
call fcn.10104603
mov esp, ebp
pop ebp
ret 4
call fcn.10055060
int3