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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101e2961
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x78
mov eax, dword [0x1021b380]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, ecx
mov dword [ebp - 0x5c], edx
mov eax, dword [edx]
mov esi, dword [eax + 0x24]
mov dword [ebp - 0x64], esi
cmp byte [esi + 0x9b14], 0
je 0x1015ddea
cmp dword [esi + 0x9960], 0
je 0x1015ddea
mov eax, dword [0x107001f0]
add eax, 0xd5bd03c9
xor eax, 0xde9a561b
mov eax, dword [eax + 0xc8]
mov dword [ebp - 0x54], eax
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x58], eax
mov eax, dword [0x102b6ffc]
test al, 1
jne 0x1015d878
or eax, 1
mov dword [0x102b6ffc], eax
mov dword [ebp - 4], 0
mov eax, dword [0x102b3e88]
mov ecx, dword [0x102b3e8c]
mov dword [ebp - 0x4c], eax
cmp eax, ecx
je 0x1015d77f
mov eax, dword [eax]
mov dword [ebp - 0x44], eax
test eax, eax
je 0x1015d772
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + edi], 0
jne 0x1015d746
xor edx, edx
test ecx, ecx
je 0x1015d76c
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x1015d753
cmp esi, 0x4e9f1122
je 0x1015d79c
mov ecx, dword [0x102b3e8c]
mov eax, dword [ebp - 0x4c]
add eax, 4
mov dword [ebp - 0x4c], eax
cmp eax, ecx
jne 0x1015d733
xor eax, eax
mov dword [ebp - 0x44], eax
test eax, eax
jne 0x1015d7a1
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x64]
mov dword [0x102b5760], eax
jmp 0x1015d87d
mov eax, dword [ebp - 0x44]
jmp 0x1015d784
xor edi, edi
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x4c], edi
cmp dword [eax + 4], edi
jle 0x1015d848
xor ecx, ecx
mov dword [ebp - 0x50], ecx
nop word [eax + eax]
mov esi, dword [eax]
add esi, ecx
mov dword [ebp - 0x84], esi
mov ecx, dword [esi + 0x28]
test ecx, ecx
je 0x1015d7f7
cmp dword [ecx + 4], 0
jle 0x1015d7f7
push 0
mov edx, 0x940131c5
call fcn.1012aec0
add esp, 4
test eax, eax
je 0x1015d7f4
mov ecx, dword [esi + 0x2c]
add ecx, eax
add edi, ecx
mov dword [ebp - 0x48], edi
mov eax, dword [ebp - 0x44]
mov esi, dword [esi]
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [esi + ecx], 0
jne 0x1015d800
xor edx, edx
test ecx, ecx
je 0x1015d82c
nop dword [eax]
movsx eax, byte [esi + edx]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1015d810
cmp edi, 0x940131c5
je 0x1015d85b
mov eax, dword [ebp - 0x44]
mov edx, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x50]
inc edx
mov edi, dword [ebp - 0x48]
add ecx, 0x3c
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x50], ecx
cmp edx, dword [eax + 4]
jl 0x1015d7c0
mov eax, edi
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x64]
mov dword [0x102b5760], eax
jmp 0x1015d87d
mov eax, dword [ebp - 0x84]
mov eax, dword [eax + 0x2c]
add eax, dword [ebp - 0x48]
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x64]
mov dword [0x102b5760], eax
jmp 0x1015d87d
mov eax, dword [0x102b5760]
push dword [eax + esi]
mov ecx, dword [ebp - 0x54]
call dword [ebp - 0x58]
mov dword [ebp - 0x54], eax
test eax, eax
je 0x1015ddea
mov ecx, dword [0x107001f0]
add ecx, 0xd5bd03c9
xor ecx, 0xde9a561b
mov eax, dword [ecx + 0xc8]
mov dword [ebp - 0x84], eax
mov ecx, dword [eax]
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0x80], eax
mov eax, dword [0x102ba44c]
test al, 1
jne 0x1015da25
or eax, 1
mov dword [0x102ba44c], eax
mov dword [ebp - 4], 1
mov eax, dword [0x102b3e88]
mov ecx, dword [0x102b3e8c]
mov dword [ebp - 0x50], eax
cmp eax, ecx
je 0x1015d931
mov eax, dword [eax]
mov dword [ebp - 0x44], eax
test eax, eax
je 0x1015d924
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + edi], 0
jne 0x1015d8f8
xor edx, edx
test ecx, ecx
je 0x1015d91e
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x1015d905
cmp esi, 0xf2f193b3
je 0x1015d94e
mov ecx, dword [0x102b3e8c]
mov eax, dword [ebp - 0x50]
add eax, 4
mov dword [ebp - 0x50], eax
cmp eax, ecx
jne 0x1015d8e5
xor eax, eax
mov dword [ebp - 0x44], eax
test eax, eax
jne 0x1015d953
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x64]
mov dword [0x102ba450], eax
jmp 0x1015da2a
mov eax, dword [ebp - 0x44]
jmp 0x1015d936
xor edi, edi
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x50], edi
cmp dword [eax + 4], edi
jle 0x1015d9f8
xor ecx, ecx
mov dword [ebp - 0x4c], ecx
nop dword [eax]
mov esi, dword [eax]
add esi, ecx
mov dword [ebp - 0x58], esi
mov ecx, dword [esi + 0x28]
test ecx, ecx
je 0x1015d9a4
cmp dword [ecx + 4], 0
jle 0x1015d9a4
push 0
mov edx, 0xa822535a
call fcn.1012aec0
add esp, 4
test eax, eax
je 0x1015d9a1
mov ecx, dword [esi + 0x2c]
add ecx, eax
add edi, ecx
mov dword [ebp - 0x48], edi
mov eax, dword [ebp - 0x44]
mov esi, dword [esi]
mov edi, 0x811c9dc5
xor ecx, ecx
nop dword [eax]
inc ecx
cmp byte [esi + ecx], 0
jne 0x1015d9b0
xor edx, edx
test ecx, ecx
je 0x1015d9dc
nop dword [eax]
movsx eax, byte [esi + edx]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1015d9c0
cmp edi, 0xa822535a
je 0x1015da0b
mov eax, dword [ebp - 0x44]
mov edx, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x4c]
inc edx
mov edi, dword [ebp - 0x48]
add ecx, 0x3c
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x4c], ecx
cmp edx, dword [eax + 4]
jl 0x1015d970
mov eax, edi
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x64]
mov dword [0x102ba450], eax
jmp 0x1015da2a
mov eax, dword [ebp - 0x58]
mov eax, dword [eax + 0x2c]
add eax, dword [ebp - 0x48]
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x64]
mov dword [0x102ba450], eax
jmp 0x1015da2a
mov eax, dword [0x102ba450]
mov ecx, dword [ebp - 0x54]
push dword [eax + ecx]
mov ecx, dword [ebp - 0x84]
call dword [ebp - 0x80]
test eax, eax
je 0x1015da47
cmp word [eax + 0x26e], 0xffff
jne 0x1015da62
mov eax, dword [0x107001f0]
add eax, 0xd5bd03c9
xor eax, 0xde9a561b
cmp esi, dword [eax + 0x14c]
jne 0x1015ddea
mov edi, dword [ebp - 0x5c]
mov eax, dword [edi + 4]
mov ecx, dword [eax]
test ecx, ecx
je 0x1015ddea
mov eax, dword [0x102cbefc]
mov eax, dword [eax]
mov eax, dword [ecx + eax]
mov dword [ebp - 0x44], eax
test eax, eax
je 0x1015ddea
mov edx, dword [edi]
lea ecx, [ebp - 0x44]
lea eax, [edx + 0x4c]
add edx, 0xac
push eax
call fcn.1015af90
mov eax, dword [edi + 4]
add esp, 4
mov ecx, dword [eax]
mov eax, dword [0x10700200]
test eax, eax
je 0x1015daaf
add eax, 2
mov eax, dword [eax]
mov eax, dword [ecx + eax + 4]
mov dword [ebp - 0x48], eax
mov eax, dword [edi + 8]
mov ecx, dword [eax]
mov eax, dword [0x102bb4c8]
test al, 1
jne 0x1015dada
or eax, 1
mov dword [0x102bb4c8], eax
mov eax, dword [0x102cbf60]
mov dword [0x102bb4a4], eax
jmp 0x1015dadf
mov eax, dword [0x102bb4a4]
call eax
mov eax, dword [edi + 8]
mov esi, dword [0x1033180c]
push 0x40000
push 0
mov ecx, dword [eax]
mov eax, dword [edi]
push ecx
movss xmm0, dword [eax + 0x14]
lea edx, [eax + 0x28]
movss dword [esp], xmm0
add eax, 0x34
push edx
push eax
push dword [ebp - 0x48]
call esi
mov ecx, dword [ebp - 0x48]
lea eax, [ebp - 0x40]
mov dword [ebp - 0x80], eax
xorps xmm0, xmm0
mov eax, dword [edi]
add eax, 0xac
movaps xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x38], eax
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x58], eax
mov eax, dword [edi + 0xc]
mov dword [ebp - 0x54], eax
mov eax, dword [0x102bb4cc]
movaps xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], 0x40000
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x68], ecx
test al, 1
jne 0x1015db88
or eax, 1
mov dword [0x102bb4cc], eax
mov eax, dword [0x102cbed4]
test eax, eax
jne 0x1015db7b
movlpd qword [ebp - 0x88], xmm0
mov ecx, dword [ebp - 0x84]
mov eax, dword [ebp - 0x88]
jmp 0x1015db7d
xor ecx, ecx
mov dword [0x102bb4b0], eax
mov dword [0x102bb4b4], ecx
mov eax, dword [ebp - 0x80]
mov esi, dword [ebp - 0x58]
mov edx, dword [ebp - 0x54]
push dword [ebp - 0x64]
mov ecx, dword [eax]
push esi
call dword [0x102bb4b0]
add esp, 8
mov eax, dword [edi]
mov dword [ebp - 0x50], 0
cmp dword [eax + 8], 0
jle 0x1015ddb9
xor ecx, ecx
xorps xmm1, xmm1
mov dword [ebp - 0x4c], ecx
nop dword [eax + eax]
mov esi, dword [eax + 0x20]
add esi, ecx
mov dword [ebp - 0x64], esi
je 0x1015dda1
mov edx, dword [esi + 0x18]
cmp edx, 1
jbe 0x1015dda1
movss xmm0, dword [esi + 0x20]
comiss xmm0, xmm1
jbe 0x1015dda1
cmp byte [eax + 3], 0
je 0x1015dc17
mov ecx, dword [eax + 0x24]
mov eax, dword [0x107001f0]
add eax, 0xd5bd03c9
xor eax, 0xde9a561b
cmp ecx, dword [eax + 0x14c]
jne 0x1015dc17
mov eax, dword [ecx]
push edx
push dword [ebp - 0x48]
mov eax, dword [eax + 0x3dc]
push esi
call eax
mov eax, dword [edi]
cmp byte [eax + 3], 0
je 0x1015dd49
mov ecx, dword [esi + 0x10]
test ecx, ecx
jle 0x1015dd49
mov eax, dword [ebp - 0x48]
mov eax, dword [eax]
cmp ecx, dword [eax + 0xbc]
jge 0x1015dd49
mov ecx, dword [0x10bde03c]
test cl, 1
jne 0x1015dc61
or ecx, 1
mov dword [0x10bde03c], ecx
mov edx, dword [0x10700050]
mov dword [0x10bde038], edx
jmp 0x1015dc67
mov edx, dword [0x10bde038]
test cl, 2
jne 0x1015dc7f
or ecx, 2
mov dword [0x10bde03c], ecx
mov eax, dword [0x1070005c]
mov dword [0x10bde048], eax
test cl, 4
jne 0x1015dc97
or ecx, 4
mov dword [0x10bde03c], ecx
mov eax, dword [0x102cbf4c]
mov dword [0x10bde030], eax
push dword [edi + 0x10]
mov eax, dword [edi + 0x1c]
push dword [edi + 0xc]
mov ecx, dword [ebp - 0x44]
push 0x40000
push dword [eax]
mov eax, dword [edi + 0x18]
push dword [eax]
call edx
mov eax, dword [edi + 0x20]
mov ecx, dword [eax]
test ecx, ecx
je 0x1015dceb
mov edx, dword [edi]
movss xmm0, dword [esi + 0x20]
push ecx
movss dword [esp], xmm0
lea eax, [edx + 0x4c]
push eax
cvttss2si eax, dword [esi + 0x2c]
push eax
mov eax, dword [edx + 0x24]
push dword [esi + 0x18]
push ecx
movss xmm0, dword [eax + 0xa14]
movss dword [esp], xmm0
call dword [0x10bde048]
mov eax, dword [edi]
lea ecx, [ebp - 0x40]
movss xmm1, dword [esi + 0x20]
movss xmm2, dword [esi + 0x2c]
mov edx, dword [0x102cc058]
movss xmm0, dword [eax + 0x14]
mov eax, dword [edi + 8]
push dword [eax]
sub esp, 0xc
movss dword [esp + 8], xmm0
movss dword [esp + 4], xmm1
movss dword [esp], xmm2
push dword [esi + 0x10]
push dword [edi + 0x10]
push dword [edi + 0xc]
call edx
mov eax, dword [edi + 0x1c]
mov ecx, dword [ebp - 0x44]
push dword [eax]
mov eax, dword [edi + 0x18]
push dword [eax]
push 0x40000
push dword [edi + 0x10]
push dword [edi + 0xc]
call dword [0x10bde030]
jmp 0x1015dd9b
mov eax, dword [edi + 0x14]
mov edx, dword [ebp - 0x5c]
mov ecx, dword [eax]
mov eax, dword [edi + 0x18]
mov edi, dword [eax]
mov eax, dword [edx + 0x1c]
mov esi, dword [eax]
mov eax, dword [ebp - 0x64]
movss xmm2, dword [eax + 0x2c]
movss xmm1, dword [eax + 0x20]
mov eax, dword [edx]
movss xmm0, dword [eax + 0x14]
mov eax, dword [edx + 0x20]
mov edx, dword [0x102cc058]
push dword [eax]
mov eax, dword [ebp - 0x64]
sub esp, 0xc
movss dword [esp + 8], xmm0
movss dword [esp + 4], xmm1
movss dword [esp], xmm2
push dword [eax + 0x18]
push esi
push edi
call edx
mov edi, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x4c]
xorps xmm1, xmm1
mov esi, dword [ebp - 0x50]
add ecx, 0x38
mov eax, dword [edi]
inc esi
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x4c], ecx
cmp esi, dword [eax + 8]
jl 0x1015dbc0
mov eax, dword [edi + 8]
mov ecx, dword [eax]
mov eax, dword [0x102bb494]
test al, 1
jne 0x1015dddf
or eax, 1
mov dword [0x102bb494], eax
mov eax, dword [0x10331804]
mov dword [0x102bb4a8], eax
call eax
xor al, al
jmp 0x1015ddec
mov eax, dword [0x102bb4a8]
call eax
xor al, al
jmp 0x1015ddec
mov al, 1
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.101d03f8
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret