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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x64
mov edi, ecx
mov eax, dword [0x1038000c]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea esi, [ecx + 0x20]
push esi
call sub.MSVCP140.dll__Mtx_lock
add esp, 4
test eax, eax
jne 0x10174c96
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp eax, 0x10
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x6c], esi
jb 0x10174492
test eax, eax
js 0x10174ca6
mov dword [ebp - 0x38], eax
or eax, 0xf
cmp eax, 0x17
mov edi, 0x16
cmovae edi, eax
cmp edi, 0xfff
jb 0x101744ca
lea eax, [edi + 0x24]
push eax
call dword [sym.imp.mozglue.dll_moz_xmalloc]
add esp, 4
lea ebx, [eax + 0x23]
and ebx, 0xffffffe0
mov dword [ebx - 4], eax
jmp 0x101744d9
lea ebx, [ebp - 0x28]
mov dword [ebx + 0x10], eax
push eax
push dword [ebp + 0xc]
push ebx
mov esi, eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov byte [ebp + esi - 0x28], 0
mov edi, dword [ebx]
mov eax, dword [ebx + 0x10]
mov ecx, dword [ebx + 0x14]
mov dword [ebp - 0x34], ecx
cmp ecx, 0x10
cmovae ebx, edi
test eax, eax
je 0x101745f9
mov dword [ebp - 0x38], eax
jmp 0x101744fb
lea eax, [edi + 1]
push eax
call dword [sym.imp.mozglue.dll_moz_xmalloc]
add esp, 4
mov ebx, eax
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x14], edi
push esi
push dword [ebp + 0xc]
push ebx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov byte [ebx + esi], 0
mov dword [ebp - 0x28], ebx
mov edi, ebx
mov eax, 0x811c9dc5
xor ecx, ecx
mov esi, dword [ebp - 0x38]
movzx edx, byte [ebx + ecx]
xor edx, eax
imul eax, edx, 0x1000193
inc ecx
cmp esi, ecx
jne 0x10174505
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x40], 0
mov ecx, dword [ebp - 0x3c]
and eax, dword [ecx + 0x18]
mov edx, dword [ecx + 4]
mov ecx, dword [ecx + 0xc]
mov esi, dword [ecx + eax*8 + 4]
mov dword [ebp - 0x30], edx
cmp esi, edx
je 0x10174598
add eax, eax
mov edi, dword [ecx + eax*4]
mov eax, dword [ebp - 0x38]
cmp eax, dword [esi + 0x18]
jne 0x10174564
cmp dword [esi + 0x1c], 0x10
mov ecx, dword [ebp - 0x38]
jb 0x10174552
mov eax, dword [esi + 8]
jmp 0x10174555
lea eax, [esi + 8]
push ecx
push eax
push ebx
call sub.VCRUNTIME140.dll_memcmp
add esp, 0xc
test eax, eax
je 0x1017456d
cmp esi, edi
je 0x10174598
mov esi, dword [esi + 4]
jmp 0x1017453c
cmp esi, dword [ebp - 0x30]
je 0x10174598
mov edi, dword [esi + 0x20]
mov eax, dword [edi]
mov ecx, dword [eax + 4]
call dword [section..00cfg]
push edi
call ecx
mov eax, dword [esi + 0x20]
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
xor esi, esi
mov edi, dword [ebp - 0x48]
mov eax, dword [ebp - 0x34]
jmp 0x10174c1b
mov edi, dword [ebp - 0x3c]
mov esi, dword [edi + 0x50]
mov eax, dword [esi]
mov ecx, dword [eax + 0x16c]
call dword [section..00cfg]
lea eax, [ebp - 0x2c]
push eax
push dword [ebp + 0xc]
push esi
call ecx
test eax, eax
js 0x10174c66
cmp dword [edi + 8], 0x64
jb 0x101746f0
mov eax, dword [edi + 4]
mov edx, dword [eax]
mov esi, dword [edx + 0x20]
test esi, esi
je 0x10174612
mov eax, dword [esi]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x30], edx
call dword [section..00cfg]
push esi
call ecx
mov eax, dword [ebp - 0x30]
mov dword [eax + 0x20], 0
mov eax, dword [edi + 4]
mov dword [ebp - 0x4c], eax
mov edx, dword [eax]
jmp 0x10174615
mov dword [ebp - 0x48], edi
mov eax, 0x811c9dc5
mov dword [ebp - 0x38], 0
mov cl, 1
mov dword [ebp - 0x40], ecx
jmp 0x10174520
mov dword [ebp - 0x4c], eax
lea eax, [edx + 8]
mov esi, dword [edx + 0x18]
cmp dword [edx + 0x1c], 0x10
mov dword [ebp - 0x50], eax
jb 0x10174627
mov eax, dword [edx + 8]
mov dword [ebp - 0x30], edx
mov edx, 0x811c9dc5
test esi, esi
je 0x10174646
xor ecx, ecx
movzx edi, byte [eax + ecx]
xor edi, edx
imul edx, edi, 0x1000193
inc ecx
cmp esi, ecx
jne 0x10174635
mov edi, dword [ebp - 0x3c]
and edx, dword [edi + 0x18]
mov eax, dword [edi + 0xc]
lea ecx, [edx + edx]
mov esi, dword [eax + edx*8]
mov dword [ebp - 0x34], esi
mov esi, dword [ebp - 0x30]
mov dword [ebp - 0x44], ecx
cmp dword [eax + ecx*4 + 4], esi
je 0x10174679
cmp dword [ebp - 0x34], esi
jne 0x1017469b
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x44]
mov dword [eax + ecx*4], edx
mov esi, dword [ebp - 0x30]
jmp 0x1017469b
add edx, edx
inc edx
cmp dword [ebp - 0x34], esi
je 0x10174686
mov ecx, dword [esi + 4]
jmp 0x10174698
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x34], edx
mov edx, dword [ebp - 0x4c]
mov dword [eax + ecx*4], edx
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x34]
mov dword [eax + edx*4], ecx
mov eax, dword [esi]
dec dword [edi + 8]
mov ecx, dword [esi + 4]
mov dword [ecx], eax
mov ecx, dword [esi + 4]
mov dword [eax + 4], ecx
mov ecx, dword [esi + 0x1c]
cmp ecx, 0x10
jb 0x101746e6
mov eax, dword [ebp - 0x50]
mov eax, dword [eax]
add ecx, 0xfffff001
cmp ecx, 0xffffefff
ja 0x101746d9
mov ecx, dword [eax - 4]
add eax, 0xfffffffc
sub eax, ecx
cmp eax, 0x20
jae 0x10174cab
mov eax, ecx
push eax
call dword [sym.imp.mozglue.dll_free]
add esp, 4
mov esi, dword [ebp - 0x30]
push esi
call dword [sym.imp.mozglue.dll_free]
add esp, 4
mov esi, dword [ebp - 0x2c]
mov eax, dword [esi]
mov ecx, dword [eax + 4]
call dword [section..00cfg]
push esi
call ecx
mov esi, 0x811c9dc5
cmp byte [ebp - 0x40], 0
mov edx, dword [ebp - 0x38]
jne 0x10174722
xor eax, eax
movzx ecx, byte [ebx + eax]
xor ecx, esi
imul esi, ecx, 0x1000193
inc eax
cmp edx, eax
jne 0x10174711
mov dword [ebp - 0x64], esi
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x60], eax
mov eax, dword [edi + 0x18]
and eax, esi
mov ecx, dword [edi + 0xc]
mov edx, edi
mov edi, dword [ecx + eax*8 + 4]
cmp edi, dword [edx + 4]
je 0x10174776
add eax, eax
mov esi, dword [ecx + eax*4]
mov ecx, dword [ebp - 0x38]
cmp ecx, dword [edi + 0x18]
jne 0x1017476b
cmp dword [edi + 0x1c], 0x10
jb 0x10174756
mov eax, dword [edi + 8]
jmp 0x10174759
lea eax, [edi + 8]
push ecx
push eax
push ebx
call sub.VCRUNTIME140.dll_memcmp
mov ecx, dword [ebp - 0x38]
add esp, 0xc
test eax, eax
je 0x101747e3
cmp edi, esi
je 0x10174774
mov edi, dword [edi + 4]
jmp 0x10174746
mov edi, esi
mov eax, dword [ebp - 0x3c]
cmp dword [eax + 8], 0x71c71c7
je 0x10174c9c
push 0x24
call dword [sym.imp.mozglue.dll_moz_xmalloc]
add esp, 4
mov ecx, eax
add ecx, 8
mov esi, dword [ebp - 0x38]
cmp esi, 0xf
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x58], ecx
ja 0x101747b1
movups xmm0, xmmword [ebx]
movups xmmword [ecx], xmm0
mov ecx, 0xf
jmp 0x1017481c
or esi, 0xf
mov eax, 0x7fffffff
cmp esi, eax
cmovae esi, eax
cmp esi, 0xfff
mov dword [ebp - 0x5c], esi
jb 0x101747f3
lea eax, [esi + 0x24]
push eax
call dword [sym.imp.mozglue.dll_moz_xmalloc]
add esp, 4
mov ecx, eax
add eax, 0x23
and eax, 0xffffffe0
mov dword [eax - 4], ecx
jmp 0x10174800
mov eax, edi
mov edi, dword [ebp - 0x48]
mov esi, dword [ebp + 0x14]
mov ebx, dword [ebp - 0x60]
jmp 0x10174c0e
lea eax, [esi + 1]
push eax
call dword [sym.imp.mozglue.dll_moz_xmalloc]
add esp, 4
mov ecx, dword [ebp - 0x58]
mov dword [ecx], eax
mov esi, dword [ebp - 0x38]
lea ecx, [esi + 1]
push ecx
push ebx
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x5c]
mov dword [eax + 0x18], esi
mov dword [ebp - 0x5c], ecx
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x20], 0
mov ebx, dword [ebp - 0x3c]
mov eax, dword [ebx + 8]
inc eax
movss xmm0, dword [ebx]
movq xmm2, qword [0x102c3120]
movd xmm1, eax
por xmm1, xmm2
subsd xmm1, xmm2
cvtsd2ss xmm1, xmm1
movss xmm3, dword [ebx + 0x1c]
orpd xmm3, xmm2
subsd xmm3, xmm2
xorps xmm2, xmm2
cvtsd2ss xmm2, xmm3
movaps xmm3, xmm1
divss xmm3, xmm2
ucomiss xmm3, xmm0
jbe 0x10174ba8
mov esi, dword [ebx + 0x1c]
divss xmm1, xmm0
xorps xmm0, xmm0
cvtss2sd xmm0, xmm1
sub esp, 8
movsd qword [esp], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
add esp, 8
fstp dword [ebp - 0x70]
movss xmm0, dword [ebp - 0x70]
cvttss2si eax, xmm0
mov ecx, eax
subss xmm0, dword [0x102c3128]
cvttss2si edx, xmm0
sar ecx, 0x1f
and edx, ecx
or edx, eax
cmp edx, 9
mov eax, 8
cmovae eax, edx
cmp esi, eax
jae 0x101748d8
lea ecx, [esi*8]
cmp ecx, eax
cmovb ecx, eax
cmp esi, 0x200
cmovae ecx, eax
mov esi, ecx
cmp esi, 0x10000001
jae 0x10174cb1
dec esi
or esi, 1
bsr ecx, esi
xor ecx, 0xffffffe0
add ecx, 0x21
xor eax, eax
inc eax
shl eax, cl
mov dword [ebp - 0x40], eax
mov esi, 2
shl esi, cl
mov edi, dword [ebx + 0xc]
mov edx, dword [ebx + 0x10]
mov dword [ebp - 0x30], edx
sub edx, edi
sar edx, 2
mov eax, dword [ebx + 4]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x34], edx
cmp edx, esi
jae 0x1017495a
cmp esi, 0x40000000
jae 0x10174cbb
mov eax, 8
shl eax, cl
cmp esi, 0x400
jb 0x10174972
cmp esi, 0x3ffffff8
jae 0x10174cbb
add eax, 0x23
push eax
call dword [sym.imp.mozglue.dll_moz_xmalloc]
add esp, 4
lea ebx, [eax + 0x23]
and ebx, 0xffffffe0
mov dword [ebx - 4], eax
jmp 0x1017497e
mov eax, dword [ebp - 0x30]
cmp edi, eax
mov ecx, dword [ebp - 0x50]
mov edx, dword [ebp - 0x40]
je 0x101749d3
mov dword [edi], ecx
add edi, 4
cmp edi, eax
jne 0x10174967
jmp 0x101749d3
push eax
call dword [sym.imp.mozglue.dll_moz_xmalloc]
add esp, 4
mov ebx, eax
cmp dword [ebp - 0x30], edi
mov edi, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x40]
je 0x101749b5
mov eax, dword [edi + 0xc]
test dword [ebp - 0x34], 0x3ffffc00
je 0x101749a8
mov ecx, dword [eax - 4]
add eax, 0xfffffffc
sub eax, ecx
cmp eax, 0x20
jae 0x10174cab
mov eax, ecx
push eax
call dword [sym.imp.mozglue.dll_free]
add esp, 4
mov edx, dword [ebp - 0x40]
mov dword [edi + 0xc], ebx
lea eax, [ebx + esi*4]
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], eax
shl esi, 2
xor eax, eax
mov ecx, dword [ebp - 0x50]
mov dword [ebx + eax], ecx
add eax, 4
cmp esi, eax
jne 0x101749c9
lea eax, [edx - 1]
mov ebx, dword [ebp - 0x3c]
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], edx
mov edi, dword [ebx + 4]
mov esi, dword [edi]
cmp esi, ecx
mov ecx, dword [ebp - 0x64]
je 0x10174b50
mov edx, esi
mov edi, ebx
mov ebx, esi
mov eax, ebx
cmp dword [ebx + 0x1c], 0x10
jb 0x10174a02
mov esi, dword [eax + 8]
jmp 0x10174a05
lea esi, [eax + 8]
mov dword [ebp - 0x30], eax
mov ebx, dword [eax + 0x18]
mov eax, 0x811c9dc5
test ebx, ebx
je 0x10174a27
xor ecx, ecx
movzx edx, byte [esi + ecx]
xor edx, eax
imul eax, edx, 0x1000193
inc ecx
cmp ebx, ecx
jne 0x10174a16
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx]
mov dword [ebp - 0x44], edx
and eax, dword [edi + 0x18]
mov edx, dword [edi + 0xc]
lea edi, [eax + eax]
mov dword [ebp - 0x4c], edi
lea edi, [eax + eax]
inc edi
mov dword [ebp - 0x34], edi
mov eax, dword [edx + eax*8]
cmp eax, dword [ebp - 0x50]
je 0x10174a66
mov ecx, dword [ebp - 0x34]
mov edi, dword [edx + ecx*4]
cmp ebx, dword [edi + 0x18]
mov dword [ebp - 0x68], edx
mov dword [ebp - 0x40], eax
jne 0x10174a95
cmp dword [edi + 0x1c], 0x10
jb 0x10174a7a
mov eax, dword [edi + 8]
jmp 0x10174a7d
mov eax, dword [ebp - 0x4c]
mov dword [edx + eax*4], ecx
mov eax, dword [ebp - 0x34]
mov dword [edx + eax*4], ecx
mov ebx, dword [ebp - 0x44]
jmp 0x10174b39
lea eax, [edi + 8]
push ebx
push eax
push esi
call sub.VCRUNTIME140.dll_memcmp
add esp, 0xc
test eax, eax
mov edx, dword [ebp - 0x68]
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x34]
je 0x10174b0c
cmp eax, edi
je 0x10174ae3
mov edi, dword [edi + 4]
cmp ebx, dword [edi + 0x18]
jne 0x10174a95
cmp dword [edi + 0x1c], 0x10
jb 0x10174aac
mov eax, dword [edi + 8]
jmp 0x10174aaf
lea eax, [edi + 8]
push ebx
push eax
push esi
call sub.VCRUNTIME140.dll_memcmp
add esp, 0xc
test eax, eax
mov eax, dword [ebp - 0x40]
jne 0x10174a95
mov eax, dword [edi]
mov edi, dword [ebp - 0x30]
mov ecx, dword [edi + 4]
mov ebx, dword [ebp - 0x44]
mov dword [ecx], ebx
mov edx, dword [ebx + 4]
mov dword [edx], eax
mov esi, dword [eax + 4]
mov dword [esi], edi
mov dword [eax + 4], edx
mov dword [ebx + 4], ecx
mov dword [edi + 4], esi
jmp 0x10174b39
mov esi, dword [ebp - 0x30]
mov edi, dword [esi + 4]
mov ebx, dword [ebp - 0x44]
mov dword [edi], ebx
mov ecx, dword [ebx + 4]
mov dword [ecx], eax
mov edx, dword [eax + 4]
mov dword [edx], esi
mov dword [eax + 4], ecx
mov dword [ebx + 4], edi
mov dword [esi + 4], edx
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x68]
mov dword [ecx + eax*4], esi
jmp 0x10174b39
mov eax, dword [edi]
mov edi, dword [ebp - 0x30]
cmp eax, edi
mov ebx, dword [ebp - 0x44]
je 0x10174b36
mov ecx, dword [edi + 4]
mov dword [ecx], ebx
mov edx, dword [ebx + 4]
mov dword [edx], eax
mov esi, dword [eax + 4]
mov dword [esi], edi
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x68]
mov dword [ebx + 4], ecx
mov ecx, dword [ebp - 0x34]
mov dword [edi + 4], esi
mov dword [edx + ecx*4], edi
mov edi, dword [ebp - 0x3c]
cmp ebx, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x64]
jne 0x101749f5
mov ebx, edi
mov edi, dword [edi + 4]
mov eax, dword [ebx + 0x18]
and eax, ecx
mov ecx, dword [ebx + 0xc]
mov esi, dword [ecx + eax*8 + 4]
cmp esi, edi
je 0x10174ba8
add eax, eax
cmp dword [ebp - 0x5c], 0x10
jb 0x10174b6c
mov ebx, dword [ebp - 0x58]
mov ebx, dword [ebx]
jmp 0x10174b6f
mov ebx, dword [ebp - 0x58]
mov edi, dword [ecx + eax*4]
mov ecx, dword [ebp - 0x38]
cmp ecx, dword [esi + 0x18]
jne 0x10174b9a
cmp dword [esi + 0x1c], 0x10
jb 0x10174b85
mov eax, dword [esi + 8]
jmp 0x10174b88
lea eax, [esi + 8]
push ecx
push eax
push ebx
call sub.VCRUNTIME140.dll_memcmp
mov ecx, dword [ebp - 0x38]
add esp, 0xc
test eax, eax
je 0x10174ba3
cmp esi, edi
je 0x10174ba5
mov esi, dword [esi + 4]
jmp 0x10174b75
mov edi, dword [esi]
mov ebx, dword [ebp - 0x3c]
mov eax, dword [edi + 4]
inc dword [ebx + 8]
mov ecx, dword [ebp - 0x54]
mov dword [ecx], edi
mov dword [ecx + 4], eax
mov dword [ebp - 0x40], eax
mov dword [eax], ecx
mov dword [edi + 4], ecx
mov edx, dword [ebx + 0xc]
mov esi, dword [ebp - 0x64]
and esi, dword [ebx + 0x18]
lea eax, [edx + esi*8]
mov dword [ebp - 0x38], eax
lea edx, [edx + esi*8]
add edx, 4
mov esi, dword [edx - 4]
cmp esi, dword [ebx + 4]
je 0x10174bf9
cmp esi, edi
mov edi, dword [ebp - 0x48]
mov esi, dword [ebp + 0x14]
mov ebx, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x38]
je 0x10174c09
mov ecx, edx
mov eax, dword [ebp - 0x40]
cmp dword [edx], eax
je 0x10174c09
mov eax, dword [ebp - 0x54]
jmp 0x10174c0e
mov eax, dword [ebp - 0x38]
mov dword [eax], ecx
mov ecx, edx
mov edi, dword [ebp - 0x48]
mov esi, dword [ebp + 0x14]
mov ebx, dword [ebp - 0x60]
mov eax, dword [ebp - 0x54]
mov dword [ecx], eax
mov dword [eax + 0x20], ebx
mov eax, dword [ebp - 0x2c]
mov dword [esi], eax
xor esi, esi
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x10174c45
add eax, 0xfffff001
cmp eax, 0xffffefff
ja 0x10174c3b
mov eax, dword [edi - 4]
add edi, 0xfffffffc
sub edi, eax
cmp edi, 0x20
jae 0x10174cab
mov edi, eax
push edi
call dword [sym.imp.mozglue.dll_free]
add esp, 4
push dword [ebp - 0x6c]
call sub.MSVCP140.dll__Mtx_unlock
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10212780
mov eax, esi
add esp, 0x64
pop esi
pop edi
pop ebx
pop ebp
ret 0x10
mov esi, eax
mov edi, dword [ebp + 8]
mov eax, dword [edi]
mov ebx, dword [eax + 4]
mov ecx, ebx
call dword [section..00cfg]
mov ecx, edi
push 0x39
push str.create
push str._builds_worker_checkouts_gecko_gfx_angle_checkout_src_libANGLE_renderer_d3d_d3d9_ShaderCache.h
push str.Failed_to_create_shader
push esi
call ebx
xor esi, esi
inc esi
jmp 0x1017458d
push eax
call sub.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_
push str.unordered_map_set_too_long
call sub.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__
call fcn.102136b0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push str.invalid_hash_bucket_count
call sub.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__
call fcn.102133d0