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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101d9363
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x1026b040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x24], edi
mov eax, dword [0x10633ee0]
add eax, 0xfab78433
xor eax, 0xc85d879a
mov eax, dword [eax + 0x150]
mov dword [ebp - 0x28], eax
mov eax, dword [0x10304ca8]
test al, 1
jne 0x101213d3
or eax, 1
mov dword [0x10304ca8], eax
mov dword [ebp - 4], 0
mov eax, dword [0x103030f8]
mov dword [ebp - 0x14], eax
cmp eax, dword [0x103030fc]
je 0x101212fb
mov ecx, dword [eax]
mov dword [ebp - 0x20], ecx
test ecx, ecx
je 0x101212ed
mov esi, dword [ecx + 0xc]
mov ebx, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [esi + ecx], 0
jne 0x101212c4
xor edx, edx
test ecx, ecx
je 0x101212ed
movsx eax, byte [esi + edx]
inc edx
xor eax, ebx
imul ebx, eax, 0x1000193
cmp edx, ecx
jb 0x101212d1
cmp ebx, 0xcd2ed041
je 0x1012130e
mov eax, dword [ebp - 0x14]
add eax, 4
mov dword [ebp - 0x14], eax
cmp eax, dword [0x103030fc]
jne 0x101212b1
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x1030654c], eax
jmp 0x101213d8
mov eax, dword [ebp - 0x20]
xor esi, esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x18], esi
cmp dword [eax + 4], esi
jle 0x101213af
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
mov ebx, dword [eax]
add ebx, ecx
mov ecx, dword [ebx + 0x28]
test ecx, ecx
je 0x10121355
cmp dword [ecx + 4], 0
jle 0x10121355
push 0
mov edx, 0xa2ccb41a
call fcn.10115470
add esp, 4
test eax, eax
je 0x10121355
mov ecx, dword [ebx + 0x2c]
add ecx, eax
add esi, ecx
mov dword [ebp - 0x10], esi
mov esi, dword [ebx]
mov eax, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [esi + ecx], 0
jne 0x10121360
xor edx, edx
test ecx, ecx
je 0x10121390
mov edi, eax
nop
movsx eax, byte [esi + edx]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10121370
mov dword [ebp - 0x14], edi
cmp dword [ebp - 0x14], 0xa2ccb41a
mov edi, dword [ebp - 0x24]
je 0x101213bf
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x20]
inc edx
mov ecx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x10]
add ecx, 0x3c
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], ecx
cmp edx, dword [eax + 4]
jl 0x10121327
mov eax, esi
mov dword [ebp - 4], 0xffffffff
mov dword [0x1030654c], eax
jmp 0x101213d8
mov eax, dword [ebx + 0x2c]
add eax, dword [ebp - 0x10]
mov dword [0x1030654c], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x101213d8
mov eax, dword [0x1030654c]
mov ecx, dword [ebp - 0x28]
movzx eax, word [eax + ecx]
mov ebx, eax
mov esi, eax
mov eax, dword [0x10633ee0]
add eax, 0xfab78433
xor eax, 0xc85d879a
mov ecx, dword [eax + 0x10c]
mov eax, dword [ecx]
mov edx, dword [eax + 8]
movsx eax, si
push eax
call edx
test eax, eax
je 0x10121464
cmp bx, 0x1f
jne 0x10121464
mov eax, dword [edi + 0x1c]
mov dword [ebp - 0x28], 4
cmp eax, dword [edi + 0x20]
je 0x10121428
mov dword [eax], 4
add dword [edi + 0x1c], 4
jmp 0x10121435
lea ecx, [ebp - 0x28]
push ecx
push eax
lea ecx, [edi + 0x18]
call fcn.101113f0
mov eax, dword [edi + 0x1c]
mov dword [ebp - 0x28], 3
cmp eax, dword [edi + 0x20]
je 0x101215dd
mov dword [eax], 3
add dword [edi + 0x1c], 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test byte [edi + 0x65724], 1
je 0x10121495
mov eax, dword [edi + 0x1c]
lea ecx, [edi + 0x18]
mov dword [ebp - 0x28], 0
cmp eax, dword [edi + 0x20]
je 0x1012148b
mov dword [eax], 0
add dword [edi + 0x1c], 4
jmp 0x10121495
lea edx, [ebp - 0x28]
push edx
push eax
call fcn.101113f0
test byte [edi + 0x65724], 2
je 0x101214c6
mov eax, dword [edi + 0x1c]
lea ecx, [edi + 0x18]
mov dword [ebp - 0x28], 6
cmp eax, dword [edi + 0x20]
je 0x101214bc
mov dword [eax], 6
add dword [edi + 0x1c], 4
jmp 0x101214c6
lea edx, [ebp - 0x28]
push edx
push eax
call fcn.101113f0
test byte [edi + 0x65724], 4
je 0x101214f7
mov eax, dword [edi + 0x1c]
lea ecx, [edi + 0x18]
mov dword [ebp - 0x28], 4
cmp eax, dword [edi + 0x20]
je 0x101214ed
mov dword [eax], 4
add dword [edi + 0x1c], 4
jmp 0x101214f7
lea edx, [ebp - 0x28]
push edx
push eax
call fcn.101113f0
test byte [edi + 0x65724], 8
je 0x10121528
mov eax, dword [edi + 0x1c]
lea ecx, [edi + 0x18]
mov dword [ebp - 0x28], 3
cmp eax, dword [edi + 0x20]
je 0x1012151e
mov dword [eax], 3
add dword [edi + 0x1c], 4
jmp 0x10121528
lea edx, [ebp - 0x28]
push edx
push eax
call fcn.101113f0
test byte [edi + 0x65724], 0x10
je 0x10121581
mov eax, dword [edi + 0x1c]
mov dword [ebp - 0x28], 0x12
cmp eax, dword [edi + 0x20]
je 0x1012154c
mov dword [eax], 0x12
add dword [edi + 0x1c], 4
jmp 0x10121559
lea ecx, [ebp - 0x28]
push ecx
push eax
lea ecx, [edi + 0x18]
call fcn.101113f0
mov eax, dword [edi + 0x1c]
mov dword [ebp - 0x28], 0x10
cmp eax, dword [edi + 0x20]
je 0x10121574
mov dword [eax], 0x10
add dword [edi + 0x1c], 4
jmp 0x10121581
lea ecx, [ebp - 0x28]
push ecx
push eax
lea ecx, [edi + 0x18]
call fcn.101113f0
test byte [edi + 0x65724], 0x20
je 0x101215ea
mov eax, dword [edi + 0x1c]
mov dword [ebp - 0x28], 0xd
cmp eax, dword [edi + 0x20]
je 0x101215a5
mov dword [eax], 0xd
add dword [edi + 0x1c], 4
jmp 0x101215b2
lea ecx, [ebp - 0x28]
push ecx
push eax
lea ecx, [edi + 0x18]
call fcn.101113f0
mov eax, dword [edi + 0x1c]
mov dword [ebp - 0x28], 0xc
cmp eax, dword [edi + 0x20]
je 0x101215dd
mov dword [eax], 0xc
add dword [edi + 0x1c], 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x28]
push ecx
push eax
lea ecx, [edi + 0x18]
call fcn.101113f0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret