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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10113cc1
mov eax, dword fs:[0]
push eax
sub esp, 0xe4
mov eax, dword [0x10150380]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x44], 0
mov eax, dword [0x1017c300]
movss xmm0, dword [eax]
comiss xmm0, dword [0x10145110]
jbe 0x10017b6a
cmp byte [0x1018015d], 0
jne 0x10017b6a
mov ecx, dword [0x1017c2a4]
test ecx, ecx
je 0x10017990
mov eax, dword [ecx]
push str.clear
mov eax, dword [eax + 0x1b0]
call eax
mov eax, dword [0x1017c2a0]
test eax, eax
je 0x100179b0
mov eax, dword [eax + 0x34]
mov eax, dword [eax]
mov eax, dword [eax + 4]
test eax, eax
je 0x100179b0
and dword [eax + 0x14], 0xffffffed
mov eax, dword [eax + 4]
test eax, eax
jne 0x100179a5
call fcn.100174f0
sub esp, 0x18
xorps xmm0, xmm0
mov esi, esp
push 0x20
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.1010fe49
mov edx, eax
mov dword [esi + 0x10], 0x1b
mov dword [esi], edx
add esp, 4
mov dword [esi + 0x14], 0x1f
movups xmm0, xmmword [str.sigmahook_has_been_loaded._n]
movups xmmword [edx], xmm0
movq xmm0, qword [0x1013ed7c]
movq qword [edx + 0x10], xmm0
mov cx, word [0x1013ed84]
mov word [edx + 0x18], cx
mov al, byte [0x1013ed86]
mov byte [edx + 0x1a], al
mov byte [edx + 0x1b], 0
call fcn.1001c600
sub esp, 0x18
mov dword [ebp - 0xf0], 0x1013f128
mov esi, esp
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0x4c], esi
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::constructor_void_]
push 0
push 0
lea eax, [ebp - 0xec]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0xf0]
mov dword [ebp - 0x44], 2
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char_____bool_]
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0xf0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xf0], 0x1013f0e8
mov eax, dword [ebp - 0xf0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0xf4], eax
lea ecx, [ebp - 0xec]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void_]
mov dword [ebp - 0xec], 0x1013f0ec
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xb0], 4
mov dword [ebp - 4], 2
lea eax, [ebp - 0x34]
mov dword [ebp - 0x58], str.Jun_15_2024
lea ecx, [ebp - 0xf0]
mov dword [ebp - 0x54], 0x1001e9d0
mov edx, str.build_time:__s_n
movq xmm0, qword [ebp - 0x58]
push 1
push eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], 1
movq qword [ebp - 0x34], xmm0
mov dword [ebp - 0x2c], fcn.10003e30
call fcn.100166b0
add esp, 8
lea ecx, [ebp - 0xec]
push esi
call fcn.1001d750
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xf0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xf0], 0x1013f0e8
mov eax, dword [ebp - 0xf0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0xf4], eax
lea ecx, [ebp - 0xec]
call fcn.1001d2e0
lea ecx, [ebp - 0xe8]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0xa0]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
call fcn.1001c600
mov byte [0x1018015d], 1
mov eax, dword [0x1013edac]
xorps xmm0, xmm0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0xc
movq xmm0, qword [0x1013eda4]
mov dword [ebp - 0x14], 0xf
movq qword [ebp - 0x28], xmm0
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 3
push eax
mov ecx, 0x10180018
call fcn.1000de80
mov eax, dword [eax]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
mov dword [0x101770bc], eax
cmp ecx, 0xf
jbe 0x10017bf1
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10017be7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10017be7
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1011035b
add esp, 8
mov ecx, dword [0x1017c2a4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x6c]
call eax
test al, al
je 0x10018156
cmp dword [0x10176f30], 0
je 0x10018156
mov ecx, dword [0x1017c2a4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x68]
call eax
test al, al
je 0x10018156
mov eax, dword [0x10180260]
test al, 1
jne 0x10017cab
or eax, 1
mov dword [0x10180260], eax
mov eax, dword [0x1017c2a0]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x44], eax
test eax, eax
je 0x10017c96
nop dword [eax + eax]
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [edi + ecx], 0
jne 0x10017c60
xor edx, edx
test ecx, ecx
je 0x10017c8c
nop dword [eax]
movsx eax, byte [edi + edx]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x10017c70
cmp esi, 0xc5764f31
je 0x10017ca0
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 4]
mov dword [ebp - 0x44], eax
test eax, eax
jne 0x10017c50
xor ecx, ecx
mov dword [0x10180270], ecx
jmp 0x10017cb1
mov ecx, dword [ebp - 0x44]
mov dword [0x10180270], ecx
jmp 0x10017cb1
mov ecx, dword [0x10180270]
mov eax, dword [ecx]
push 1
mov eax, dword [eax + 0x40]
call eax
mov eax, dword [0x10180260]
test al, 2
jne 0x10017d2d
or eax, 2
mov dword [0x10180260], eax
mov eax, dword [0x1017c2a0]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x44], eax
test eax, eax
je 0x10017d26
nop word [eax + eax]
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [ecx + edi], 0
jne 0x10017cf0
xor edx, edx
test ecx, ecx
je 0x10017d1c
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x10017d00
mov eax, dword [ebp - 0x44]
cmp esi, 0xe58a742f
je 0x10017d28
mov eax, dword [eax + 4]
mov dword [ebp - 0x44], eax
test eax, eax
jne 0x10017ce0
xor eax, eax
mov dword [0x10180234], eax
mov eax, dword [0x1013edbc]
xorps xmm0, xmm0
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x30], 0xc
movq xmm0, qword [str.mat_drawgray]
mov dword [ebp - 0x2c], 0xf
movq qword [ebp - 0x40], xmm0
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x34], 0
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 4
push eax
mov ecx, 0x1017fff8
call fcn.1000dea0
mov ecx, dword [0x10180234]
xor edx, edx
cmp byte [eax], dl
mov eax, dword [ecx]
setne dl
push edx
mov eax, dword [eax + 0x40]
call eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0xf
jbe 0x10017dc2
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10017db8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10017db8
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1011035b
add esp, 8
mov eax, dword [0x10180260]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
test al, 4
jne 0x10017e4b
or eax, 4
mov dword [0x10180260], eax
mov eax, dword [0x1017c2a0]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x44], eax
test eax, eax
je 0x10017e36
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [edi + ecx], 0
jne 0x10017e00
xor edx, edx
test ecx, ecx
je 0x10017e2c
nop dword [eax]
movsx eax, byte [edi + edx]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x10017e10
cmp esi, 0x5855078
je 0x10017e40
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 4]
mov dword [ebp - 0x44], eax
test eax, eax
jne 0x10017df4
xor ecx, ecx
mov dword [0x10180264], ecx
jmp 0x10017e51
mov ecx, dword [ebp - 0x44]
mov dword [0x10180264], ecx
jmp 0x10017e51
mov ecx, dword [0x10180264]
test ecx, ecx
je 0x10017e6c
mov eax, dword [ecx + 0x14]
and eax, 0xfffffffd
and eax, 0xffffffef
mov dword [ecx + 0x14], eax
test ecx, ecx
je 0x10017e6c
mov dword [ecx + 0x50], 0
xorps xmm0, xmm0
mov dword [ecx + 0x3c], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [ecx + 0x40], 0x7f7fffff
movq xmm0, qword [str.mat_picmip]
mov ax, word [0x1013edcc]
mov dword [ebp - 0x18], 0xa
mov dword [ebp - 0x14], 0xf
movq qword [ebp - 0x28], xmm0
mov word [ebp - 0x20], ax
mov byte [ebp - 0x1e], 0
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 5
push eax
mov ecx, 0x10180018
call fcn.1000de80
mov ecx, dword [0x10180264]
mov edx, dword [eax]
mov eax, dword [ecx]
push edx
mov eax, dword [eax + 0x40]
call eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x10017f0c
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10017f02
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10017f02
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1011035b
add esp, 8
mov eax, dword [0x10180260]
test al, 8
jne 0x10017f7d
or eax, 8
mov dword [0x10180260], eax
mov eax, dword [0x1017c2a0]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x44], eax
test eax, eax
je 0x10017f76
nop dword [eax]
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [edi + ecx], 0
jne 0x10017f40
xor edx, edx
test ecx, ecx
je 0x10017f6c
nop dword [eax]
movsx eax, byte [edi + edx]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x10017f50
mov eax, dword [ebp - 0x44]
cmp esi, 0xcd89567
je 0x10017f78
mov eax, dword [eax + 4]
mov dword [ebp - 0x44], eax
test eax, eax
jne 0x10017f30
xor eax, eax
mov dword [0x10180268], eax
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
push 0x20
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x2c], 0
call fcn.1010fe49
movups xmm0, xmmword [str.cl_threaded_bone_setup]
mov dword [ebp - 0x40], eax
add esp, 4
mov dword [ebp - 0x30], 0x16
mov dword [ebp - 0x2c], 0x1f
movups xmmword [eax], xmm0
mov edx, dword [0x1013ede0]
mov dword [eax + 0x10], edx
mov dx, word [0x1013ede4]
mov word [eax + 0x14], dx
mov byte [eax + 0x16], 0
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 6
push eax
mov ecx, 0x10180018
call fcn.1000de80
mov ecx, dword [0x10180268]
mov edx, dword [eax]
mov eax, dword [ecx]
push edx
mov eax, dword [eax + 0x40]
call eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0xf
jbe 0x10018031
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10018027
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10018027
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1011035b
add esp, 8
mov eax, dword [0x10180260]
test al, 0x10
jne 0x1001809d
or eax, 0x10
mov dword [0x10180260], eax
mov eax, dword [0x1017c2a0]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x44], eax
test eax, eax
je 0x10018096
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop dword [eax + eax]
inc ecx
cmp byte [edi + ecx], 0
jne 0x10018060
xor edx, edx
test ecx, ecx
je 0x1001808c
nop dword [eax]
movsx eax, byte [edi + edx]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x10018070
mov eax, dword [ebp - 0x44]
cmp esi, 0xb6e6ca30
je 0x10018098
mov eax, dword [eax + 4]
mov dword [ebp - 0x44], eax
test eax, eax
jne 0x10018051
xor eax, eax
mov dword [0x10180238], eax
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
push 0x20
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x2c], 0
call fcn.1010fe49
movups xmm0, xmmword [str.mat_showlowresimage]
mov dword [ebp - 0x40], eax
add esp, 4
mov dword [ebp - 0x30], 0x13
mov dword [ebp - 0x2c], 0x1f
movups xmmword [eax], xmm0
mov cx, word [0x1013edf8]
mov word [eax + 0x10], cx
mov cl, byte [0x1013edfa]
mov byte [eax + 0x12], cl
mov byte [eax + 0x13], 0
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 7
push eax
mov ecx, 0x1017fff8
call fcn.1000dea0
mov ecx, dword [0x10180238]
xor edx, edx
cmp byte [eax], dl
mov eax, dword [ecx]
setne dl
push edx
mov eax, dword [eax + 0x40]
call eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0xf
jbe 0x10018156
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001814c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1001814c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1011035b
add esp, 8
mov ecx, dword [0x1017c2a4]
push 0x10176fc0
push 0x10176fbc
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
call fcn.100a7f60
mov ecx, 0x10180110
call fcn.10081e90
mov ax, word [0x1013eb94]
xorps xmm0, xmm0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0xa
movq xmm0, qword [str.menu_color]
mov dword [ebp - 0x14], 0xf
movq qword [ebp - 0x28], xmm0
mov word [ebp - 0x20], ax
mov byte [ebp - 0x1e], 0
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 8
push eax
mov ecx, 0x10180058
call fcn.1000de60
movss xmm1, dword [0x10145264]
movss xmm0, dword [eax + 0xc]
mulss xmm0, xmm1
cvttss2si ecx, xmm0
movss xmm0, dword [eax + 8]
mulss xmm0, xmm1
mov dword [ebp - 0x4c], ecx
cvttss2si edx, xmm0
movss xmm0, dword [eax + 4]
mulss xmm0, xmm1
mov byte [ebp - 0x42], dl
cvttss2si ecx, xmm0
movss xmm0, dword [eax]
mulss xmm0, xmm1
mov byte [ebp - 0x43], cl
cvttss2si eax, xmm0
mov byte [ebp - 0x44], al
mov eax, dword [ebp - 0x4c]
mov byte [ebp - 0x41], al
push dword [ebp - 0x44]
call fcn.10016df0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x10018253
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10018249
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10018249
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1011035b
add esp, 8
call fcn.100176a0
mov al, byte [0x1013ee04]
xorps xmm0, xmm0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 9
movq xmm0, qword [str.watermark]
mov dword [ebp - 0x14], 0xf
movq qword [ebp - 0x28], xmm0
mov byte [ebp - 0x20], al
mov byte [ebp - 0x1f], 0
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 9
push eax
mov ecx, 0x1017fff8
call fcn.1000dea0
mov al, byte [eax]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 0x45], al
cmp ecx, 0xf
jbe 0x100182e0
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100182d3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100182d3
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1011035b
mov al, byte [ebp - 0x45]
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
test al, al
je 0x10018300
mov ecx, 0x10176f30
call fcn.10018320
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1010fe2d
mov esp, ebp
pop ebp
ret