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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x78
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [esp + 0xc], ecx
cmp dword [eax + 4], 0
mov dword [esp + 0x18], 0
jle 0x1003f468
xor ecx, ecx
mov dword [esp + 0x1c], ecx
nop word [eax + eax]
mov edi, dword [eax]
mov eax, dword [edi + ecx]
add edi, ecx
movsx eax, byte [eax]
push eax
call fcn.100be62d
add esp, 4
test eax, eax
jne 0x1003f445
mov eax, dword [edi]
mov esi, 0x811c9dc5
mov cl, byte [eax]
test cl, cl
je 0x1003f21c
movsx ecx, cl
lea eax, [eax + 1]
xor ecx, esi
imul esi, ecx, 0x1000193
mov cl, byte [eax]
test cl, cl
jne 0x1003f208
mov edx, 0xe70c2de5
mov ecx, 0x100eea1d
call fcn.1003ed70
cmp esi, eax
je 0x1003f445
cmp dword [edi + 4], 6
jne 0x1003f25c
mov ecx, dword [edi + 0x28]
test ecx, ecx
je 0x1003f25c
mov eax, dword [ecx + 0xc]
cmp byte [eax], 0x44
jne 0x1003f25c
mov eax, dword [edi + 0x2c]
add eax, dword [ebp + 0x10]
push eax
push ecx
push dword [ebp + 8]
mov ecx, dword [esp + 0x18]
call fcn.1003f1b0
mov esi, dword [edi]
lea ecx, [esp + 0x30]
push 2
push 0x100eea28
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0xf
mov byte [esp + 0x38], 0
call fcn.10013840
mov edx, dword [ebp + 8]
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x4c]
call fcn.10015240
push esi
mov ecx, eax
call fcn.10011a90
lea ecx, [esp + 0x60]
mov esi, 0x811c9dc5
movups xmm1, xmmword [eax]
movq xmm0, qword [eax + 0x10]
movq qword [esp + 0x70], xmm0
cmp dword [esp + 0x74], 0x10
movd edx, xmm1
movaps xmmword [esp + 0x60], xmm1
mov dword [eax + 0x10], 0
cmovae ecx, edx
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov al, byte [ecx]
test al, al
je 0x1003f2f4
nop dword [eax + eax]
movsx eax, al
lea ecx, [ecx + 1]
xor eax, esi
imul esi, eax, 0x1000193
mov al, byte [ecx]
test al, al
jne 0x1003f2e0
mov eax, dword [esp + 0x74]
mov dword [esp + 0x10], esi
cmp eax, 0x10
jb 0x1003f32c
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x1003f322
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003f470
push ecx
push edx
call fcn.1009a99b
add esp, 8
mov edx, dword [esp + 0x5c]
cmp edx, 0x10
jb 0x1003f362
mov ecx, dword [esp + 0x48]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1003f358
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003f470
push edx
push ecx
call fcn.1009a99b
add esp, 8
mov edx, dword [esp + 0x44]
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0xf
mov byte [esp + 0x48], 0
cmp edx, 0x10
jb 0x1003f3ad
mov ecx, dword [esp + 0x30]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1003f3a3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003f470
push edx
push ecx
call fcn.1009a99b
add esp, 8
mov ax, word [edi + 0x2c]
mov edx, dword [esp + 0xc]
add ax, word [ebp + 0x10]
movzx ecx, ax
mov dword [esp + 0x14], ecx
mov eax, dword [edx + 4]
cmp eax, dword [edx + 8]
je 0x1003f3d4
mov dword [eax], esi
mov word [eax + 4], cx
add dword [edx + 4], 8
jmp 0x1003f3ea
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x14]
push ecx
push eax
mov ecx, edx
call fcn.1003f6b0
mov esi, dword [esp + 0x10]
cmp esi, 0x1df12898
je 0x1003f401
cmp esi, 0x309b765b
jne 0x1003f445
mov eax, 0x1003f040
jmp 0x1003f406
mov eax, 0x1003ee20
add edi, 0x20
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], eax
mov esi, dword [edi]
cmp esi, eax
je 0x1003f445
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x24]
push eax
call fcn.1003f840
mov eax, dword [eax]
mov dword [eax + 0xc], esi
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.1003f840
mov eax, dword [eax]
mov dword [eax + 0x10], edi
mov eax, dword [esp + 0x14]
mov dword [edi], eax
mov eax, dword [esp + 0x18]
mov edx, dword [ebp + 0xc]
inc eax
mov ecx, dword [esp + 0x1c]
add ecx, 0x3c
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
cmp eax, dword [edx + 4]
jge 0x1003f468
mov eax, edx
jmp 0x1003f1e0
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
call fcn.100b8d8b
int3