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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101ca163
mov eax, dword fs:[0]
push eax
sub esp, 0x18
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 ebx, ecx
mov dword [ebp - 0x20], ebx
mov eax, dword [0x105cbfb0]
add eax, 0x4fd8cdb0
xor eax, 0x91d5c6d7
mov eax, dword [eax + 0x150]
mov dword [ebp - 0x24], eax
mov eax, dword [0x1029cb78]
test al, 1
jne 0x10124772
or eax, 1
mov dword [0x1029cb78], eax
mov dword [ebp - 4], 0
mov ebx, dword [0x1029b360]
cmp ebx, dword [0x1029b364]
je 0x10124694
nop
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x10124689
mov esi, dword [eax + 0xc]
mov edi, 0x811c9dc5
xor eax, eax
inc eax
cmp byte [eax + esi], 0
jne 0x10124663
xor edx, edx
test eax, eax
je 0x10124689
movsx ecx, byte [edx + esi]
inc edx
xor ecx, edi
imul edi, ecx, 0x1000193
cmp edx, eax
jb 0x10124670
cmp edi, 0xcd2ed041
je 0x101246aa
add ebx, 4
cmp ebx, dword [0x1029b364]
jne 0x10124650
mov ebx, dword [ebp - 0x20]
xor eax, eax
mov dword [0x1029e41c], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x10124777
mov eax, dword [ebp - 0x10]
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
cmp dword [eax + 4], ebx
jle 0x10124748
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
mov edi, dword [eax]
add edi, ecx
mov ecx, dword [edi + 0x28]
test ecx, ecx
je 0x101246f4
cmp dword [ecx + 4], 0
jle 0x101246f4
push 0
mov edx, 0xa2ccb41a
call fcn.101146e0
add esp, 4
test eax, eax
je 0x101246f1
mov ecx, dword [edi + 0x2c]
add ecx, eax
add ebx, ecx
mov dword [ebp - 0x14], ebx
mov eax, dword [ebp - 0x10]
mov esi, dword [edi]
mov ebx, 0x811c9dc5
xor ecx, ecx
nop dword [eax]
inc ecx
cmp byte [ecx + esi], 0
jne 0x10124700
xor edx, edx
test ecx, ecx
je 0x1012472c
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, ebx
imul ebx, eax, 0x1000193
cmp edx, ecx
jb 0x10124710
cmp ebx, 0xa2ccb41a
je 0x1012475b
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
inc edx
mov ebx, dword [ebp - 0x14]
add ecx, 0x3c
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], ecx
cmp edx, dword [eax + 4]
jl 0x101246c3
mov eax, ebx
mov dword [ebp - 4], 0xffffffff
mov ebx, dword [ebp - 0x20]
mov dword [0x1029e41c], eax
jmp 0x10124777
mov eax, dword [edi + 0x2c]
add eax, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x20]
mov dword [0x1029e41c], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x10124777
mov eax, dword [0x1029e41c]
mov ecx, dword [ebp - 0x24]
movzx eax, word [eax + ecx]
mov edi, 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 0x101247b0
cmp di, 0x1f
je 0x10124826
mov eax, dword [0x1046e008]
add eax, 0xc76c3b04
xor eax, 0x47dce98a
add eax, 0x188
je 0x10124826
test byte [ebx + 0x6572c], 2
jne 0x101247dc
push 0
mov ecx, ebx
call fcn.1011ea60
test al, al
je 0x10124826
mov eax, dword [0x105cbfc8]
add eax, 0x7c10e9a7
xor eax, 0xde84b238
cmp dword [eax + 4], 3
jge 0x10124810
mov eax, dword [ebx + 0x6572c]
shr eax, 3
and al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4