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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x408]
sub rsp, 0x4c8
movaps xmmword [rax - 0x58], xmm6
movaps xmmword [rax - 0x68], xmm7
mov r15, rcx
xor r12d, r12d
mov dword [rbp + 0x418], r12d
xor eax, eax
mov qword [rbp + 0x30], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x38], xmm0
mov r13d, 0xf
mov qword [rbp + 0x50], r13
mov byte [rbp + 0x58], al
mov qword [rbp + 0x48], 0xe
movsd xmm0, qword [str._UnlitGeneric_]
movsd qword [rbp + 0x38], xmm0
mov eax, dword [0x180225ed0]
mov dword [rbp + 0x40], eax
movzx eax, word [0x180225ed4]
mov word [rbp + 0x44], ax
mov byte [rbp + 0x46], r12b
mov r8d, 2
lea rdx, [0x180225ec4]
lea rcx, [rbp + 0x38]
call fcn.1800a7630
mov r8d, 0x13
lea rdx, str._n_t_color2___0_0_0__
lea rcx, [rbp + 0x38]
call fcn.1800a7630
mov r8d, r13d
lea rdx, str._n_t_additive__1_
lea rcx, [rbp + 0x38]
call fcn.1800a7630
mov r8d, 2
lea rdx, [0x180225e98]
lea rcx, [rbp + 0x38]
call fcn.1800a7630
mov byte [rbp + 0x58], 1
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], 4
mov qword [rsp + 0x58], r13
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, r15
call fcn.18016cee0
mov rbx, qword [rax]
mov rax, qword [rbp + 0x30]
mov qword [rbx + 0x30], rax
lea rcx, [rbx + 0x38]
lea rax, [rbp + 0x38]
cmp rcx, rax
je 0x1801705ea
lea rdx, [rbp + 0x38]
cmp qword [rbp + 0x50], r13
cmova rdx, qword [rbp + 0x38]
mov r8, qword [rbp + 0x48]
call fcn.180093e80
movzx eax, byte [rbp + 0x58]
mov byte [rbx + 0x58], al
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x180170632
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18017062c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18017062c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1801a53dc
nop
lea rcx, [rbp + 0x38]
call fcn.180093e20
xor eax, eax
mov qword [rbp + 0x80], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x88], xmm0
mov qword [rbp + 0xa0], r13
mov byte [rbp + 0xa8], al
mov qword [rbp + 0x98], 0xe
movsd xmm0, qword [str._UnlitGeneric_]
movsd qword [rbp + 0x88], xmm0
mov eax, dword [0x180225ed0]
mov dword [rbp + 0x90], eax
movzx eax, word [0x180225ed4]
mov word [rbp + 0x94], ax
mov byte [rbp + 0x96], 0
mov r8d, 2
lea rdx, [0x180225ec4]
lea rcx, [rbp + 0x88]
call fcn.1800a7630
mov r8d, 0x16
lea rdx, str._n_t_basetexture__white_
lea rcx, [rbp + 0x88]
call fcn.1800a7630
mov r8d, 2
lea rdx, [0x180225e98]
lea rcx, [rbp + 0x88]
call fcn.1800a7630
mov byte [rbp + 0xa8], 1
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], 4
mov qword [rsp + 0x58], r13
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, r15
call fcn.18016cee0
mov rbx, qword [rax]
mov rax, qword [rbp + 0x80]
mov qword [rbx + 0x30], rax
lea rcx, [rbx + 0x38]
lea rax, [rbp + 0x88]
cmp rcx, rax
je 0x180170760
lea rdx, [rbp + 0x88]
cmp qword [rbp + 0xa0], 0xf
cmova rdx, qword [rbp + 0x88]
mov r8, qword [rbp + 0x98]
call fcn.180093e80
movzx eax, byte [rbp + 0xa8]
mov byte [rbx + 0x58], al
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x1801707ab
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1801707a5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1801707a5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1801a53dc
nop
lea rcx, [rbp + 0x88]
call fcn.180093e20
xor eax, eax
mov qword [rbp - 0x80], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x68], r12
mov qword [rbp - 0x60], r13
mov byte [rbp - 0x78], al
mov byte [rbp - 0x58], al
mov r8d, 0x12
lea rdx, str._VertexLitGeneric_
lea rcx, [rbp - 0x78]
call fcn.180093e80
mov r8d, 2
lea rdx, [0x180225ec4]
lea rcx, [rbp - 0x78]
call fcn.1800a7630
mov r8d, 0x16
lea rdx, str._n_t_basetexture__white_
lea rcx, [rbp - 0x78]
call fcn.1800a7630
mov r8d, 2
lea rdx, [0x180225e98]
lea rcx, [rbp - 0x78]
call fcn.1800a7630
mov byte [rbp - 0x58], 1
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], 6
mov qword [rsp + 0x58], r13
mov r8d, 6
lea rdx, str.Shaded
lea rcx, [rsp + 0x40]
call fcn.18006f490
mov byte [rsp + 0x46], 0
lea rdx, [rsp + 0x40]
mov rcx, r15
call fcn.18016ce20
mov rcx, rax
lea rdx, [rbp - 0x80]
call fcn.180171da0
nop
lea rcx, [rsp + 0x40]
call fcn.180093e20
nop
lea rcx, [rbp - 0x78]
call fcn.180093e20
xor eax, eax
mov qword [rbp - 0x80], rax
lea rdx, [0x1801d570e]
lea rcx, [rbp - 0x78]
call fcn.180093a70
mov byte [rbp - 0x58], 0
lea rdx, str._UnlitGeneric_
lea rcx, [rbp - 0x78]
call fcn.180093960
lea rdx, [0x180225ec4]
lea rcx, [rbp - 0x78]
call fcn.18012aeb0
lea rdx, str._n_t_basetexture__white_
lea rcx, [rbp - 0x78]
call fcn.18012aeb0
lea rdx, str._n_t_wireframe__1_
lea rcx, [rbp - 0x78]
call fcn.18012aeb0
lea rdx, [0x180225e98]
lea rcx, [rbp - 0x78]
call fcn.18012aeb0
mov byte [rbp - 0x58], 1
lea rdx, str.Wireframe
lea rcx, [rsp + 0x60]
call fcn.180093a70
nop
lea rdx, [rsp + 0x60]
mov rcx, r15
call fcn.18016ce20
mov rcx, rax
lea rdx, [rbp - 0x80]
call fcn.180171da0
nop
lea rcx, [rsp + 0x60]
call fcn.180093e20
nop
lea rcx, [rbp - 0x78]
call fcn.180093e20
xor eax, eax
mov qword [rbp - 0x80], rax
lea rdx, [0x1801d570e]
lea rcx, [rbp - 0x78]
call fcn.180093a70
mov byte [rbp - 0x58], 0
lea rdx, str._VertexLitGeneric_
lea rcx, [rbp - 0x78]
call fcn.180093960
lea rdx, [0x180225ec4]
lea rcx, [rbp - 0x78]
call fcn.18012aeb0
lea rdx, str._n_t_basetexture__white_
lea rcx, [rbp - 0x78]
call fcn.18012aeb0
lea rdx, str._n_t_bumpmap__models_player_shared_shared_normal_
lea rcx, [rbp - 0x78]
call fcn.18012aeb0
lea rdx, str._n_t_color2___0_0_0__
lea rcx, [rbp - 0x78]
call fcn.18012aeb0
lea rdx, str._n_t_additive__1_
lea rcx, [rbp - 0x78]
call fcn.18012aeb0
lea rdx, str._n_t_phong__1_
lea rcx, [rbp - 0x78]
call fcn.18012aeb0
lea rdx, str._n_t_phongfresnelranges___0_0.5_1__
lea rcx, [rbp - 0x78]
call fcn.18012aeb0
lea rdx, str._n_t_envmap__skybox_sky_dustbowl_01_
lea rcx, [rbp - 0x78]
call fcn.18012aeb0
lea rdx, str._n_t_envmapfresnel__1_
lea rcx, [rbp - 0x78]
call fcn.18012aeb0
lea rdx, [0x180225e98]
lea rcx, [rbp - 0x78]
call fcn.18012aeb0
mov byte [rbp - 0x58], 1
lea rdx, str.Fresnel
lea rcx, [rsp + 0x60]
call fcn.180093a70
nop
lea rdx, [rsp + 0x60]
mov rcx, r15
call fcn.18016ce20
mov rcx, rax
lea rdx, [rbp - 0x80]
call fcn.180171da0
nop
lea rcx, [rsp + 0x60]
call fcn.180093e20
nop
lea rcx, [rbp - 0x78]
call fcn.180093e20
xor eax, eax
mov qword [rbp - 0x80], rax
lea rdx, [0x1801d570e]
lea rcx, [rbp - 0x78]
call fcn.180093a70
mov byte [rbp - 0x58], 0
lea rdx, str._VertexLitGeneric_
lea rcx, [rbp - 0x78]
call fcn.180093960
lea rdx, [0x180225ec4]
lea rcx, [rbp - 0x78]
call fcn.18012aeb0
lea rdx, str._n_t_additive__1_
lea rcx, [rbp - 0x78]
call fcn.18012aeb0
lea rdx, str._n_t_envmap__cubemaps_cubemap_sheen002.hdr_
lea rcx, [rbp - 0x78]
call fcn.18012aeb0
lea rdx, str._n_t_envmaptint___1_1_1__
lea rcx, [rbp - 0x78]
call fcn.18012aeb0
lea rdx, [0x180225e98]
lea rcx, [rbp - 0x78]
call fcn.18012aeb0
mov byte [rbp - 0x58], 1
lea rdx, str.Shine
lea rcx, [rsp + 0x60]
call fcn.180093a70
nop
lea rdx, [rsp + 0x60]
mov rcx, r15
call fcn.18016ce20
mov rcx, rax
lea rdx, [rbp - 0x80]
call fcn.180171da0
nop
lea rcx, [rsp + 0x60]
call fcn.180093e20
nop
lea rcx, [rbp - 0x78]
call fcn.180093e20
xor eax, eax
mov qword [rbp], rax
lea rdx, [0x1801d570e]
lea rcx, [rbp + 8]
call fcn.180093a70
mov byte [rbp + 0x28], 0
lea rdx, str._VertexLitGeneric_
lea rcx, [rbp + 8]
call fcn.180093960
lea rdx, [0x180225ec4]
lea rcx, [rbp + 8]
call fcn.18012aeb0
lea rdx, str._n_t_basetexture__models_player_shared_ice_player_
lea rcx, [rbp + 8]
call fcn.18012aeb0
lea rdx, str._n_t_bumpmap__models_player_shared_shared_normal_
lea rcx, [rbp + 8]
call fcn.18012aeb0
lea rdx, str._n_t_additive__1_
lea rcx, [rbp + 8]
call fcn.18012aeb0
lea rdx, str._n_t_phong__1_
lea rcx, [rbp + 8]
call fcn.18012aeb0
lea rdx, str._n_t_phongfresnelranges___0_0.001_0.001__
lea rcx, [rbp + 8]
call fcn.18012aeb0
lea rdx, str._n_t_envmap__skybox_sky_dustbowl_01_
lea rcx, [rbp + 8]
call fcn.18012aeb0
lea rdx, str._n_t_envmapfresnel__1_
lea rcx, [rbp + 8]
call fcn.18012aeb0
lea rdx, str._n_t_selfillum__1_
lea rcx, [rbp + 8]
call fcn.18012aeb0
lea rdx, str._n_t_selfillumtint___0_0_0__
lea rcx, [rbp + 8]
call fcn.18012aeb0
lea rdx, [0x180225e98]
lea rcx, [rbp + 8]
call fcn.18012aeb0
mov byte [rbp + 0x28], 1
lea rdx, str.Tint
lea rcx, [rsp + 0x60]
call fcn.180093a70
nop
lea rdx, [rsp + 0x60]
mov rcx, r15
call fcn.18016ce20
mov rbx, rax
mov rcx, qword [rbp]
mov qword [rax], rcx
lea rcx, [rax + 8]
lea rax, [rbp + 8]
cmp rcx, rax
je 0x180170c33
lea rdx, [rbp + 8]
cmp qword [rbp + 0x20], 0xf
cmova rdx, qword [rbp + 8]
mov r8, qword [rbp + 0x18]
call fcn.180093e80
movzx eax, byte [rbp + 0x28]
mov byte [rbx + 0x28], al
lea rcx, [rsp + 0x60]
call fcn.180093e20
nop
lea rcx, [rbp + 8]
call fcn.180093e20
mov rcx, qword [0x1802669f0]
movabs rax, 0x7fffffffffffffff
sub rax, rcx
cmp rax, 0xa
jb 0x180171d99
lea r9, [0x1802669e0]
cmp qword [0x1802669f8], 0xf
cmova r9, qword [0x1802669e0]
mov qword [rsp + 0x30], 0xa
lea rax, str.Materials
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x60]
call fcn.1800f7c80
nop
lea rax, [rsp + 0x60]
cmp qword [rsp + 0x78], 0xf
cmova rax, qword [rsp + 0x60]
mov qword [rbp + 0xe0], rax
mov rax, qword [rsp + 0x70]
mov qword [rbp + 0xe8], rax
call fcn.1801a6790
movaps xmm0, xmmword [rbp + 0xe0]
movdqa xmmword [rbp - 0x20], xmm0
lea r8, [rbp - 0x20]
mov edx, eax
lea rcx, [rsp + 0x40]
call fcn.1800e8460
mov esi, 0xe00
mov dword [rbp + 0x418], esi
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x10]
call fcn.180115140
nop
lea rcx, [rsp + 0x40]
call fcn.1800f5330
nop
lea rcx, [rsp + 0x60]
call fcn.180093e20
mov rbx, qword [rbp - 8]
test rbx, rbx
je 0x180170d33
lock inc dword [rbx + 8]
mov rbx, qword [rbp - 8]
mov esi, dword [rbp + 0x418]
movaps xmm0, xmmword [rbp - 0x10]
movdqa xmmword [rbp + 0xb0], xmm0
test rbx, rbx
je 0x180170d52
lock inc dword [rbx + 8]
mov rbx, qword [rbp - 8]
mov esi, dword [rbp + 0x418]
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xd0], xmm1
mov r14, 0xffffffffffffffff
test rbx, rbx
je 0x180170d9e
mov eax, r14d
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x180170d94
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r14d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x180170d94
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
mov esi, dword [rbp + 0x418]
mov rbx, qword [rbp - 8]
mov rdi, qword [rbp + 0xb0]
test rdi, rdi
je 0x1801712e8
nop
lea rdx, [rbp + 0x100]
mov rcx, rdi
call fcn.180114bb0
mov rax, qword [rbp + 0x100]
mov edx, dword [rbp + 0x108]
test edx, edx
je 0x180170ddf
lea ecx, [rax - 1]
test ecx, 0xfffffff7
jne 0x180171d88
cmp eax, 2
jne 0x180170ea5
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], 4
mov qword [rbp - 0x38], r13
mov eax, dword [str..vmt]
mov dword [rbp - 0x50], eax
mov byte [rbp - 0x4c], 0
or esi, 1
mov dword [rbp + 0x418], esi
lea rax, [rbp - 0x50]
mov qword [rbp + 0xc0], rax
mov qword [rbp + 0xc8], 4
call fcn.1801a6790
movaps xmm0, xmmword [rbp + 0xc0]
movdqa xmmword [rbp - 0x30], xmm0
lea r8, [rbp - 0x30]
mov edx, eax
lea rcx, [rsp + 0x60]
call fcn.1800e8460
or esi, 0x30
or esi, 2
mov dword [rbp + 0x418], esi
lea rcx, [rdi + 0x20]
lea rdx, [rbp - 0x80]
call fcn.180114940
or esi, 4
mov dword [rbp + 0x418], esi
lea rcx, [rsp + 0x60]
cmp qword [rsp + 0x78], 7
cmova rcx, qword [rsp + 0x60]
mov qword [rbp - 0x20], rcx
mov rcx, qword [rsp + 0x70]
mov qword [rbp - 0x18], rcx
movaps xmm0, xmmword [rbp - 0x20]
movdqa xmmword [rbp - 0x30], xmm0
lea rdx, [rbp - 0x30]
mov rcx, rax
call fcn.180114660
test eax, eax
jne 0x180170ea5
xor bl, bl
jmp 0x180170ea7
mov bl, 1
test sil, 4
je 0x180170ec0
and esi, 0xfffffffb
mov dword [rbp + 0x418], esi
lea rcx, [rbp - 0x80]
call fcn.1800f5330
nop
test sil, 2
je 0x180170eda
and esi, 0xfffffffd
mov dword [rbp + 0x418], esi
lea rcx, [rsp + 0x60]
call fcn.1800f5330
nop
test sil, 1
je 0x180170f24
and esi, 0xfffffffe
mov dword [rbp + 0x418], esi
mov rdx, qword [rbp - 0x38]
cmp rdx, 0xf
jbe 0x180170f24
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180170f1f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180171aca
call fcn.1801a53dc
test bl, bl
jne 0x1801712c8
lea rbx, [rdi + 0x20]
mov rdx, rbx
cmp qword [rbx + 0x18], 7
jbe 0x180170f3d
mov rdx, qword [rbx]
lea rcx, [rbp + 0x210]
call fcn.180174770
mov rax, qword [rbp + 0x210]
movsxd rcx, dword [rax + 4]
lea rdi, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x210], rdi
mov rax, qword [rbp + 0x210]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0x20c], edx
mov rax, qword [rbp + 0x210]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x210]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::good_void_const___ptr64]
test al, al
jne 0x180170ff0
mov rax, qword [rbp + 0x210]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x210], rdi
mov rax, qword [rbp + 0x210]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0x20c], edx
lea rcx, [rbp + 0x220]
call fcn.1800f7950
lea rcx, [rbp + 0x228]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x2c0]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
jmp 0x1801712c8
mov rcx, rbx
cmp qword [rbx + 0x18], 7
jbe 0x180170ffd
mov rcx, qword [rbx]
mov rax, qword [rbx + 0x10]
lea rdi, [rcx + rax*2]
mov rbx, rdi
mov rdx, rdi
call fcn.1801142d0
cmp rax, rdi
je 0x18017104d
movzx ecx, word [rax]
cmp cx, 0x5c
je 0x180171024
cmp cx, 0x2f
jne 0x18017102d
add rax, 2
cmp rax, rdi
jne 0x180171015
cmp rax, rdi
je 0x18017104d
lea rdx, [rbx - 2]
movzx ecx, word [rdx]
cmp cx, 0x5c
je 0x18017104d
cmp cx, 0x2f
je 0x18017104d
mov rbx, rdx
cmp rax, rdx
jne 0x180171032
sub rdi, rbx
sar rdi, 1
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], r12
mov r8, rdi
mov rdx, rbx
lea rcx, [rsp + 0x60]
call fcn.1801381c0
or esi, 0x1c0
mov dword [rbp + 0x418], esi
lea rdx, [rbp + 0x60]
lea rcx, [rsp + 0x60]
call fcn.1800e85d0
nop
lea rcx, [rsp + 0x60]
call fcn.1800f5330
lea r10, [rbp + 0x60]
mov r9, qword [rbp + 0x60]
mov r8, qword [rbp + 0x78]
cmp r8, 0xf
cmova r10, r9
mov rbx, qword [rbp + 0x70]
add r10, rbx
lea rax, [rbp + 0x60]
cmp r8, 0xf
cmova rax, r9
add rax, 0xfffffffffffffffc
add rax, rbx
lea rcx, [rbp + 0x60]
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 + 0x60]
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 sub.VCRUNTIME140.dll_memmove
mov qword [rbp + 0x70], rbx
mov qword [rbp + 0xe0], r12
mov word [rbp + 0xe8], 1
mov rax, qword [rbp + 0x210]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x210]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ios_char__struct_std::char_traits_char__::rdbuf_void_const___ptr64]
mov qword [rbp + 0x110], rax
test rax, rax
sete byte [rbp + 0x118]
mov byte [rbp + 0x119], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], r12
movaps xmm0, xmmword [rbp + 0x110]
movaps xmmword [rbp - 0x30], xmm0
movaps xmm6, xmmword [rbp + 0xe0]
test rax, rax
je 0x1801711ae
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::sgetc_void____ptr64]
cmp eax, 0xffffffff
je 0x18017119d
mov byte [rbp - 0x27], al
mov rax, qword [rbp - 0x30]
mov byte [rbp - 0x28], 1
movaps xmm0, xmmword [rbp - 0x30]
jmp 0x1801711b3
mov rax, r12
mov qword [rbp - 0x30], rax
mov byte [rbp - 0x28], 1
movaps xmm0, xmmword [rbp - 0x30]
jmp 0x1801711b3
movq rax, xmm0
test rax, rax
movq rax, xmm6
jne 0x180171aad
test rax, rax
je 0x180171ab6
movdqa xmmword [rbp - 0x30], xmm6
movdqa xmmword [rbp - 0x50], xmm0
lea r8, [rbp - 0x30]
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x40]
call fcn.180174960
nop
lea r8, [rbp + 0x60]
cmp qword [rbp + 0x78], 0xf
cmova r8, qword [rbp + 0x60]
mov ebx, 0x811c9dc5
mov rcx, r14
nop dword [rax]
inc rcx
cmp byte [r8 + rcx], 0
jne 0x180171200
mov rdx, r12
test rcx, rcx
je 0x180171235
nop dword [rax]
nop word [rax + rax]
movsx eax, byte [rdx + r8]
xor eax, ebx
imul ebx, eax, 0x1000193
inc rdx
cmp rdx, rcx
jb 0x180171220
mov edx, 0xca0c003e
lea rcx, [0x180217be9]
call fcn.1800e8400
cmp ebx, eax
je 0x1801712a7
xor eax, eax
mov qword [rbp + 0x1e0], rax
lea rdx, [0x1801d570e]
lea rcx, [rbp + 0x1e8]
call fcn.180093a70
mov byte [rbp + 0x208], 0
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x1e8]
call fcn.180093980
lea rdx, [rbp + 0x60]
mov rcx, r15
call fcn.1801741c0
mov rcx, rax
lea rdx, [rbp + 0x1e0]
call fcn.180171da0
nop
lea rcx, [rbp + 0x1e8]
call fcn.180093e20
nop
lea rcx, [rsp + 0x40]
call fcn.180093e20
nop
lea rcx, [rbp + 0x60]
call fcn.180093e20
nop
lea rcx, [rbp + 0x210]
call fcn.1800f6d90
lea rcx, [rbp + 0xb0]
call fcn.1801152b0
mov rdi, qword [rbp + 0xb0]
test rdi, rdi
jne 0x180170db0
mov rbx, qword [rbp - 8]
mov rcx, qword [rbp + 0xb8]
test rcx, rcx
je 0x180171334
mov eax, r14d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x18017132a
mov rbx, qword [rbp + 0xb8]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r14d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x18017132a
mov rcx, qword [rbp + 0xb8]
mov rax, qword [rcx]
call qword [rax + 8]
mov esi, dword [rbp + 0x418]
mov rbx, qword [rbp - 8]
test rbx, rbx
je 0x180171369
mov eax, r14d
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x180171363
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], r14d
cmp r14d, 1
jne 0x180171363
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
mov esi, dword [rbp + 0x418]
mov rdi, qword [r15 + 8]
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x18017157b
lea rax, str.m_pMat_s
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], 8
mov qword [rbp + 0xc0], 1
lea rax, [rbp + 0xe0]
mov qword [rbp + 0xc8], rax
lea r12, [r15 + 0x80]
mov qword [rbp + 0x418], r12
movaps xmm6, xmmword [rbp - 0x20]
movaps xmm7, xmmword [rbp + 0xc0]
nop
mov ecx, 0x40
call fcn.1801a5504
mov r13, rax
mov qword [rbp + 0x428], rax
lea r8, [rbx + 0x10]
cmp qword [rbx + 0x28], 0xf
jbe 0x1801713e3
mov r8, qword [rbx + 0x10]
mov edx, 0x80
lea rcx, [rbp + 0x320]
call fcn.1800d9150
lea rdx, [rbp + 0x320]
mov rcx, r13
call qword [0x180254080]
nop
lea r8, [rbx + 0x38]
cmp qword [r8 + 0x18], 0xf
jbe 0x180171413
mov r8, qword [r8]
lea rdx, [rbx + 0x10]
cmp qword [rbx + 0x28], 0xf
jbe 0x180171422
mov rdx, qword [rbx + 0x10]
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov rcx, r13
call qword [0x1802540a8]
mov rax, qword [0x180254058]
mov r8b, 1
lea rdx, str._model
mov rcx, r13
call rax
mov r15, rax
test rax, rax
je 0x1801714a6
cmp byte [rax + 0x20], 1
jne 0x180171468
lea rax, [0x1801d5bb0]
cmp qword [r15 + 8], rax
je 0x18017149f
mov rcx, qword [r15 + 8]
call fcn.1801a53dc
mov rcx, qword [r15 + 0x10]
call fcn.1801a53dc
mov qword [r15 + 0x10], 0
mov ecx, 2
call fcn.1801a59b4
mov qword [r15 + 8], rax
movzx ecx, word [0x1801d5bb0]
mov word [rax], cx
mov byte [r15 + 0x20], 1
mov r12, qword [rbp + 0x418]
lea rcx, [rbx + 0x10]
cmp qword [rbx + 0x28], 0xf
jbe 0x1801714b5
mov rcx, qword [rbx + 0x10]
mov rax, qword [rbx + 0x20]
mov qword [rbp - 0x20], rcx
mov qword [rbp - 0x18], rax
movups xmm0, xmmword [rbp - 0x20]
movups xmmword [rbp + 0xe8], xmm0
movabs rax, 0xc000000000000000
mov qword [rbp + 0xe0], rax
movdqa xmmword [rbp - 0x50], xmm7
movdqa xmmword [rbp + 0xd0], xmm6
lea r8, [rbp - 0x50]
lea rdx, [rbp + 0xd0]
lea rcx, [rsp + 0x60]
call fcn.1800ab1e0
or esi, 8
lea rdx, [rsp + 0x60]
cmp qword [rsp + 0x78], 0xf
cmova rdx, qword [rsp + 0x60]
mov rcx, qword [0x180257728]
mov rax, qword [rcx]
mov r8, r13
call qword [rax + 0x240]
mov qword [rbp + 0x420], rax
lea r8, [rbp + 0x420]
lea rdx, [rbp + 0xc0]
mov rcx, r12
call fcn.1801741e0
mov rcx, qword [rax]
mov byte [rcx + 0x18], 1
mov rax, qword [rbp + 0x420]
mov qword [rbx + 0x30], rax
lea rcx, [rsp + 0x60]
call fcn.180093e20
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x1801713c0
mov r15, qword [rbp + 0x410]
xor r12d, r12d
mov r13d, 0xf
xor eax, eax
mov qword [rbp + 0x120], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x128], xmm0
mov qword [rbp + 0x138], r12
mov qword [rbp + 0x140], r13
mov byte [rbp + 0x128], al
xor r14b, r14b
mov byte [rbp + 0x148], r14b
mov rcx, qword [0x180257728]
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 + 0x120], rax
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x60]
lea rdi, [r15 + 0x40]
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], 9
mov qword [rsp + 0x58], r13
movsd xmm0, qword [str.GlowColor]
movsd qword [rsp + 0x40], xmm0
movzx eax, byte [0x180225610]
mov byte [rsp + 0x48], al
mov byte [rsp + 0x49], r14b
lea r8, [rsp + 0x40]
lea rdx, [rbp - 0x50]
mov rcx, rdi
call fcn.18016cee0
mov rsi, qword [rax]
mov qword [rsi + 0x30], rbx
lea rcx, [rsi + 0x38]
lea rax, [rbp + 0x128]
cmp rcx, rax
je 0x18017165c
xor r8d, r8d
lea rdx, [rbp + 0x128]
call fcn.180093e80
movzx r14d, byte [rbp + 0x148]
mov byte [rsi + 0x58], r14b
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x1801716a2
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18017169c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180171ad1
lea rdi, [r15 + 0x40]
call fcn.1801a53dc
nop
lea rcx, [rbp + 0x128]
call fcn.180093e20
xor eax, eax
mov qword [rbp + 0x150], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x158], xmm0
mov qword [rbp + 0x168], r12
mov qword [rbp + 0x170], r13
mov byte [rbp + 0x158], al
xor r13b, r13b
mov byte [rbp + 0x178], r13b
mov ecx, 0x40
call fcn.1801a5504
mov r12, rax
mov qword [rbp + 0x418], rax
lea r8, str.BlurFilterX
mov edx, 0x80
lea rcx, [rbp + 0x320]
call fcn.1800d9150
lea rdx, [rbp + 0x320]
mov rcx, r12
call qword [0x180254080]
nop
mov r9, qword [0x180254058]
mov r8b, 1
lea rdx, str._basetexture
mov rcx, r12
call r9
mov rbx, rax
mov r14, rdi
lea rax, str.glow_buffer_1
test rbx, rbx
je 0x1801717a1
cmp byte [rbx + 0x20], 1
jne 0x180171751
cmp qword [rbx + 8], rax
je 0x1801717a1
mov rcx, qword [rbx + 8]
call fcn.1801a53dc
mov rcx, qword [rbx + 0x10]
call fcn.1801a53dc
mov qword [rbx + 0x10], 0
mov ecx, 0xe
call fcn.1801a59b4
mov qword [rbx + 8], rax
movsd xmm0, qword [str.glow_buffer_1]
movsd qword [rax], xmm0
mov ecx, dword [0x180225640]
mov dword [rax + 8], ecx
movzx ecx, word [0x180225644]
mov word [rax + 0xc], cx
mov byte [rbx + 0x20], 1
lea r14, [r15 + 0x40]
mov rcx, qword [0x180257728]
mov rax, qword [rcx]
mov r8, r12
lea rdx, str.m_pMatBlurX
call qword [rax + 0x240]
mov qword [rbp + 0x418], rax
lea rsi, [r15 + 0x80]
lea r8, [rbp + 0x418]
lea rdx, [rbp - 0x50]
mov rcx, rsi
call fcn.1801741e0
mov rcx, qword [rax]
mov byte [rcx + 0x18], 1
mov rbx, qword [rbp + 0x418]
mov qword [rbp + 0x150], 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 [0x1802255e8]
mov byte [rsp + 0x44], al
mov byte [rsp + 0x45], 0
lea r8, [rsp + 0x40]
lea rdx, [rbp + 0xd0]
mov rcx, rdi
call fcn.18016cee0
mov rdi, qword [rax]
mov qword [rdi + 0x30], rbx
lea rcx, [rdi + 0x38]
lea rax, [rbp + 0x158]
cmp rcx, rax
je 0x180171867
xor r8d, r8d
lea rdx, [rbp + 0x158]
call fcn.180093e80
movzx r13d, byte [rbp + 0x178]
mov byte [rdi + 0x58], r13b
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x1801718b3
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1801718aa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180171ad8
lea rsi, [r15 + 0x80]
call fcn.1801a53dc
lea r14, [r15 + 0x40]
lea rcx, [rbp + 0x158]
call fcn.180093e20
xor eax, eax
mov qword [rbp + 0x180], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x188], xmm0
mov qword [rbp + 0x198], rax
mov qword [rbp + 0x1a0], 0xf
mov byte [rbp + 0x188], al
xor r13b, r13b
mov byte [rbp + 0x1a8], r13b
mov ecx, 0x40
call fcn.1801a5504
mov r12, rax
mov qword [rbp + 0x418], rax
lea r8, str.BlurFilterY
mov edx, 0x80
lea rcx, [rbp + 0x320]
call fcn.1800d9150
lea rdx, [rbp + 0x320]
mov rcx, r12
call qword [0x180254080]
nop
mov r9, qword [0x180254058]
mov r8b, 1
lea rdx, str._basetexture
mov rcx, r12
call r9
mov rbx, rax
test rax, rax
je 0x1801719af
cmp byte [rax + 0x20], 1
jne 0x180171963
lea rax, str.glow_buffer_2
cmp qword [rbx + 8], rax
je 0x1801719af
mov rcx, qword [rbx + 8]
call fcn.1801a53dc
mov rcx, qword [rbx + 0x10]
call fcn.1801a53dc
mov qword [rbx + 0x10], 0
mov ecx, 0xe
call fcn.1801a59b4
mov qword [rbx + 8], rax
movsd xmm0, qword [str.glow_buffer_2]
movsd qword [rax], xmm0
mov ecx, dword [0x180225620]
mov dword [rax + 8], ecx
movzx ecx, word [0x180225624]
mov word [rax + 0xc], cx
mov byte [rbx + 0x20], 1
mov rcx, qword [0x180257728]
mov rax, qword [rcx]
mov r8, r12
lea rdx, str.m_pMatBlurY
call qword [rax + 0x240]
mov qword [rbp + 0x418], rax
lea r8, [rbp + 0x418]
lea rdx, [rbp - 0x50]
mov rcx, rsi
call fcn.1801741e0
mov rcx, qword [rax]
mov byte [rcx + 0x18], 1
mov rbx, qword [rbp + 0x418]
mov qword [rbp + 0x180], 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 [0x1802255f0]
mov byte [rsp + 0x44], al
mov byte [rsp + 0x45], 0
lea r8, [rsp + 0x40]
lea rdx, [rbp + 0xd0]
mov rcx, r14
call fcn.18016cee0
mov rdi, qword [rax]
mov qword [rdi + 0x30], rbx
lea rcx, [rdi + 0x38]
lea rax, [rbp + 0x188]
cmp rcx, rax
je 0x180171a6e
xor r8d, r8d
lea rdx, [rbp + 0x188]
call fcn.180093e80
movzx r13d, byte [rbp + 0x1a8]
mov byte [rdi + 0x58], r13b
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x180171ae5
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180171adf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180171adf
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
test rax, rax
je 0x1801711ca
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], r13
mov byte [rsp + 0x40], 0
jmp 0x1801711e7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.1801a53dc
nop
lea rcx, [rbp + 0x188]
call fcn.180093e20
xor eax, eax
mov qword [rbp + 0x1b0], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x1b8], xmm0
xor r12d, r12d
mov qword [rbp + 0x1c8], r12
mov qword [rbp + 0x1d0], 0xf
mov byte [rbp + 0x1b8], al
xor r14b, r14b
mov byte [rbp + 0x1d8], r14b
mov ecx, 0x40
call fcn.1801a5504
mov rsi, rax
mov qword [rbp + 0x418], rax
lea r8, str.UnlitGeneric
mov edx, 0x80
lea rcx, [rbp + 0x320]
call fcn.1800d9150
lea rdx, [rbp + 0x320]
mov rcx, rsi
call qword [0x180254080]
nop
mov r9, qword [0x180254058]
mov r8b, 1
lea rdx, str._basetexture
mov rcx, rsi
call r9
mov rbx, rax
test rax, rax
je 0x180171be0
cmp byte [rax + 0x20], 1
jne 0x180171b98
lea rax, str.glow_buffer_1
cmp qword [rbx + 8], rax
je 0x180171be0
mov rcx, qword [rbx + 8]
call fcn.1801a53dc
mov rcx, qword [rbx + 0x10]
call fcn.1801a53dc
mov qword [rbx + 0x10], r12
mov ecx, 0xe
call fcn.1801a59b4
mov qword [rbx + 8], rax
movsd xmm0, qword [str.glow_buffer_1]
movsd qword [rax], xmm0
mov ecx, dword [0x180225640]
mov dword [rax + 8], ecx
movzx ecx, word [0x180225644]
mov word [rax + 0xc], cx
mov byte [rbx + 0x20], 1
mov rax, qword [0x180254058]
mov r8b, 1
lea rdx, str._additive
mov rcx, rsi
call rax
mov rbx, rax
test rax, rax
je 0x180171c43
cmp byte [rax + 0x20], 1
jne 0x180171c11
lea rax, [0x1801d5bb0]
cmp qword [rbx + 8], rax
je 0x180171c43
mov rcx, qword [rbx + 8]
call fcn.1801a53dc
mov rcx, qword [rbx + 0x10]
call fcn.1801a53dc
mov qword [rbx + 0x10], r12
mov ecx, 2
call fcn.1801a59b4
mov qword [rbx + 8], rax
movzx ecx, word [0x1801d5bb0]
mov word [rax], cx
mov byte [rbx + 0x20], 1
mov rcx, qword [0x180257728]
mov rax, qword [rcx]
mov r8, rsi
lea rdx, str.m_pMatHaloAddToScreen
call qword [rax + 0x240]
mov qword [rbp + 0x418], rax
lea rcx, [r15 + 0x80]
lea r8, [rbp + 0x418]
lea rdx, [rbp - 0x50]
call fcn.1801741e0
mov rcx, qword [rax]
mov byte [rcx + 0x18], 1
mov rbx, qword [rbp + 0x418]
mov qword [rbp + 0x1b0], rbx
lea rcx, [r15 + 0x40]
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 [0x180225650]
mov dword [rbp - 0x48], eax
movzx eax, word [0x180225654]
mov word [rbp - 0x44], ax
movzx eax, byte [0x180225656]
mov byte [rbp - 0x42], al
mov byte [rbp - 0x41], 0
lea r8, [rbp - 0x50]
lea rdx, [rbp + 0xd0]
call fcn.18016cee0
mov rdi, qword [rax]
mov qword [rdi + 0x30], rbx
lea rcx, [rdi + 0x38]
lea rax, [rbp + 0x1b8]
cmp rcx, rax
je 0x180171d15
xor r8d, r8d
lea rdx, [rbp + 0x1b8]
call fcn.180093e80
movzx r14d, byte [rbp + 0x1d8]
mov byte [rdi + 0x58], r14b
mov rdx, qword [rbp - 0x38]
cmp rdx, 0xf
jbe 0x180171d58
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180171d52
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180171d52
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1801a53dc
nop
lea rcx, [rbp + 0x1b8]
call fcn.180093e20
movaps xmm6, xmmword [rsp + 0x4b0]
movaps xmm7, xmmword [rsp + 0x4a0]
add rsp, 0x4c8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
lea r8, [rdi + 0x20]
lea rcx, str.directory_entry::status
call fcn.1800e8d10
nop
call fcn.18006f360
int3