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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20
mov eax, dword [0x10096024]
mov edx, dword [ebp + 0xc]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov esi, dword [edx + 0x10]
cmp dword [edx + 0x14], 0xf
jbe 0x1003fa71
mov edx, dword [edx]
test esi, esi
mov edi, 0x811c9dc5
mov dword [ebp - 0x1c], edx
je 0x1003fa9f
mov eax, edx
mov ebx, esi
nop word cs:[eax + eax]
nop dword [eax + eax]
movzx edx, byte [eax]
inc eax
xor edx, edi
imul edi, edx, 0x1000193
dec ebx
jne 0x1003fa90
and edi, dword [ecx + 0x18]
mov edx, dword [ecx + 0xc]
mov ebx, dword [ecx + 4]
mov dword [ebp - 0x20], ecx
mov ecx, dword [edx + edi*8]
add edi, edi
mov dword [ebp - 0x28], ebx
cmp ecx, ebx
je 0x1003fac6
lea eax, [edi*4]
or eax, 4
mov eax, dword [edx + eax]
mov ebx, dword [eax]
cmp ecx, ebx
mov dword [ebp - 0x24], edx
je 0x1003fb10
mov dword [ebp - 0x2c], ecx
mov ebx, dword [ebx + 4]
cmp esi, dword [ebx + 0x18]
jne 0x1003fb0c
cmp dword [ebx + 0x1c], 0xf
jbe 0x1003faf0
mov eax, dword [ebx + 8]
jmp 0x1003faf3
lea eax, [ebx + 8]
mov ecx, dword [ebp - 0x1c]
push esi
push eax
push ecx
call fcn.1006027d
add esp, 0xc
mov ecx, dword [ebp - 0x2c]
test eax, eax
je 0x1003fb9e
cmp ecx, ebx
jne 0x1003fad0
mov esi, dword [ebp + 0x10]
mov ebx, dword [ebp - 0x20]
mov eax, dword [esi]
mov edx, esi
mov esi, ecx
cmp eax, ecx
mov ecx, dword [ebp - 0x24]
je 0x1003fb53
mov ecx, dword [edx + 4]
mov dword [ecx], eax
mov ecx, dword [eax + 4]
mov dword [ecx], esi
mov ecx, dword [esi + 4]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov ecx, dword [esi + 4]
mov dword [esi + 4], edx
mov edx, dword [ebp + 0x10]
mov edx, dword [edx + 4]
mov dword [eax + 4], edx
mov edx, dword [ebp + 0x10]
mov dword [edx + 4], ecx
mov eax, dword [ebx + 4]
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0x28], eax
lea eax, [ecx + edi*4]
mov dword [ebp - 0x24], ecx
mov ecx, dword [ecx + edi*4]
cmp ecx, dword [ebp - 0x28]
je 0x1003fb8d
cmp ecx, esi
je 0x1003fc03
mov ecx, dword [ebp - 0x24]
or edi, 1
mov eax, dword [ecx + edi*4]
mov eax, dword [eax]
cmp eax, edx
mov dword [ecx + edi*4], eax
je 0x1003fc07
mov ecx, dword [ebx + 0xc]
lea eax, [ecx + edi*4]
mov ecx, dword [ecx + edi*4]
mov ecx, dword [ecx + 4]
jmp 0x1003fc05
shl edi, 2
mov dword [eax], edx
mov ecx, edx
or edi, 4
add edi, dword [ebx + 0xc]
mov eax, edi
jmp 0x1003fc05
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov dword [ecx], eax
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
mov eax, dword [ebp - 0x20]
dec dword [eax + 8]
mov eax, dword [edx + 0x1c]
cmp eax, 0x10
jb 0x1003fbf1
mov ecx, dword [edx + 8]
lea esi, [eax + 1]
cmp esi, 0x1000
jb 0x1003fbe4
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x1003fd15
add eax, 0x24
mov ecx, edx
mov esi, eax
push esi
push ecx
call fcn.1005c916
add esp, 8
mov edx, dword [ebp + 0x10]
push 0x24
push edx
call fcn.1005c916
add esp, 8
xor eax, eax
jmp 0x1003fcf2
mov ecx, edx
mov dword [eax], ecx
movss xmm0, dword [ebx + 8]
movsd xmm1, qword [0x1007f488]
movss xmm2, dword [ebx + 0x1c]
mov al, 1
orpd xmm0, xmm1
orpd xmm2, xmm1
subsd xmm0, xmm1
subsd xmm2, xmm1
cvtsd2ss xmm0, xmm0
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm2
divss xmm0, xmm1
ucomiss xmm0, dword [ebx]
jbe 0x1003fcf0
mov esi, dword [ebx + 0x1c]
mov cl, 3
cmp esi, 0x1fffffff
setb al
cmp esi, 0x200
jb 0x1003fc5b
mov ecx, eax
mov eax, dword [ebx + 0x14]
shl esi, cl
lea ecx, [ebx + 0xc]
lea edx, [esi + esi]
sub eax, dword [ebx + 0xc]
sar eax, 2
cmp eax, edx
jae 0x1003fc8c
cmp edx, 0x40000000
jae 0x1003fd10
mov edi, ecx
push edx
mov dword [ebp - 0x1c], edx
call fcn.10010c20
mov edx, dword [ebp - 0x1c]
mov ecx, edi
mov eax, dword [ebx + 4]
mov edi, ebx
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
push edx
call fcn.100108d0
lea eax, [esi - 1]
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], esi
mov eax, dword [ebx + 4]
mov ebx, dword [eax]
cmp ebx, eax
je 0x1003fce9
mov esi, dword [eax + 4]
lea eax, [ebx + 8]
mov ecx, edi
push ebx
push eax
lea edi, [ebp - 0x18]
push edi
call fcn.1003fa50
cmp ebx, esi
je 0x1003fce9
mov ebx, dword [ebp - 0x20]
nop word [eax + eax]
mov eax, dword [ebx + 4]
mov ecx, ebx
mov edi, dword [eax]
lea eax, [edi + 8]
push edi
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.1003fa50
cmp edi, esi
jne 0x1003fcd0
mov ebx, dword [ebp + 0x10]
mov al, 1
jmp 0x1003fcf2
mov ebx, edx
mov esi, dword [ebp + 8]
mov dword [esi], ebx
mov byte [esi + 4], al
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1005c924
mov eax, esi
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
call fcn.10004670
call fcn.10067a70
int3