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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, dword [0x1014f200]
mov dword [ebp - 8], ecx
test edi, edi
je 0x1003fcb5
cmp byte [0x1014f204], 0
je 0x1003fcb5
cmp dword [0x1014f89c], 0
jg 0x1003fcb5
mov eax, dword [0x101a5e08]
mov edi, dword [eax + edi]
mov dword [ebp - 4], edi
test edi, edi
je 0x1003fcb5
mov eax, dword [0x101a5c4c]
mov ebx, dword [eax + 0x30]
test ebx, ebx
je 0x1003f9f7
mov edi, dword [ebx + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop dword [eax]
inc ecx
cmp byte [edi + ecx], 0
jne 0x1003f9c0
xor edx, edx
test ecx, ecx
je 0x1003f9ed
nop dword [eax]
movsx eax, byte [edi + edx]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x1003f9d0
cmp esi, 0x731ec79a
je 0x1003fb54
mov ebx, dword [ebx + 4]
test ebx, ebx
jne 0x1003f9b3
mov edi, dword [ebp - 4]
xor ebx, ebx
mov eax, dword [ebx]
mov ecx, ebx
push 0
mov eax, dword [eax + 0x40]
call eax
mov eax, dword [0x101a5cb0]
mov ebx, dword [ebp - 8]
lea esi, [ebx + 0x774]
lea edx, [ebx + 0x744]
movss xmm0, dword [eax + 0x10]
subss xmm0, dword [esi]
movss dword [ebx + 0x778], xmm0
mov eax, dword [0x101a5cb0]
mov eax, dword [eax + 0x10]
mov dword [esi], eax
lea eax, [edx + 4]
mov ecx, dword [0x1014f8cc]
mov dword [ebp - 0xc], eax
movss xmm1, dword [ecx + 0xc]
movss dword [edx], xmm1
movaps xmm0, xmm1
mov eax, dword [ecx + 0x10]
mov dword [edx + 4], eax
lea eax, [edx + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ecx + 0x14]
mov dword [edx + 8], eax
cmp byte [edi + 0x109], 0
je 0x1003fab8
cmp byte [edi + 0x108], 0
lea esi, [ebx + 0x774]
je 0x1003fab8
mov ecx, dword [0x101a5ea0]
lea esi, [ebx + 0x774]
mov eax, dword [0x1014f200]
add ecx, 0xffffffcb
xor ecx, 0x23f81eac
test byte [ecx + eax], 1
je 0x1003fab8
test byte [0x1014f208], 1
lea esi, [ebx + 0x774]
je 0x1003fab8
movss xmm0, dword [0x100db134]
lea esi, [ebx + 0x774]
mov dword [edx], 0xc1400000
comiss xmm0, dword [0x100db03c]
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x42b40000
mov ecx, edx
cmovbe eax, edx
movss xmm0, dword [eax]
maxss xmm0, dword [0x100db150]
movss dword [edx], xmm0
call fcn.100a5110
mov ecx, dword [ebp - 0xc]
call fcn.100a5110
mov ecx, dword [ebp - 0x10]
call fcn.100a5110
mov ecx, dword [0x101a5c68]
lea edx, [ebx + 0x744]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
call eax
movss xmm0, dword [edi + 0xec]
comiss xmm0, dword [0x100dad94]
jbe 0x1003fb5c
cmp byte [edi + 0x108], 0
je 0x1003fb2d
mov eax, dword [ebx + 0x748]
mov dword [ebx + 0x768], eax
movss xmm0, dword [esi]
movss dword [ebx + 0x670], xmm0
addss xmm0, dword [0x100dadc4]
mov dword [ebx + 0x668], 0
mov byte [ebx + 0x66c], 0
jmp 0x1003fb92
mov edi, dword [ebp - 4]
jmp 0x1003f9f9
movss xmm0, dword [esi]
comiss xmm0, dword [ebx + 0x76c]
jb 0x1003fb9a
mov eax, dword [ebx + 0x748]
inc dword [ebx + 0x668]
movss dword [ebx + 0x670], xmm0
addss xmm0, dword [0x100dae4c]
mov dword [ebx + 0x768], eax
mov byte [ebx + 0x66c], 1
movss dword [ebx + 0x76c], xmm0
mov edx, dword [0x101a5ed8]
mov eax, dword [0x1014f200]
add edx, 0xffffffbd
mov ecx, dword [ebx + 0x768]
xor edx, 0x23f81eba
mov dword [edx + eax], ecx
mov eax, dword [0x101a5cb0]
mov eax, dword [eax + 4]
cmp dword [edi + 0x70], eax
jl 0x1003fbc8
dec eax
mov dword [edi + 0x70], eax
mov ecx, dword [0x1014f200]
call dword [0x101a6798]
mov eax, dword [0x1014f200]
lea edi, [ebx + 0x390]
mov esi, dword [0x101a5df4]
mov ecx, 0xb6
mov edx, dword [ebp - 4]
mov esi, dword [esi + eax]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [0x101a5f2c]
add eax, 0xffffffa8
xor eax, 0x23f81ecf
add eax, dword [0x1014f200]
movups xmm0, xmmword [eax]
movups xmmword [ebx + 0x20], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [ebx + 0x30], xmm0
movups xmm0, xmmword [eax + 0x20]
movups xmmword [ebx + 0x40], xmm0
movups xmm0, xmmword [eax + 0x30]
movups xmmword [ebx + 0x50], xmm0
movups xmm0, xmmword [eax + 0x40]
movups xmmword [ebx + 0x60], xmm0
movups xmm0, xmmword [eax + 0x50]
movups xmmword [ebx + 0x70], xmm0
mov dword [ebx + 0x650], 0
mov dword [ebx + 0x458], 0
mov dword [ebx + 0x464], 0
mov ecx, dword [0x101a5eb8]
movss xmm0, dword [edx + 0x80]
add ecx, 0xffffffc5
movss dword [0x1014f21c], xmm0
xor ecx, 0x23f81eb2
add ecx, dword [0x1014f200]
mov eax, dword [ecx]
mov dword [ebx + 0x750], eax
mov eax, dword [ecx + 4]
mov dword [ebx + 0x754], eax
mov eax, dword [ecx + 8]
mov dword [ebx + 0x758], eax
mov eax, dword [edx + 0x80]
mov dword [ebx + 0x754], eax
mov eax, dword [edx + 0xec]
mov dword [ebx + 0x770], eax
mov al, byte [edx + 0x108]
mov byte [ebx + 0x77c], al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret