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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101c9f23
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x10203360]
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 [0x105cbfb0]
add eax, 0x4fd8cdb0
xor eax, 0x91d5c6d7
mov eax, dword [eax + 0x150]
mov dword [ebp - 0x28], eax
mov eax, dword [0x1029cb78]
test al, 1
jne 0x101206f3
or eax, 1
mov dword [0x1029cb78], eax
mov dword [ebp - 4], 0
mov eax, dword [0x1029b360]
mov dword [ebp - 0x14], eax
cmp eax, dword [0x1029b364]
je 0x1012061b
mov ecx, dword [eax]
mov dword [ebp - 0x20], ecx
test ecx, ecx
je 0x1012060d
mov esi, dword [ecx + 0xc]
mov ebx, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + esi], 0
jne 0x101205e4
xor edx, edx
test ecx, ecx
je 0x1012060d
movsx eax, byte [edx + esi]
inc edx
xor eax, ebx
imul ebx, eax, 0x1000193
cmp edx, ecx
jb 0x101205f1
cmp ebx, 0xcd2ed041
je 0x1012062e
mov eax, dword [ebp - 0x14]
add eax, 4
mov dword [ebp - 0x14], eax
cmp eax, dword [0x1029b364]
jne 0x101205d1
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x1029e41c], eax
jmp 0x101206f8
mov eax, dword [ebp - 0x20]
xor esi, esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x18], esi
cmp dword [eax + 4], esi
jle 0x101206cf
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
mov ebx, dword [eax]
add ebx, ecx
mov ecx, dword [ebx + 0x28]
test ecx, ecx
je 0x10120675
cmp dword [ecx + 4], 0
jle 0x10120675
push 0
mov edx, 0xa2ccb41a
call fcn.101146e0
add esp, 4
test eax, eax
je 0x10120675
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 [ecx + esi], 0
jne 0x10120680
xor edx, edx
test ecx, ecx
je 0x101206b0
mov edi, eax
nop
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10120690
mov dword [ebp - 0x14], edi
cmp dword [ebp - 0x14], 0xa2ccb41a
mov edi, dword [ebp - 0x24]
je 0x101206df
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 0x10120647
mov eax, esi
mov dword [ebp - 4], 0xffffffff
mov dword [0x1029e41c], eax
jmp 0x101206f8
mov eax, dword [ebx + 0x2c]
add eax, dword [ebp - 0x10]
mov dword [0x1029e41c], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x101206f8
mov eax, dword [0x1029e41c]
mov ecx, dword [ebp - 0x28]
movzx eax, word [eax + ecx]
mov ebx, eax
mov esi, eax
mov eax, dword [0x105cbfb0]
add eax, 0x4fd8cdb0
xor eax, 0x91d5c6d7
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 0x10120784
cmp bx, 0x1f
jne 0x10120784
mov eax, dword [edi + 0x1c]
mov dword [ebp - 0x28], 4
cmp eax, dword [edi + 0x20]
je 0x10120748
mov dword [eax], 4
add dword [edi + 0x1c], 4
jmp 0x10120755
lea ecx, [ebp - 0x28]
push ecx
push eax
lea ecx, [edi + 0x18]
call fcn.10110430
mov eax, dword [edi + 0x1c]
mov dword [ebp - 0x28], 3
cmp eax, dword [edi + 0x20]
je 0x101208fd
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 0x101207b5
mov eax, dword [edi + 0x1c]
lea ecx, [edi + 0x18]
mov dword [ebp - 0x28], 0
cmp eax, dword [edi + 0x20]
je 0x101207ab
mov dword [eax], 0
add dword [edi + 0x1c], 4
jmp 0x101207b5
lea edx, [ebp - 0x28]
push edx
push eax
call fcn.10110430
test byte [edi + 0x65724], 2
je 0x101207e6
mov eax, dword [edi + 0x1c]
lea ecx, [edi + 0x18]
mov dword [ebp - 0x28], 6
cmp eax, dword [edi + 0x20]
je 0x101207dc
mov dword [eax], 6
add dword [edi + 0x1c], 4
jmp 0x101207e6
lea edx, [ebp - 0x28]
push edx
push eax
call fcn.10110430
test byte [edi + 0x65724], 4
je 0x10120817
mov eax, dword [edi + 0x1c]
lea ecx, [edi + 0x18]
mov dword [ebp - 0x28], 4
cmp eax, dword [edi + 0x20]
je 0x1012080d
mov dword [eax], 4
add dword [edi + 0x1c], 4
jmp 0x10120817
lea edx, [ebp - 0x28]
push edx
push eax
call fcn.10110430
test byte [edi + 0x65724], 8
je 0x10120848
mov eax, dword [edi + 0x1c]
lea ecx, [edi + 0x18]
mov dword [ebp - 0x28], 3
cmp eax, dword [edi + 0x20]
je 0x1012083e
mov dword [eax], 3
add dword [edi + 0x1c], 4
jmp 0x10120848
lea edx, [ebp - 0x28]
push edx
push eax
call fcn.10110430
test byte [edi + 0x65724], 0x10
je 0x101208a1
mov eax, dword [edi + 0x1c]
mov dword [ebp - 0x28], 0x12
cmp eax, dword [edi + 0x20]
je 0x1012086c
mov dword [eax], 0x12
add dword [edi + 0x1c], 4
jmp 0x10120879
lea ecx, [ebp - 0x28]
push ecx
push eax
lea ecx, [edi + 0x18]
call fcn.10110430
mov eax, dword [edi + 0x1c]
mov dword [ebp - 0x28], 0x10
cmp eax, dword [edi + 0x20]
je 0x10120894
mov dword [eax], 0x10
add dword [edi + 0x1c], 4
jmp 0x101208a1
lea ecx, [ebp - 0x28]
push ecx
push eax
lea ecx, [edi + 0x18]
call fcn.10110430
test byte [edi + 0x65724], 0x20
je 0x1012090a
mov eax, dword [edi + 0x1c]
mov dword [ebp - 0x28], 0xd
cmp eax, dword [edi + 0x20]
je 0x101208c5
mov dword [eax], 0xd
add dword [edi + 0x1c], 4
jmp 0x101208d2
lea ecx, [ebp - 0x28]
push ecx
push eax
lea ecx, [edi + 0x18]
call fcn.10110430
mov eax, dword [edi + 0x1c]
mov dword [ebp - 0x28], 0xc
cmp eax, dword [edi + 0x20]
je 0x101208fd
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.10110430
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret