Function at 0x1015f680
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 0x101f3331
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x78
mov eax, dword [0x10285040]
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 0x1015fdea
cmp dword [esi + 0x9960], 0
je 0x1015fdea
mov eax, dword [0x10b33e60]
add eax, 0x7a4232c8
xor eax, 0xfcb4fca8
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 [0x103201ac]
test al, 1
jne 0x1015f878
or eax, 1
mov dword [0x103201ac], eax
mov dword [ebp - 4], 0
mov eax, dword [0x1031cd80]
mov ecx, dword [0x1031cd84]
mov dword [ebp - 0x4c], eax
cmp eax, ecx
je 0x1015f77f
mov eax, dword [eax]
mov dword [ebp - 0x44], eax
test eax, eax
je 0x1015f772
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + edi], 0
jne 0x1015f746
xor edx, edx
test ecx, ecx
je 0x1015f76c
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x1015f753
cmp esi, 0x4e9f1122
je 0x1015f79c
mov ecx, dword [0x1031cd84]
mov eax, dword [ebp - 0x4c]
add eax, 4
mov dword [ebp - 0x4c], eax
cmp eax, ecx
jne 0x1015f733
xor eax, eax
mov dword [ebp - 0x44], eax
test eax, eax
jne 0x1015f7a1
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x64]
mov dword [0x1031e910], eax
jmp 0x1015f87d
mov eax, dword [ebp - 0x44]
jmp 0x1015f784
xor edi, edi
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x4c], edi
cmp dword [eax + 4], edi
jle 0x1015f848
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 0x1015f7f7
cmp dword [ecx + 4], 0
jle 0x1015f7f7
push 0
mov edx, 0x940131c5
call fcn.1012b660
add esp, 4
test eax, eax
je 0x1015f7f4
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 0x1015f800
xor edx, edx
test ecx, ecx
je 0x1015f82c
nop dword [eax]
movsx eax, byte [esi + edx]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1015f810
cmp edi, 0x940131c5
je 0x1015f85b
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 0x1015f7c0
mov eax, edi
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x64]
mov dword [0x1031e910], eax
jmp 0x1015f87d
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 [0x1031e910], eax
jmp 0x1015f87d
mov eax, dword [0x1031e910]
push dword [eax + esi]
mov ecx, dword [ebp - 0x54]
call dword [ebp - 0x58]
mov dword [ebp - 0x54], eax
test eax, eax
je 0x1015fdea
mov ecx, dword [0x10b33e60]
add ecx, 0x7a4232c8
xor ecx, 0xfcb4fca8
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 [0x103235fc]
test al, 1
jne 0x1015fa25
or eax, 1
mov dword [0x103235fc], eax
mov dword [ebp - 4], 1
mov eax, dword [0x1031cd80]
mov ecx, dword [0x1031cd84]
mov dword [ebp - 0x50], eax
cmp eax, ecx
je 0x1015f931
mov eax, dword [eax]
mov dword [ebp - 0x44], eax
test eax, eax
je 0x1015f924
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + edi], 0
jne 0x1015f8f8
xor edx, edx
test ecx, ecx
je 0x1015f91e
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x1015f905
cmp esi, 0xf2f193b3
je 0x1015f94e
mov ecx, dword [0x1031cd84]
mov eax, dword [ebp - 0x50]
add eax, 4
mov dword [ebp - 0x50], eax
cmp eax, ecx
jne 0x1015f8e5
xor eax, eax
mov dword [ebp - 0x44], eax
test eax, eax
jne 0x1015f953
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x64]
mov dword [0x10323600], eax
jmp 0x1015fa2a
mov eax, dword [ebp - 0x44]
jmp 0x1015f936
xor edi, edi
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x50], edi
cmp dword [eax + 4], edi
jle 0x1015f9f8
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 0x1015f9a4
cmp dword [ecx + 4], 0
jle 0x1015f9a4
push 0
mov edx, 0xa822535a
call fcn.1012b660
add esp, 4
test eax, eax
je 0x1015f9a1
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 0x1015f9b0
xor edx, edx
test ecx, ecx
je 0x1015f9dc
nop dword [eax]
movsx eax, byte [esi + edx]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1015f9c0
cmp edi, 0xa822535a
je 0x1015fa0b
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 0x1015f970
mov eax, edi
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x64]
mov dword [0x10323600], eax
jmp 0x1015fa2a
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 [0x10323600], eax
jmp 0x1015fa2a
mov eax, dword [0x10323600]
mov ecx, dword [ebp - 0x54]
push dword [eax + ecx]
mov ecx, dword [ebp - 0x84]
call dword [ebp - 0x80]
test eax, eax
je 0x1015fa47
cmp word [eax + 0x26e], 0xffff
jne 0x1015fa62
mov eax, dword [0x10b33e60]
add eax, 0x7a4232c8
xor eax, 0xfcb4fca8
cmp esi, dword [eax + 0x14c]
jne 0x1015fdea
mov edi, dword [ebp - 0x5c]
mov eax, dword [edi + 4]
mov ecx, dword [eax]
test ecx, ecx
je 0x1015fdea
mov eax, dword [0x10335080]
mov eax, dword [eax]
mov eax, dword [ecx + eax]
mov dword [ebp - 0x44], eax
test eax, eax
je 0x1015fdea
mov edx, dword [edi]
lea ecx, [ebp - 0x44]
lea eax, [edx + 0x4c]
add edx, 0xac
push eax
call fcn.1015cf90
mov eax, dword [edi + 4]
add esp, 4
mov ecx, dword [eax]
mov eax, dword [0x10b33e70]
test eax, eax
je 0x1015faaf
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 [0x10324658]
test al, 1
jne 0x1015fada
or eax, 1
mov dword [0x10324658], eax
mov eax, dword [0x103350e4]
mov dword [0x10324634], eax
jmp 0x1015fadf
mov eax, dword [0x10324634]
call eax
mov eax, dword [edi + 8]
mov esi, dword [0x1039a98c]
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 [0x1032465c]
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 0x1015fb88
or eax, 1
mov dword [0x1032465c], eax
mov eax, dword [0x10335058]
test eax, eax
jne 0x1015fb7b
movlpd qword [ebp - 0x88], xmm0
mov ecx, dword [ebp - 0x84]
mov eax, dword [ebp - 0x88]
jmp 0x1015fb7d
xor ecx, ecx
mov dword [0x10324640], eax
mov dword [0x10324644], 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 [0x10324640]
add esp, 8
mov eax, dword [edi]
mov dword [ebp - 0x50], 0
cmp dword [eax + 8], 0
jle 0x1015fdb9
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 0x1015fda1
mov edx, dword [esi + 0x18]
cmp edx, 1
jbe 0x1015fda1
movss xmm0, dword [esi + 0x20]
comiss xmm0, xmm1
jbe 0x1015fda1
cmp byte [eax + 3], 0
je 0x1015fc17
mov ecx, dword [eax + 0x24]
mov eax, dword [0x10b33e60]
add eax, 0x7a4232c8
xor eax, 0xfcb4fca8
cmp ecx, dword [eax + 0x14c]
jne 0x1015fc17
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 0x1015fd49
mov ecx, dword [esi + 0x10]
test ecx, ecx
jle 0x1015fd49
mov eax, dword [ebp - 0x48]
mov eax, dword [eax]
cmp ecx, dword [eax + 0xbc]
jge 0x1015fd49
mov ecx, dword [0x11011cb4]
test cl, 1
jne 0x1015fc61
or ecx, 1
mov dword [0x11011cb4], ecx
mov edx, dword [0x107691d0]
mov dword [0x11011cb0], edx
jmp 0x1015fc67
mov edx, dword [0x11011cb0]
test cl, 2
jne 0x1015fc7f
or ecx, 2
mov dword [0x11011cb4], ecx
mov eax, dword [0x107691dc]
mov dword [0x11011cc0], eax
test cl, 4
jne 0x1015fc97
or ecx, 4
mov dword [0x11011cb4], ecx
mov eax, dword [0x103350d0]
mov dword [0x11011ca8], 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 0x1015fceb
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 [0x11011cc0]
mov eax, dword [edi]
lea ecx, [ebp - 0x40]
movss xmm1, dword [esi + 0x20]
movss xmm2, dword [esi + 0x2c]
mov edx, dword [0x103351dc]
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 [0x11011ca8]
jmp 0x1015fd9b
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 [0x103351dc]
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 0x1015fbc0
mov eax, dword [edi + 8]
mov ecx, dword [eax]
mov eax, dword [0x10324624]
test al, 1
jne 0x1015fddf
or eax, 1
mov dword [0x10324624], eax
mov eax, dword [0x1039a984]
mov dword [0x10324638], eax
call eax
xor al, al
jmp 0x1015fdec
mov eax, dword [0x10324638]
call eax
xor al, al
jmp 0x1015fdec
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.101e0e46
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret