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

Disassembly:
sub esp, 0x80
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov dword [esp + 0x48], 0
push 0x38
mov dword [esp + 0x2c], esi
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x38], 0
call dword [sym.imp.mozglue.dll_moz_xmalloc]
mov ebx, eax
mov dword [esp + 0x18], 0
or ebp, 0xffffffff
mov dword [esp + 0x24], ebx
add esp, 4
mov dword [esp + 0x18], ebp
mov dword [ebx], ebx
mov dword [ebx + 4], ebx
mov dword [ebx + 8], ebx
mov word [ebx + 0xc], 0x101
mov eax, dword [esi + 0xe8]
mov ecx, dword [esi + 0xe4]
sub eax, ecx
sar eax, 7
mov dword [esp + 0x30], ebx
test eax, eax
je 0x1013a3d3
xor esi, esi
mov dword [esp + 0x24], esi
lea eax, [esi + ecx]
mov esi, dword [eax + 0x18]
lea edi, [eax + 8]
mov dword [esp + 0x10], eax
mov eax, 3
mov dword [esp + 0x1c], edi
cmp esi, eax
mov ecx, edi
cmovb eax, esi
cmp dword [edi + 0x14], 0x10
jb 0x1013a106
mov ecx, dword [edi]
push 3
push 0x1017736c
push eax
push ecx
call fcn.100014e0
add esp, 0x10
test eax, eax
je 0x1013a3a2
mov eax, dword [esp + 0x10]
cmp dword [eax + 0x1c], 0x10
jb 0x1013a12c
mov edi, dword [eax + 8]
xor ecx, ecx
mov edx, 0x811c9dc5
test esi, esi
je 0x1013a148
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x1013a137
mov esi, dword [esp + 0x1c]
lea eax, [esp + 0x40]
mov ecx, dword [esp + 0x9c]
push edx
push esi
push eax
call fcn.1012ede0
mov edi, dword [eax + 4]
test edi, edi
je 0x1013a1f1
mov eax, dword [esp + 0x9c]
cmp edi, dword [eax + 4]
je 0x1013a1f1
mov edi, dword [edi + 0x20]
cmp edi, 0xffffffff
je 0x1013a1f4
lea eax, [esp + 0x2c]
mov dword [esp + 0x2c], edi
push eax
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x38]
call fcn.10025580
mov eax, dword [esp + 0x68]
cmp byte [eax + 0xd], 0
jne 0x1013a1a4
cmp edi, dword [eax + 0x10]
jae 0x1013a1a6
mov eax, ebx
cmp eax, ebx
je 0x1013a1f4
mov esi, dword [esp + 0x94]
push str.Multiple_uniforms_bound_to_location
lea ebx, [esi + 0x10]
push ebx
call fcn.10025310
add esp, 8
mov ecx, ebx
push edi
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___int_]
push 0x10195404
push ebx
call fcn.10025310
add esp, 8
test esi, esi
je 0x1013a1ea
push 0x10029bb0
mov ecx, ebx
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
xor bl, bl
jmp 0x1013a799
or edi, 0xffffffff
mov eax, dword [esp + 0x10]
mov ecx, 1
xor ebx, ebx
cmp dword [eax + 0x38], ecx
cmova ecx, dword [eax + 0x38]
test ecx, ecx
je 0x1013a39e
nop
push esi
lea ecx, [esp + 0x70]
call fcn.10029be0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], eax
mov word [esp + 0x8c], 1
test ebx, ebx
jne 0x1013a334
cmp edi, 0xffffffff
je 0x1013a334
lea eax, [esp + 0x18]
mov dword [esp + 0x18], edi
push eax
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x38]
call fcn.10025580
mov eax, dword [esp + 0x5c]
cmp byte [eax + 0xd], bl
jne 0x1013a26c
cmp edi, dword [eax + 0x10]
jae 0x1013a2d9
cmp dword [esp + 0x34], 0x4924924
je 0x1013a7d2
mov esi, dword [esp + 0x30]
push 0x38
call dword [sym.imp.mozglue.dll_moz_xmalloc]
mov ecx, dword [esp + 0x1c]
add esp, 4
mov dword [eax + 0x10], ecx
lea ecx, [esp + 0x30]
push eax
push dword [esp + 0x5c]
mov dword [eax + 0x14], 0
push dword [esp + 0x5c]
mov dword [eax + 0x24], 0
mov dword [eax + 0x28], 0xf
mov dword [eax + 0x2c], 0
mov dword [eax + 0x30], 0
mov word [eax + 0x34], 0
mov dword [eax], esi
mov dword [eax + 4], esi
mov dword [eax + 8], esi
mov word [eax + 0xc], 0
call fcn.1001b090
lea esi, [eax + 0x14]
lea eax, [esp + 0x6c]
cmp esi, eax
je 0x1013a2fd
cmp dword [esp + 0x80], 0x10
mov ecx, esi
push dword [esp + 0x7c]
cmovae eax, dword [esp + 0x70]
push eax
call fcn.1001ca10
mov eax, dword [esp + 0x84]
cmp ebp, edi
mov dword [esi + 0x18], eax
mov eax, dword [esp + 0x88]
cmovl ebp, edi
mov dword [esi + 0x1c], eax
mov al, byte [esp + 0x8c]
mov byte [esi + 0x20], al
mov al, byte [esp + 0x8d]
mov byte [esi + 0x21], al
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x18], ebp
jmp 0x1013a342
lea eax, [esp + 0x6c]
push eax
lea ecx, [esp + 0x4c]
call fcn.1012e590
mov ecx, dword [esp + 0x80]
cmp ecx, 0x10
jb 0x1013a37b
mov edx, dword [esp + 0x6c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1013a371
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1013a470
push ecx
push edx
call fcn.10174919
add esp, 8
mov eax, dword [esp + 0x10]
mov ecx, 1
inc ebx
cmp dword [eax + 0x38], ecx
cmova ecx, dword [eax + 0x38]
cmp ebx, ecx
jb 0x1013a210
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x20], ebx
jmp 0x1013a3a2
mov ebx, dword [esp + 0x20]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 0x24]
inc edx
sub esi, 0xffffff80
mov dword [esp + 0x14], edx
mov ecx, dword [eax + 0xe4]
mov eax, dword [eax + 0xe8]
sub eax, ecx
mov dword [esp + 0x24], esi
sar eax, 7
cmp edx, eax
jb 0x1013a0e1
push 0x14
mov dword [esp + 0x40], 0
call dword [sym.imp.mozglue.dll_moz_xmalloc]
mov dword [esp + 0x14], eax
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x9c]
mov edi, dword [eax + 4]
mov dword [esp + 0x20], edi
mov esi, dword [edi]
cmp esi, edi
je 0x1013a4ee
mov ebx, dword [esi + 0x20]
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x64]
mov dword [esp + 0x30], ebx
push eax
lea ecx, [esp + 0x38]
call fcn.10025580
mov eax, dword [esp + 0x68]
cmp byte [eax + 0xd], 0
jne 0x1013a43d
cmp ebx, dword [eax + 0x10]
jae 0x1013a441
mov eax, dword [esp + 0x30]
cmp eax, dword [esp + 0x30]
jne 0x1013a4e4
mov eax, dword [esp + 0x10]
xor ebp, ebp
mov edx, eax
mov ecx, dword [eax + 4]
mov dword [esp + 0x24], ecx
cmp byte [ecx + 0xd], 0
jne 0x1013a487
mov eax, ecx
mov dword [esp + 0x24], eax
cmp dword [eax + 0x10], ebx
jae 0x1013a476
mov eax, dword [eax + 8]
jmp 0x1013a47a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov edx, eax
mov eax, dword [eax]
sbb ebp, ebp
inc ebp
cmp byte [eax + 0xd], 0
je 0x1013a462
mov edi, dword [esp + 0x20]
cmp byte [edx + 0xd], 0
jne 0x1013a492
cmp ebx, dword [edx + 0x10]
jae 0x1013a4d7
cmp dword [esp + 0x3c], 0xccccccc
je 0x1013a7d2
push 0x14
call dword [sym.imp.mozglue.dll_moz_xmalloc]
mov ecx, dword [esp + 0x14]
add esp, 4
mov dword [eax + 0x10], ebx
mov dword [eax], ecx
push eax
mov dword [eax + 4], ecx
push ebp
push dword [esp + 0x2c]
mov dword [eax + 8], ecx
lea ecx, [esp + 0x44]
mov word [eax + 0xc], 0
call fcn.1001b090
mov eax, dword [esp + 0x38]
mov dword [esp + 0x10], eax
mov ebp, dword [esp + 0x18]
cmp ebp, ebx
cmovl ebp, ebx
mov dword [esp + 0x18], ebp
mov esi, dword [esi]
cmp esi, edi
jne 0x1013a414
mov ecx, dword [esp + 0x4c]
lea esi, [ebp + 1]
sub ecx, dword [esp + 0x48]
mov eax, 0x38e38e39
mov ebx, dword [esp + 0x28]
imul ecx
mov ebp, dword [ebx + 0xf4]
add ebx, 0xf0
sar edx, 3
mov eax, 0x38e38e39
mov edi, edx
mov dword [esp + 0x18], ebx
shr edi, 0x1f
mov ecx, ebp
add edi, edx
add edi, dword [esp + 0x3c]
add edi, dword [esp + 0x34]
cmp edi, esi
cmovb edi, esi
sub ecx, dword [ebx]
imul ecx
sar edx, 3
mov esi, edx
shr esi, 0x1f
add esi, edx
mov dword [esp + 0x2c], esi
cmp edi, esi
jae 0x1013a567
mov edx, dword [ebx]
lea eax, [edi + edi*8]
push ebx
push ebp
lea esi, [edx + eax*4]
push esi
call fcn.1002cd50
mov eax, dword [esp + 0x44]
add esp, 0xc
mov dword [ebx + 4], esi
jmp 0x1013a60a
jbe 0x1013a606
mov ecx, dword [ebx + 8]
mov eax, 0x38e38e39
sub ecx, dword [ebx]
imul ecx
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp edi, ecx
jbe 0x1013a5f0
cmp edi, 0x71c71c7
ja 0x1013a7d7
mov edx, ecx
mov eax, 0x71c71c7
shr edx, 1
sub eax, edx
cmp ecx, eax
jbe 0x1013a5a9
mov ebp, 0x71c71c7
jmp 0x1013a5b1
lea ebp, [ecx + edx]
cmp ebp, edi
cmovb ebp, edi
push ebp
mov ecx, ebx
call fcn.1004cb30
mov esi, eax
mov ecx, edi
mov eax, dword [esp + 0x2c]
sub ecx, eax
push ebx
push ecx
lea ecx, [eax + eax*8]
lea ecx, [esi + ecx*4]
push ecx
call fcn.1012f620
push ebx
push esi
push dword [ebx + 4]
push dword [ebx]
call fcn.1012f580
add esp, 0x1c
mov ecx, ebx
push ebp
push edi
push esi
call fcn.1004c7a0
mov eax, dword [esp + 0x38]
jmp 0x1013a60a
push ebx
sub edi, esi
push edi
push ebp
call fcn.1012f620
mov dword [ebx + 4], eax
add esp, 0xc
mov eax, dword [esp + 0x38]
jmp 0x1013a60a
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x30]
mov esi, dword [esi]
cmp byte [esi + 0xd], 0
jne 0x1013a6af
nop word [eax + eax]
mov eax, dword [esi + 0x10]
lea edi, [esi + 0x14]
lea ecx, [eax + eax*8]
mov eax, dword [ebx]
lea ebx, [eax + ecx*4]
cmp ebx, edi
je 0x1013a647
cmp dword [edi + 0x14], 0x10
mov eax, edi
jb 0x1013a63c
mov eax, dword [edi]
push dword [edi + 0x10]
mov ecx, ebx
push eax
call fcn.1001ca10
mov eax, dword [edi + 0x18]
mov dword [ebx + 0x18], eax
mov eax, dword [edi + 0x1c]
mov dword [ebx + 0x1c], eax
movzx eax, byte [edi + 0x20]
mov byte [ebx + 0x20], al
movzx eax, byte [edi + 0x21]
mov byte [ebx + 0x21], al
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x1013a687
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x1013a683
cmp esi, dword [eax + 8]
jne 0x1013a683
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x1013a673
mov esi, eax
jmp 0x1013a69d
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x1013a69d
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x1013a691
cmp byte [esi + 0xd], 0
mov ebx, dword [esp + 0x18]
je 0x1013a620
mov eax, dword [esp + 0x38]
mov eax, dword [eax]
cmp byte [eax + 0xd], 0
jne 0x1013a706
mov ecx, dword [eax + 0x10]
lea edx, [ecx + ecx*8]
mov ecx, dword [ebx]
mov byte [ecx + edx*4 + 0x21], 1
mov ecx, dword [eax + 8]
cmp byte [ecx + 0xd], 0
je 0x1013a6ea
mov ecx, dword [eax + 4]
cmp byte [ecx + 0xd], 0
jne 0x1013a6e6
cmp eax, dword [ecx + 8]
jne 0x1013a6e6
mov eax, ecx
mov ecx, dword [ecx + 4]
cmp byte [ecx + 0xd], 0
je 0x1013a6d6
mov eax, ecx
jmp 0x1013a700
mov eax, ecx
mov edx, dword [eax]
cmp byte [edx + 0xd], 0
jne 0x1013a700
mov ecx, dword [edx]
mov eax, edx
mov edx, ecx
cmp byte [ecx + 0xd], 0
je 0x1013a6f4
cmp byte [eax + 0xd], 0
je 0x1013a6b7
mov ebp, dword [esp + 0x4c]
xor esi, esi
mov eax, dword [esp + 0x48]
cmp eax, ebp
je 0x1013a78e
lea edi, [eax + 0x14]
nop word [eax + eax]
lea eax, [esi + esi*8]
lea eax, [eax*4 + 0x21]
add eax, dword [ebx]
nop dword [eax]
cmp byte [eax - 1], 0
jne 0x1013a73b
cmp byte [eax], 0
je 0x1013a741
inc esi
add eax, 0x24
jmp 0x1013a730
mov eax, dword [ebx]
lea ecx, [esi + esi*8]
lea ebx, [eax + ecx*4]
lea eax, [edi - 0x14]
cmp ebx, eax
je 0x1013a765
cmp dword [edi], 0x10
lea eax, [edi - 0x14]
jb 0x1013a75a
mov eax, dword [eax]
push dword [edi - 4]
mov ecx, ebx
push eax
call fcn.1001ca10
mov eax, dword [edi + 4]
inc esi
mov dword [ebx + 0x18], eax
mov eax, dword [edi + 8]
mov dword [ebx + 0x1c], eax
movzx eax, byte [edi + 0xc]
mov byte [ebx + 0x20], al
movzx eax, byte [edi + 0xd]
add edi, 0x24
mov byte [ebx + 0x21], al
mov ebx, dword [esp + 0x18]
lea eax, [edi - 0x14]
cmp eax, ebp
jne 0x1013a720
lea ecx, [esp + 0x38]
mov bl, 1
call fcn.100257f0
mov eax, dword [esp + 0x30]
push dword [eax + 4]
lea eax, [esp + 0x34]
push eax
mov ecx, eax
call fcn.1012ec70
push 0x38
push dword [esp + 0x34]
call fcn.10174919
add esp, 8
lea ecx, [esp + 0x48]
call fcn.1002da50
pop edi
pop esi
pop ebp
mov al, bl
pop ebx
add esp, 0x80
ret 0xc
call fcn.1001b2d0
call fcn.1001b2f0
int3