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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10274a31
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push esi
push edi
mov eax, dword [0x103230ac]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov dword [ebp - 0x24], edi
mov eax, ecx
mov dword [ebp - 0x1c], eax
cmp dword [edi + 0x390], 0
je 0x10150d18
lea ecx, [eax + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
test al, al
jne 0x10150d18
mov ebx, dword [edi + 0x38c]
xor edx, edx
mov esi, dword [edi + 0x390]
mov ecx, ebx
add esi, ebx
mov dword [ebp - 0x20], ebx
cmp ebx, esi
je 0x10150420
mov ebx, dword [edi + 0x388]
mov edi, dword [edi + 0x384]
lea eax, [ebx - 1]
and eax, ecx
mov eax, dword [edi + eax*4]
cmp byte [eax + 5], 0
jne 0x1015041a
inc ecx
inc edx
cmp ecx, esi
jne 0x10150406
mov edi, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x20]
mov ecx, dword [edi + 0x388]
mov eax, dword [edi + 0x384]
dec ecx
and ecx, ebx
mov ebx, dword [eax + ecx*4]
mov dword [ebp - 0x30], ebx
movq xmm0, qword [ebx + 0x94]
mov eax, dword [ebx + 0x9c]
movss xmm5, dword [ebx + 0x28]
mov esi, dword [ebx + 0x18]
movq qword [ebx + 0xd390], xmm0
movq xmm0, qword [ebx + 0x64]
mov dword [ebx + 0xd398], eax
mov eax, dword [ebx + 0x6c]
movq qword [ebx + 0xd39c], xmm0
mov dword [ebx + 0xd3a4], eax
mov eax, dword [ebx + 0x1c]
mov byte [ebx + 0xc], 0
movss dword [ebx + 0xd3a8], xmm5
mov dword [ebx + 0xd3ac], eax
test esi, esi
jle 0x10150d18
cmp edx, 1
jbe 0x10150572
mov eax, dword [edi + 0x388]
mov ecx, dword [edi + 0x38c]
dec eax
movss xmm1, dword [ebx + 0x94]
inc ecx
movss xmm2, dword [ebx + 0x98]
and ecx, eax
movss xmm0, dword [ebx + 0x9c]
mov dword [ebp - 0x18], eax
mov eax, dword [edi + 0x384]
movss xmm3, dword [0x1030bb94]
mov eax, dword [eax + ecx*4]
subss xmm2, dword [eax + 0x98]
subss xmm1, dword [eax + 0x94]
subss xmm0, dword [eax + 0x9c]
mulss xmm2, xmm2
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm2, xmm1
addss xmm2, xmm0
comiss xmm2, xmm3
ja 0x1015056e
cmp edx, 2
jbe 0x10150572
mov edx, dword [edi + 0x38c]
mov eax, dword [edi + 0x384]
lea ecx, [edx + 1]
add edx, 2
and ecx, dword [ebp - 0x18]
and edx, dword [ebp - 0x18]
mov ecx, dword [eax + ecx*4]
mov eax, dword [eax + edx*4]
movss xmm1, dword [ecx + 0x94]
movss xmm2, dword [ecx + 0x98]
subss xmm2, dword [eax + 0x98]
subss xmm1, dword [eax + 0x94]
movss xmm0, dword [ecx + 0x9c]
subss xmm0, dword [eax + 0x9c]
mulss xmm2, xmm2
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm2, xmm1
addss xmm2, xmm0
comiss xmm2, xmm3
jbe 0x10150572
mov byte [ebx + 0xa], 1
cmp byte [ebx + 0xa], 0
je 0x10150d18
mov edi, dword [0x10c0dd10]
movss xmm1, dword [0x1030b86c]
add edi, 0x72c821ae
xor edi, 0x43f50f5d
movss xmm4, dword [0x1030b7fc]
movaps xmm2, xmm1
mov eax, dword [edi + 0xf0]
movss xmm6, dword [eax + 0x20]
divss xmm2, xmm6
mov eax, dword [edi + 0x24]
movaps xmm0, xmm2
movss dword [ebp - 0x2c], xmm2
mulss xmm0, xmm5
addss xmm0, xmm4
cvttss2si ecx, xmm0
sub eax, ecx
cdq
xor eax, edx
sub eax, edx
cmp eax, 0x80
jge 0x10150d18
mov eax, dword [edi + 0xa8]
movaps xmm0, xmm2
mulss xmm0, dword [edi + 0x28]
mov ecx, dword [eax + 0x16c]
mov edx, ecx
sub edx, dword [ebx + 0x10]
addss xmm0, xmm4
mov dword [ebp - 0x14], ecx
mov eax, esi
sub eax, edx
cvttss2si ecx, xmm0
cmp ecx, eax
jle 0x10150d18
mov eax, dword [ebx + 0x10]
inc eax
add eax, esi
cmp eax, dword [edi + 0x24]
jge 0x10150d18
movaps xmm0, xmm6
mov dword [ebp - 0x28], 0
mulss xmm0, dword [edi + 0x30]
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x20], 0x3f800000
lea edx, [ebp - 0x28]
xorps xmm3, xmm3
comiss xmm3, xmm0
movss dword [ebp - 0x24], xmm0
seta al
test al, al
cmove edx, ecx
lea ecx, [ebp - 0x20]
comiss xmm0, xmm1
seta al
test al, al
cmove ecx, edx
lea edx, [ebp - 0x28]
movss xmm1, dword [ecx]
mov ecx, dword [edi + 0x1f0]
movaps xmm0, xmm1
addss xmm0, dword [edi + 0x38]
mov dword [ebp - 0x28], 0
mov eax, dword [ecx + 0x1c]
movss dword [ebp - 0x24], xmm0
mov eax, dword [eax + 0x2c]
xor eax, ecx
lea ecx, [ebp - 0x24]
comiss xmm3, xmm0
mov dword [ebp - 0x18], eax
seta al
test al, al
cmove edx, ecx
lea ecx, [ebp - 0x18]
comiss xmm0, dword [ebp - 0x18]
movd xmm0, dword [edi + 0x14]
cvtdq2ps xmm0, xmm0
seta al
test al, al
cmove ecx, edx
mulss xmm0, xmm6
movss xmm3, dword [ecx]
subss xmm0, xmm5
subss xmm3, xmm0
movaps xmm0, xmm2
mulss xmm0, xmm1
addss xmm0, xmm4
cvttss2si eax, xmm0
sub eax, dword [ebx + 0x10]
add eax, dword [ebp - 0x14]
cdq
idiv esi
mov dword [ebp - 0x10], eax
lea ecx, [eax - 1]
cmp ecx, 0x12
ja 0x10150d18
subss xmm3, dword [0x1030b7b4]
xorps xmm0, xmm0
sub esp, 8
cvtsi2ss xmm0, esi
mulss xmm3, xmm2
addss xmm3, xmm4
divss xmm3, xmm0
movss dword [ebp - 0x28], xmm3
fld dword [ebp - 0x28]
fstp qword [esp]
call fcn.1024add0
mov ecx, dword [ebp - 0x10]
xorps xmm5, xmm5
fstp dword [ebp - 0x28]
movss xmm1, dword [ebp - 0x28]
add esp, 8
comiss xmm1, xmm5
jbe 0x1015073e
movss xmm0, dword [ebp - 0x2c]
mulss xmm0, xmm1
addss xmm0, dword [0x1030b7fc]
cvttss2si eax, xmm0
cmp ecx, eax
cmovge ecx, eax
mov dword [ebp - 0x10], ecx
test ecx, ecx
jle 0x10150d18
mov dword [ebx + 0x14], ecx
nop dword [eax]
xor edi, edi
mov dword [ebp - 0x28], edi
test esi, esi
jle 0x10150a04
nop dword [eax]
test byte [ebx + 0xd3ac], 1
je 0x10150974
mov eax, dword [0x10c0dd10]
add eax, 0x72c821ae
xor eax, 0x43f50f5d
mov ecx, dword [eax + 0x298]
mov eax, dword [ecx + 0x1c]
cmp dword [eax + 0x30], ecx
jne 0x1015094f
mov eax, dword [0x103fd8c0]
test al, 1
jne 0x101508c6
or eax, 1
mov dword [0x103fd8c0], eax
mov dword [ebp - 4], 0
mov ebx, dword [0x103bf630]
cmp ebx, dword [0x103bf634]
je 0x10150804
mov eax, dword [ebx]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x101507f9
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop dword [eax + eax]
inc ecx
cmp byte [edi + ecx], 0
jne 0x101507d0
xor edx, edx
test ecx, ecx
je 0x101507f9
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x101507e0
cmp esi, 0x72e242a1
je 0x1015081d
add ebx, 4
cmp ebx, dword [0x103bf634]
jne 0x101507b8
xor eax, eax
mov ebx, dword [ebp - 0x30]
mov dword [ebp - 4], 0xffffffff
mov edi, dword [ebp - 0x28]
mov dword [0x103fd87c], eax
jmp 0x101508cb
mov eax, dword [ebp - 0x14]
xor esi, esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x20], esi
cmp dword [eax + 4], esi
jle 0x101508b4
xor ecx, ecx
mov dword [ebp - 0x24], ecx
mov ebx, dword [eax]
add ebx, ecx
mov ecx, dword [ebx + 0x28]
test ecx, ecx
je 0x10150867
cmp dword [ecx + 4], 0
jle 0x10150867
push 0
mov edx, 0xec4c9592
call fcn.1013c990
add esp, 4
test eax, eax
je 0x10150864
mov ecx, dword [ebx + 0x2c]
add ecx, eax
add esi, ecx
mov dword [ebp - 0x18], esi
mov eax, dword [ebp - 0x14]
mov edi, dword [ebx]
mov esi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [edi + ecx], 0
jne 0x10150870
xor edx, edx
test ecx, ecx
je 0x1015089c
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x10150880
cmp esi, 0xec4c9592
je 0x101508bb
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
inc edx
mov esi, dword [ebp - 0x18]
add ecx, 0x3c
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], ecx
cmp edx, dword [eax + 4]
jl 0x10150836
mov eax, esi
jmp 0x10150806
mov eax, dword [ebx + 0x2c]
add eax, dword [ebp - 0x18]
jmp 0x10150806
mov eax, dword [0x103fd87c]
movss xmm4, dword [ebx + 0xd39c]
movss xmm2, dword [ebx + 0xd3a0]
movaps xmm0, xmm4
movss xmm1, dword [ebx + 0xd3a4]
mov ecx, dword [ebp - 0x1c]
mulss xmm0, xmm4
mulss xmm2, xmm2
movss xmm3, dword [eax + ecx]
mulss xmm3, dword [0x1030b878]
addss xmm0, xmm2
mulss xmm1, xmm1
addss xmm0, xmm1
call fcn.1000e050
comiss xmm3, xmm5
jbe 0x1015094f
comiss xmm0, xmm3
jbe 0x1015094f
divss xmm3, xmm0
movaps xmm0, xmm3
mulss xmm0, xmm4
movss dword [ebx + 0xd39c], xmm0
movaps xmm0, xmm3
mulss xmm0, dword [ebx + 0xd3a0]
mulss xmm3, dword [ebx + 0xd3a4]
movss dword [ebx + 0xd3a0], xmm0
movss dword [ebx + 0xd3a4], xmm3
mov eax, dword [0x10c0dd10]
add eax, 0x72c821ae
xor eax, 0x43f50f5d
mov ecx, dword [eax + 0x21c]
mov eax, dword [ecx + 0x1c]
mov eax, dword [eax + 0x2c]
xor eax, ecx
mov dword [ebx + 0xd3a4], eax
jmp 0x101509bb
mov edx, dword [0x10c0dd10]
movss xmm0, dword [ebx + 0xd3a4]
add edx, 0x72c821ae
xor edx, 0x43f50f5d
mov ecx, dword [edx + 0x1ec]
mov eax, dword [ecx + 0x1c]
mov eax, dword [eax + 0x2c]
xor eax, ecx
mov dword [ebp - 0x2c], eax
mov eax, dword [edx + 0xf0]
movss xmm1, dword [ebp - 0x2c]
mulss xmm1, dword [eax + 0x20]
subss xmm0, xmm1
movss dword [ebx + 0xd3a4], xmm0
mov ecx, dword [ebp - 0x1c]
mov edx, ebx
call fcn.1014ff80
mov eax, dword [0x10c0dd10]
inc edi
add eax, 0x72c821ae
mov dword [ebp - 0x28], edi
xor eax, 0x43f50f5d
xorps xmm5, xmm5
mov eax, dword [eax + 0xf0]
movss xmm0, dword [eax + 0x20]
addss xmm0, dword [ebx + 0xd3a8]
movss dword [ebx + 0xd3a8], xmm0
mov esi, dword [ebx + 0x18]
cmp edi, esi
jl 0x10150760
mov ecx, dword [ebp - 0x10]
sub ecx, 1
mov dword [ebp - 0x10], ecx
jne 0x10150750
test byte [ebx + 0xd3ac], 1
lea esi, [ebx + 0xa390]
movss xmm0, dword [ebx + 0x58]
mov eax, 0
movss xmm1, dword [ebx + 0xd390]
setne al
movss xmm2, dword [ebx + 0xd394]
mov ecx, 0x80
movss xmm3, dword [ebx + 0xd398]
movss dword [ebp - 0x70], xmm0
movss xmm0, dword [ebx + 0x54]
lea eax, [eax*2 - 1]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebx + 0xb4]
movss dword [ebp - 0x74], xmm0
movq xmm0, qword [ebx + 0xac]
mov dword [ebp - 0x4c], eax
lea eax, [esi + 0x1c]
movss dword [ebp - 0x2c], xmm1
movss dword [ebp - 0x20], xmm2
movss dword [ebp - 0x10], xmm3
movss dword [ebp - 0x6c], xmm1
movss dword [ebp - 0x68], xmm2
movss dword [ebp - 0x64], xmm3
movss dword [ebp - 0x60], xmm1
subss xmm1, dword [ebx + 0x94]
movss dword [ebp - 0x5c], xmm2
subss xmm2, dword [ebx + 0x98]
movss dword [ebp - 0x58], xmm3
subss xmm3, dword [ebx + 0x9c]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
movq qword [ebp - 0x54], xmm0
mov dword [ebp - 0x34], eax
nop word [eax + eax]
movaps xmm0, xmm1
addss xmm0, dword [eax - 0x10]
movss dword [eax - 0x10], xmm0
movaps xmm0, xmm2
addss xmm0, dword [eax]
movss dword [eax], xmm0
movaps xmm0, xmm3
addss xmm0, dword [eax + 0x10]
movss dword [eax + 0x10], xmm0
add eax, 0x30
sub ecx, 1
jne 0x10150ae0
mov eax, dword [0x103c22c8]
lea edi, [ebx + 0xd3b0]
mov ecx, 0x1800
rep movsb byte es:[edi], byte [esi]
test al, 1
jne 0x10150c6f
or eax, 1
mov dword [0x103c22c8], eax
mov dword [ebp - 4], 1
mov eax, dword [0x103bf630]
mov dword [ebp - 0x28], eax
cmp eax, dword [0x103bf634]
je 0x10150b9a
mov ecx, dword [eax]
mov dword [ebp - 0x18], ecx
test ecx, ecx
je 0x10150b8c
mov edi, dword [ecx + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop dword [eax]
inc ecx
cmp byte [ecx + edi], 0
jne 0x10150b60
xor edx, edx
test ecx, ecx
je 0x10150b8c
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x10150b70
cmp esi, 0x72e242a1
je 0x10150bad
mov eax, dword [ebp - 0x28]
add eax, 4
mov dword [ebp - 0x28], eax
cmp eax, dword [0x103bf634]
jne 0x10150b46
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x103c2360], eax
jmp 0x10150c74
mov eax, dword [ebp - 0x18]
xor edi, edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x28], edi
cmp dword [eax + 4], edi
jle 0x10150c48
xor ecx, ecx
mov dword [ebp - 0x24], ecx
mov esi, dword [eax]
add esi, ecx
mov dword [ebp - 0x30], esi
mov ecx, dword [esi + 0x28]
test ecx, ecx
je 0x10150bfa
cmp dword [ecx + 4], 0
jle 0x10150bfa
push 0
mov edx, 0xf3c2c786
call fcn.1013c990
add esp, 4
test eax, eax
je 0x10150bf7
mov ecx, dword [esi + 0x2c]
add ecx, eax
add edi, ecx
mov dword [ebp - 0x14], edi
mov eax, dword [ebp - 0x18]
mov edi, dword [esi]
xor ecx, ecx
mov esi, 0x811c9dc5
inc ecx
cmp byte [ecx + edi], 0
jne 0x10150c03
xor edx, edx
test ecx, ecx
je 0x10150c2c
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x10150c10
cmp esi, 0xf3c2c786
je 0x10150c58
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
inc edx
mov edi, dword [ebp - 0x14]
add ecx, 0x3c
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], ecx
cmp edx, dword [eax + 4]
jl 0x10150bc6
mov eax, edi
mov dword [ebp - 4], 0xffffffff
mov dword [0x103c2360], eax
jmp 0x10150c74
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 0x2c]
add eax, dword [ebp - 0x14]
mov dword [0x103c2360], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x10150c74
mov eax, dword [0x103c2360]
movss xmm0, dword [ebx + 0xd3a8]
lea ecx, [ebp - 0x74]
push ecx
mov ecx, dword [ebp - 0x1c]
add eax, ecx
push eax
push ecx
movss dword [esp], xmm0
lea eax, [ebx + 0xd3b0]
push 0x7ff00
push eax
push ecx
lea ecx, [ebx + 0x9fa0]
call fcn.1016df30
movss xmm1, dword [ebx + 0x94]
mov ecx, 0x80
movss xmm2, dword [ebx + 0x98]
movss xmm3, dword [ebx + 0x9c]
subss xmm1, dword [ebp - 0x2c]
subss xmm2, dword [ebp - 0x20]
subss xmm3, dword [ebp - 0x10]
mov eax, dword [ebp - 0x34]
movaps xmm0, xmm1
addss xmm0, dword [eax - 0x10]
movss dword [eax - 0x10], xmm0
movaps xmm0, xmm2
addss xmm0, dword [eax]
movss dword [eax], xmm0
movaps xmm0, xmm3
addss xmm0, dword [eax + 0x10]
movss dword [eax + 0x10], xmm0
add eax, 0x30
sub ecx, 1
jne 0x10150cd3
mov byte [ebx + 0xc], 1
mov al, 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
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret