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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1038b6a3
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x1049b0c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x20], ebx
mov edx, dword [0x11b92250]
add edx, 0xc6c19814
xor edx, 0x26996288
mov eax, dword [edx + 0x154]
cmp dword [eax + 0x9960], 0
je 0x1003baba
mov eax, dword [edx + 0x160]
or dword [eax + 0x30], 0x400000
mov eax, dword [0x11b92250]
lea edx, [eax - 0x393e67ec]
xor edx, 0x26996288
mov esi, dword [edx + 0x12c]
cmp byte [esi + 0x7c], 0
jne 0x1003bab0
cmp byte [esi + 0x20], 0
jne 0x1003bab0
mov ecx, dword [edx + 0x154]
mov dword [ebp - 0x24], ecx
mov ecx, dword [0x10544904]
test cl, 1
jne 0x1003b9ec
or ecx, 1
mov dword [0x10544904], ecx
mov dword [ebp - 4], 0
mov edx, dword [0x1053ebb8]
mov dword [ebp - 0x14], edx
cmp edx, dword [0x1053ebbc]
je 0x1003b91d
mov ecx, dword [edx]
mov dword [ebp - 0x1c], ecx
test ecx, ecx
je 0x1003b90f
mov edi, dword [ecx + 0xc]
mov ebx, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [edi + ecx], 0
jne 0x1003b8e6
xor esi, esi
test ecx, ecx
je 0x1003b90f
movsx edx, byte [edi + esi]
inc esi
xor edx, ebx
imul ebx, edx, 0x1000193
cmp esi, ecx
jb 0x1003b8f3
cmp ebx, 0x72e242a1
je 0x1003b92d
mov edx, dword [ebp - 0x14]
add edx, 4
mov dword [ebp - 0x14], edx
cmp edx, dword [0x1053ebbc]
jne 0x1003b8d3
mov ebx, dword [ebp - 0x20]
xor ecx, ecx
mov dword [0x10541648], ecx
jmp 0x1003b9f2
mov ecx, dword [ebp - 0x1c]
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
cmp dword [ecx + 4], ebx
jle 0x1003b9c9
xor eax, eax
mov dword [ebp - 0x10], eax
mov edi, dword [ecx]
mov ecx, dword [edi + eax + 0x28]
add edi, eax
test ecx, ecx
je 0x1003b978
cmp dword [ecx + 4], 0
jle 0x1003b978
push 0
mov edx, 0xa4a37590
call fcn.10238b60
add esp, 4
test eax, eax
je 0x1003b975
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
inc ecx
cmp byte [ecx + esi], 0
jne 0x1003b981
xor edx, edx
test ecx, ecx
je 0x1003b9ac
nop
movsx eax, byte [edx + esi]
inc edx
xor eax, ebx
imul ebx, eax, 0x1000193
cmp edx, ecx
jb 0x1003b990
cmp ebx, 0xa4a37590
je 0x1003b9d6
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x18]
add eax, 0x3c
mov ecx, dword [ebp - 0x1c]
inc edx
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x10], eax
cmp edx, dword [ecx + 4]
jl 0x1003b946
mov eax, dword [0x11b92250]
mov ecx, ebx
mov ebx, dword [ebp - 0x20]
mov dword [0x10541648], ecx
jmp 0x1003b9f2
mov ecx, dword [edi + 0x2c]
add ecx, dword [ebp - 0x14]
mov eax, dword [0x11b92250]
mov ebx, dword [ebp - 0x20]
mov dword [0x10541648], ecx
jmp 0x1003b9f2
mov ecx, dword [0x10541648]
mov edx, dword [ebp - 0x24]
test byte [ecx + edx], 0x40
jne 0x1003bab0
mov ecx, dword [0x11b9226c]
add ecx, 0xcb8fa14
xor ecx, 0x8617bd34
cmp dword [ecx + 4], 3
jl 0x1003bab0
cmp byte [0x1052368c], 0
je 0x1003bab0
cmp byte [0x1049bd18], 0
je 0x1003ba5f
lea ecx, [eax - 0x393e67ec]
xor ecx, 0x26996288
mov eax, dword [ecx + 0xc0]
cmp dword [eax + 0x4d30], 0
jg 0x1003bab7
mov eax, dword [ecx + 0x160]
mov byte [0x1049bd18], 0
and dword [eax + 0x30], 0xfffffffb
jmp 0x1003bab7
add eax, 0xc6c19814
xor eax, 0x26996288
mov ecx, dword [eax + 0x160]
mov eax, dword [eax + 0xc0]
cmp dword [eax + 0x4d30], 7
jge 0x1003ba97
and dword [ecx + 0x30], 0xfffffffb
mov byte [ebx], 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
or dword [ecx + 0x30], 4
mov byte [ebx], 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
mov byte [0x1049bd18], 1
mov byte [ebx], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret