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

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
sub esp, 0x10
push ebx
push esi
push edi
test ecx, ecx
je 0x100ae703
mov eax, dword [ecx]
mov eax, dword [eax + 0x280]
call eax
test al, al
je 0x100ae703
mov eax, dword [0x101fbb80]
cmp dword [eax + 0x174], 0xffffffff
je 0x100ae703
mov eax, dword [0x101fbed8]
mov edx, dword [ebp + 8]
add eax, 0xffffff8b
xor eax, 0x746744db
mov edi, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
cmp dword [eax + edx], 0
mov eax, dword [0x101fbea0]
setle cl
add eax, 0xffffff99
xor eax, 0x746744cd
mov byte [eax + edx], cl
mov ebx, dword [0x101fbe94]
add ebx, 0xffffff9c
xor ebx, 0x746744ca
add ebx, edx
mov esi, dword [ebx + 0xc]
sub esi, 1
js 0x100ae4b2
nop
cmp dword [ebx + 8], 0xfffffffe
jne 0x100ae4aa
push 0x272
push 0x100d9cc8
push str._IsReadOnly__
call edi
add esp, 0xc
sub esi, 1
jns 0x100ae490
mov edx, dword [ebp + 8]
mov dword [ebx + 0xc], 0
mov ebx, dword [0x101fbe98]
add ebx, 0xffffff9b
xor ebx, 0x746744cb
add ebx, edx
mov esi, dword [ebx + 0xc]
sub esi, 1
js 0x100ae4f4
cmp dword [ebx + 8], 0xfffffffe
jne 0x100ae4ec
push 0x272
push 0x100d9cc8
push str._IsReadOnly__
call edi
add esp, 0xc
sub esi, 1
jns 0x100ae4d2
mov edx, dword [ebp + 8]
mov dword [ebx + 0xc], 0
xor ebx, ebx
mov eax, dword [0x101fbe9c]
add eax, 0xffffff9a
xor eax, 0x746744cc
mov eax, dword [eax + edx + 0xc]
mov dword [ebp - 4], eax
test eax, eax
je 0x100ae5a8
nop dword [eax]
mov esi, dword [0x101fbe9c]
add esi, 0xffffff9a
xor esi, 0x746744cc
add esi, edx
cmp ebx, dword [esi + 0xc]
jl 0x100ae54a
push 0x410
push 0x100d9cc8
push str.i___m_Size
call edi
add esp, 0xc
cmp dword [esi + 8], 0xfffffffe
jne 0x100ae564
push 0x272
push 0x100d9cc8
push str._IsReadOnly__
call edi
add esp, 0xc
mov eax, dword [esi]
mov esi, dword [eax + ebx*4]
lea eax, [eax + ebx*4]
mov dword [ebp - 8], eax
test esi, esi
je 0x100ae59b
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x100ae592
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 4]
call eax
test al, al
je 0x100ae592
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
mov eax, dword [ebp - 8]
mov dword [eax], 0
mov edx, dword [ebp + 8]
inc ebx
cmp ebx, dword [ebp - 4]
jb 0x100ae520
mov ebx, dword [0x101fbe9c]
add ebx, 0xffffff9a
xor ebx, 0x746744cc
add ebx, edx
mov esi, dword [ebx + 0xc]
sub esi, 1
js 0x100ae5e3
cmp dword [ebx + 8], 0xfffffffe
jne 0x100ae5db
push 0x272
push 0x100d9cc8
push str._IsReadOnly__
call edi
add esp, 0xc
sub esi, 1
jns 0x100ae5c1
mov edx, dword [ebp + 8]
lea esi, [edx + 8]
mov dword [ebx + 0xc], 0
mov eax, dword [esi]
mov ecx, esi
push 0
mov eax, dword [eax + 0x1c]
call eax
mov eax, dword [esi]
mov ecx, esi
push 0
mov eax, dword [eax + 0x14]
call eax
mov esi, dword [0x101fbb94]
xor ebx, ebx
mov dword [ebp - 8], esi
mov dword [ebp - 4], ebx
mov eax, dword [esi + 0x28]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x100ae6f1
nop
cmp ebx, dword [esi + 0x28]
jl 0x100ae639
push 0x410
push 0x100d9cc8
push str.i___m_Size
call edi
add esp, 0xc
cmp dword [esi + 0x24], 0xfffffffe
jne 0x100ae653
push 0x272
push 0x100d9cc8
push str._IsReadOnly__
call edi
add esp, 0xc
mov eax, dword [esi + 0x1c]
lea ecx, [ebx*4]
mov dword [ebp - 0x10], ecx
mov ecx, dword [ecx + eax]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov esi, eax
mov ebx, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [esi + ecx], 0
jne 0x100ae673
xor edx, edx
test ecx, ecx
je 0x100ae699
movsx eax, byte [esi + edx]
inc edx
xor eax, ebx
imul ebx, eax, 0x1000193
cmp edx, ecx
jb 0x100ae680
cmp ebx, 0x79705c5e
je 0x100ae6ad
mov ebx, dword [ebp - 4]
inc ebx
mov dword [ebp - 4], ebx
cmp ebx, dword [ebp - 0xc]
jae 0x100ae6f1
mov esi, dword [ebp - 8]
jmp 0x100ae620
mov esi, dword [ebp - 8]
mov eax, dword [ebp - 4]
cmp eax, dword [esi + 0x28]
jl 0x100ae6cc
push 0x410
push 0x100d9cc8
push str.i___m_Size
call edi
add esp, 0xc
cmp dword [esi + 0x24], 0xfffffffe
jne 0x100ae6e6
push 0x272
push 0x100d9cc8
push str._IsReadOnly__
call edi
add esp, 0xc
mov eax, dword [esi + 0x1c]
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + eax]
jmp 0x100ae6f3
xor eax, eax
mov ecx, dword [ebp + 8]
push 0
push ecx
push 0
mov ecx, eax
call dword [0x101fbcb4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4