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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
mov ebx, ecx
push esi
push edi
mov dword [ebp - 0x10], ebx
cmp dword [ebx + 4], 0
jne 0x10015bd6
push dword [ebx + 0x14]
call fcn.100170b0
cmp dword [ebx + 4], 0
je 0x10016051
mov edi, dword [ebp + 8]
mov esi, 0x811c9dc5
mov edx, dword [edi + 4]
mov dword [ebp - 0xc], edx
test edx, edx
je 0x10015c06
mov ecx, dword [edi]
nop word [eax + eax]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
xor eax, esi
imul esi, eax, 0x1000193
sub edx, 1
jne 0x10015bf0
mov edx, dword [ebp - 0xc]
imul eax, esi, 0x2001
mov esi, 1
mov ecx, eax
shr ecx, 7
xor ecx, eax
lea eax, [ecx + ecx*8]
mov ecx, eax
shr ecx, 0x11
xor ecx, eax
mov eax, ecx
shl eax, 5
add eax, ecx
mov ecx, dword [ebx + 0x10]
shl esi, cl
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], esi
lea ecx, [esi - 1]
and ecx, eax
mov eax, dword [ebx + 4]
mov dword [ebp - 8], ecx
mov eax, dword [eax + ecx*4]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x10015f00
mov ebx, eax
xor edi, edi
cmp edx, dword [ebx + 4]
jne 0x10015cd3
mov eax, dword [ebp + 8]
lea esi, [edx + edx]
mov edx, dword [ebx]
mov ecx, dword [eax]
sub esi, 4
jb 0x10015c76
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x10015c7b
add ecx, 4
add edx, 4
sub esi, 4
jae 0x10015c65
cmp esi, 0xfffffffc
je 0x10015cac
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x10015ca8
cmp esi, 0xfffffffd
je 0x10015cac
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x10015ca8
cmp esi, 0xfffffffe
je 0x10015cac
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x10015ca8
cmp esi, 0xffffffff
je 0x10015cac
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x10015cac
xor al, al
jmp 0x10015cae
mov al, 1
test al, al
je 0x10015cd0
mov eax, dword [ebp + 0xc]
push dword [ebx + 8]
mov ecx, dword [eax]
call fcn.10012b50
test al, al
jne 0x10016051
test edi, edi
mov eax, ebx
cmovne eax, edi
mov edi, eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebx + 0xc]
shr eax, 0x1f
test al, al
jne 0x10015ce5
mov ebx, dword [ebx + 0x14]
jmp 0x10015c51
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebx + 0x18]
inc eax
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x1122e340]
mov eax, dword [ebp - 0x18]
cvtpd2ps xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x1122e340]
cvtpd2ps xmm0, xmm0
mulss xmm0, dword [ebx + 0x1c]
comiss xmm1, xmm0
jbe 0x10015df0
mov eax, dword [ebx + 0x10]
mov ecx, ebx
inc eax
push eax
call fcn.100170b0
mov ecx, dword [ebx + 0x10]
mov edx, 1
mov eax, dword [ebx + 4]
shl edx, cl
dec edx
and edx, dword [ebp - 4]
mov dword [ebp - 8], edx
mov eax, dword [eax + edx*4]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x10015f5d
test edi, edi
je 0x10015df0
mov edi, eax
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 4]
nop dword [eax + eax]
test edi, edi
je 0x10015dd2
cmp ebx, dword [edi + 4]
jne 0x10015dd2
mov ecx, dword [eax]
lea esi, [ebx + ebx]
mov edx, dword [edi]
sub esi, 4
jb 0x10015d96
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x10015d9b
add ecx, 4
add edx, 4
sub esi, 4
jae 0x10015d85
cmp esi, 0xfffffffc
je 0x10015dcc
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x10015dc8
cmp esi, 0xfffffffd
je 0x10015dcc
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x10015dc8
cmp esi, 0xfffffffe
je 0x10015dcc
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x10015dc8
cmp esi, 0xffffffff
je 0x10015dcc
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x10015dcc
xor al, al
jmp 0x10015dce
mov al, 1
test al, al
jne 0x10015ded
mov eax, dword [edi + 0xc]
xor ecx, ecx
shr eax, 0x1f
test al, al
mov eax, dword [ebp + 8]
cmove ecx, edi
mov edi, ecx
test edi, edi
je 0x10015dd2
mov edi, dword [edi + 0x14]
jmp 0x10015d70
mov ebx, dword [ebp - 0x10]
push 0x10
push 0x18
call fcn.10434a32
mov esi, eax
add esp, 8
test esi, esi
je 0x10016051
mov eax, dword [ebp + 8]
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi], 0
mov dword [esi + 4], 0
cmp esi, eax
je 0x10015e80
mov dword [esi], 0
mov dword [esi + 4], 0
mov eax, dword [eax + 4]
test eax, eax
je 0x10015e80
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.10450898
add esp, 4
mov dword [esi], eax
test eax, eax
je 0x10015e80
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 4]
mov dword [esi + 4], ecx
add ecx, ecx
push ecx
push dword [edx]
push eax
call fcn.10425d60
add esp, 0xc
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [esi + 8], eax
mov eax, dword [ecx + 0x10]
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 4]
and eax, 0x7fffffff
mov dword [esi + 0x14], ecx
mov dword [esi + 0xc], eax
test edi, edi
je 0x10015ec7
cmp edi, ecx
je 0x10015ec7
mov eax, dword [edi + 0x10]
mov dword [eax + 0x14], esi
mov eax, dword [edi + 0x10]
mov dword [esi + 0x10], eax
mov al, 1
mov dword [edi + 0x10], esi
mov dword [esi + 0x14], edi
inc dword [ebx + 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebx + 4]
mov edx, dword [ebp - 8]
mov dword [eax + edx*4], esi
cmp ecx, dword [ebx + 8]
jne 0x10015ee9
mov dword [ebx + 8], esi
mov al, 1
pop edi
mov dword [ecx + 0x10], esi
inc dword [ebx + 0x18]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ecx + 0x10]
pop edi
mov dword [eax + 0x14], esi
mov al, 1
mov dword [ecx + 0x10], esi
inc dword [ebx + 0x18]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebx + 0x18]
inc eax
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x1122e340]
cvtpd2ps xmm1, xmm0
movd xmm0, esi
cvtdq2pd xmm0, xmm0
shr esi, 0x1f
addsd xmm0, qword [esi*8 + 0x1122e340]
cvtpd2ps xmm0, xmm0
mulss xmm0, dword [ebx + 0x1c]
comiss xmm1, xmm0
jbe 0x10015f60
mov eax, dword [ebx + 0x10]
mov ecx, ebx
inc eax
push eax
call fcn.100170b0
mov ecx, dword [ebx + 0x10]
mov eax, 1
shl eax, cl
dec eax
and eax, dword [ebp - 4]
mov dword [ebp - 8], eax
jmp 0x10015f60
mov edi, dword [ebp + 8]
push 0x10
push 0x18
call fcn.10434a32
mov esi, eax
add esp, 8
test esi, esi
je 0x10016051
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi], 0
mov dword [esi + 4], 0
cmp esi, edi
je 0x10015fea
mov dword [esi], 0
mov dword [esi + 4], 0
mov eax, dword [edi + 4]
test eax, eax
je 0x10015fea
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.10450898
add esp, 4
mov dword [esi], eax
test eax, eax
je 0x10015fea
mov ecx, dword [edi + 4]
mov dword [esi + 4], ecx
add ecx, ecx
push ecx
push dword [edi]
push eax
call fcn.10425d60
add esp, 0xc
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp - 8]
mov eax, dword [eax]
or dword [esi + 0xc], 0x80000000
mov dword [esi + 8], eax
lea eax, [ebx + 8]
or eax, 2
mov dword [esi + 0x10], eax
mov eax, dword [ebx + 8]
mov dword [esi + 0x14], eax
mov eax, dword [ebp - 4]
or eax, 0x80000000
mov dword [esi + 0xc], eax
mov eax, dword [ebx + 4]
mov dword [eax + edx*4], esi
lea eax, [ebx + 0xc]
mov edi, dword [ebx + 8]
or eax, 1
cmp edi, eax
jne 0x1001603d
inc dword [ebx + 0x18]
mov al, 1
pop edi
mov dword [ebx + 0xc], esi
mov dword [ebx + 8], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov dword [edi + 0x10], esi
mov dword [ebx + 8], esi
inc dword [ebx + 0x18]
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 8