Function at 0x100777b0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x1d0
mov eax, dword [0x1017f528]
xor eax, ebp
mov dword [esp + 0x1c8], eax
cmp dword [ecx + 0x44], 0
je 0x1007783e
mov esi, ecx
mov ecx, dword [0x1017f614]
mov dword [esp + 0x17c], 0
vxorps xmm0, xmm0, xmm0
vmovlps qword [esp + 0x174], xmm0
mov eax, dword [ecx]
lea edx, [esp + 0x174]
mov dword [esp], edx
call dword [eax + 0x48]
sub esp, 4
mov eax, dword [0x1017f610]
mov dword [esp + 0x60], 0
cmp dword [eax + 0x18], 0
jle 0x10078a79
mov dword [esp + 0x84], esi
mov esi, 1
vmovss xmm0, dword [0x101296d0]
vmovaps xmmword [esp + 0x90], xmm0
jmp 0x10077944
xor ebx, ebx
jmp 0x10078a7d
vcvtss2sd xmm0, xmm0, xmm0
vmovsd qword [esp + 0xa0], xmm0
vmovsd qword [esp], xmm0
vmovsd qword [esp + 0x88], xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll_sin
fstp st(0)
vmovsd xmm0, qword [esp + 0xa0]
vmovsd qword [esp], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_cos
fstp st(0)
vmovsd xmm2, qword [esp + 0x88]
vcvtsd2ss xmm0, xmm2, xmm2
vmovsd xmm1, qword [esp + 0x78]
vcvtsd2ss xmm1, xmm1, xmm1
vmovsd xmm2, qword [esp + 0x50]
vcvtsd2ss xmm2, xmm2, xmm2
vmovsd xmm3, qword [esp + 0x28]
vcvtsd2ss xmm3, xmm3, xmm3
vmulss xmm0, xmm2, xmm0
vmulss xmm1, xmm2, xmm1
vmovaps xmm2, xmmword [esp + 0x40]
vmulss xmm1, xmm2, xmm1
vfmadd231ss xmm1, xmm0, dword [esp + 0x30]
vmovshdup xmm0, xmm2
vfnmadd213ss xmm0, xmm3, xmm1
vcvtss2sd xmm0, xmm0, xmm0
vmovsd qword [esp], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_acos
fstp dword [esp + 0xdc]
vmovss xmm0, dword [0x10131fb8]
vmulss xmm0, xmm0, dword [esp + 0xdc]
vxorps xmm1, xmm1, xmm1
vmaxss xmm0, xmm1, xmm0
vmovaps xmm2, xmmword [esp + 0x90]
vucomiss xmm0, xmm2
vcmpnless xmm1, xmm2, xmm0
vblendvps xmm2, xmm2, xmm0, xmm1
vmovaps xmmword [esp + 0x90], xmm2
mov eax, dword [esp + 0x60]
cmovb eax, edi
mov dword [esp + 0x60], eax
nop word cs:[eax + eax]
lea eax, [esi + 1]
mov ecx, dword [0x1017f610]
cmp esi, dword [ecx + 0x18]
mov esi, eax
jge 0x1007818a
mov ecx, dword [0x1017f618]
mov eax, dword [ecx]
mov dword [esp], esi
call dword [eax + 0xc]
sub esp, 4
test eax, eax
je 0x10077930
mov edi, eax
lea ecx, [eax + 8]
mov eax, dword [eax + 8]
call dword [eax + 0x24]
test al, al
jne 0x10077930
mov eax, dword [0x1017f71c]
test al, 1
je 0x10077b80
mov ebx, dword [0x1017f718]
mov eax, dword [ebx + 4]
cmp dword [eax + edi], 0
jle 0x10077930
mov eax, dword [0x1017f724]
test al, 1
je 0x10077bf8
mov ebx, dword [0x1017f720]
mov eax, dword [ebx + 4]
cmp byte [eax + edi], 0
jne 0x10077930
mov eax, dword [0x10184e24]
test al, 1
je 0x10077d67
mov ebx, dword [0x10184e20]
mov ecx, dword [ebx + 4]
mov ebx, dword [ecx + edi]
mov edx, dword [0x1017f608]
mov edx, dword [edx]
test al, 1
je 0x10077ddf
cmp ebx, dword [ecx + edx]
je 0x10077930
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x138]
mov ecx, dword [0x1017f5c0]
vmovsd xmm0, qword [eax + 4]
vmovsd xmm1, qword [ecx + 0x10c]
vsubps xmm2, xmm0, xmm1
vmovshdup xmm0, xmm2
vmovss xmm1, dword [eax]
vsubss xmm3, xmm1, dword [ecx + 0x108]
vmulss xmm1, xmm2, xmm2
vfmadd231ss xmm1, xmm3, xmm3
vfmadd231ss xmm1, xmm0, xmm0
vcvtss2sd xmm0, xmm1, xmm1
vucomisd xmm0, qword [0x10131ff0]
jb 0x10077a25
vsqrtsd xmm0, xmm0, xmm0
jmp 0x10077a57
vmovsd qword [esp], xmm0
vmovaps xmmword [esp + 0x40], xmm2
vmovss dword [esp + 0x30], xmm3
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrt
vmovss xmm3, dword [esp + 0x30]
vmovaps xmm2, xmmword [esp + 0x40]
fstp qword [esp + 0x160]
vmovsd xmm0, qword [esp + 0x160]
vcvtsd2ss xmm0, xmm0, xmm0
vucomiss xmm0, dword [0x10129730]
jne 0x10077a67
jnp 0x10077a7c
vdivss xmm3, xmm3, xmm0
vmovss dword [esp + 0x30], xmm3
vbroadcastss xmm0, xmm0
vdivps xmm2, xmm2, xmm0
jmp 0x10077a82
vmovss dword [esp + 0x30], xmm3
vmovaps xmmword [esp + 0x40], xmm2
vmovss xmm0, dword [0x10131fc4]
vmulss xmm0, xmm0, dword [esp + 0x174]
vcvtss2sd xmm0, xmm0, xmm0
vmovsd qword [esp + 0x50], xmm0
vmovsd qword [esp], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_sin
fstp qword [esp + 0x158]
vmovsd xmm0, qword [esp + 0x158]
vmovsd qword [esp + 0x28], xmm0
vmovsd xmm0, qword [esp + 0x50]
vmovsd qword [esp], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_cos
fstp qword [esp + 0x150]
vmovsd xmm0, qword [esp + 0x150]
vmovsd qword [esp + 0x50], xmm0
vmovss xmm0, dword [0x10131fc4]
vmulss xmm0, xmm0, dword [esp + 0x178]
vcvtss2sd xmm0, xmm0, xmm0
vmovsd qword [esp + 0x88], xmm0
vmovsd qword [esp], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_sin
fstp qword [esp + 0x148]
vmovsd xmm0, qword [esp + 0x148]
vmovsd qword [esp + 0x78], xmm0
vmovsd xmm0, qword [esp + 0x88]
vmovsd qword [esp], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_cos
fstp qword [esp + 0x140]
vmovsd xmm2, qword [esp + 0x140]
vmovss xmm0, dword [0x10131fc4]
vmulss xmm0, xmm0, dword [esp + 0x17c]
vucomiss xmm0, dword [0x101320e4]
jae 0x10077845
vmovss xmm1, dword [0x10129a0c]
vucomiss xmm1, xmm0
jb 0x10077885
jmp 0x10077845
or eax, 1
mov dword [0x1017f71c], eax
mov eax, dword [0x1017f5c4]
mov dword [esp + 0x78], eax
mov dword [esp], str.CBasePlayer__m_iHealth
lea ebx, [esp + 0x180]
mov ecx, ebx
call fcn.10005ce0
sub esp, 4
cmp dword [esp + 0x194], 0x10
mov dword [esp + 0x30], ebx
jb 0x10077bc2
mov eax, dword [esp + 0x180]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x190]
mov dword [esp + 0x40], eax
test eax, eax
je 0x10077c70
mov eax, dword [esp + 0x40]
lea ecx, [eax - 1]
and eax, 3
mov dword [esp + 0x28], eax
cmp ecx, 3
jae 0x10077c77
mov ecx, 0x811c9dc5
xor edx, edx
jmp 0x10077cc9
or eax, 1
mov dword [0x1017f724], eax
mov eax, dword [0x1017f5c4]
mov dword [esp + 0x78], eax
mov dword [esp], str.CBasePlayer__m_lifeState
lea ebx, [esp + 0x180]
mov ecx, ebx
call fcn.10005ce0
sub esp, 4
cmp dword [esp + 0x194], 0x10
mov dword [esp + 0x30], ebx
jb 0x10077c3a
mov eax, dword [esp + 0x180]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x190]
mov dword [esp + 0x40], eax
test eax, eax
je 0x10077e68
mov eax, dword [esp + 0x40]
lea ecx, [eax - 1]
and eax, 3
mov dword [esp + 0x28], eax
cmp ecx, 3
jae 0x10077e6f
mov ecx, 0x811c9dc5
xor edx, edx
jmp 0x10077ec1
mov ecx, 0x811c9dc5
jmp 0x10077ce9
mov eax, dword [esp + 0x40]
and eax, 0xfffffffc
mov dword [esp + 0x50], eax
mov ecx, 0x811c9dc5
xor edx, edx
mov ebx, dword [esp + 0x30]
movzx eax, byte [ebx + edx]
xor eax, ecx
imul eax, eax, 0x1000193
movzx ecx, byte [ebx + edx + 1]
xor ecx, eax
imul eax, ecx, 0x1000193
movzx ecx, byte [ebx + edx + 2]
xor ecx, eax
imul eax, ecx, 0x1000193
movzx ecx, byte [ebx + edx + 3]
xor ecx, eax
imul ecx, ecx, 0x1000193
add edx, 4
cmp dword [esp + 0x50], edx
jne 0x10077c89
cmp dword [esp + 0x28], 0
je 0x10077ce9
add edx, dword [esp + 0x30]
xor ebx, ebx
movzx eax, byte [edx + ebx]
xor eax, ecx
imul ecx, eax, 0x1000193
inc ebx
cmp dword [esp + 0x28], ebx
jne 0x10077cd6
mov edx, dword [esp + 0x78]
and ecx, dword [edx + 0x18]
mov eax, dword [edx + 0xc]
mov ebx, dword [eax + ecx*8 + 4]
cmp ebx, dword [edx + 4]
je 0x10078d68
add ecx, ecx
mov ecx, dword [eax + ecx*4]
mov dword [esp + 0x28], ecx
mov eax, dword [esp + 0x40]
cmp eax, dword [ebx + 0x18]
jne 0x10077d40
cmp dword [ebx + 0x1c], 0x10
jb 0x10077d1d
mov eax, dword [ebx + 8]
jmp 0x10077d20
lea eax, [ebx + 8]
mov ecx, dword [esp + 0x40]
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
mov ecx, dword [esp + 0x28]
je 0x10077d4d
cmp ebx, ecx
je 0x10078d68
mov ebx, dword [ebx + 4]
jmp 0x10077d09
add ebx, 0x20
lea ecx, [esp + 0x180]
call fcn.100026e0
mov dword [0x1017f718], ebx
jmp 0x1007797b
or eax, 1
mov dword [0x10184e24], eax
mov eax, dword [0x1017f5c4]
mov dword [esp + 0x78], eax
mov dword [esp], str.CBaseEntity__m_iTeamNum
lea ebx, [esp + 0x180]
mov ecx, ebx
call fcn.10005ce0
sub esp, 4
cmp dword [esp + 0x194], 0x10
mov dword [esp + 0x28], ebx
jb 0x10077da9
mov eax, dword [esp + 0x180]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x190]
mov dword [esp + 0x40], eax
test eax, eax
je 0x10077f5f
mov eax, dword [esp + 0x40]
lea ecx, [eax - 1]
and eax, 3
mov dword [esp + 0x30], eax
cmp ecx, 3
jae 0x10077f73
mov ecx, 0x811c9dc5
xor edx, edx
jmp 0x10077fc5
mov dword [esp + 0x5c], edx
mov dword [esp + 0xa0], ebx
or eax, 1
mov dword [0x10184e24], eax
mov eax, dword [0x1017f5c4]
mov dword [esp + 0x88], eax
mov dword [esp], str.CBaseEntity__m_iTeamNum
lea ebx, [esp + 0x180]
mov ecx, ebx
call fcn.10005ce0
sub esp, 4
cmp dword [esp + 0x194], 0x10
mov dword [esp + 0x28], ebx
jb 0x10077e2f
mov eax, dword [esp + 0x180]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x190]
mov dword [esp + 0x40], eax
test eax, eax
je 0x10077f66
mov ecx, dword [esp + 0x40]
lea eax, [ecx - 1]
and ecx, 3
mov dword [esp + 0x50], ecx
cmp eax, 3
jae 0x10078066
mov dword [esp + 0x30], 0x811c9dc5
xor edx, edx
jmp 0x100780c1
mov ecx, 0x811c9dc5
jmp 0x10077ee1
mov eax, dword [esp + 0x40]
and eax, 0xfffffffc
mov dword [esp + 0x50], eax
mov ecx, 0x811c9dc5
xor edx, edx
mov ebx, dword [esp + 0x30]
movzx eax, byte [ebx + edx]
xor eax, ecx
imul eax, eax, 0x1000193
movzx ecx, byte [ebx + edx + 1]
xor ecx, eax
imul eax, ecx, 0x1000193
movzx ecx, byte [ebx + edx + 2]
xor ecx, eax
imul eax, ecx, 0x1000193
movzx ecx, byte [ebx + edx + 3]
xor ecx, eax
imul ecx, ecx, 0x1000193
add edx, 4
cmp dword [esp + 0x50], edx
jne 0x10077e81
cmp dword [esp + 0x28], 0
je 0x10077ee1
add edx, dword [esp + 0x30]
xor ebx, ebx
movzx eax, byte [edx + ebx]
xor eax, ecx
imul ecx, eax, 0x1000193
inc ebx
cmp dword [esp + 0x28], ebx
jne 0x10077ece
mov edx, dword [esp + 0x78]
and ecx, dword [edx + 0x18]
mov eax, dword [edx + 0xc]
mov ebx, dword [eax + ecx*8 + 4]
cmp ebx, dword [edx + 4]
je 0x10078d68
add ecx, ecx
mov ecx, dword [eax + ecx*4]
mov dword [esp + 0x28], ecx
mov eax, dword [esp + 0x40]
cmp eax, dword [ebx + 0x18]
jne 0x10077f38
cmp dword [ebx + 0x1c], 0x10
jb 0x10077f15
mov eax, dword [ebx + 8]
jmp 0x10077f18
lea eax, [ebx + 8]
mov ecx, dword [esp + 0x40]
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
mov ecx, dword [esp + 0x28]
je 0x10077f45
cmp ebx, ecx
je 0x10078d68
mov ebx, dword [ebx + 4]
jmp 0x10077f01
add ebx, 0x20
lea ecx, [esp + 0x180]
call fcn.100026e0
mov dword [0x1017f720], ebx
jmp 0x10077997
mov ecx, 0x811c9dc5
jmp 0x10077fe5
mov dword [esp + 0x30], 0x811c9dc5
jmp 0x100780e7
mov eax, dword [esp + 0x40]
and eax, 0xfffffffc
mov dword [esp + 0x50], eax
mov ecx, 0x811c9dc5
xor edx, edx
mov ebx, dword [esp + 0x28]
movzx eax, byte [ebx + edx]
xor eax, ecx
imul eax, eax, 0x1000193
movzx ecx, byte [ebx + edx + 1]
xor ecx, eax
imul eax, ecx, 0x1000193
movzx ecx, byte [ebx + edx + 2]
xor ecx, eax
imul eax, ecx, 0x1000193
movzx ecx, byte [ebx + edx + 3]
xor ecx, eax
imul ecx, ecx, 0x1000193
add edx, 4
cmp dword [esp + 0x50], edx
jne 0x10077f85
cmp dword [esp + 0x30], 0
je 0x10077fe5
add edx, dword [esp + 0x28]
xor ebx, ebx
movzx eax, byte [edx + ebx]
xor eax, ecx
imul ecx, eax, 0x1000193
inc ebx
cmp dword [esp + 0x30], ebx
jne 0x10077fd2
mov edx, dword [esp + 0x78]
and ecx, dword [edx + 0x18]
mov eax, dword [edx + 0xc]
mov ebx, dword [eax + ecx*8 + 4]
cmp ebx, dword [edx + 4]
je 0x10078d68
add ecx, ecx
mov eax, dword [eax + ecx*4]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x40]
cmp eax, dword [ebx + 0x18]
jne 0x10078038
cmp dword [ebx + 0x1c], 0x10
jb 0x10078019
mov eax, dword [ebx + 8]
jmp 0x1007801c
lea eax, [ebx + 8]
mov ecx, dword [esp + 0x40]
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x28]
mov dword [esp], eax
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x10078047
cmp ebx, dword [esp + 0x30]
je 0x10078d68
mov ebx, dword [ebx + 4]
jmp 0x10078005
add ebx, 0x20
lea ecx, [esp + 0x180]
call fcn.100026e0
mov dword [0x10184e20], ebx
mov eax, dword [0x10184e24]
jmp 0x100779b3
mov eax, dword [esp + 0x40]
and eax, 0xfffffffc
mov dword [esp + 0x78], eax
mov dword [esp + 0x30], 0x811c9dc5
xor edx, edx
mov ebx, dword [esp + 0x28]
movzx eax, byte [ebx + edx]
xor eax, dword [esp + 0x30]
imul eax, eax, 0x1000193
movzx ecx, byte [ebx + edx + 1]
xor ecx, eax
imul eax, ecx, 0x1000193
movzx ecx, byte [ebx + edx + 2]
xor ecx, eax
imul eax, ecx, 0x1000193
movzx ecx, byte [ebx + edx + 3]
xor ecx, eax
imul eax, ecx, 0x1000193
mov dword [esp + 0x30], eax
add edx, 4
cmp dword [esp + 0x78], edx
jne 0x1007807b
cmp dword [esp + 0x50], 0
je 0x100780e7
add edx, dword [esp + 0x28]
xor eax, eax
movzx ecx, byte [edx + eax]
xor ecx, dword [esp + 0x30]
imul ecx, ecx, 0x1000193
mov dword [esp + 0x30], ecx
inc eax
cmp dword [esp + 0x50], eax
jne 0x100780ce
mov ecx, dword [esp + 0x88]
mov ebx, dword [esp + 0x30]
and ebx, dword [ecx + 0x18]
mov eax, dword [ecx + 0xc]
mov edx, ebx
mov ebx, dword [eax + ebx*8 + 4]
cmp ebx, dword [ecx + 4]
je 0x10078d68
add edx, edx
mov eax, dword [eax + edx*4]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x40]
cmp eax, dword [ebx + 0x18]
jne 0x10078143
cmp dword [ebx + 0x1c], 0x10
jb 0x10078124
mov eax, dword [ebx + 8]
jmp 0x10078127
lea eax, [ebx + 8]
mov ecx, dword [esp + 0x40]
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x28]
mov dword [esp], eax
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x10078152
cmp ebx, dword [esp + 0x30]
je 0x10078d68
mov ebx, dword [ebx + 4]
jmp 0x10078110
lea eax, [ebx + 0x20]
mov dword [esp + 0x40], eax
lea ecx, [esp + 0x180]
call fcn.100026e0
mov eax, dword [esp + 0x40]
mov dword [0x10184e20], eax
mov ecx, dword [ebx + 0x24]
mov ebx, dword [esp + 0xa0]
mov edx, dword [esp + 0x5c]
cmp ebx, dword [ecx + edx]
je 0x10077930
jmp 0x100779d2
cmp dword [esp + 0x60], 0
je 0x10078a71
mov esi, dword [ebp + 8]
vmovss xmm0, dword [esi]
vaddss xmm0, xmm0, dword [0x10131fc0]
vmovss dword [esp], xmm0
mov dword [esp + 4], 0x43b40000
mov edi, dword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_remainderf]
call edi
fstp dword [esp + 0xd8]
vmovss xmm0, dword [esp + 0xd8]
mov dword [esp + 0x180], 0
vmovss dword [esp + 0x30], xmm0
vmovss dword [esp + 0x184], xmm0
mov dword [esp + 0x188], 0
mov byte [esp + 0x18c], 0
vmovss xmm0, dword [esi]
vaddss xmm0, xmm0, dword [0x10131fbc]
vmovss dword [esp], xmm0
mov dword [esp + 4], 0x43b40000
call edi
mov dword [esp + 0x190], 0
fstp dword [esp + 0x194]
mov dword [esp + 0x198], 0
mov byte [esp + 0x19c], 0
vmovss xmm0, dword [esi]
vaddss xmm0, xmm0, dword [0x10132000]
vmovss dword [esp], xmm0
mov dword [esp + 4], 0x43b40000
call edi
mov dword [esp + 0x1a0], 0
fstp dword [esp + 0x1a4]
mov dword [esp + 0x1a8], 0
mov byte [esp + 0x1ac], 0
mov eax, dword [0x10184dfc]
test al, 1
je 0x10078c20
mov ebx, dword [0x10184df8]
mov eax, dword [ebx + 4]
mov edi, dword [esp + 0x60]
vmovsd xmm0, qword [eax + edi]
vmovaps xmmword [esp + 0xa0], xmm0
vmovshdup xmm0, xmm0
vmovaps xmmword [esp + 0x40], xmm0
vmovss xmm0, dword [eax + edi + 8]
vaddss xmm0, xmm0, dword [0x101320e8]
vmovss dword [esp + 0x5c], xmm0
vmovss xmm0, dword [esp + 0x30]
vmulss xmm0, xmm0, dword [0x10131fc4]
mov esi, dword [0x1017f5c0]
mov ebx, dword [0x1017f5dc]
vcvtss2sd xmm0, xmm0, xmm0
vmovsd qword [esp + 0x90], xmm0
vmovss xmm1, dword [esi + 0x108]
vmovaps xmmword [esp + 0x30], xmm1
vmovsd qword [esp], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_cos
fstp qword [esp + 0x138]
vmovaps xmm0, xmmword [esp + 0x30]
vinsertps xmm0, xmm0, dword [esi + 0x10c], 0x10
vmovaps xmmword [esp + 0x30], xmm0
vmovsd xmm0, qword [esp + 0x90]
vmovsd qword [esp], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_sin
fstp qword [esp + 0x130]
vmovsd xmm0, qword [esp + 0x138]
vmovhpd xmm0, xmm0, qword [esp + 0x130]
vcvtpd2ps xmm0, xmm0
vbroadcastss xmm1, dword [0x101320ec]
vmovaps xmmword [esp + 0xe0], xmm1
vfmadd213ps xmm0, xmm1, xmmword [esp + 0x30]
vmovss xmm1, dword [esi + 0x110]
vmovlps qword [esp + 0x168], xmm0
vmovss dword [esp + 0x170], xmm1
mov eax, dword [0x1017f608]
mov eax, dword [eax]
lea ecx, [esp + 0x168]
mov dword [esp + 0x18], ecx
vmovss xmm0, dword [esp + 0x5c]
vmovss dword [esp + 0x14], xmm0
vmovaps xmm0, xmmword [esp + 0x40]
vmovss dword [esp + 0x10], xmm0
vmovaps xmm0, xmmword [esp + 0xa0]
vmovss dword [esp + 0xc], xmm0
mov dword [esp + 8], eax
mov dword [esp + 4], edi
lea edi, [esp + 0x1b0]
mov dword [esp], edi
mov ecx, ebx
call fcn.1007d350
sub esp, 0x1c
mov eax, dword [esp + 0x1b4]
test eax, eax
jle 0x100783f2
mov dword [esp + 0x180], eax
mov byte [esp + 0x18c], 1
mov al, 1
mov dword [esp + 0x28], eax
jmp 0x100783fa
mov dword [esp + 0x28], 0
vmovss xmm0, dword [esp + 0x194]
vmulss xmm0, xmm0, dword [0x10131fc4]
mov ebx, dword [0x1017f5dc]
vcvtss2sd xmm0, xmm0, xmm0
vmovsd qword [esp + 0x90], xmm0
vmovss xmm1, dword [esi + 0x108]
vmovaps xmmword [esp + 0x30], xmm1
vmovsd qword [esp], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_cos
fstp qword [esp + 0x128]
vmovaps xmm0, xmmword [esp + 0x30]
vinsertps xmm0, xmm0, dword [esi + 0x10c], 0x10
vmovaps xmmword [esp + 0x30], xmm0
vmovsd xmm0, qword [esp + 0x90]
vmovsd qword [esp], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_sin
fstp qword [esp + 0x120]
vmovsd xmm0, qword [esp + 0x128]
vmovhpd xmm0, xmm0, qword [esp + 0x120]
vcvtpd2ps xmm0, xmm0
vmovaps xmm1, xmmword [esp + 0x30]
vfmadd132ps xmm0, xmm1, xmmword [esp + 0xe0]
vmovss xmm1, dword [esi + 0x110]
vmovlps qword [esp + 0x168], xmm0
vmovss dword [esp + 0x170], xmm1
mov eax, dword [0x1017f608]
mov eax, dword [eax]
lea ecx, [esp + 0x168]
mov dword [esp + 0x18], ecx
vmovss xmm0, dword [esp + 0x5c]
vmovss dword [esp + 0x14], xmm0
vmovaps xmm0, xmmword [esp + 0x40]
vmovss dword [esp + 0x10], xmm0
vmovaps xmm0, xmmword [esp + 0xa0]
vmovss dword [esp + 0xc], xmm0
mov dword [esp + 8], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 4], eax
mov dword [esp], edi
mov ecx, ebx
call fcn.1007d350
sub esp, 0x1c
mov eax, dword [esp + 0x1b4]
test eax, eax
jle 0x1007851f
mov dword [esp + 0x190], eax
mov byte [esp + 0x19c], 1
mov al, 1
mov dword [esp + 0x28], eax
vmovss xmm0, dword [esp + 0x1a4]
vmulss xmm0, xmm0, dword [0x10131fc4]
mov ebx, dword [0x1017f5dc]
vcvtss2sd xmm0, xmm0, xmm0
vmovsd qword [esp + 0x90], xmm0
vmovss xmm1, dword [esi + 0x108]
vmovaps xmmword [esp + 0x30], xmm1
vmovsd qword [esp], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_cos
fstp qword [esp + 0x118]
vmovaps xmm0, xmmword [esp + 0x30]
vinsertps xmm0, xmm0, dword [esi + 0x10c], 0x10
vmovaps xmmword [esp + 0x30], xmm0
vmovsd xmm0, qword [esp + 0x90]
vmovsd qword [esp], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_sin
fstp qword [esp + 0x110]
vmovsd xmm0, qword [esp + 0x118]
vmovhpd xmm0, xmm0, qword [esp + 0x110]
vcvtpd2ps xmm0, xmm0
vmovaps xmm1, xmmword [esp + 0x30]
vfmadd132ps xmm0, xmm1, xmmword [esp + 0xe0]
vmovss xmm1, dword [esi + 0x110]
vmovlps qword [esp + 0x168], xmm0
vmovss dword [esp + 0x170], xmm1
mov eax, dword [0x1017f608]
mov eax, dword [eax]
lea ecx, [esp + 0x168]
mov dword [esp + 0x18], ecx
vmovss xmm0, dword [esp + 0x5c]
vmovss dword [esp + 0x14], xmm0
vmovaps xmm0, xmmword [esp + 0x40]
vmovss dword [esp + 0x10], xmm0
vmovaps xmm0, xmmword [esp + 0xa0]
vmovss dword [esp + 0xc], xmm0
mov dword [esp + 8], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 4], eax
mov dword [esp], edi
mov ecx, ebx
call fcn.1007d350
sub esp, 0x1c
mov eax, dword [esp + 0x1b4]
test eax, eax
jle 0x10078647
mov dword [esp + 0x1a0], eax
mov byte [esp + 0x1ac], 1
mov edx, dword [esp + 0x84]
jmp 0x10078659
cmp byte [esp + 0x28], 0
mov edx, dword [esp + 0x84]
je 0x100787cb
cmp byte [esp + 0x18c], 0
vxorps xmm0, xmm0, xmm0
je 0x1007867c
mov eax, dword [esp + 0x180]
mov ecx, eax
sar ecx, 0x1f
andn eax, ecx, eax
vcvtsi2ss xmm0, xmm2, eax
xor esi, esi
cmp byte [esp + 0x19c], 0
je 0x100786a0
vcvtsi2ss xmm1, xmm2, dword [esp + 0x190]
vucomiss xmm0, xmm1
jae 0x100786a0
mov esi, 1
vmovaps xmm0, xmm1
cmp byte [esp + 0x1ac], 0
je 0x100786be
vcvtsi2ss xmm1, xmm2, dword [esp + 0x1a0]
vucomiss xmm0, xmm1
jae 0x100786be
mov esi, 2
cmp dword [edx + 0x44], 1
jne 0x100786dc
shl esi, 4
vmovss xmm0, dword [esp + esi + 0x184]
mov eax, dword [ebp + 8]
vmovss dword [eax], xmm0
jmp 0x100787c0
mov ebx, dword [ebp + 8]
vmovss xmm0, dword [ebx]
vaddss xmm0, xmm0, dword [0x10131fc0]
vmovss dword [esp], xmm0
mov dword [esp + 4], 0x43b40000
mov edi, dword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_remainderf]
call edi
fstp dword [esp + 0xd4]
vmovss xmm0, dword [esp + 0xd4]
vmovss dword [esp + 0x60], xmm0
vmovss dword [ebx], xmm0
shl esi, 4
vmovss xmm0, dword [esp + esi + 0x184]
vmovss dword [esp], xmm0
mov dword [esp + 4], 0x43b40000
call edi
fstp dword [esp + 0xd0]
vmovss xmm0, dword [esp + 0xd0]
vmovss dword [esp + 0x40], xmm0
vmovss xmm0, dword [esp + 0x60]
vmovss dword [esp], xmm0
mov dword [esp + 4], 0x43b40000
call edi
fstp dword [esp + 0xcc]
vmovss xmm0, dword [esp + 0x40]
vsubss xmm0, xmm0, dword [esp + 0xcc]
vmovss dword [esp], xmm0
mov dword [esp + 4], 0x43b40000
call edi
fstp dword [esp + 0xc8]
vmovss xmm0, dword [esp + 0xc8]
vxorps xmm1, xmm1, xmm1
xor eax, eax
vucomiss xmm0, xmm1
setae al
xor ecx, ecx
vucomiss xmm1, xmm0
seta cl
mov edx, dword [esp + 0x84]
cmp dword [edx + 0x44], 2
cmove ecx, eax
movzx eax, cl
inc eax
mov dword [edx + 0x54], eax
mov al, 1
mov dword [esp + 0x60], eax
jmp 0x10078a79
xor ebx, ebx
xor edi, edi
jmp 0x100787f1
mov edi, dword [esp + 0x88]
inc edi
cmp edi, 3
je 0x10078a6c
mov dword [esp + 0x88], edi
shl edi, 4
vmovss xmm0, dword [0x10131fc4]
vmulss xmm0, xmm0, dword [esp + edi + 0x184]
vcvtss2sd xmm0, xmm0, xmm0
vmovsd qword [esp + 0x40], xmm0
vmovss xmm1, dword [esi + 0x108]
vmovaps xmmword [esp + 0x60], xmm1
vmovsd qword [esp], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_cos
fstp qword [esp + 0x108]
vmovaps xmm0, xmmword [esp + 0x60]
vinsertps xmm0, xmm0, dword [esi + 0x10c], 0x10
vmovaps xmmword [esp + 0x60], xmm0
vmovsd xmm0, qword [esp + 0x40]
vmovsd qword [esp], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_sin
fstp qword [esp + 0x100]
vmovsd xmm0, qword [esp + 0x108]
vmovhpd xmm0, xmm0, qword [esp + 0x100]
vcvtpd2ps xmm0, xmm0
vmovaps xmm1, xmmword [esp + 0x60]
vfmadd132ps xmm0, xmm1, xmmword [esp + 0xe0]
vmovss xmm1, dword [esi + 0x110]
vsubss xmm1, xmm1, dword [esp + 0x5c]
vsubps xmm2, xmm0, xmmword [esp + 0xa0]
vmulps xmm0, xmm2, xmm2
vmovshdup xmm0, xmm0
vmovaps xmmword [esp + 0x30], xmm2
vfmadd231ss xmm0, xmm2, xmm2
vmovss dword [esp + 0x40], xmm1
vfmadd231ss xmm0, xmm1, xmm1
vcvtss2sd xmm0, xmm0, xmm0
vucomisd xmm0, qword [0x10131ff0]
jb 0x100788e0
vsqrtsd xmm0, xmm0, xmm0
jmp 0x100788fa
vmovsd qword [esp], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrt
fstp qword [esp + 0xf8]
vmovsd xmm0, qword [esp + 0xf8]
vcvtsd2ss xmm2, xmm0, xmm0
vucomiss xmm2, dword [0x10129730]
jne 0x1007890a
jnp 0x1007892f
vbroadcastss xmm0, xmm2
vmovaps xmm1, xmmword [esp + 0x30]
vdivps xmm1, xmm1, xmm0
vmovaps xmmword [esp + 0x30], xmm1
vmovss xmm0, dword [esp + 0x40]
vdivss xmm0, xmm0, xmm2
vmovss dword [esp + 0x40], xmm0
vucomiss xmm2, dword [0x10129730]
jbe 0x100787e0
vmulss xmm0, xmm2, dword [0x10129738]
vmovss dword [esp + 0x28], xmm0
vmulss xmm0, xmm2, dword [0x101298ec]
vmovss dword [esp + 0x50], xmm0
vmulss xmm0, xmm2, dword [0x101307c0]
vmovss dword [esp + 0x78], xmm0
add edi, esp
add edi, 0x188
vxorps xmm4, xmm4, xmm4
vmovaps xmmword [esp + 0x90], xmm2
jmp 0x10078997
vaddss xmm4, xmm4, xmm3
vmovaps xmm2, xmmword [esp + 0x90]
vucomiss xmm2, xmm4
jbe 0x100787e0
vmovaps xmmword [esp + 0x60], xmm4
mov ecx, dword [0x1017f630]
vmulss xmm0, xmm4, dword [esp + 0x40]
vbroadcastss xmm1, xmm4
vmulps xmm1, xmm1, xmmword [esp + 0x30]
vaddss xmm0, xmm0, dword [esi + 0x110]
vmovsd xmm2, qword [esi + 0x108]
vaddps xmm1, xmm1, xmm2
vmovlps qword [esp + 0x1b0], xmm1
vmovss dword [esp + 0x1b8], xmm0
mov eax, dword [ecx]
lea edx, [esp + 0x1b0]
mov dword [esp], edx
mov dword [esp + 8], 0
mov dword [esp + 4], 0x600400b
call dword [eax]
sub esp, 0xc
vmovaps xmm4, xmmword [esp + 0x60]
vmovss xmm3, dword [0x101297ac]
test eax, 0x600400b
je 0x10078980
xor eax, eax
vucomiss xmm4, dword [esp + 0x28]
seta al
vmovss xmm0, dword [esp + 0x50]
vcmpltss xmm0, xmm0, xmm4
vmovss xmm1, dword [eax*4 + 0x101320f0]
vbroadcastss xmm2, dword [0x1012987c]
vblendvps xmm0, xmm1, xmm2, xmm0
vmovss xmm1, dword [esp + 0x78]
vcmpltss xmm1, xmm1, xmm4
vbroadcastss xmm2, dword [0x1012984c]
vblendvps xmm0, xmm0, xmm2, xmm1
vfmadd213ss xmm0, xmm3, dword [edi]
vmovss dword [edi], xmm0
mov bl, 1
jmp 0x10078980
test bl, 1
jne 0x10078a97
mov dword [esp + 0x60], 0
mov ebx, dword [esp + 0x60]
mov ecx, dword [esp + 0x1c8]
xor ecx, ebp
call fcn.100d7fe0
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
vmovss xmm0, dword [esp + 0x188]
vsubss xmm2, xmm0, dword [esp + 0x198]
vbroadcastss xmm1, dword [0x1012978c]
vandps xmm2, xmm2, xmm1
vucomiss xmm2, dword [0x1012989c]
jae 0x10078ad7
vsubss xmm0, xmm0, dword [esp + 0x1a8]
vandps xmm0, xmm0, xmm1
vucomiss xmm0, dword [0x1012989c]
jb 0x10078a71
mov dword [esp], 3
lea ecx, [esp + 0x180]
lea edx, [esp + 0x1b0]
call fcn.1007a890
vmovss xmm1, dword [esp + 0x188]
vucomiss xmm1, dword [0x101298b0]
ja 0x10078c10
mov esi, dword [esp + 0x84]
cmp dword [esi + 0x44], 1
jne 0x10078b2a
vmovss xmm0, dword [esp + 0x184]
mov eax, dword [ebp + 8]
vmovss dword [eax], xmm0
jmp 0x10078c10
mov edi, dword [ebp + 8]
vmovss xmm0, dword [edi]
vaddss xmm0, xmm0, dword [0x10131fc0]
vmovss dword [esp], xmm0
mov dword [esp + 4], 0x43b40000
mov ebx, dword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_remainderf]
vmovss dword [esp + 0x60], xmm1
call ebx
fstp dword [esp + 0xc4]
vmovss xmm0, dword [esp + 0xc4]
vmovss dword [esp + 0x40], xmm0
vmovss dword [edi], xmm0
vmovss xmm0, dword [esp + 0x184]
vmovss dword [esp], xmm0
mov dword [esp + 4], 0x43b40000
call ebx
fstp dword [esp + 0xc0]
vmovss xmm0, dword [esp + 0xc0]
vmovss dword [esp + 0x30], xmm0
vmovss xmm0, dword [esp + 0x40]
vmovss dword [esp], xmm0
mov dword [esp + 4], 0x43b40000
call ebx
fstp dword [esp + 0xbc]
vmovss xmm0, dword [esp + 0x30]
vsubss xmm0, xmm0, dword [esp + 0xbc]
vmovss dword [esp], xmm0
mov dword [esp + 4], 0x43b40000
call ebx
fstp dword [esp + 0xb8]
vmovss xmm0, dword [esp + 0xb8]
vxorps xmm1, xmm1, xmm1
xor eax, eax
vucomiss xmm0, xmm1
setae al
xor ecx, ecx
vucomiss xmm1, xmm0
vmovss xmm1, dword [esp + 0x60]
seta cl
cmp dword [esi + 0x44], 2
cmove ecx, eax
movzx eax, cl
inc eax
mov dword [esi + 0x54], eax
vucomiss xmm1, dword [0x101298b0]
setbe al
jmp 0x100787c2
or eax, 1
mov dword [0x10184dfc], eax
mov eax, dword [0x1017f5c4]
mov dword [esp + 0x28], eax
mov dword [esp], str.CBaseEntity__m_vecOrigin
lea ecx, [esp + 0x1b0]
mov dword [esp + 0x40], ecx
call fcn.10005ce0
sub esp, 4
mov esi, dword [esp + 0x1c0]
cmp dword [esp + 0x1c4], 0x10
jb 0x10078c67
mov eax, dword [esp + 0x1b0]
mov dword [esp + 0x40], eax
test esi, esi
je 0x10078c88
lea ecx, [esi - 1]
mov eax, esi
and eax, 3
mov dword [esp + 0x90], eax
cmp ecx, 3
jae 0x10078c8f
mov ecx, 0x811c9dc5
xor edx, edx
jmp 0x10078cd9
mov ecx, 0x811c9dc5
jmp 0x10078cff
mov edi, esi
and edi, 0xfffffffc
mov ecx, 0x811c9dc5
xor edx, edx
mov eax, dword [esp + 0x40]
movzx ebx, byte [eax + edx]
xor ebx, ecx
imul ecx, ebx, 0x1000193
movzx ebx, byte [eax + edx + 1]
xor ebx, ecx
imul ecx, ebx, 0x1000193
movzx ebx, byte [eax + edx + 2]
xor ebx, ecx
imul ecx, ebx, 0x1000193
movzx ebx, byte [eax + edx + 3]
xor ebx, ecx
imul ecx, ebx, 0x1000193
add edx, 4
cmp edi, edx
jne 0x10078c9f
cmp dword [esp + 0x90], 0
je 0x10078cff
add edx, dword [esp + 0x40]
xor edi, edi
movzx ebx, byte [edx + edi]
xor ebx, ecx
imul ecx, ebx, 0x1000193
inc edi
cmp dword [esp + 0x90], edi
jne 0x10078ce9
mov edx, dword [esp + 0x28]
and ecx, dword [edx + 0x18]
mov eax, dword [edx + 0xc]
mov ebx, dword [eax + ecx*8 + 4]
cmp ebx, dword [edx + 4]
je 0x10078d68
add ecx, ecx
mov edi, dword [eax + ecx*4]
cmp esi, dword [ebx + 0x18]
je 0x10078d28
cmp ebx, edi
je 0x10078d68
mov ebx, dword [ebx + 4]
cmp esi, dword [ebx + 0x18]
jne 0x10078d1c
cmp dword [ebx + 0x1c], 0x10
jb 0x10078d33
mov eax, dword [ebx + 8]
jmp 0x10078d36
lea eax, [ebx + 8]
mov dword [esp + 8], esi
mov dword [esp + 4], eax
mov eax, dword [esp + 0x40]
mov dword [esp], eax
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x10078d1c
add ebx, 0x20
lea ecx, [esp + 0x1b0]
call fcn.100026e0
mov dword [0x10184df8], ebx
jmp 0x10078289
mov dword [esp], 0x1016ba76
call sub.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const__
int3