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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x102750bf
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x98
mov eax, dword [0x103230ac]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x88], ecx
movss xmm2, dword [ebx + 0x14]
lea edx, [ebp - 0x74]
mulss xmm2, dword [0x1030b738]
lea ecx, [ebp - 0x80]
mov eax, dword [ebx + 0x1c]
mov esi, dword [ebx + 8]
mov dword [ebp - 0x94], esi
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x74], 0
call fcn.101379c0
movss xmm2, dword [ebx + 0x10]
lea edx, [ebp - 0x7c]
mulss xmm2, dword [0x1030b738]
lea ecx, [ebp - 0x78]
call fcn.101379c0
movss xmm1, dword [ebp - 0x7c]
lea eax, [ebp - 0x70]
movss xmm2, dword [ebp - 0x74]
xorps xmm0, xmm0
movss xmm3, dword [ebp - 0x78]
xorps xmm3, xmmword [0x1030c060]
push eax
push 0
mulss xmm2, xmm1
sub esp, 0xc
mov eax, esp
mov dword [ebp - 0x50], 0
mulss xmm1, dword [ebp - 0x80]
movups xmmword [ebp - 0x70], xmm0
movups xmmword [ebp - 0x60], xmm0
movss dword [ebp - 0x9c], xmm2
movss dword [ebp - 0xa0], xmm1
movss dword [ebp - 0xa4], xmm3
movss dword [eax], xmm2
movss dword [eax + 4], xmm1
movss dword [eax + 8], xmm3
call fcn.10158db0
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x10159709
cmp eax, esi
jne 0x10159709
mov eax, dword [0x103c700c]
test al, 1
jne 0x101591ee
or eax, 1
mov dword [0x103c700c], eax
mov dword [ebp - 4], 0
mov eax, dword [0x103bf630]
mov dword [ebp - 0x78], eax
cmp eax, dword [0x103bf634]
je 0x101590fa
nop dword [eax + eax]
mov ecx, dword [eax]
mov dword [ebp - 0x7c], ecx
test ecx, ecx
je 0x101590ec
mov edi, dword [ecx + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + edi], 0
jne 0x101590c3
xor edx, edx
test ecx, ecx
je 0x101590ec
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x101590d0
cmp esi, 0x72e242a1
je 0x10159113
mov eax, dword [ebp - 0x78]
add eax, 4
mov dword [ebp - 0x78], eax
cmp eax, dword [0x103bf634]
jne 0x101590b0
mov esi, dword [ebp - 0x94]
xor eax, eax
mov dword [0x103c703c], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x101591f3
mov eax, dword [ebp - 0x7c]
xor edi, edi
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x78], edi
cmp dword [eax + 4], edi
jle 0x101591b8
xor ecx, ecx
mov dword [ebp - 0x80], ecx
nop dword [eax]
mov esi, dword [eax]
add esi, ecx
mov dword [ebp - 0x8c], esi
mov ecx, dword [esi + 0x28]
test ecx, ecx
je 0x10159167
cmp dword [ecx + 4], 0
jle 0x10159167
push 0
mov edx, 0x8937152d
call fcn.1013c990
add esp, 4
test eax, eax
je 0x10159164
mov ecx, dword [esi + 0x2c]
add ecx, eax
add edi, ecx
mov dword [ebp - 0x74], edi
mov eax, dword [ebp - 0x7c]
mov edi, dword [esi]
xor ecx, ecx
mov esi, 0x811c9dc5
inc ecx
cmp byte [ecx + edi], 0
jne 0x10159170
xor edx, edx
test ecx, ecx
je 0x1015919c
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x10159180
cmp esi, 0x8937152d
je 0x101591ce
mov eax, dword [ebp - 0x7c]
mov edx, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x80]
inc edx
mov edi, dword [ebp - 0x74]
add ecx, 0x3c
mov dword [ebp - 0x78], edx
mov dword [ebp - 0x80], ecx
cmp edx, dword [eax + 4]
jl 0x10159130
mov esi, dword [ebp - 0x94]
mov eax, edi
mov dword [0x103c703c], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x101591f3
mov eax, dword [ebp - 0x8c]
mov esi, dword [ebp - 0x94]
mov eax, dword [eax + 0x2c]
add eax, dword [ebp - 0x74]
mov dword [0x103c703c], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x101591f3
mov eax, dword [0x103c703c]
mov edi, dword [esi + eax]
mov eax, dword [0x10c0dd10]
add eax, 0x72c821ae
mov dword [ebp - 0x90], edi
xor eax, 0x43f50f5d
mov eax, dword [eax + 0x138]
mov dword [ebp - 0x84], eax
mov eax, dword [0x103fd88c]
test al, 1
jne 0x10159362
or eax, 1
mov dword [0x103fd88c], eax
mov dword [ebp - 4], 1
mov eax, dword [0x103bf630]
mov dword [ebp - 0x78], eax
cmp eax, dword [0x103bf634]
je 0x1015928d
mov ecx, dword [eax]
mov dword [ebp - 0x74], ecx
test ecx, ecx
je 0x1015927f
mov edi, dword [ecx + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + edi], 0
jne 0x10159256
xor edx, edx
test ecx, ecx
je 0x1015927f
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x10159263
cmp esi, 0xf2f193b3
je 0x101592ac
mov eax, dword [ebp - 0x78]
add eax, 4
mov dword [ebp - 0x78], eax
cmp eax, dword [0x103bf634]
jne 0x10159243
xor eax, eax
mov esi, dword [ebp - 0x94]
mov dword [ebp - 4], 0xffffffff
mov edi, dword [ebp - 0x90]
mov dword [0x103fd89c], eax
jmp 0x10159367
mov eax, dword [ebp - 0x74]
xor edi, edi
mov dword [ebp - 0x7c], edi
mov dword [ebp - 0x78], edi
cmp dword [eax + 4], edi
jle 0x1015934a
xor ecx, ecx
mov dword [ebp - 0x80], ecx
mov esi, dword [eax]
add esi, ecx
mov dword [ebp - 0x8c], esi
mov ecx, dword [esi + 0x28]
test ecx, ecx
je 0x101592fc
cmp dword [ecx + 4], 0
jle 0x101592fc
push 0
mov edx, 0x8aaa98fc
call fcn.1013c990
add esp, 4
test eax, eax
je 0x101592f9
mov ecx, dword [esi + 0x2c]
add ecx, eax
add edi, ecx
mov dword [ebp - 0x7c], edi
mov eax, dword [ebp - 0x74]
mov edi, dword [esi]
xor ecx, ecx
mov esi, 0x811c9dc5
inc ecx
cmp byte [ecx + edi], 0
jne 0x10159305
xor edx, edx
test ecx, ecx
je 0x1015932e
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x10159312
cmp esi, 0x8aaa98fc
je 0x10159351
mov eax, dword [ebp - 0x74]
mov edx, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x80]
inc edx
mov edi, dword [ebp - 0x7c]
add ecx, 0x3c
mov dword [ebp - 0x78], edx
mov dword [ebp - 0x80], ecx
cmp edx, dword [eax + 4]
jl 0x101592c5
mov eax, edi
jmp 0x1015928f
mov eax, dword [ebp - 0x8c]
mov eax, dword [eax + 0x2c]
add eax, dword [ebp - 0x7c]
jmp 0x1015928f
mov eax, dword [0x103fd89c]
mov ecx, dword [ebp - 0x84]
movss xmm0, dword [ecx + eax]
mov eax, dword [0x10c0dd10]
addss xmm0, dword [0x1030b7e8]
add eax, 0x72c821ae
xor eax, 0x43f50f5d
movss dword [ebp - 0x7c], xmm0
movss xmm0, dword [eax + 0x40]
mov eax, dword [ebx + 0xc]
movss dword [ebp - 0x8c], xmm0
test eax, eax
je 0x101593ba
movss xmm2, dword [eax + 0x94]
lea esi, [eax + 0xd0]
movss xmm3, dword [eax + 0x98]
jmp 0x101593f7
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x28]
call eax
mov ecx, esi
movss xmm0, dword [eax]
movss dword [ebp - 0x84], xmm0
movss xmm0, dword [eax + 4]
mov eax, dword [esi]
movss dword [ebp - 0x90], xmm0
mov eax, dword [eax + 0x2c]
call eax
movss xmm2, dword [ebp - 0x84]
mov esi, eax
movss xmm3, dword [ebp - 0x90]
mov ecx, dword [0x10842cb8]
add ecx, 0x772b78e1
xor ecx, 0xa30d42b2
subss xmm2, dword [ecx + 0x3cc074]
subss xmm3, dword [ecx + 0x3cc078]
movaps xmm0, xmm2
movaps xmm1, xmm3
mulss xmm0, xmm2
mulss xmm1, xmm3
addss xmm0, xmm1
call fcn.1000e050
addss xmm0, dword [0x1030b6cc]
movss xmm1, dword [0x1030b86c]
lea edx, [ebp - 0x78]
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x78], 0
divss xmm1, xmm0
movaps xmm7, xmm1
mulss xmm1, xmm3
mulss xmm7, xmm2
movss xmm2, dword [esi + 4]
mulss xmm2, dword [0x1030b738]
movss dword [ebp - 0x84], xmm1
call fcn.101379c0
movss xmm2, dword [esi]
lea edx, [ebp - 0x80]
mulss xmm2, dword [0x1030b738]
lea ecx, [ebp - 0x90]
call fcn.101379c0
movss xmm1, dword [ebp - 0x80]
xor edx, edx
movss xmm0, dword [ebp - 0x78]
test edi, edi
mulss xmm0, xmm1
setg dl
mov edi, dword [ebp - 0x88]
mulss xmm1, dword [ebp - 0x74]
xor ecx, ecx
mulss xmm0, xmm7
mulss xmm1, dword [ebp - 0x84]
mov dword [ebp - 0x84], 2
addss xmm1, xmm0
movss xmm0, dword [ebp - 0x8c]
comiss xmm1, dword [0x1030b7f4]
seta cl
lea eax, [ecx + edx*2]
movzx esi, byte [eax + edi + 0x63cd4]
xor eax, eax
comiss xmm0, dword [ebp - 0x7c]
mov dword [ebp - 0x90], esi
cmova eax, dword [ebp - 0x84]
add eax, edx
lea eax, [ecx + eax*2]
movzx edi, byte [eax + edi + 0x63ccc]
lea eax, [ecx + edx*2]
mov ecx, dword [ebp - 0x88]
mov dword [ebp - 0x8c], edi
movzx edx, byte [eax + ecx + 0x63ccc]
mov eax, dword [0x103c3c0c]
mov dword [ebp - 0x80], edx
test al, 1
jne 0x10159696
or eax, 1
mov dword [0x103c3c0c], eax
mov dword [ebp - 4], 2
mov eax, dword [0x103bf630]
mov dword [ebp - 0x88], eax
cmp eax, dword [0x103bf634]
je 0x101595b0
mov ecx, dword [eax]
mov dword [ebp - 0x74], ecx
test ecx, ecx
je 0x1015959f
mov edi, dword [ecx + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + edi], 0
jne 0x10159573
xor edx, edx
test ecx, ecx
je 0x1015959f
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x10159580
cmp esi, 0x72e242a1
je 0x101595d2
mov eax, dword [ebp - 0x88]
add eax, 4
mov dword [ebp - 0x88], eax
cmp eax, dword [0x103bf634]
jne 0x10159560
xor eax, eax
mov edi, dword [ebp - 0x8c]
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x90]
mov edx, dword [ebp - 0x80]
mov dword [0x103c3bcc], eax
jmp 0x1015969b
mov eax, dword [ebp - 0x74]
xor edi, edi
mov dword [ebp - 0x7c], edi
mov dword [ebp - 0x88], edi
cmp dword [eax + 4], edi
jle 0x1015967e
xor ecx, ecx
mov dword [ebp - 0x78], ecx
nop
mov esi, dword [eax]
add esi, ecx
mov dword [ebp - 0x84], esi
mov ecx, dword [esi + 0x28]
test ecx, ecx
je 0x10159627
cmp dword [ecx + 4], 0
jle 0x10159627
push 0
mov edx, 0x84cdad2
call fcn.1013c990
add esp, 4
test eax, eax
je 0x10159624
mov ecx, dword [esi + 0x2c]
add ecx, eax
add edi, ecx
mov dword [ebp - 0x7c], edi
mov eax, dword [ebp - 0x74]
mov edi, dword [esi]
xor ecx, ecx
mov esi, 0x811c9dc5
inc ecx
cmp byte [ecx + edi], 0
jne 0x10159630
xor edx, edx
test ecx, ecx
je 0x1015965c
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x10159640
cmp esi, 0x84cdad2
je 0x10159685
mov eax, dword [ebp - 0x74]
mov edx, dword [ebp - 0x88]
mov ecx, dword [ebp - 0x78]
inc edx
mov edi, dword [ebp - 0x7c]
add ecx, 0x3c
mov dword [ebp - 0x88], edx
mov dword [ebp - 0x78], ecx
cmp edx, dword [eax + 4]
jl 0x101595f0
mov eax, edi
jmp 0x101595b2
mov eax, dword [ebp - 0x84]
mov eax, dword [eax + 0x2c]
add eax, dword [ebp - 0x7c]
jmp 0x101595b2
mov eax, dword [0x103c3bcc]
mov ecx, dword [ebp - 0x94]
mov ecx, dword [ecx + eax]
cmp ecx, edi
jg 0x101596b5
mov eax, dword [ebp - 0x98]
mov byte [eax], 0
mov al, 1
jmp 0x1015970b
cmp ecx, esi
jle 0x101596c2
lea eax, [edx + edi]
add eax, esi
cmp ecx, eax
jle 0x101596a8
mov eax, dword [ebp - 0x98]
movss xmm0, dword [ebp - 0x9c]
mov byte [eax], 1
lea eax, [ebp - 0x70]
push eax
push 1
sub esp, 0xc
mov eax, esp
movss dword [eax], xmm0
movss xmm0, dword [ebp - 0xa0]
movss dword [eax + 4], xmm0
movss xmm0, dword [ebp - 0xa4]
movss dword [eax + 8], xmm0
call fcn.10158db0
test al, al
je 0x10159709
mov al, 1
jmp 0x1015970b
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1023505f
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x18