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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101d95a3
mov eax, dword fs:[0]
push eax
sub esp, 0x18
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 ebx, ecx
mov dword [ebp - 0x20], ebx
mov eax, dword [0x10633ee0]
add eax, 0xfab78433
xor eax, 0xc85d879a
mov eax, dword [eax + 0x150]
mov dword [ebp - 0x24], eax
mov eax, dword [0x10304ca8]
test al, 1
jne 0x101254d2
or eax, 1
mov dword [0x10304ca8], eax
mov dword [ebp - 4], 0
mov ebx, dword [0x103030f8]
cmp ebx, dword [0x103030fc]
je 0x101253f4
nop
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x101253e9
mov esi, dword [eax + 0xc]
mov edi, 0x811c9dc5
xor eax, eax
inc eax
cmp byte [esi + eax], 0
jne 0x101253c3
xor edx, edx
test eax, eax
je 0x101253e9
movsx ecx, byte [esi + edx]
inc edx
xor ecx, edi
imul edi, ecx, 0x1000193
cmp edx, eax
jb 0x101253d0
cmp edi, 0xcd2ed041
je 0x1012540a
add ebx, 4
cmp ebx, dword [0x103030fc]
jne 0x101253b0
mov ebx, dword [ebp - 0x20]
xor eax, eax
mov dword [0x1030654c], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x101254d7
mov eax, dword [ebp - 0x10]
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
cmp dword [eax + 4], ebx
jle 0x101254a8
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
mov edi, dword [eax]
add edi, ecx
mov ecx, dword [edi + 0x28]
test ecx, ecx
je 0x10125454
cmp dword [ecx + 4], 0
jle 0x10125454
push 0
mov edx, 0xa2ccb41a
call fcn.10115470
add esp, 4
test eax, eax
je 0x10125451
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 [esi + ecx], 0
jne 0x10125460
xor edx, edx
test ecx, ecx
je 0x1012548c
nop dword [eax]
movsx eax, byte [esi + edx]
inc edx
xor eax, ebx
imul ebx, eax, 0x1000193
cmp edx, ecx
jb 0x10125470
cmp ebx, 0xa2ccb41a
je 0x101254bb
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 0x10125423
mov eax, ebx
mov dword [ebp - 4], 0xffffffff
mov ebx, dword [ebp - 0x20]
mov dword [0x1030654c], eax
jmp 0x101254d7
mov eax, dword [edi + 0x2c]
add eax, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x20]
mov dword [0x1030654c], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x101254d7
mov eax, dword [0x1030654c]
mov ecx, dword [ebp - 0x24]
movzx eax, word [eax + ecx]
mov edi, 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 0x10125510
cmp di, 0x1f
je 0x10125586
mov eax, dword [0x104d5f48]
add eax, 0x3479199f
xor eax, 0xd3f15a3a
add eax, 0x188
je 0x10125586
test byte [ebx + 0x6572c], 2
jne 0x1012553c
push 0
mov ecx, ebx
call fcn.1011f740
test al, al
je 0x10125586
mov eax, dword [0x10633ef8]
add eax, 0x84b87496
xor eax, 0x2070f413
cmp dword [eax + 4], 3
jge 0x10125570
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