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

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], rbx
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x3e8]
sub rsp, 0x4b0
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
mov r13, rcx
xor r12d, r12d
mov dword [rbp + 0x3f8], r12d
xor eax, eax
mov qword [rbp + 0x40], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x48], xmm0
mov qword [rbp + 0x60], 0xf
mov byte [rbp + 0x68], al
mov qword [rbp + 0x58], 0xe
movsd xmm0, qword [str._UnlitGeneric_]
movsd qword [rbp + 0x48], xmm0
mov eax, dword [0x18025def0]
mov dword [rbp + 0x50], eax
movzx eax, word [0x18025def4]
mov word [rbp + 0x54], ax
mov byte [rbp + 0x56], r12b
mov r8d, 2
lea rdx, [0x18025def8]
lea rcx, [rbp + 0x48]
call fcn.1800ae730
mov r8d, 0x13
lea rdx, str._n_t_color2___0_0_0__
lea rcx, [rbp + 0x48]
call fcn.1800ae730
mov r8d, 0xf
lea rdx, str._n_t_additive__1_
lea rcx, [rbp + 0x48]
call fcn.1800ae730
mov r8d, 0xc
lea rdx, str._n_t_model__1_
lea rcx, [rbp + 0x48]
call fcn.1800ae730
mov r8d, 2
lea rdx, [0x18025df70]
lea rcx, [rbp + 0x48]
call fcn.1800ae730
mov byte [rbp + 0x68], 1
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], 4
mov qword [rsp + 0x58], 0xf
mov eax, dword [str.None]
mov dword [rsp + 0x40], eax
mov byte [rsp + 0x44], r12b
lea r8, [rsp + 0x40]
lea rdx, [rbp - 0x50]
mov rcx, r13
call fcn.180169f40
mov rbx, qword [rax]
mov rax, qword [rbp + 0x40]
mov qword [rbx + 0x30], rax
lea rcx, [rbx + 0x38]
lea rax, [rbp + 0x48]
cmp rcx, rax
je 0x18016cec9
lea rdx, [rbp + 0x48]
cmp qword [rbp + 0x60], 0xf
cmova rdx, qword [rbp + 0x48]
mov r8, qword [rbp + 0x58]
call fcn.18009a1f0
movzx eax, byte [rbp + 0x68]
mov byte [rbx + 0x58], al
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x18016cf0e
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18016cf08
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18016e5f6
call fcn.180199c38
nop
lea rcx, [rbp + 0x48]
call fcn.18009a190
xor eax, eax
mov qword [rbp + 0x70], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x78], xmm0
mov qword [rbp + 0x90], 0xf
mov byte [rbp + 0x98], al
mov qword [rbp + 0x88], 0xe
movsd xmm0, qword [str._UnlitGeneric_]
movsd qword [rbp + 0x78], xmm0
mov eax, dword [0x18025def0]
mov dword [rbp + 0x80], eax
movzx eax, word [0x18025def4]
mov word [rbp + 0x84], ax
mov byte [rbp + 0x86], 0
mov r8d, 2
lea rdx, [0x18025def8]
lea rcx, [rbp + 0x78]
call fcn.1800ae730
mov r8d, 0x24
lea rdx, str._n_t_basetexture__vgui_white_additive_
lea rcx, [rbp + 0x78]
call fcn.1800ae730
mov r8d, 0xc
lea rdx, str._n_t_model__1_
lea rcx, [rbp + 0x78]
call fcn.1800ae730
mov r8d, 2
lea rdx, [0x18025df70]
lea rcx, [rbp + 0x78]
call fcn.1800ae730
mov byte [rbp + 0x98], 1
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], 4
mov qword [rsp + 0x58], 0xf
mov eax, dword [str.Flat]
mov dword [rsp + 0x40], eax
mov byte [rsp + 0x44], 0
lea r8, [rsp + 0x40]
lea rdx, [rbp - 0x50]
mov rcx, r13
call fcn.180169f40
mov rbx, qword [rax]
mov rax, qword [rbp + 0x70]
mov qword [rbx + 0x30], rax
lea rcx, [rbx + 0x38]
lea rax, [rbp + 0x78]
cmp rcx, rax
je 0x18016d03c
lea rdx, [rbp + 0x78]
cmp qword [rbp + 0x90], 0xf
cmova rdx, qword [rbp + 0x78]
mov r8, qword [rbp + 0x88]
call fcn.18009a1f0
movzx eax, byte [rbp + 0x98]
mov byte [rbx + 0x58], al
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x18016d084
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18016d07e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18016e5fc
call fcn.180199c38
nop
lea rcx, [rbp + 0x78]
call fcn.18009a190
xor eax, eax
mov qword [rsp + 0x60], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], r12
mov qword [rbp - 0x80], 0xf
mov byte [rsp + 0x68], al
mov byte [rbp - 0x78], al
lea rdx, str._VertexLitGeneric_
lea rcx, [rsp + 0x68]
call fcn.180099d30
mov r8d, 2
lea rdx, [0x18025def8]
lea rcx, [rsp + 0x68]
call fcn.1800ae730
lea rdx, str._n_t_basetexture__vgui_white_additive_
lea rcx, [rsp + 0x68]
call fcn.180137750
lea rdx, str._n_t_model__1_
lea rcx, [rsp + 0x68]
call fcn.180137750
lea rdx, [0x18025df70]
lea rcx, [rsp + 0x68]
call fcn.180137750
mov byte [rbp - 0x78], 1
lea rdx, str.Shaded
lea rcx, [rbp - 0x70]
call fcn.180099e10
nop
lea rdx, [rbp - 0x70]
mov rcx, r13
call fcn.180169e10
mov rcx, rax
lea rdx, [rsp + 0x60]
call fcn.18016e630
nop
lea rcx, [rbp - 0x70]
call fcn.18009a190
nop
lea rcx, [rsp + 0x68]
call fcn.18009a190
xor eax, eax
mov qword [rsp + 0x60], rax
lea rdx, [0x18020aa47]
lea rcx, [rsp + 0x68]
call fcn.180099e10
mov byte [rbp - 0x78], 0
lea rdx, str._UnlitGeneric_
lea rcx, [rsp + 0x68]
call fcn.180099d30
lea rdx, [0x18025def8]
lea rcx, [rsp + 0x68]
call fcn.180137750
lea rdx, str._n_t_basetexture__vgui_white_additive_
lea rcx, [rsp + 0x68]
call fcn.180137750
lea rdx, str._n_t_wireframe__1_
lea rcx, [rsp + 0x68]
call fcn.180137750
lea rdx, str._n_t_model__1_
lea rcx, [rsp + 0x68]
call fcn.180137750
lea rdx, [0x18025df70]
lea rcx, [rsp + 0x68]
call fcn.180137750
mov byte [rbp - 0x78], 1
lea rdx, str.Wireframe
lea rcx, [rbp - 0x70]
call fcn.180099e10
nop
lea rdx, [rbp - 0x70]
mov rcx, r13
call fcn.180169e10
mov rcx, rax
lea rdx, [rsp + 0x60]
call fcn.18016e630
nop
lea rcx, [rbp - 0x70]
call fcn.18009a190
nop
lea rcx, [rsp + 0x68]
call fcn.18009a190
xor eax, eax
mov qword [rsp + 0x60], rax
lea rdx, [0x18020aa47]
lea rcx, [rsp + 0x68]
call fcn.180099e10
mov byte [rbp - 0x78], 0
lea rdx, str._VertexLitGeneric_
lea rcx, [rsp + 0x68]
call fcn.180099d30
lea rdx, [0x18025def8]
lea rcx, [rsp + 0x68]
call fcn.180137750
lea rdx, str._n_t_basetexture__vgui_white_additive_
lea rcx, [rsp + 0x68]
call fcn.180137750
lea rdx, str._n_t_bumpmap__models_player_shared_shared_normal_
lea rcx, [rsp + 0x68]
call fcn.180137750
lea rdx, str._n_t_color2___0_0_0__
lea rcx, [rsp + 0x68]
call fcn.180137750
lea rdx, str._n_t_additive__1_
lea rcx, [rsp + 0x68]
call fcn.180137750
lea rdx, str._n_t_phong__1_
lea rcx, [rsp + 0x68]
call fcn.180137750
lea rdx, str._n_t_phongfresnelranges___0_0.5_1__
lea rcx, [rsp + 0x68]
call fcn.180137750
lea rdx, str._n_t_envmap__skybox_sky_dustbowl_01_
lea rcx, [rsp + 0x68]
call fcn.180137750
lea rdx, str._n_t_envmapfresnel__1_
lea rcx, [rsp + 0x68]
call fcn.180137750
lea rdx, str._n_t_model__1_
lea rcx, [rsp + 0x68]
call fcn.180137750
lea rdx, [0x18025df70]
lea rcx, [rsp + 0x68]
call fcn.180137750
mov byte [rbp - 0x78], 1
lea rdx, str.Fresnel
lea rcx, [rbp - 0x70]
call fcn.180099e10
nop
lea rdx, [rbp - 0x70]
mov rcx, r13
call fcn.180169e10
mov rcx, rax
lea rdx, [rsp + 0x60]
call fcn.18016e630
nop
lea rcx, [rbp - 0x70]
call fcn.18009a190
nop
lea rcx, [rsp + 0x68]
call fcn.18009a190
xor eax, eax
mov qword [rsp + 0x60], rax
lea rdx, [0x18020aa47]
lea rcx, [rsp + 0x68]
call fcn.180099e10
mov byte [rbp - 0x78], 0
lea rdx, str._VertexLitGeneric_
lea rcx, [rsp + 0x68]
call fcn.180099d30
lea rdx, [0x18025def8]
lea rcx, [rsp + 0x68]
call fcn.180137750
lea rdx, str._n_t_additive__1_
lea rcx, [rsp + 0x68]
call fcn.180137750
lea rdx, str._n_t_envmap__cubemaps_cubemap_sheen002.hdr_
lea rcx, [rsp + 0x68]
call fcn.180137750
lea rdx, str._n_t_envmaptint___1_1_1__
lea rcx, [rsp + 0x68]
call fcn.180137750
lea rdx, str._n_t_model__1_
lea rcx, [rsp + 0x68]
call fcn.180137750
lea rdx, [0x18025df70]
lea rcx, [rsp + 0x68]
call fcn.180137750
mov byte [rbp - 0x78], 1
lea rdx, str.Shine
lea rcx, [rbp - 0x70]
call fcn.180099e10
nop
lea rdx, [rbp - 0x70]
mov rcx, r13
call fcn.180169e10
mov rcx, rax
lea rdx, [rsp + 0x60]
call fcn.18016e630
nop
lea rcx, [rbp - 0x70]
call fcn.18009a190
nop
lea rcx, [rsp + 0x68]
call fcn.18009a190
xor eax, eax
mov qword [rbp], rax
lea rdx, [0x18020aa47]
lea rcx, [rbp + 8]
call fcn.180099e10
mov byte [rbp + 0x28], 0
lea rdx, str._VertexLitGeneric_
lea rcx, [rbp + 8]
call fcn.180099d30
lea rdx, [0x18025def8]
lea rcx, [rbp + 8]
call fcn.180137750
lea rdx, str._n_t_basetexture__models_player_shared_ice_player_
lea rcx, [rbp + 8]
call fcn.180137750
lea rdx, str._n_t_bumpmap__models_player_shared_shared_normal_
lea rcx, [rbp + 8]
call fcn.180137750
lea rdx, str._n_t_additive__1_
lea rcx, [rbp + 8]
call fcn.180137750
lea rdx, str._n_t_phong__1_
lea rcx, [rbp + 8]
call fcn.180137750
lea rdx, str._n_t_phongfresnelranges___0_0.001_0.001__
lea rcx, [rbp + 8]
call fcn.180137750
lea rdx, str._n_t_envmap__skybox_sky_dustbowl_01_
lea rcx, [rbp + 8]
call fcn.180137750
mov r8d, 0x14
lea rdx, str._n_t_envmapfresnel__1_
lea rcx, [rbp + 8]
call fcn.1800ae730
mov r8d, 0x10
lea rdx, str._n_t_selfillum__1_
lea rcx, [rbp + 8]
call fcn.1800ae730
mov r8d, 0x1a
lea rdx, str._n_t_selfillumtint___0_0_0__
lea rcx, [rbp + 8]
call fcn.1800ae730
mov r8d, 0xc
lea rdx, str._n_t_model__1_
lea rcx, [rbp + 8]
call fcn.1800ae730
mov r8d, 2
lea rdx, [0x18025df70]
lea rcx, [rbp + 8]
call fcn.1800ae730
mov byte [rbp + 0x28], 1
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], 4
mov qword [rsp + 0x58], 0xf
mov eax, dword [str.Tint]
mov dword [rsp + 0x40], eax
mov byte [rsp + 0x44], 0
lea r8, [rsp + 0x40]
lea rdx, [rbp - 0x50]
mov rcx, r13
call fcn.180169f40
mov rbx, qword [rax]
mov rax, qword [rbp]
mov qword [rbx + 0x30], rax
lea rcx, [rbx + 0x38]
lea rax, [rbp + 8]
cmp rcx, rax
je 0x18016d589
lea rdx, [rbp + 8]
cmp qword [rbp + 0x20], 0xf
cmova rdx, qword [rbp + 8]
mov r8, qword [rbp + 0x18]
call fcn.18009a1f0
movzx eax, byte [rbp + 0x28]
mov byte [rbx + 0x58], al
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x18016d5ce
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18016d5c8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18016e602
call fcn.180199c38
nop
lea rcx, [rbp + 8]
call fcn.18009a190
mov rcx, qword [0x1802983b0]
movabs rax, 0x7fffffffffffffff
sub rax, rcx
cmp rax, 0xa
jb 0x18016e608
lea r9, [0x1802983a0]
cmp qword [0x1802983b8], 0xf
cmova r9, qword [0x1802983a0]
mov qword [rsp + 0x30], 0xa
lea rax, str.Materials
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x40]
call fcn.180103fd0
mov esi, 0x80
mov dword [rbp + 0x3f8], esi
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x70]
call fcn.180101820
nop
lea rdx, [rbp - 0x70]
lea rcx, [rbp - 0x30]
call fcn.180122860
nop
lea rcx, [rbp - 0x70]
call fcn.1800ffdb0
nop
lea rcx, [rsp + 0x40]
call fcn.18009a190
mov rbx, qword [rbp - 0x28]
test rbx, rbx
je 0x18016d683
lock inc dword [rbx + 8]
mov rbx, qword [rbp - 0x28]
mov esi, dword [rbp + 0x3f8]
movaps xmm0, xmmword [rbp - 0x30]
movdqa xmmword [rbp + 0xc0], xmm0
test rbx, rbx
je 0x18016d6a2
lock inc dword [rbx + 8]
mov rbx, qword [rbp - 0x28]
mov esi, dword [rbp + 0x3f8]
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xd0], xmm1
mov r14, 0xffffffffffffffff
test rbx, rbx
je 0x18016d6ee
mov eax, r14d
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x18016d6e4
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r14d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x18016d6e4
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
mov esi, dword [rbp + 0x3f8]
mov rbx, qword [rbp - 0x28]
mov rdi, qword [rbp + 0xc0]
test rdi, rdi
je 0x18016dc60
lea r15, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
nop word [rax + rax]
lea rdx, [rbp + 0x100]
mov rcx, rdi
call fcn.1801222d0
mov rax, qword [rbp + 0x100]
mov edx, dword [rbp + 0x108]
test edx, edx
je 0x18016d73f
lea ecx, [rax - 1]
test ecx, 0xfffffff7
jne 0x18016e614
cmp eax, 2
jne 0x18016d7da
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], 4
mov qword [rbp - 0x38], 0xf
mov eax, dword [str..vmt]
mov dword [rbp - 0x50], eax
mov byte [rbp - 0x4c], 0
or esi, 1
mov dword [rbp + 0x3f8], esi
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x70]
call fcn.180101820
nop
or esi, 2
mov dword [rbp + 0x3f8], esi
lea rcx, [rdi + 0x20]
lea rdx, [rsp + 0x60]
call fcn.180122060
or esi, 4
mov dword [rbp + 0x3f8], esi
lea rcx, [rbp - 0x70]
cmp qword [rbp - 0x58], 7
cmova rcx, qword [rbp - 0x70]
mov qword [rbp - 0x10], rcx
mov rcx, qword [rbp - 0x60]
mov qword [rbp - 8], rcx
movaps xmm0, xmmword [rbp - 0x10]
movdqa xmmword [rbp - 0x20], xmm0
lea rdx, [rbp - 0x20]
mov rcx, rax
call fcn.180121d80
test eax, eax
jne 0x18016d7da
xor bl, bl
jmp 0x18016d7dc
mov bl, 1
test sil, 4
je 0x18016d7f6
and esi, 0xfffffffb
mov dword [rbp + 0x3f8], esi
lea rcx, [rsp + 0x60]
call fcn.1800ffdb0
nop
test sil, 2
je 0x18016d80f
and esi, 0xfffffffd
mov dword [rbp + 0x3f8], esi
lea rcx, [rbp - 0x70]
call fcn.1800ffdb0
nop
test sil, 1
je 0x18016d859
and esi, 0xfffffffe
mov dword [rbp + 0x3f8], esi
mov rdx, qword [rbp - 0x38]
cmp rdx, 0xf
jbe 0x18016d859
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18016d854
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18016e5f0
call fcn.180199c38
test bl, bl
jne 0x18016dc40
lea rdx, [rdi + 0x20]
cmp qword [rdi + 0x38], 7
jbe 0x18016d870
mov rdx, qword [rdi + 0x20]
lea rcx, [rbp + 0x200]
call fcn.180170a60
mov rax, qword [rbp + 0x200]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x200], r15
mov rax, qword [rbp + 0x200]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0x1fc], edx
mov rax, qword [rbp + 0x200]
movsxd rcx, dword [rax + 4]
cmp dword [rbp + rcx + 0x210], 0
je 0x18016d937
mov qword [rbp + rcx + 0x200], r15
mov rax, qword [rbp + 0x200]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0x1fc], edx
lea rcx, [rbp + 0x210]
call fcn.1801038f0
mov rax, qword [rbp + 0x200]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x200], rax
mov rax, qword [rbp + 0x200]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x18]
mov dword [rbp + rcx + 0x1fc], edx
lea rax, vtable.std::ios_base.0
mov qword [rbp + 0x2b0], rax
lea rcx, [rbp + 0x2b0]
call fcn.18019cdb0
nop
jmp 0x18016dc40
lea rcx, [rdi + 0x20]
cmp qword [rdi + 0x38], 7
jbe 0x18016d946
mov rcx, qword [rdi + 0x20]
mov rax, qword [rdi + 0x30]
lea rdi, [rcx + rax*2]
mov rbx, rdi
mov rdx, rdi
call fcn.1801219d0
cmp rax, rdi
je 0x18016d99b
nop
movzx ecx, word [rax]
cmp cx, 0x5c
je 0x18016d96f
cmp cx, 0x2f
jne 0x18016d978
add rax, 2
cmp rax, rdi
jne 0x18016d960
cmp rax, rdi
je 0x18016d99b
nop dword [rax]
lea rdx, [rbx - 2]
movzx ecx, word [rdx]
cmp cx, 0x5c
je 0x18016d99b
cmp cx, 0x2f
je 0x18016d99b
mov rbx, rdx
cmp rax, rdx
jne 0x18016d980
sub rdi, rbx
sar rdi, 1
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], r12
mov qword [rbp - 0x58], r12
mov r8, rdi
mov rdx, rbx
lea rcx, [rbp - 0x70]
call fcn.18013c540
or esi, 0x70
mov dword [rbp + 0x3f8], esi
lea rdx, [rbp + 0xa0]
lea rcx, [rbp - 0x70]
call fcn.1800f0d30
nop
lea rcx, [rbp - 0x70]
call fcn.1800ffdb0
lea r10, [rbp + 0xa0]
mov r9, qword [rbp + 0xa0]
mov r8, qword [rbp + 0xb8]
cmp r8, 0xf
cmova r10, r9
mov rbx, qword [rbp + 0xb0]
add r10, rbx
lea rax, [rbp + 0xa0]
cmp r8, 0xf
cmova rax, r9
add rax, 0xfffffffffffffffc
add rax, rbx
lea rcx, [rbp + 0xa0]
cmp r8, 0xf
cmova rcx, r9
mov rdx, rax
sub rdx, rcx
sub r10, rax
mov rax, rbx
sub rax, rdx
cmp rax, r10
cmovb r10, rax
lea rcx, [rbp + 0xa0]
cmp r8, 0xf
cmova rcx, r9
add rcx, rdx
sub rbx, r10
mov r8, rbx
sub r8, rdx
inc r8
lea rdx, [rcx + r10]
call fcn.1801cf8e0
mov qword [rbp + 0xb0], rbx
mov qword [rbp + 0x30], r12
mov word [rbp + 0x38], 1
mov rax, qword [rbp + 0x200]
movsxd rcx, dword [rax + 4]
mov rcx, qword [rbp + rcx + 0x248]
mov qword [rbp + 0xe0], rcx
test rcx, rcx
sete byte [rbp + 0xe8]
mov byte [rbp + 0xe9], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], r12
movaps xmm0, xmmword [rbp + 0xe0]
movaps xmmword [rbp - 0x20], xmm0
movaps xmm6, xmmword [rbp + 0x30]
test rcx, rcx
je 0x18016db14
mov rax, qword [rcx + 0x38]
mov rdx, qword [rax]
test rdx, rdx
je 0x18016dae7
mov rax, qword [rcx + 0x50]
cmp dword [rax], 0
jle 0x18016dae7
movzx eax, byte [rdx]
jmp 0x18016daed
mov rax, qword [rcx]
call qword [rax + 0x30]
cmp eax, 0xffffffff
je 0x18016db03
mov byte [rbp - 0x17], al
mov rax, qword [rbp - 0x20]
mov byte [rbp - 0x18], 1
movaps xmm0, xmmword [rbp - 0x20]
jmp 0x18016db19
mov rax, r12
mov qword [rbp - 0x20], rax
mov byte [rbp - 0x18], 1
movaps xmm0, xmmword [rbp - 0x20]
jmp 0x18016db19
movq rax, xmm0
test rax, rax
movq rax, xmm6
jne 0x18016e5cf
test rax, rax
je 0x18016e5d8
movdqa xmmword [rbp - 0x20], xmm6
movdqa xmmword [rbp - 0x50], xmm0
lea r8, [rbp - 0x20]
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x40]
call fcn.180170d20
nop
mov edx, 0xca0c003e
lea rcx, [0x18024cf81]
call fcn.1800ea660
mov r10d, eax
lea r8, [rbp + 0xa0]
cmp qword [rbp + 0xb8], 0xf
cmova r8, qword [rbp + 0xa0]
mov r9d, 0x811c9dc5
mov rcx, r14
inc rcx
cmp byte [r8 + rcx], 0
jne 0x18016db81
mov rdx, r12
test rcx, rcx
je 0x18016dbb7
nop dword [rax]
nop word [rax + rax]
movsx eax, byte [r8 + rdx]
xor eax, r9d
imul r9d, eax, 0x1000193
inc rdx
cmp rdx, rcx
jb 0x18016dba0
cmp r9d, r10d
je 0x18016dc1c
xor eax, eax
mov qword [rbp + 0x1d0], rax
lea rdx, [0x18020aa47]
lea rcx, [rbp + 0x1d8]
call fcn.180099e10
mov byte [rbp + 0x1f8], 0
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x1d8]
call fcn.180099d50
lea rdx, [rbp + 0xa0]
mov rcx, r13
call fcn.1801704b0
mov rcx, rax
lea rdx, [rbp + 0x1d0]
call fcn.18016e630
nop
lea rcx, [rbp + 0x1d8]
call fcn.18009a190
nop
lea rcx, [rsp + 0x40]
call fcn.18009a190
nop
lea rcx, [rbp + 0xa0]
call fcn.18009a190
nop
lea rcx, [rbp + 0x200]
call fcn.180102c40
lea rcx, [rbp + 0xc0]
call fcn.1801229d0
mov rdi, qword [rbp + 0xc0]
test rdi, rdi
jne 0x18016d710
mov rbx, qword [rbp - 0x28]
mov rcx, qword [rbp + 0xc8]
test rcx, rcx
je 0x18016dcac
mov eax, r14d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x18016dca2
mov rbx, qword [rbp + 0xc8]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r14d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x18016dca2
mov rcx, qword [rbp + 0xc8]
mov rax, qword [rcx]
call qword [rax + 8]
mov esi, dword [rbp + 0x3f8]
mov rbx, qword [rbp - 0x28]
test rbx, rbx
je 0x18016dce1
mov eax, r14d
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x18016dcdb
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], r14d
cmp r14d, 1
jne 0x18016dcdb
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
mov esi, dword [rbp + 0x3f8]
mov rdi, qword [r13 + 8]
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x18016de6e
lea rax, str.m_pMat_s
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], 8
mov qword [rbp + 0x30], 1
lea rax, [rbp + 0xe0]
mov qword [rbp + 0x38], rax
lea r12, [r13 + 0x80]
movaps xmm6, xmmword [rbp - 0x10]
movaps xmm7, xmmword [rbp + 0x30]
movabs r13, 0xc000000000000000
mov ecx, 0x40
call fcn.180199d60
mov r15, rax
mov qword [rbp + 0x400], rax
lea r8, [rbx + 0x10]
cmp qword [rbx + 0x28], 0xf
jbe 0x18016dd53
mov r8, qword [rbx + 0x10]
mov edx, 0x80
lea rcx, [rbp + 0x310]
call fcn.1800df350
lea rdx, [rbp + 0x310]
mov rcx, r15
call qword [0x1802925c0]
nop
lea r8, [rbx + 0x38]
cmp qword [r8 + 0x18], 0xf
jbe 0x18016dd83
mov r8, qword [r8]
lea rdx, [rbx + 0x10]
cmp qword [rbx + 0x28], 0xf
jbe 0x18016dd92
mov rdx, qword [rbx + 0x10]
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov rcx, r15
call qword [0x1802925e8]
nop
lea rcx, [rbx + 0x10]
cmp qword [rbx + 0x28], 0xf
jbe 0x18016ddb7
mov rcx, qword [rbx + 0x10]
mov rax, qword [rbx + 0x20]
mov qword [rbp - 0x10], rcx
mov qword [rbp - 8], rax
movups xmm0, xmmword [rbp - 0x10]
movups xmmword [rbp + 0xe8], xmm0
mov qword [rbp + 0xe0], r13
movdqa xmmword [rbp - 0x50], xmm7
movdqa xmmword [rbp + 0xd0], xmm6
lea r8, [rbp - 0x50]
lea rdx, [rbp + 0xd0]
lea rcx, [rbp - 0x70]
call fcn.1800b2950
or esi, 8
lea rdx, [rbp - 0x70]
cmp qword [rbp - 0x58], 0xf
cmova rdx, qword [rbp - 0x70]
mov rcx, qword [0x180297148]
mov rax, qword [rcx]
mov r8, r15
call qword [rax + 0x240]
mov qword [rbp + 0x3f8], rax
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x60]
lea r8, [rbp + 0x3f8]
lea rdx, [rbp + 0x30]
mov rcx, r12
call fcn.1801704d0
mov rcx, qword [rax]
mov byte [rcx + 0x18], 1
mov rax, qword [rbp + 0x3f8]
mov qword [rbx + 0x30], rax
lea rcx, [rbp - 0x70]
call fcn.18009a190
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x18016dd30
mov r13, qword [rbp + 0x3f0]
xor r12d, r12d
xor eax, eax
mov qword [rbp + 0x110], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x118], xmm0
mov qword [rbp + 0x128], r12
mov qword [rbp + 0x130], 0xf
mov byte [rbp + 0x118], al
xor r14b, r14b
mov byte [rbp + 0x138], r14b
mov rcx, qword [0x180297148]
mov rax, qword [rcx]
mov qword [rsp + 0x20], r12
mov r9b, 1
lea r8, str.Other_textures
lea rdx, str.dev_glow_color
call qword [rax + 0x248]
mov rbx, rax
mov qword [rbp + 0x110], rax
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x60]
lea rdi, [r13 + 0x40]
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], 9
mov qword [rsp + 0x58], 0xf
movsd xmm0, qword [str.GlowColor]
movsd qword [rsp + 0x40], xmm0
movzx eax, byte [0x18025d698]
mov byte [rsp + 0x48], al
mov byte [rsp + 0x49], r14b
lea r8, [rsp + 0x40]
lea rdx, [rbp - 0x50]
mov rcx, rdi
call fcn.180169f40
mov rsi, qword [rax]
mov qword [rsi + 0x30], rbx
lea rcx, [rsi + 0x38]
lea rax, [rbp + 0x118]
cmp rcx, rax
je 0x18016df57
xor r8d, r8d
lea rdx, [rbp + 0x118]
call fcn.18009a1f0
movzx r14d, byte [rbp + 0x138]
mov byte [rsi + 0x58], r14b
lea rcx, [rsp + 0x40]
call fcn.18009a190
nop
lea rcx, [rbp + 0x118]
call fcn.18009a190
xor eax, eax
mov qword [rbp + 0x140], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x148], xmm0
mov qword [rbp + 0x158], r12
mov qword [rbp + 0x160], 0xf
mov byte [rbp + 0x148], al
xor r15b, r15b
mov byte [rbp + 0x168], r15b
mov ecx, 0x40
call fcn.180199d60
mov r14, rax
mov qword [rbp + 0x3f8], rax
lea r8, str.BlurFilterX
mov edx, 0x80
lea rcx, [rbp + 0x310]
call fcn.1800df350
lea rdx, [rbp + 0x310]
mov rcx, r14
call qword [0x1802925c0]
nop
mov r9, qword [0x180292598]
mov r8b, 1
lea rdx, str._basetexture
mov rcx, r14
call r9
mov rbx, rax
lea rax, str.glow_buffer_1
test rbx, rbx
je 0x18016e062
cmp byte [rbx + 0x20], 1
jne 0x18016e01a
cmp qword [rbx + 8], rax
je 0x18016e062
lea rdi, [r13 + 0x40]
mov rcx, qword [rbx + 8]
call fcn.180199c38
mov rcx, qword [rbx + 0x10]
call fcn.180199c38
mov qword [rbx + 0x10], r12
mov ecx, 0xe
call fcn.18019a208
mov qword [rbx + 8], rax
movsd xmm0, qword [str.glow_buffer_1]
movsd qword [rax], xmm0
mov ecx, dword [0x18025d6e0]
mov dword [rax + 8], ecx
movzx ecx, word [0x18025d6e4]
mov word [rax + 0xc], cx
mov byte [rbx + 0x20], 1
mov rcx, qword [0x180297148]
mov rax, qword [rcx]
mov r8, r14
lea rdx, str.m_pMatBlurX
call qword [rax + 0x240]
mov qword [rbp + 0x3f8], rax
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x60]
lea rsi, [r13 + 0x80]
lea r8, [rbp + 0x3f8]
lea rdx, [rbp - 0x50]
mov rcx, rsi
call fcn.1801704d0
mov rcx, qword [rax]
mov byte [rcx + 0x18], 1
mov rbx, qword [rbp + 0x3f8]
mov qword [rbp + 0x140], rbx
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], 5
mov qword [rsp + 0x58], 0xf
mov eax, dword [str.BlurX]
mov dword [rsp + 0x40], eax
movzx eax, byte [0x18025d6a0]
mov byte [rsp + 0x44], al
mov byte [rsp + 0x45], 0
lea r8, [rsp + 0x40]
lea rdx, [rbp + 0xd0]
mov rcx, rdi
call fcn.180169f40
mov r14, qword [rax]
mov qword [r14 + 0x30], rbx
lea rcx, [r14 + 0x38]
lea rax, [rbp + 0x148]
cmp rcx, rax
je 0x18016e131
xor r8d, r8d
lea rdx, [rbp + 0x148]
call fcn.18009a1f0
movzx r15d, byte [rbp + 0x168]
mov byte [r14 + 0x58], r15b
lea rcx, [rsp + 0x40]
call fcn.18009a190
nop
lea rcx, [rbp + 0x148]
call fcn.18009a190
xor eax, eax
mov qword [rbp + 0x170], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x178], xmm0
mov qword [rbp + 0x188], r12
mov qword [rbp + 0x190], 0xf
mov byte [rbp + 0x178], al
xor r12b, r12b
mov byte [rbp + 0x198], r12b
mov ecx, 0x40
call fcn.180199d60
mov r15, rax
mov qword [rbp + 0x3f8], rax
lea r8, str.BlurFilterY
mov edx, 0x80
lea rcx, [rbp + 0x310]
call fcn.1800df350
lea rdx, [rbp + 0x310]
mov rcx, r15
call qword [0x1802925c0]
nop
mov r9, qword [0x180292598]
mov r8b, 1
lea rdx, str._basetexture
mov rcx, r15
call r9
mov rbx, rax
test rax, rax
je 0x18016e247
cmp byte [rax + 0x20], 1
jne 0x18016e1fb
lea rax, str.glow_buffer_2
cmp qword [rbx + 8], rax
je 0x18016e247
lea rsi, [r13 + 0x80]
lea rdi, [r13 + 0x40]
mov rcx, qword [rbx + 8]
call fcn.180199c38
mov rcx, qword [rbx + 0x10]
call fcn.180199c38
mov qword [rbx + 0x10], 0
mov ecx, 0xe
call fcn.18019a208
mov qword [rbx + 8], rax
movsd xmm0, qword [str.glow_buffer_2]
movsd qword [rax], xmm0
mov ecx, dword [0x18025d6c0]
mov dword [rax + 8], ecx
movzx ecx, word [0x18025d6c4]
mov word [rax + 0xc], cx
mov byte [rbx + 0x20], 1
mov rcx, qword [0x180297148]
mov rax, qword [rcx]
mov r8, r15
lea rdx, str.m_pMatBlurY
call qword [rax + 0x240]
mov qword [rbp + 0x3f8], rax
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x60]
lea r8, [rbp + 0x3f8]
lea rdx, [rbp - 0x50]
mov rcx, rsi
call fcn.1801704d0
mov rcx, qword [rax]
mov byte [rcx + 0x18], 1
mov rbx, qword [rbp + 0x3f8]
mov qword [rbp + 0x170], rbx
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], 5
mov qword [rsp + 0x58], 0xf
mov eax, dword [str.BlurY]
mov dword [rsp + 0x40], eax
movzx eax, byte [0x18025d678]
mov byte [rsp + 0x44], al
mov byte [rsp + 0x45], 0
lea r8, [rsp + 0x40]
lea rdx, [rbp + 0xd0]
mov rcx, rdi
call fcn.180169f40
mov r14, qword [rax]
mov qword [r14 + 0x30], rbx
lea rcx, [r14 + 0x38]
lea rax, [rbp + 0x178]
cmp rcx, rax
je 0x18016e30f
xor r8d, r8d
lea rdx, [rbp + 0x178]
call fcn.18009a1f0
movzx r12d, byte [rbp + 0x198]
mov byte [r14 + 0x58], r12b
lea rcx, [rsp + 0x40]
call fcn.18009a190
nop
lea rcx, [rbp + 0x178]
call fcn.18009a190
xor eax, eax
mov qword [rbp + 0x1a0], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x1a8], xmm0
mov qword [rbp + 0x1b8], rax
mov qword [rbp + 0x1c0], 0xf
mov byte [rbp + 0x1a8], al
xor r12b, r12b
mov byte [rbp + 0x1c8], r12b
mov ecx, 0x40
call fcn.180199d60
mov r15, rax
mov qword [rbp + 0x3f8], rax
lea r8, str.UnlitGeneric
mov edx, 0x80
lea rcx, [rbp + 0x310]
call fcn.1800df350
lea rdx, [rbp + 0x310]
mov rcx, r15
call qword [0x1802925c0]
nop
mov r9, qword [0x180292598]
mov r8b, 1
lea rdx, str._basetexture
mov rcx, r15
call r9
mov rbx, rax
test rax, rax
je 0x18016e425
cmp byte [rax + 0x20], 1
jne 0x18016e3ce
lea rax, str.glow_buffer_1
cmp qword [rbx + 8], rax
je 0x18016e425
mov rcx, qword [rbx + 8]
call fcn.180199c38
mov rcx, qword [rbx + 0x10]
call fcn.180199c38
mov qword [rbx + 0x10], 0
mov ecx, 0xe
call fcn.18019a208
mov qword [rbx + 8], rax
movsd xmm0, qword [str.glow_buffer_1]
movsd qword [rax], xmm0
mov ecx, dword [0x18025d6e0]
mov dword [rax + 8], ecx
movzx ecx, word [0x18025d6e4]
mov word [rax + 0xc], cx
mov byte [rbx + 0x20], 1
lea rsi, [r13 + 0x80]
lea rdi, [r13 + 0x40]
mov rax, qword [0x180292598]
mov r8b, 1
lea rdx, str._additive
mov rcx, r15
call rax
mov rbx, rax
test rax, rax
je 0x18016e48c
cmp byte [rax + 0x20], 1
jne 0x18016e456
lea rax, [0x18020af00]
cmp qword [rbx + 8], rax
je 0x18016e48c
mov rcx, qword [rbx + 8]
call fcn.180199c38
mov rcx, qword [rbx + 0x10]
call fcn.180199c38
mov qword [rbx + 0x10], 0
mov ecx, 2
call fcn.18019a208
mov qword [rbx + 8], rax
movzx ecx, word [0x18020af00]
mov word [rax], cx
mov byte [rbx + 0x20], 1
mov rcx, qword [0x180297148]
mov rax, qword [rcx]
mov r8, r15
lea rdx, str.m_pMatHaloAddToScreen
call qword [rax + 0x240]
mov qword [rbp + 0x3f8], rax
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x60]
lea r8, [rbp + 0x3f8]
lea rdx, [rbp - 0x50]
mov rcx, rsi
call fcn.1801704d0
mov rcx, qword [rax]
mov byte [rcx + 0x18], 1
mov rbx, qword [rbp + 0x3f8]
mov qword [rbp + 0x1a0], rbx
mov byte [rbp - 0x41], 0
mov qword [rbp - 0x40], 0xf
mov qword [rbp - 0x38], 0xf
movsd xmm0, qword [str.HaloAddToScreen]
movsd qword [rbp - 0x50], xmm0
mov eax, dword [0x18025d688]
mov dword [rbp - 0x48], eax
movzx eax, word [0x18025d68c]
mov word [rbp - 0x44], ax
movzx eax, byte [0x18025d68e]
mov byte [rbp - 0x42], al
mov byte [rbp - 0x41], 0
lea r8, [rbp - 0x50]
lea rdx, [rbp + 0xd0]
mov rcx, rdi
call fcn.180169f40
mov rdi, qword [rax]
mov qword [rdi + 0x30], rbx
lea rcx, [rdi + 0x38]
lea rax, [rbp + 0x1a8]
cmp rcx, rax
je 0x18016e562
xor r8d, r8d
lea rdx, [rbp + 0x1a8]
call fcn.18009a1f0
movzx r12d, byte [rbp + 0x1c8]
mov byte [rdi + 0x58], r12b
mov rdx, qword [rbp - 0x38]
cmp rdx, 0xf
jbe 0x18016e59e
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18016e598
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18016e60e
call fcn.180199c38
nop
lea rcx, [rbp + 0x1a8]
call fcn.18009a190
lea r11, [rsp + 0x4b0]
mov rbx, qword [r11 + 0x58]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
test rax, rax
je 0x18016db30
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], 0xf
mov byte [rsp + 0x40], 0
jmp 0x18016db4d
call fcn.1801afdbc
nop
call fcn.1801afdbc
nop
call fcn.1801afdbc
nop
call fcn.1801afdbc
nop
call fcn.180072ac0
nop
call fcn.1801afdbc
nop
lea r8, [rdi + 0x20]
lea rcx, str.directory_entry::status
call fcn.1800f1340
int3