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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101f1f81
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push esi
push edi
mov eax, dword [0x10285040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov dword [ebp - 0x28], edi
mov eax, ecx
mov dword [ebp - 0x1c], eax
cmp dword [edi + 0x390], 0
je 0x1013fa67
lea ecx, [eax + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
test al, al
jne 0x1013fa67
mov eax, dword [edi + 0x38c]
xor edx, edx
mov esi, dword [edi + 0x390]
mov ecx, eax
add esi, eax
mov dword [ebp - 0x24], eax
cmp eax, esi
je 0x1013f1c0
mov ebx, dword [edi + 0x384]
mov edi, dword [edi + 0x388]
lea eax, [edi - 1]
and eax, ecx
mov eax, dword [ebx + eax*4]
cmp byte [eax + 5], 0
jne 0x1013f1ba
inc ecx
inc edx
cmp ecx, esi
jne 0x1013f1a6
mov edi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x24]
mov ecx, dword [edi + 0x388]
dec ecx
and ecx, eax
mov eax, dword [edi + 0x384]
mov ebx, dword [eax + ecx*4]
mov dword [ebp - 0x30], ebx
cmp dword [ebx + 0x18], 0
movq xmm0, qword [ebx + 0x84]
mov eax, dword [ebx + 0x8c]
movss xmm6, dword [ebx + 0x28]
movq qword [ebx + 0xd380], xmm0
movq xmm0, qword [ebx + 0x54]
mov dword [ebx + 0xd388], eax
mov eax, dword [ebx + 0x5c]
movq qword [ebx + 0xd38c], xmm0
mov dword [ebx + 0xd394], eax
mov eax, dword [ebx + 0x1c]
mov byte [ebx + 0xc], 0
movss dword [ebx + 0xd398], xmm6
mov dword [ebx + 0xd39c], eax
jle 0x1013fa67
cmp edx, 1
jbe 0x1013f2e8
mov esi, dword [edi + 0x38c]
mov eax, dword [edi + 0x388]
mov edi, dword [edi + 0x384]
dec eax
movss xmm2, dword [ebx + 0x84]
movss xmm1, dword [ebx + 0x88]
lea ecx, [esi + 1]
movss xmm0, dword [ebx + 0x8c]
and ecx, eax
mov dword [ebp - 0x28], eax
mov eax, dword [edi + ecx*4]
add eax, 0x84
movss xmm4, dword [eax]
movss xmm3, dword [eax + 4]
subss xmm2, xmm4
movss xmm5, dword [eax + 8]
subss xmm1, xmm3
subss xmm0, xmm5
mulss xmm2, xmm2
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm2, xmm1
addss xmm2, xmm0
movss xmm0, dword [0x10271328]
comiss xmm2, xmm0
ja 0x1013f2e4
cmp edx, 2
jbe 0x1013f2e8
lea eax, [esi + 2]
and eax, dword [ebp - 0x28]
mov eax, dword [edi + eax*4]
add eax, 0x84
subss xmm3, dword [eax + 4]
subss xmm4, dword [eax]
subss xmm5, dword [eax + 8]
mulss xmm3, xmm3
mulss xmm4, xmm4
mulss xmm5, xmm5
addss xmm3, xmm4
addss xmm3, xmm5
comiss xmm3, xmm0
jbe 0x1013f2e8
mov byte [ebx + 0xa], 1
cmp byte [ebx + 0xa], 0
je 0x1013fa67
mov esi, dword [0x10b33e60]
movss xmm1, dword [0x10271024]
add esi, 0x7a4232c8
xor esi, 0xfcb4fca8
movss xmm4, dword [0x10270fb4]
movaps xmm3, xmm1
mov eax, dword [esi + 0x108]
movss xmm5, dword [eax + 0x20]
divss xmm3, xmm5
mov eax, dword [esi + 0x24]
movaps xmm0, xmm3
movss dword [ebp - 0x2c], xmm3
mulss xmm0, xmm6
addss xmm0, xmm4
cvttss2si ecx, xmm0
sub eax, ecx
cdq
xor eax, edx
sub eax, edx
cmp eax, 0x80
jge 0x1013fa67
mov eax, dword [esi + 0xc0]
movaps xmm0, xmm3
mulss xmm0, dword [esi + 0x28]
mov edi, dword [ebx + 0x18]
mov ecx, dword [eax + 0x16c]
mov edx, ecx
sub edx, dword [ebx + 0x10]
addss xmm0, xmm4
mov dword [ebp - 0x14], ecx
mov eax, edi
sub eax, edx
cvttss2si ecx, xmm0
cmp ecx, eax
jle 0x1013fa67
mov edx, dword [ebx + 0x10]
lea eax, [edx + 1]
add eax, edi
cmp eax, dword [esi + 0x24]
jge 0x1013fa67
movaps xmm0, xmm5
mov dword [ebp - 0x28], 0
mulss xmm0, dword [esi + 0x30]
lea eax, [ebp - 0x24]
mov dword [ebp - 0x20], 0x3f800000
lea ecx, [ebp - 0x28]
xorps xmm7, xmm7
comiss xmm0, xmm7
movss dword [ebp - 0x24], xmm0
cmovae ecx, eax
lea eax, [ebp - 0x20]
comiss xmm1, xmm0
cmovae eax, ecx
mov ecx, dword [esi + 0x208]
movss xmm2, dword [eax]
mov eax, dword [ecx + 0x1c]
movaps xmm1, xmm2
addss xmm1, dword [esi + 0x38]
mov dword [ebp - 0x28], 0
mov eax, dword [eax + 0x2c]
xor eax, ecx
lea ecx, [ebp - 0x28]
comiss xmm1, xmm7
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x24]
movss xmm0, dword [ebp - 0x18]
movss dword [ebp - 0x24], xmm1
cmovae ecx, eax
lea eax, [ebp - 0x18]
comiss xmm0, xmm1
movd xmm0, dword [esi + 0x14]
cvtdq2ps xmm0, xmm0
cmovae eax, ecx
movss xmm1, dword [eax]
mulss xmm0, xmm5
subss xmm0, xmm6
subss xmm1, xmm0
movaps xmm0, xmm3
mulss xmm0, xmm2
addss xmm0, xmm4
cvttss2si eax, xmm0
sub eax, edx
add eax, dword [ebp - 0x14]
cdq
idiv edi
mov dword [ebp - 0x10], eax
lea ecx, [eax - 1]
cmp ecx, 0x12
ja 0x1013fa67
subss xmm1, dword [0x10270f64]
xorps xmm0, xmm0
sub esp, 8
cvtsi2ss xmm0, edi
mulss xmm1, xmm3
addss xmm1, xmm4
divss xmm1, xmm0
movss dword [ebp - 0x28], xmm1
fld dword [ebp - 0x28]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
mov ecx, dword [ebp - 0x10]
xorps xmm5, xmm5
fstp dword [ebp - 0x28]
movss xmm1, dword [ebp - 0x28]
add esp, 8
comiss xmm1, xmm5
jbe 0x1013f4a8
movss xmm0, dword [ebp - 0x2c]
mulss xmm0, xmm1
addss xmm0, dword [0x10270fb4]
cvttss2si eax, xmm0
cmp ecx, eax
cmovge ecx, eax
mov dword [ebp - 0x10], ecx
test ecx, ecx
jle 0x1013fa67
mov dword [ebx + 0x14], ecx
xor esi, esi
mov dword [ebp - 0x28], esi
cmp dword [ebx + 0x18], esi
jle 0x1013f762
test byte [ebx + 0xd39c], 1
je 0x1013f6d4
mov eax, dword [0x10b33e60]
add eax, 0x7a4232c8
xor eax, 0xfcb4fca8
mov ecx, dword [eax + 0x2b0]
mov eax, dword [ecx + 0x1c]
cmp dword [eax + 0x30], ecx
jne 0x1013f6af
mov eax, dword [0x10324620]
test al, 1
jne 0x1013f626
or eax, 1
mov dword [0x10324620], eax
mov dword [ebp - 4], 0
mov ebx, dword [0x1031cd80]
cmp ebx, dword [0x1031cd84]
je 0x1013f564
nop dword [eax]
mov eax, dword [ebx]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1013f559
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + edi], 0
jne 0x1013f533
xor edx, edx
test ecx, ecx
je 0x1013f559
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x1013f540
cmp esi, 0x72e242a1
je 0x1013f57d
add ebx, 4
cmp ebx, dword [0x1031cd84]
jne 0x1013f520
xor eax, eax
mov ebx, dword [ebp - 0x30]
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x28]
mov dword [0x103245dc], eax
jmp 0x1013f62b
mov eax, dword [ebp - 0x14]
xor esi, esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x20], esi
cmp dword [eax + 4], esi
jle 0x1013f614
xor ecx, ecx
mov dword [ebp - 0x24], ecx
mov ebx, dword [eax]
add ebx, ecx
mov ecx, dword [ebx + 0x28]
test ecx, ecx
je 0x1013f5c7
cmp dword [ecx + 4], 0
jle 0x1013f5c7
push 0
mov edx, 0xec4c9592
call fcn.1012b660
add esp, 4
test eax, eax
je 0x1013f5c4
mov ecx, dword [ebx + 0x2c]
add ecx, eax
add esi, ecx
mov dword [ebp - 0x18], esi
mov eax, dword [ebp - 0x14]
mov esi, dword [ebx]
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + esi], 0
jne 0x1013f5d0
xor edx, edx
test ecx, ecx
je 0x1013f5fc
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1013f5e0
cmp edi, 0xec4c9592
je 0x1013f61b
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 0x1013f596
mov eax, esi
jmp 0x1013f566
mov eax, dword [ebx + 0x2c]
add eax, dword [ebp - 0x18]
jmp 0x1013f566
mov eax, dword [0x103245dc]
movss xmm4, dword [ebx + 0xd38c]
movss xmm2, dword [ebx + 0xd390]
movaps xmm0, xmm4
movss xmm1, dword [ebx + 0xd394]
mov ecx, dword [ebp - 0x1c]
mulss xmm0, xmm4
mulss xmm2, xmm2
movss xmm3, dword [eax + ecx]
mulss xmm3, dword [0x10271030]
addss xmm0, xmm2
mulss xmm1, xmm1
addss xmm0, xmm1
call fcn.1000d460
comiss xmm3, xmm5
jbe 0x1013f6af
comiss xmm0, xmm3
jbe 0x1013f6af
divss xmm3, xmm0
movaps xmm0, xmm3
mulss xmm0, xmm4
movss dword [ebx + 0xd38c], xmm0
movaps xmm0, xmm3
mulss xmm0, dword [ebx + 0xd390]
mulss xmm3, dword [ebx + 0xd394]
movss dword [ebx + 0xd390], xmm0
movss dword [ebx + 0xd394], xmm3
mov eax, dword [0x10b33e60]
add eax, 0x7a4232c8
xor eax, 0xfcb4fca8
mov ecx, dword [eax + 0x234]
mov eax, dword [ecx + 0x1c]
mov eax, dword [eax + 0x2c]
xor eax, ecx
mov dword [ebx + 0xd394], eax
jmp 0x1013f71b
mov edx, dword [0x10b33e60]
movss xmm0, dword [ebx + 0xd394]
add edx, 0x7a4232c8
xor edx, 0xfcb4fca8
mov ecx, dword [edx + 0x204]
mov eax, dword [ecx + 0x1c]
mov eax, dword [eax + 0x2c]
xor eax, ecx
mov dword [ebp - 0x2c], eax
mov eax, dword [edx + 0x108]
movss xmm1, dword [ebp - 0x2c]
mulss xmm1, dword [eax + 0x20]
subss xmm0, xmm1
movss dword [ebx + 0xd394], xmm0
mov ecx, dword [ebp - 0x1c]
mov edx, ebx
call fcn.1013ed30
mov eax, dword [0x10b33e60]
inc esi
add eax, 0x7a4232c8
mov dword [ebp - 0x28], esi
xor eax, 0xfcb4fca8
xorps xmm5, xmm5
mov eax, dword [eax + 0x108]
movss xmm0, dword [eax + 0x20]
addss xmm0, dword [ebx + 0xd398]
movss dword [ebx + 0xd398], xmm0
cmp esi, dword [ebx + 0x18]
jl 0x1013f4c1
mov ecx, dword [ebp - 0x10]
sub ecx, 1
mov dword [ebp - 0x10], ecx
jne 0x1013f4b3
test byte [ebx + 0xd39c], 1
mov eax, 0
movss xmm0, dword [ebx + 0x48]
mov ecx, 0x80
movss xmm1, dword [ebx + 0xd380]
setne al
movss xmm2, dword [ebx + 0xd384]
movss xmm3, dword [ebx + 0xd388]
movss dword [ebp - 0x68], xmm0
movss xmm0, dword [ebx + 0x44]
lea eax, [eax*2 - 1]
mov dword [ebp - 0x34], eax
mov eax, dword [ebx + 0xa4]
movss dword [ebp - 0x6c], xmm0
movq xmm0, qword [ebx + 0x9c]
movss dword [ebp - 0x2c], xmm1
movss dword [ebp - 0x20], xmm2
movss dword [ebp - 0x10], xmm3
movss dword [ebp - 0x64], xmm1
movss dword [ebp - 0x60], xmm2
movss dword [ebp - 0x5c], xmm3
movss dword [ebp - 0x58], xmm1
subss xmm1, dword [ebx + 0x84]
movss dword [ebp - 0x54], xmm2
subss xmm2, dword [ebx + 0x88]
movss dword [ebp - 0x50], xmm3
subss xmm3, dword [ebx + 0x8c]
mov dword [ebp - 0x44], eax
lea eax, [ebx + 0xa39c]
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
movq qword [ebp - 0x4c], xmm0
nop
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 0x1013f830
mov eax, dword [0x1031e8f0]
lea esi, [ebx + 0xa380]
lea edi, [ebx + 0xd3a0]
mov ecx, 0x1800
rep movsb byte es:[edi], byte [esi]
test al, 1
jne 0x1013f9bb
or eax, 1
mov dword [0x1031e8f0], eax
mov dword [ebp - 4], 1
mov eax, dword [0x1031cd80]
mov dword [ebp - 0x28], eax
cmp eax, dword [0x1031cd84]
je 0x1013f8ea
nop dword [eax]
mov ecx, dword [eax]
mov dword [ebp - 0x18], ecx
test ecx, ecx
je 0x1013f8dc
mov edi, dword [ecx + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + edi], 0
jne 0x1013f8b3
xor edx, edx
test ecx, ecx
je 0x1013f8dc
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x1013f8c0
cmp esi, 0x72e242a1
je 0x1013f8fd
mov eax, dword [ebp - 0x28]
add eax, 4
mov dword [ebp - 0x28], eax
cmp eax, dword [0x1031cd84]
jne 0x1013f8a0
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x1031e988], eax
jmp 0x1013f9c0
mov eax, dword [ebp - 0x18]
xor edi, edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x28], edi
cmp dword [eax + 4], edi
jle 0x1013f994
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 0x1013f94a
cmp dword [ecx + 4], 0
jle 0x1013f94a
push 0
mov edx, 0xf3c2c786
call fcn.1012b660
add esp, 4
test eax, eax
je 0x1013f947
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 0x1013f953
xor edx, edx
test ecx, ecx
je 0x1013f97c
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x1013f960
cmp esi, 0xf3c2c786
je 0x1013f9a4
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 0x1013f916
mov eax, edi
mov dword [ebp - 4], 0xffffffff
mov dword [0x1031e988], eax
jmp 0x1013f9c0
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 0x2c]
add eax, dword [ebp - 0x14]
mov dword [0x1031e988], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x1013f9c0
mov eax, dword [0x1031e988]
movss xmm0, dword [ebx + 0xd398]
lea ecx, [ebp - 0x6c]
push ecx
mov ecx, dword [ebp - 0x1c]
add eax, ecx
push eax
push ecx
movss dword [esp], xmm0
lea eax, [ebx + 0xd3a0]
push 0x7ff00
push eax
push ecx
lea ecx, [ebx + 0x9f90]
call fcn.1015c9f0
movss xmm1, dword [ebx + 0x84]
lea eax, [ebx + 0xa39c]
movss xmm2, dword [ebx + 0x88]
mov ecx, 0x80
movss xmm3, dword [ebx + 0x8c]
subss xmm1, dword [ebp - 0x2c]
subss xmm2, dword [ebp - 0x20]
subss xmm3, dword [ebp - 0x10]
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 0x1013fa22
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