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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1023214d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x48
push esi
push edi
mov eax, dword [0x102d944c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebx + 8]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x101ba9f4
cmp dword [0x10311640], 0
je 0x101ba9f4
mov edi, dword [eax + 8]
mov eax, dword [0x1055ced8]
test al, 1
jne 0x101ba1a6
or eax, 1
mov dword [0x1055ced8], eax
mov edx, 0x990704d7
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.100e2680
push 0xda7d68cb
mov edx, eax
mov ecx, 0x1055cfe0
call fcn.100e2a90
add esp, 4
push 0x10239f60
call fcn.101fb2a5
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [0x1055cfe0]
call eax
mov esi, eax
mov dword [ebp - 0x1c], esi
test edi, edi
je 0x101ba220
test esi, esi
je 0x101ba220
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x14], ecx
test ecx, ecx
je 0x101ba220
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
mov eax, dword [ecx]
mov ecx, esi
and eax, 0xffffff
push eax
call edx
mov esi, eax
test esi, esi
je 0x101ba209
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + esi], 0
jne 0x101ba1e2
xor edx, edx
test ecx, ecx
je 0x101ba209
nop
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x101ba1f0
cmp edi, 0x11ab48ff
je 0x101ba21b
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x14], ecx
test ecx, ecx
je 0x101ba220
mov esi, dword [ebp - 0x1c]
jmp 0x101ba1c4
mov ecx, dword [ebp - 0x14]
jmp 0x101ba222
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
dec eax
cmp eax, 6
ja case.0x101ba22c.2
jmp dword [eax*4 + 0x101baa0c]
push dword [ecx + 4]
call fcn.10209d8d
add esp, 4
mov edx, eax
jmp 0x101ba27d
push dword [ecx + 8]
call fcn.10209d4e
add esp, 4
mov edx, eax
jmp 0x101ba27d
movss xmm0, dword [ecx + 0xc]
sub esp, 8
movss dword [ebp - 0x14], xmm0
fld dword [ebp - 0x14]
fstp qword [esp]
call fcn.10223aa0
fstp dword [ebp - 0x14]
cvttss2si edx, dword [ebp - 0x14]
add esp, 8
jmp 0x101ba27d
xor edx, edx
jmp 0x101ba27d
mov edx, dword [ecx + 0xc]
mov ecx, dword [0x1054dfe4]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
mov esi, dword [0x1054dfe4]
mov edi, eax
mov ecx, dword [esi]
mov edx, dword [ecx + 0x30]
mov ecx, esi
call edx
cmp edi, eax
jne 0x101ba9f4
mov edi, dword [ebp - 0x18]
mov eax, dword [0x1055ced8]
mov edi, dword [edi + 8]
test al, 1
jne 0x101ba2f7
or eax, 1
mov dword [0x1055ced8], eax
mov edx, 0x990704d7
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.100e2680
push 0xda7d68cb
mov edx, eax
mov ecx, 0x1055cfe0
call fcn.100e2a90
add esp, 4
push 0x10239f60
call fcn.101fb2a5
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [0x1055cfe0]
call eax
mov esi, eax
mov dword [ebp - 0x1c], esi
test edi, edi
je 0x101ba370
test esi, esi
je 0x101ba370
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x14], ecx
test ecx, ecx
je 0x101ba370
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
mov eax, dword [ecx]
mov ecx, esi
and eax, 0xffffff
push eax
call edx
mov esi, eax
test esi, esi
je 0x101ba359
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + esi], 0
jne 0x101ba333
xor edx, edx
test ecx, ecx
je 0x101ba359
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x101ba340
cmp edi, 0xfd0c5087
je 0x101ba36b
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x14], ecx
test ecx, ecx
je 0x101ba370
mov esi, dword [ebp - 0x1c]
jmp 0x101ba315
mov ecx, dword [ebp - 0x14]
jmp 0x101ba372
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
dec eax
cmp eax, 6
ja case.0x101ba37c.4
jmp dword [eax*4 + 0x101baa28]
push dword [ecx + 4]
call fcn.10209ea7
fstp dword [ebp - 0x14]
movss xmm0, dword [ebp - 0x14]
add esp, 4
jmp 0x101ba3d4
push dword [ecx + 8]
call fcn.10209e94
fstp dword [ebp - 0x14]
movss xmm0, dword [ebp - 0x14]
add esp, 4
jmp 0x101ba3d4
movss xmm0, dword [ecx + 0xc]
jmp 0x101ba3d4
movd xmm0, dword [ecx + 0xc]
cvtdq2ps xmm0, xmm0
jmp 0x101ba3d4
mov ecx, dword [ecx + 4]
mov edx, dword [ecx + 4]
mov ecx, dword [ecx]
call fcn.102214a0
cvtsd2ss xmm0, xmm0
jmp 0x101ba3d4
xorps xmm0, xmm0
mov eax, dword [ebp - 0x18]
movss dword [ebp - 0x20], xmm0
mov edi, dword [eax + 8]
mov eax, dword [0x1055ced8]
test al, 1
jne 0x101ba42c
or eax, 1
mov dword [0x1055ced8], eax
mov edx, 0x990704d7
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.100e2680
push 0xda7d68cb
mov edx, eax
mov ecx, 0x1055cfe0
call fcn.100e2a90
add esp, 4
push 0x10239f60
call fcn.101fb2a5
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [0x1055cfe0]
call eax
mov esi, eax
mov dword [ebp - 0x1c], esi
test edi, edi
je 0x101ba4b0
test esi, esi
je 0x101ba4b0
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x14], ecx
test ecx, ecx
je 0x101ba4b0
nop
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
mov eax, dword [ecx]
mov ecx, esi
and eax, 0xffffff
push eax
call edx
mov esi, eax
test esi, esi
je 0x101ba499
mov edi, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [ecx + esi], 0
jne 0x101ba470
xor edx, edx
test ecx, ecx
je 0x101ba499
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x101ba480
cmp edi, 0xfc0c4ef4
je 0x101ba4ab
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x14], ecx
test ecx, ecx
je 0x101ba4b0
mov esi, dword [ebp - 0x1c]
jmp 0x101ba450
mov ecx, dword [ebp - 0x14]
jmp 0x101ba4b2
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
dec eax
cmp eax, 6
ja case.0x101ba4bc.4
jmp dword [eax*4 + 0x101baa44]
push dword [ecx + 4]
call fcn.10209ea7
fstp dword [ebp - 0x14]
movss xmm0, dword [ebp - 0x14]
add esp, 4
jmp 0x101ba514
push dword [ecx + 8]
call fcn.10209e94
fstp dword [ebp - 0x14]
movss xmm0, dword [ebp - 0x14]
add esp, 4
jmp 0x101ba514
movss xmm0, dword [ecx + 0xc]
jmp 0x101ba514
movd xmm0, dword [ecx + 0xc]
cvtdq2ps xmm0, xmm0
jmp 0x101ba514
mov ecx, dword [ecx + 4]
mov edx, dword [ecx + 4]
mov ecx, dword [ecx]
call fcn.102214a0
cvtsd2ss xmm0, xmm0
jmp 0x101ba514
xorps xmm0, xmm0
mov eax, dword [ebp - 0x18]
movss dword [ebp - 0x1c], xmm0
mov edi, dword [eax + 8]
mov eax, dword [0x1055ced8]
test al, 1
jne 0x101ba56c
or eax, 1
mov dword [0x1055ced8], eax
mov edx, 0x990704d7
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x2c]
call fcn.100e2680
push 0xda7d68cb
mov edx, eax
mov ecx, 0x1055cfe0
call fcn.100e2a90
add esp, 4
push 0x10239f60
call fcn.101fb2a5
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [0x1055cfe0]
call eax
mov esi, eax
mov dword [ebp - 0x14], esi
test edi, edi
je 0x101ba5f0
test esi, esi
je 0x101ba5f0
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x18], ecx
test ecx, ecx
je 0x101ba5f0
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
mov eax, dword [ecx]
mov ecx, esi
and eax, 0xffffff
push eax
call edx
mov esi, eax
test esi, esi
je 0x101ba5d9
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + esi], 0
jne 0x101ba5b0
xor edx, edx
test ecx, ecx
je 0x101ba5d9
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x101ba5c0
cmp edi, 0xff0c53ad
je 0x101ba5eb
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x18], ecx
test ecx, ecx
je 0x101ba5f0
mov esi, dword [ebp - 0x14]
jmp 0x101ba592
mov ecx, dword [ebp - 0x18]
jmp 0x101ba5f2
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
dec eax
cmp eax, 6
ja case.0x101ba5fc.4
jmp dword [eax*4 + 0x101baa60]
push dword [ecx + 4]
call fcn.10209ea7
fstp dword [ebp - 0x18]
movss xmm0, dword [ebp - 0x18]
add esp, 4
jmp 0x101ba654
push dword [ecx + 8]
call fcn.10209e94
fstp dword [ebp - 0x18]
movss xmm0, dword [ebp - 0x18]
add esp, 4
jmp 0x101ba654
movss xmm0, dword [ecx + 0xc]
jmp 0x101ba654
movd xmm0, dword [ecx + 0xc]
cvtdq2ps xmm0, xmm0
jmp 0x101ba654
mov ecx, dword [ecx + 4]
mov edx, dword [ecx + 4]
mov ecx, dword [ecx]
call fcn.102214a0
cvtsd2ss xmm0, xmm0
jmp 0x101ba654
xorps xmm0, xmm0
cmp byte [0x10393bc0], 0
mov esi, dword [0x10311640]
movss dword [ebp - 0x14], xmm0
movss xmm0, dword [esi + 0x3c]
movss dword [ebp - 0x18], xmm0
je 0x101ba870
mov dword [ebp - 0x2c], 0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov eax, dword [esi]
push ecx
mov ecx, esi
mov eax, dword [eax + 0x28c]
call eax
cmp dword [esi + 0x39e1], 0
je 0x101ba7ee
mov edx, dword [0x1054e1b4]
mov eax, dword [esi + edx]
test eax, eax
je 0x101ba7ee
mov ecx, dword [eax + 0x60]
test ecx, ecx
je 0x101ba7ee
cmp byte [eax + 0x109], 0
xorps xmm5, xmm5
jne 0x101ba71a
mov eax, dword [0x1054e514]
add eax, 0xffffffbc
xor eax, 0xab5b40
movss xmm0, dword [eax + ecx]
ucomiss xmm0, xmm5
lahf
test ah, 0x44
jp 0x101ba71a
mov eax, dword [0x1054e5a4]
add eax, 0xffffff98
xor eax, 0xab5b64
mov edx, dword [eax + ecx]
mov ecx, dword [0x1054dfe8]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
test eax, eax
jne 0x101ba7ee
mov edx, dword [0x1054e1b4]
xorps xmm5, xmm5
mov edx, dword [esi + edx]
mov ecx, dword [0x1054e598]
add ecx, 0xffffff9b
xor ecx, 0xab5b61
mov eax, dword [edx + 0x60]
mov eax, dword [ecx + eax]
test eax, eax
je 0x101ba7ee
movss xmm4, dword [eax + 0x1ac]
movss xmm1, dword [ebp - 0x24]
cvtps2pd xmm4, xmm4
cvtps2pd xmm0, xmm1
addsd xmm4, qword [0x102c1460]
comisd xmm0, xmm4
movsd qword [ebp - 0x58], xmm4
jbe 0x101ba7ee
subsd xmm0, xmm4
cvtpd2ps xmm0, xmm0
subss xmm0, dword [0x102c1508]
cvtps2pd xmm0, xmm0
mulsd xmm0, qword [0x102c1428]
cvtpd2ps xmm0, xmm0
comiss xmm0, xmm5
jb 0x101ba7b2
sub esp, 8
mov dword [esp + 4], 0x3f800000
movss dword [esp], xmm0
call fcn.10201b26
movss xmm1, dword [ebp - 0x24]
add esp, 8
movsd xmm4, qword [ebp - 0x58]
fstp dword [ebp - 0x30]
movss xmm5, dword [ebp - 0x30]
movaps xmm0, xmm5
mulss xmm0, xmm5
cvtps2pd xmm3, xmm1
cvtps2pd xmm2, xmm0
cvtps2pd xmm0, xmm5
movaps xmm1, xmm2
subsd xmm4, xmm3
mulsd xmm1, qword [0x102c1478]
addsd xmm2, xmm2
mulsd xmm2, xmm0
subsd xmm1, xmm2
mulsd xmm1, xmm4
addsd xmm1, xmm3
cvtpd2ps xmm0, xmm1
movss dword [ebp - 0x24], xmm0
mov ecx, dword [0x1054e50c]
movss xmm0, dword [ebp - 0x20]
add ecx, 0xffffffbe
mov eax, dword [ebp - 0x24]
xor ecx, 0xab5b3e
mov dword [ebp - 0x3c], eax
mov eax, dword [0x10311640]
movss dword [ebp - 0x50], xmm0
movss xmm0, dword [ebp - 0x1c]
movss dword [ebp - 0x4c], xmm0
movss xmm0, dword [ebp - 0x14]
mov eax, dword [ecx + eax]
movss dword [ebp - 0x48], xmm0
movq xmm0, qword [ebp - 0x2c]
mov dword [ebp - 0x34], eax
mov eax, dword [0x1055d3c8]
movq qword [ebp - 0x44], xmm0
mov word [ebp - 0x38], 0
cmp eax, dword [0x1055d3cc]
je 0x101ba861
movups xmm0, xmmword [ebp - 0x50]
movups xmmword [eax], xmm0
movups xmm0, xmmword [ebp - 0x40]
movups xmmword [eax + 0x10], xmm0
add dword [0x1055d3c8], 0x20
jmp 0x101ba870
lea ecx, [ebp - 0x50]
push ecx
push eax
mov ecx, 0x1055d3c4
call fcn.101beda0
cmp dword [0x1055d3ac], 0
je 0x101ba9f4
mov eax, dword [0x1055d3c0]
mov ecx, dword [0x1055d3b8]
inc eax
cmp ecx, eax
ja 0x101ba89e
push ecx
mov ecx, 0x1055d3b0
call fcn.101be950
mov ecx, dword [0x1055d3b8]
mov eax, dword [0x1055d3b4]
lea edi, [ecx - 1]
mov esi, edi
and esi, dword [0x1055d3bc]
mov dword [0x1055d3bc], esi
cmove esi, ecx
dec esi
and edi, esi
cmp dword [eax + edi*4], 0
jne 0x101ba8d8
push 0x14
call fcn.101fae5b
mov ecx, dword [0x1055d3b4]
add esp, 4
mov dword [ecx + edi*4], eax
mov eax, dword [0x1055d3b4]
mov eax, dword [eax + edi*4]
movss xmm0, dword [ebp - 0x20]
mov dword [eax], 0
mov byte [eax + 0x10], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov ecx, dword [0x1055d3b8]
mov eax, dword [0x1055d3b4]
dec ecx
inc dword [0x1055d3c0]
and ecx, esi
mov dword [0x1055d3bc], esi
mov esi, dword [eax + ecx*4]
movss dword [esi + 4], xmm0
movss xmm0, dword [ebp - 0x1c]
movss dword [esi + 8], xmm0
movss xmm0, dword [ebp - 0x14]
movss dword [esi + 0xc], xmm0
movss xmm0, dword [ebp - 0x18]
movss dword [esi], xmm0
mov edx, dword [0x1055d3a8]
mov edi, dword [0x1055d3ac]
add edi, edx
cmp edx, edi
je 0x101ba9c3
mov ecx, dword [0x1055d3a4]
mov eax, dword [0x1055d3a0]
dec ecx
and ecx, edx
mov ecx, dword [eax + ecx*4]
movss xmm1, dword [ecx + 0x3be4]
addss xmm1, dword [ecx + 0x3be0]
subss xmm0, dword [ecx + 0x3bfc]
addss xmm1, xmm1
comiss xmm1, xmm0
jbe 0x101ba9b9
mov byte [ecx + 0x3bf5], 1
mov eax, dword [esi]
mov dword [ecx + 0x3bac], eax
mov eax, dword [esi + 4]
mov dword [ecx + 0x3bb0], eax
mov eax, dword [esi + 8]
mov dword [ecx + 0x3bb4], eax
mov eax, dword [esi + 0xc]
mov dword [ecx + 0x3bb8], eax
mov al, byte [esi + 0x10]
mov byte [ecx + 0x3bbc], al
movss xmm0, dword [ebp - 0x18]
inc edx
cmp edx, edi
jne 0x101ba954
mov eax, dword [0x1055d3c0]
cmp eax, 0x100
jbe 0x101ba9ed
nop
add eax, 0xffffffff
mov dword [0x1055d3c0], eax
je 0x101ba9e3
cmp eax, 0x100
ja 0x101ba9d0
jmp 0x101ba9ed
mov dword [0x1055d3bc], 0
mov byte [0x1055d398], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4