Function at 0x100c92e0
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, 0x1f0
mov esi, esp
mov dword [esi + 0x1d8], ebp
mov dword [esi + 0x6c], ecx
mov edx, dword [ebp + 8]
mov dword [esi + 0x1dc], esp
mov dword [esi + 0x1e8], 0xffffffff
lea eax, [esi + 0x1e0]
mov dword [esi + 0x1e4], 0x100daed0
mov ecx, dword fs:[0]
mov dword [esi + 0x1e0], ecx
mov dword fs:[0], eax
mov edi, dword [edx + 0x4c]
sub edi, dword [edx + 0x48]
cmp edi, 0x20
jb 0x100c9595
mov eax, dword [0x1012d364]
vmovss xmm0, dword [eax + 0x10]
vucomiss xmm0, dword [edx + 0x2c]
jae 0x100c9595
movzx ebx, byte [ebp + 0xc]
mov dword [esi + 0x30], edi
sar edi, 4
call fcn.100287b0
mov dword [esi + 0xa0], eax
test bl, bl
je 0x100c959c
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x4c]
mov eax, dword [0x1012d35c]
mov edx, dword [eax]
mov eax, dword [0x10132ba8]
test al, 1
mov dword [esi + 0x80], ecx
je 0x100ca444
mov ebx, dword [0x10132ba4]
mov eax, dword [ebx + 4]
vmovss xmm0, dword [eax + edx + 8]
vsubss xmm0, xmm0, dword [ecx - 8]
vmovss dword [esi + 0x70], xmm0
vmovss xmm0, dword [eax + edx]
vmovss xmm1, dword [eax + edx + 4]
vsubss xmm1, xmm1, dword [ecx - 0xc]
vmovss dword [esi + 0x1c], xmm1
vsubss xmm0, xmm0, dword [ecx - 0x10]
vmovss dword [esi + 0x90], xmm0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x48]
mov ecx, dword [eax + 8]
mov dword [esi + 0xdc], ecx
vmovsd xmm0, qword [eax]
vmovsd qword [esi + 0xd4], xmm0
cmp dword [esi + 0x30], 0x11
jb 0x100c9669
cmp edi, 3
mov eax, 2
cmovae eax, edi
mov dword [esi + 0x20], eax
mov ecx, 1
mov edi, 0x10
vbroadcastss xmm0, dword [0x100f54e0]
vmovaps xmmword [esi + 0x50], xmm0
jmp 0x100c9447
add ebx, edi
vmovsd xmm0, qword [ebx]
vmovsd qword [esi + 0xd4], xmm0
mov eax, dword [ebx + 8]
mov dword [esi + 0xdc], eax
mov ecx, dword [esi + 0x30]
inc ecx
add edi, 0x10
cmp dword [esi + 0x20], ecx
je 0x100c9669
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 0x48]
mov eax, dword [eax + 0x4c]
sub eax, ebx
sar eax, 4
mov dword [esi + 0x1e8], 0xffffffff
mov dword [esi + 0x30], ecx
cmp eax, ecx
jbe 0x100ca421
vxorps xmm0, xmm0, xmm0
vmovups xmmword [esi + 0x100], xmm0
mov dword [esi + 0x110], 0
mov dword [esi + 0x134], 0xffffffff
lea ecx, [esi + 0x114]
vxorps xmm1, xmm1, xmm1
vmovups ymmword [ecx + 0x30], ymm1
vmovups ymmword [ecx + 0x24], ymm1
vmovups xmmword [ecx + 0x64], xmm0
mov dword [ecx + 0x78], 0
mov dword [ecx + 0x74], 0
mov eax, dword [esi + 0xdc]
mov dword [ecx + 8], eax
vmovsd xmm0, qword [esi + 0xd4]
vmovsd qword [ecx], xmm0
mov eax, dword [ebx + edi + 8]
mov dword [ecx + 0x14], eax
vmovsd xmm0, qword [ebx + edi]
vmovsd qword [ecx + 0xc], xmm0
mov ecx, dword [0x1012d3b0]
mov eax, dword [ecx]
mov dword [esp], str.sprites_white.vmt
vzeroupper
call dword [eax + 8]
sub esp, 4
mov dword [esi + 0x12c], eax
mov dword [esi + 0x130], str.sprites_white.vmt
vmovaps xmm0, xmmword [0x101011c0]
vmovups xmmword [esi + 0x13c], xmm0
vmovsd xmm0, qword [0x101011d0]
vmovsd qword [esi + 0x154], xmm0
mov dword [esi + 0x174], 4
mov byte [esi + 0x170], 1
mov eax, dword [esi + 0x6c]
vmovsd xmm0, qword [eax + 0x1ac]
vmulps xmm0, xmm0, xmmword [esi + 0x50]
vmovlps qword [esi + 0x164], xmm0
vmovss xmm0, dword [0x100f54e0]
vmulss xmm0, xmm0, dword [eax + 0x1b4]
vmovss dword [esi + 0x16c], xmm0
mov ecx, dword [0x1012d3b4]
mov eax, dword [ecx]
lea edx, [esi + 0x100]
mov dword [esp], edx
call dword [eax + 0x30]
sub esp, 4
test eax, eax
je 0x100c9420
mov ecx, dword [0x1012d3b4]
mov edx, dword [ecx]
mov dword [esp], eax
call dword [edx + 0x10]
sub esp, 4
jmp 0x100c9420
xor eax, eax
jmp 0x100ca3ba
mov ecx, dword [0x1012d368]
mov eax, dword [ecx]
call dword [eax + 0x94]
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x48]
vmovups xmm0, xmmword [eax]
vmovups xmm1, xmmword [eax + 4]
vmovups xmm2, xmmword [eax + 8]
vmovups xmm3, xmmword [eax + 0xc]
vbroadcastss xmm4, dword [ecx + 4]
vinsertps xmm1, xmm1, dword [eax + 0x14], 0x10
vmulps xmm1, xmm4, xmm1
vinsertps xmm0, xmm0, dword [eax + 0x10], 0x10
vbroadcastss xmm5, dword [ecx]
vfmadd213ps xmm0, xmm5, xmm1
vinsertps xmm1, xmm2, dword [eax + 0x18], 0x10
vbroadcastss xmm2, dword [ecx + 8]
vfmadd213ps xmm1, xmm2, xmm0
vinsertps xmm0, xmm3, dword [eax + 0x1c], 0x10
vmulss xmm3, xmm4, dword [eax + 0x34]
vfmadd231ss xmm3, xmm5, dword [eax + 0x30]
vfmadd231ss xmm3, xmm2, dword [eax + 0x38]
vaddps xmm0, xmm1, xmm0
vaddss xmm1, xmm3, dword [eax + 0x3c]
vmovss xmm2, dword [0x101011a0]
vucomiss xmm2, xmm1
setbe cl
ja 0x100c97f2
vbroadcastss xmm1, xmm1
vdivps xmm0, xmm0, xmm1
mov eax, dword [esi + 0xa0]
vmovsd xmm1, qword [eax + 8]
vbroadcastss xmm2, dword [0x100f54dc]
vmulps xmm3, xmm1, xmm2
vmulps xmm0, xmm0, xmm1
vmulps xmm0, xmm0, xmm2
vaddps xmm1, xmm3, xmm0
vsubps xmm0, xmm3, xmm0
vblendps xmm0, xmm1, xmm0, 2
jmp 0x100c97ff
vmovss xmm0, dword [esi + 0x1c]
vmulss xmm0, xmm0, xmm0
vmovss xmm1, dword [esi + 0x90]
vfmadd213ss xmm1, xmm1, xmm0
vmovss xmm0, dword [esi + 0x70]
vfmadd213ss xmm0, xmm0, xmm1
vcvtss2sd xmm0, xmm0, xmm0
vsqrtsd xmm0, xmm0, xmm0
vcvtsd2ss xmm0, xmm0, xmm0
vmovss dword [esi + 0x90], xmm0
mov ecx, dword [0x1012d368]
mov eax, dword [ecx]
mov eax, dword [eax + 0x94]
mov dword [esi + 0x1e8], 0xffffffff
call eax
mov ecx, dword [esi + 0x80]
vmovss xmm2, dword [ecx - 0x10]
vmovss xmm3, dword [ecx - 0xc]
vmovss xmm0, dword [ecx - 8]
vmulss xmm1, xmm3, dword [eax + 0x34]
vfmadd231ss xmm1, xmm2, dword [eax + 0x30]
vfmadd231ss xmm1, xmm0, dword [eax + 0x38]
vaddss xmm1, xmm1, dword [eax + 0x3c]
vmovss xmm4, dword [0x101011a0]
vucomiss xmm4, xmm1
vmovss xmm4, dword [esi + 0x90]
ja 0x100c9a3c
vmovups xmm4, xmmword [eax + 8]
vmovups xmm5, xmmword [eax]
vmovups xmm6, xmmword [eax + 4]
vmovups xmm7, xmmword [eax + 0xc]
vinsertps xmm6, xmm6, dword [eax + 0x14], 0x10
vbroadcastss xmm3, xmm3
vmulps xmm3, xmm6, xmm3
vinsertps xmm5, xmm5, dword [eax + 0x10], 0x10
vbroadcastss xmm2, xmm2
vfmadd213ps xmm2, xmm5, xmm3
vinsertps xmm3, xmm4, dword [eax + 0x18], 0x10
vbroadcastss xmm0, xmm0
vfmadd213ps xmm0, xmm3, xmm2
vinsertps xmm2, xmm7, dword [eax + 0x1c], 0x10
vaddps xmm0, xmm2, xmm0
vbroadcastss xmm1, xmm1
vdivps xmm0, xmm0, xmm1
mov eax, dword [esi + 0xa0]
vmovsd xmm1, qword [eax + 8]
vbroadcastss xmm2, dword [0x100f54dc]
vmulps xmm3, xmm1, xmm2
vmulps xmm0, xmm0, xmm1
vmulps xmm2, xmm0, xmm2
vsubps xmm0, xmm3, xmm2
vaddps xmm4, xmm3, xmm2
vblendps xmm2, xmm4, xmm0, 2
vmovaps xmmword [esi + 0x50], xmm2
vmovlps qword [esi + 0xf8], xmm2
vbroadcastss xmm2, dword [0x101011e0]
vdivps xmm2, xmm1, xmm2
vbroadcastss xmm3, dword [0x100f54d8]
vxorps xmm5, xmm2, xmm3
vucomiss xmm5, xmm4
ja 0x100c9a4a
vaddps xmm1, xmm2, xmm1
vcmpltps xmm1, xmm1, xmmword [esi + 0x50]
vshufps xmm1, xmm1, xmm1, 0x50
vmovmskpd eax, xmm1
test al, 1
jne 0x100c9a4a
vmovshdup xmm1, xmm2
vxorps xmm1, xmm1, xmm3
vmovshdup xmm0, xmm0
vucomiss xmm1, xmm0
ja 0x100c9a4a
shr al, 1
je 0x100c9d7f
jmp 0x100c9a4a
vbroadcastss xmm1, dword [0x101011a4]
vmulps xmm0, xmm0, xmm1
vmovaps xmmword [esi + 0x20], xmm0
cmp edi, 3
mov eax, 2
cmovae eax, edi
mov dword [esi + 0x50], eax
mov ebx, 1
mov edi, 0x18
vbroadcastss xmm0, dword [0x100f54dc]
vmovaps xmmword [esi + 0x80], xmm0
vbroadcastss xmm0, dword [0x100f54e0]
vmovaps xmmword [esi + 0x1b0], xmm0
jmp 0x100c985f
vbroadcastss xmm1, dword [0x101011a4]
vmulps xmm0, xmm0, xmm1
inc ebx
add edi, 0x10
vmovaps xmmword [esi + 0x20], xmm0
cmp dword [esi + 0x50], ebx
je 0x100ca3b8
mov byte [esi + 0x30], cl
mov ecx, dword [0x1012d368]
mov eax, dword [ecx]
call dword [eax + 0x94]
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x48]
mov edx, dword [edx + 0x4c]
sub edx, ecx
sar edx, 4
cmp edx, ebx
jbe 0x100ca421
vmovups xmm0, xmmword [eax]
vmovups xmm1, xmmword [eax + 4]
vmovups xmm2, xmmword [eax + 8]
vmovups xmm3, xmmword [eax + 0xc]
vinsertps xmm1, xmm1, dword [eax + 0x14], 0x10
vbroadcastss xmm4, dword [ecx + edi - 4]
vmulps xmm1, xmm1, xmm4
vinsertps xmm0, xmm0, dword [eax + 0x10], 0x10
vbroadcastss xmm5, dword [ecx + edi - 8]
vfmadd213ps xmm0, xmm5, xmm1
vinsertps xmm1, xmm2, dword [eax + 0x18], 0x10
vbroadcastss xmm2, dword [ecx + edi]
vfmadd213ps xmm1, xmm2, xmm0
vinsertps xmm0, xmm3, dword [eax + 0x1c], 0x10
vaddps xmm0, xmm0, xmm1
vmulss xmm1, xmm4, dword [eax + 0x34]
vfmadd231ss xmm1, xmm5, dword [eax + 0x30]
vfmadd231ss xmm1, xmm2, dword [eax + 0x38]
vaddss xmm1, xmm1, dword [eax + 0x3c]
vmovss xmm2, dword [0x101011a0]
vucomiss xmm2, xmm1
setbe cl
ja 0x100c9840
vbroadcastss xmm1, xmm1
vdivps xmm0, xmm0, xmm1
mov eax, dword [esi + 0xa0]
vmovsd xmm1, qword [eax + 8]
vmovaps xmm3, xmmword [esi + 0x80]
vmulps xmm2, xmm1, xmm3
vmulps xmm0, xmm0, xmm1
vmulps xmm0, xmm0, xmm3
vsubps xmm3, xmm2, xmm0
vaddps xmm1, xmm2, xmm0
vblendps xmm0, xmm1, xmm3, 2
test byte [esi + 0x30], 1
je 0x100c984d
mov byte [esi + 0x30], cl
mov ecx, dword [esi + 0x6c]
vmovaps xmmword [esi + 0x70], xmm0
vmovss xmm0, dword [0x100f54e0]
vmulss xmm0, xmm0, dword [ecx + 0x1ac]
vcvttss2si eax, xmm0
movzx eax, al
vmovsd xmm0, qword [ecx + 0x1b0]
vmulps xmm0, xmm0, xmmword [esi + 0x1b0]
vcvttps2dq xmm0, xmm0
vpshufb xmm0, xmm0, xmmword [0x101011b0]
vpsllvd xmm0, xmm0, xmmword [0x100f56b0]
vmovd ecx, xmm0
or ecx, eax
vpextrd eax, xmm0, 1
or eax, ecx
or eax, 0xb4000000
mov ecx, dword [0x1012d3a0]
mov edx, dword [ecx]
mov dword [esp], eax
vmovaps xmmword [esi + 0xe0], xmm1
vmovaps xmmword [esi + 0x90], xmm3
call dword [edx + 0x38]
sub esp, 4
mov ecx, dword [0x1012d3a0]
vmovshdup xmm0, xmmword [esi + 0x90]
vcvttss2si eax, xmm0
mov dword [esi + 0x1c], eax
mov eax, dword [ecx]
mov dword [esi + 0x90], eax
vcvttss2si eax, dword [esi + 0xe0]
mov dword [esi + 0xe0], eax
vmovaps xmm1, xmmword [esi + 0x20]
vmovshdup xmm0, xmm1
vcvttss2si eax, xmm0
mov dword [esi + 0xb8], eax
vcvttss2si edx, xmm1
mov eax, dword [esi + 0x1c]
mov dword [esp + 0xc], eax
mov eax, dword [esi + 0xe0]
mov dword [esp + 8], eax
mov eax, dword [esi + 0xb8]
mov dword [esp + 4], eax
mov dword [esp], edx
mov eax, dword [esi + 0x90]
call dword [eax + 0x4c]
sub esp, 0x10
vmovaps xmm0, xmmword [esi + 0x70]
movzx ecx, byte [esi + 0x30]
jmp 0x100c984d
vucomiss xmm4, dword [0x100fe170]
ja 0x100ca3b8
mov edi, dword [0x1012d39c]
vmovss xmm0, dword [edi + 0xc8]
vmulss xmm0, xmm0, dword [0x100fe0c4]
vmovd eax, xmm0
vcvtss2sd xmm0, xmm0, xmm0
and eax, 0x7fffffff
cmp eax, 0x7f800000
je 0x100ca3d1
vmovsd qword [esp], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_cos
fstp dword [esi + 0xd0]
vmovss xmm0, dword [esi + 0xd0]
vmovss dword [esi + 0x30], xmm0
vmovss xmm0, dword [0x100fe0c4]
vmulss xmm0, xmm0, dword [edi + 0xcc]
vcvtss2sd xmm0, xmm0, xmm0
vmovsd qword [esi + 0x50], xmm0
vmovsd qword [esp], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_sin
fstp dword [esi + 0xcc]
vmovss xmm0, dword [esi + 0xcc]
vmovss dword [esi + 0x20], xmm0
vmovsd xmm0, qword [esi + 0x50]
vmovsd qword [esp], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_cos
fstp dword [esi + 0xc8]
vmovss xmm0, dword [0x100fe0c4]
vmulss xmm0, xmm0, dword [edi + 0xd0]
vmovss xmm1, dword [esi + 0xc8]
vmovd eax, xmm0
and eax, 0x7fffffff
cmp eax, 0x7f800000
je 0x100ca3ec
vmovss xmm0, dword [esi + 0x30]
vmulss xmm4, xmm0, xmm1
vmulss xmm5, xmm0, dword [esi + 0x20]
mov eax, dword [0x1012d39c]
mov ecx, dword [esi + 0x80]
vmovss xmm0, dword [ecx - 8]
vsubss xmm3, xmm0, dword [eax + 0xc4]
vmovss xmm0, dword [ecx - 0x10]
vmovss xmm1, dword [ecx - 0xc]
vsubss xmm1, xmm1, dword [eax + 0xc0]
vsubss xmm2, xmm0, dword [eax + 0xbc]
vmulss xmm0, xmm5, xmm5
vmovss dword [esi + 0x80], xmm1
vmulss xmm1, xmm1, xmm1
vmovss dword [esi + 0x70], xmm2
vfmadd231ss xmm1, xmm2, xmm2
vinsertps xmm0, xmm1, xmm0, 0x10
vmovaps xmmword [esi + 0x50], xmm3
vinsertps xmm1, xmm3, xmm4, 0x10
vmovaps xmm3, xmm4
vfmadd213ps xmm1, xmm1, xmm0
vcvtps2pd xmm0, xmm1
mov eax, dword [esi + 0xa0]
vmovss xmm6, dword [eax + 0xc]
vsqrtpd xmm0, xmm0
vcvtpd2ps xmm4, xmm0
vxorpd xmm0, xmm0, xmm0
vcmpneqps xmm0, xmm4, xmm0
vshufps xmm0, xmm0, xmm0, 0x50
vmovmskpd eax, xmm0
vmovshdup xmm0, xmm4
vmovss xmm1, dword [0x100f54d0]
vmovaps xmm7, xmm0
test al, 2
jne 0x100c9bc1
vmovaps xmm7, xmm1
vdivss xmm1, xmm6, dword [0x101011e4]
jne 0x100c9bd5
vxorps xmm2, xmm2, xmm2
vxorps xmm6, xmm6, xmm6
jmp 0x100c9be1
vxorps xmm6, xmm6, xmm6
vxorps xmm2, xmm2, xmm2
vdivss xmm6, xmm6, xmm0
vmulss xmm0, xmm1, dword [0x101011e8]
vmovaps xmmword [esi + 0x30], xmm0
vdivss xmm0, xmm3, xmm7
vdivss xmm1, xmm5, xmm7
test al, 1
jne 0x100c9c02
vmovss xmm4, dword [0x100f54d0]
vbroadcastss xmm7, dword [0x100f54d8]
vmovaps xmmword [esi + 0x20], xmm7
vmovaps xmm3, xmm0
vmovaps xmm5, xmm4
vmulss xmm4, xmm0, xmm7
vfmadd231ss xmm4, xmm1, xmm2
vmovaps xmm0, xmm1
vmovss dword [esi + 0x1c], xmm1
vmovss xmm1, dword [esi + 0x70]
vdivss xmm1, xmm1, xmm5
vmovss xmm2, dword [esi + 0x80]
vdivss xmm2, xmm2, xmm5
vxorps xmm7, xmm7, xmm7
vfmsub213ss xmm7, xmm6, xmm0
vmovaps xmm0, xmm6
vmulss xmm6, xmm6, dword [esi + 0x20]
vaddss xmm6, xmm3, xmm6
vmulss xmm6, xmm6, xmm2
vfmadd231ss xmm6, xmm1, xmm7
vmulss xmm2, xmm2, dword [esi + 0x1c]
vfmadd231ss xmm2, xmm3, xmm1
vmovaps xmm1, xmmword [esi + 0x50]
vdivss xmm1, xmm1, xmm5
vfmadd231ss xmm6, xmm1, xmm4
vfmadd231ss xmm2, xmm0, xmm1
vmovaps xmm5, xmmword [esi + 0x20]
vxorps xmm0, xmm6, xmm5
vmovaps xmm3, xmmword [esi + 0x30]
vmulss xmm0, xmm3, xmm0
vxorps xmm1, xmm2, xmm5
vmulss xmm1, xmm3, xmm1
vcvtss2sd xmm1, xmm1, xmm1
vcvtss2sd xmm0, xmm0, xmm0
vmovsd qword [esp + 8], xmm1
vmovsd qword [esp], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_atan2
fstp dword [esi + 0xc4]
vmovss xmm0, dword [esi + 0xc4]
vaddss xmm0, xmm0, dword [0x100fc524]
vmulss xmm0, xmm0, dword [0x100fe468]
vmulss xmm0, xmm0, dword [0x100fe0c4]
vcvtss2sd xmm1, xmm0, xmm0
vmovsd qword [esi + 0x80], xmm1
vmovaps xmm0, xmmword [esi + 0x20]
vxorps xmm0, xmm0, xmmword [esi + 0x30]
vmovaps xmmword [esi + 0x20], xmm0
mov edi, dword [esi + 0xa0]
vmovups xmm0, xmmword [edi + 8]
vmovaps xmmword [esi + 0x50], xmm0
vmovsd qword [esp], xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_sin
fstp qword [esi + 0x1a0]
vmovaps xmm0, xmmword [esi + 0x50]
vinsertps xmm0, xmm0, dword [edi + 0xc], 0x10
vbroadcastss xmm1, dword [0x100f54dc]
vmulps xmm0, xmm0, xmm1
vmovaps xmmword [esi + 0x50], xmm0
vmovsd xmm0, qword [esi + 0x80]
vmovsd qword [esp], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_cos
fstp qword [esi + 0x198]
vmovsd xmm0, qword [esi + 0x1a0]
vmovhpd xmm0, xmm0, qword [esi + 0x198]
vcvtpd2ps xmm0, xmm0
vmovaps xmm1, xmmword [esi + 0x30]
vinsertps xmm1, xmm1, dword [esi + 0x20], 0x10
vfmadd213ps xmm1, xmm0, xmmword [esi + 0x50]
vcvttps2dq xmm0, xmm1
vcvtdq2ps xmm0, xmm0
vmovaps xmmword [esi + 0x50], xmm0
vmovlps qword [esi + 0xf8], xmm0
vmovaps xmm0, xmmword [0x101011f0]
vmovups xmmword [esi + 0x100], xmm0
lea ebx, [esi + 0x100]
mov dword [esp], ebx
call fcn.10023df0
vmovss xmm0, dword [0x10101200]
vmovss xmm2, dword [esi + 0x90]
vdivss xmm1, xmm2, xmm0
vmovss xmm3, dword [0x100f54d0]
vsubss xmm1, xmm3, xmm1
vmulss xmm1, xmm1, dword [0x100f54e0]
vcmpltss xmm0, xmm0, xmm2
vandnps xmm0, xmm0, xmm1
vcvttss2si ecx, xmm0
movzx ecx, cl
or ecx, eax
lea edi, [esi + 0xf8]
mov dword [esp], edi
mov dword [esp + 0xc], ecx
mov dword [esp + 8], pe_nt_image_headers32
mov dword [esp + 4], 0x41b80000
call fcn.100ca680
sub esp, 0x10
vmovaps xmm0, xmmword [0x10101210]
vmovups xmmword [esi + 0x100], xmm0
mov dword [esp], ebx
call fcn.10023df0
mov dword [esp + 0xc], eax
mov dword [esp], edi
mov dword [esp + 8], pe_nt_image_headers32
mov dword [esp + 4], 0x41b80000
call fcn.100ca8f0
sub esp, 0x10
mov ecx, dword [ebp + 8]
vmovss xmm0, dword [ecx + 0x2c]
mov eax, dword [0x1012d364]
vxorps xmm7, xmm7, xmm7
vcvtsi2ss xmm1, xmm7, dword [ecx + 0x34]
vsubss xmm0, xmm0, dword [eax + 0x10]
vmovss dword [esi + 0x30], xmm0
vmulss xmm0, xmm1, dword [eax + 0x20]
vmovss dword [esi + 0x20], xmm0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 0
mov dword [esi + 0x68], 0
mov dword [esi + 0x100], 0x1e0
mov dword [esi + 0x1e8], 2
mov dword [esi + 0x1c], ebx
mov dword [esp], ebx
lea ecx, [esi + 0x44]
call fcn.100d9b00
sub esp, 4
mov dword [esi + 0x100], 0x1e0
mov eax, dword [esi + 0x68]
sub eax, dword [esi + 0x60]
cmp eax, 0x77f
ja 0x100c9ed7
lea eax, [esi + 0x100]
mov dword [esp], eax
lea ecx, [esi + 0x60]
call fcn.100d9b00
sub esp, 4
vmovss xmm0, dword [esi + 0x30]
vdivss xmm0, xmm0, dword [esi + 0x20]
vmulss xmm1, xmm0, dword [0x100fc538]
vxorps xmm2, xmm2, xmm2
vcmpltss xmm2, xmm0, xmm2
vandnps xmm1, xmm2, xmm1
vmovss xmm2, dword [0x100f54d0]
vcmpltss xmm0, xmm2, xmm0
vbroadcastss xmm2, dword [0x100fc538]
vblendvps xmm0, xmm1, xmm2, xmm0
vmovaps xmmword [esi + 0xa0], xmm0
vdivss xmm0, xmm0, dword [0x10101220]
vmovss dword [esi + 0x70], xmm0
vmovshdup xmm0, xmmword [esi + 0x50]
vmovaps xmmword [esi + 0x80], xmm0
vxorps xmm1, xmm1, xmm1
jmp 0x100c9f50
mov dword [eax], ecx
add dword [esi + 0x64], 4
vmovss xmm1, dword [esi + 0x20]
vaddss xmm1, xmm1, dword [esi + 0x70]
vmovaps xmm0, xmmword [esi + 0xa0]
vucomiss xmm0, xmm1
jbe 0x100ca03d
vmovss dword [esi + 0x20], xmm1
vcvtss2sd xmm0, xmm1, xmm1
vmovsd qword [esi + 0x30], xmm0
vmovsd qword [esp], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_cos
fstp dword [esi + 0xc0]
vmovss xmm0, dword [esi + 0xc0]
vmovss xmm1, dword [0x10101230]
vfmadd213ss xmm0, xmm1, dword [esi + 0x50]
vcvttss2si ecx, xmm0
mov dword [esi + 0x100], ecx
mov eax, dword [esi + 0x48]
cmp eax, dword [esi + 0x4c]
je 0x100c9fb0
mov dword [eax], ecx
add dword [esi + 0x48], 4
jmp 0x100c9fd2
mov dword [esi + 0x1e8], 2
lea ecx, [esi + 0x100]
mov dword [esp + 4], ecx
mov dword [esp], eax
lea ecx, [esi + 0x44]
call fcn.1000ad80
sub esp, 8
vmovsd xmm0, qword [esi + 0x30]
vmovsd qword [esp], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_sin
fstp dword [esi + 0xbc]
vmovss xmm0, dword [esi + 0xbc]
vmovss xmm1, dword [0x10101230]
vfmadd213ss xmm0, xmm1, dword [esi + 0x80]
vcvttss2si ecx, xmm0
mov dword [esi + 0x100], ecx
mov eax, dword [esi + 0x64]
cmp eax, dword [esi + 0x68]
jne 0x100c9f40
mov dword [esi + 0x1e8], 2
lea ecx, [esi + 0x100]
mov dword [esp + 4], ecx
mov dword [esp], eax
lea ecx, [esi + 0x60]
call fcn.1000ad80
sub esp, 8
jmp 0x100c9f46
mov eax, dword [esi + 0x48]
sub eax, dword [esi + 0x44]
sar eax, 2
mov dword [esi + 0x20], eax
mov eax, 1
jmp 0x100ca05c
mov ecx, dword [ecx]
mov dword [eax], ecx
add dword [esi + 0x64], 4
mov eax, dword [esi + 0x30]
inc eax
mov edi, dword [esi + 0x20]
mov dword [esi + 0x30], eax
sub edi, eax
jbe 0x100ca10a
mov ecx, dword [esi + 0x44]
mov eax, dword [esi + 0x48]
mov edx, eax
sub edx, ecx
sar edx, 2
cmp edx, edi
jbe 0x100ca426
lea ecx, [ecx + edi*4]
cmp eax, dword [esi + 0x4c]
je 0x100ca0a0
mov ecx, dword [ecx]
mov dword [eax], ecx
add dword [esi + 0x48], 4
jmp 0x100ca0c8
mov dword [esi + 0x1e8], 2
mov dword [esp + 4], ecx
mov dword [esp], eax
lea ecx, [esi + 0x44]
mov dword [esi + 0xa0], edi
call fcn.1000ad80
sub esp, 8
mov edi, dword [esi + 0xa0]
mov ecx, dword [esi + 0x60]
mov eax, dword [esi + 0x64]
mov edx, eax
sub edx, ecx
sar edx, 2
cmp edx, edi
jbe 0x100ca435
lea ecx, [ecx + edi*4]
cmp eax, dword [esi + 0x68]
jne 0x100ca050
mov dword [esi + 0x1e8], 2
mov dword [esp + 4], ecx
mov dword [esp], eax
lea ecx, [esi + 0x60]
call fcn.1000ad80
sub esp, 8
jmp 0x100ca058
mov eax, dword [0x1012d3a0]
mov dword [esi + 0x30], eax
vmovaps xmm0, xmmword [0x10101210]
vmovups xmmword [esi + 0x100], xmm0
mov dword [esi + 0x1e8], 2
lea eax, [esi + 0x100]
mov dword [esp], eax
call fcn.10023df0
mov ecx, dword [esi + 0x30]
mov edx, dword [ecx]
mov dword [esp], eax
call dword [edx + 0x38]
sub esp, 4
mov ecx, dword [0x1012d3a0]
mov eax, dword [esi + 0x44]
mov edx, dword [esi + 0x48]
sub edx, eax
sar edx, 2
mov edi, dword [esi + 0x60]
mov ebx, dword [ecx]
mov dword [esp + 8], edx
mov dword [esp + 4], edi
mov dword [esp], eax
call dword [ebx + 0x50]
sub esp, 0xc
vmovaps xmm0, xmmword [0x10101210]
vmovups xmmword [esi + 0x100], xmm0
lea eax, [esi + 0x100]
mov dword [esp], eax
call fcn.10023df0
vmovaps xmm0, xmmword [esi + 0x80]
vaddss xmm1, xmm0, dword [0x10101224]
mov ecx, dword [esi + 0x6c]
mov ecx, dword [ecx + 0x20c]
vmovaps xmm0, xmmword [esi + 0x50]
vaddss xmm0, xmm0, dword [0x100f54d0]
mov dword [esp + 0x14], eax
mov dword [esp + 8], ecx
vmovss dword [esi + 0x30], xmm1
vmovss dword [esp + 4], xmm1
vmovss dword [esp], xmm0
mov dword [esp + 0x18], 3
mov dword [esp + 0x10], 1
mov dword [esp + 0xc], 0x10124163
call fcn.100cab40
sub esp, 0x1c
vmovaps xmm0, xmmword [0x10101210]
vmovups xmmword [esi + 0x1c8], xmm0
lea eax, [esi + 0x1c8]
mov dword [esp], eax
call fcn.10023df0
mov dword [esi + 0x20], eax
vmovss xmm0, dword [esi + 0x90]
vmulss xmm0, xmm0, dword [0x1010122c]
vcvttss2si eax, xmm0
mov dword [esi + 0xf4], eax
mov dword [esi + 0xf0], 0x10000000
vxorps xmm0, xmm0, xmm0
vmovaps xmmword [esi + 0x100], xmm0
mov dword [esi + 0x110], 0
mov dword [esi + 0x114], 0xf
mov dword [esi + 0x1e8], 3
lea eax, [esi + 0xf0]
mov dword [esp + 0x14], eax
lea eax, [esi + 0x100]
mov dword [esp + 4], eax
lea eax, [esi + 0x1ac]
mov dword [esp], eax
mov dword [esp + 0x10], 1
mov dword [esp + 0xc], 5
mov dword [esp + 8], str._FT
call fcn.100b4d30
vmovss xmm0, dword [esi + 0x30]
vaddss xmm0, xmm0, dword [0x10101228]
vmovss dword [esi + 0x30], xmm0
cmp dword [esi + 0x114], 0x10
jb 0x100ca2b8
mov eax, dword [esi + 0x100]
mov dword [esi + 0x1c], eax
mov edi, dword [esi + 0x1c]
mov dword [esp], edi
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov ecx, dword [esi + 0x6c]
mov ecx, dword [ecx + 0x210]
mov dword [esi + 0x1e8], 4
mov edx, dword [esi + 0x20]
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], edi
mov dword [esp + 8], ecx
vmovss xmm0, dword [esi + 0x30]
vmovss dword [esp + 4], xmm0
vmovaps xmm0, xmmword [esi + 0x50]
vmovss dword [esp], xmm0
mov dword [esp + 0x18], 1
call fcn.100cab40
sub esp, 0x1c
mov eax, dword [esi + 0x114]
cmp eax, 0x10
jb 0x100ca34e
mov ecx, dword [esi + 0x100]
lea edx, [eax + 1]
cmp edx, 0x1000
jb 0x100ca342
mov edi, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edi
cmp ecx, 0x20
jae 0x100ca4bc
add eax, 0x24
mov edx, eax
mov ecx, edi
mov dword [esp + 4], edx
mov dword [esp], ecx
call fcn.100f1e8b
mov ecx, dword [esi + 0x60]
test ecx, ecx
je 0x100ca383
mov eax, dword [esi + 0x68]
sub eax, ecx
cmp eax, 0x1000
jb 0x100ca377
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x100ca4bc
add eax, 0x23
mov ecx, edx
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.100f1e8b
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x100ca3b8
mov eax, dword [esi + 0x4c]
sub eax, ecx
cmp eax, 0x1000
jb 0x100ca3ac
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x100ca4bc
add eax, 0x23
mov ecx, edx
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.100f1e8b
mov al, 1
mov ecx, dword [esi + 0x1e0]
mov dword fs:[0], ecx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 8
vmovsd qword [esp], xmm0
vmovsd qword [esi + 0x30], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_sin
fstp st(0)
vmovsd xmm0, qword [esi + 0x30]
jmp 0x100c9a78
vcvtss2sd xmm0, xmm0, xmm0
vmovsd qword [esi + 0x70], xmm0
vmovsd qword [esp], xmm0
vmovss dword [esi + 0x50], xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_sin
fstp st(0)
vmovsd xmm0, qword [esi + 0x70]
vmovsd qword [esp], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_cos
fstp st(0)
vmovss xmm1, dword [esi + 0x50]
jmp 0x100c9b0c
call fcn.1000c8e0
mov dword [esi + 0x1e8], 2
call fcn.1000c8e0
mov dword [esi + 0x1e8], 2
call fcn.1000c8e0
mov dword [esi + 0xe0], edx
mov dword [esi + 0x1c], edi
or eax, 1
mov dword [0x10132ba8], eax
mov eax, dword [0x1012d324]
mov dword [esi + 0x90], eax
mov dword [esi + 0x1e8], 0
mov dword [esp], str.CBaseEntity__m_vecOrigin
lea ecx, [esi + 0x100]
mov dword [esi + 0x50], ecx
call fcn.100083b0
sub esp, 4
mov eax, dword [esi + 0x110]
mov dword [esi + 0x20], eax
cmp dword [esi + 0x114], 0x10
jb 0x100ca49d
mov eax, dword [esi + 0x100]
mov dword [esi + 0x50], eax
cmp dword [esi + 0x20], 0
je 0x100ca4c2
mov eax, dword [esi + 0x20]
mov ecx, eax
and ecx, 3
mov dword [esi + 0x70], ecx
cmp eax, 4
jae 0x100ca4c9
mov ecx, 0x811c9dc5
xor edx, edx
jmp 0x100ca513
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov ecx, 0x811c9dc5
jmp 0x100ca530
mov edi, dword [esi + 0x20]
and edi, 0xfffffffc
mov ecx, 0x811c9dc5
xor edx, edx
mov eax, dword [esi + 0x50]
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 0x100ca4d9
cmp dword [esi + 0x70], 0
je 0x100ca530
add edx, dword [esi + 0x50]
xor edi, edi
movzx ebx, byte [edx + edi]
xor ebx, ecx
imul ecx, ebx, 0x1000193
inc edi
cmp dword [esi + 0x70], edi
jne 0x100ca51e
mov edx, dword [esi + 0x90]
and ecx, dword [edx + 0x18]
mov eax, dword [edx + 0xc]
mov ebx, dword [eax + ecx*8 + 4]
cmp ebx, dword [edx + 4]
je 0x100ca5ab
add ecx, ecx
mov edi, dword [eax + ecx*4]
mov eax, dword [esi + 0x20]
cmp eax, dword [ebx + 0x18]
jne 0x100ca57a
cmp dword [ebx + 0x1c], 0x10
jb 0x100ca55d
mov eax, dword [ebx + 8]
jmp 0x100ca560
lea eax, [ebx + 8]
mov ecx, dword [esi + 0x20]
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
mov eax, dword [esi + 0x50]
mov dword [esp], eax
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x100ca583
cmp ebx, edi
je 0x100ca5ab
mov ebx, dword [ebx + 4]
jmp 0x100ca54a
add ebx, 0x20
lea ecx, [esi + 0x100]
call fcn.100029d0
mov dword [0x10132ba4], ebx
mov ecx, dword [esi + 0x80]
mov edi, dword [esi + 0x1c]
mov edx, dword [esi + 0xe0]
jmp 0x100c9397
mov dword [esi + 0x1e8], 1
mov dword [esp], 0x1011ed9d
call sub.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const__
nop word cs:[eax + eax]
push ebp
sub esp, 0x1c
lea esi, [ebp - 0x1ec]
mov ebp, dword [esi + 0x1d8]
lea ecx, [esi + 0x100]
call fcn.100029d0
add esp, 0x1c
pop ebp
ret