Function at 0x100a1be0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101ae31d
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push esi
push edi
mov eax, dword [0x10249010]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [0x1039ea44]
mov ebx, dword [eax + ecx*4]
mov eax, dword [0x103a108c]
cmp eax, dword [ebx + 4]
jle 0x100a1c9c
push 0x103a108c
call fcn.10151b0d
add esp, 4
cmp dword [0x103a108c], 0xffffffff
jne 0x100a1c9c
mov eax, dword [0x1039ead8]
mov edi, dword [eax + 0x30]
test edi, edi
je 0x100a1c87
mov edx, dword [edi + 0xc]
mov ecx, edx
lea esi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100a1c50
sub ecx, esi
lea esi, [ecx + 1]
mov ecx, 0x4fa38bcd
test esi, esi
je 0x100a1c80
movsx eax, byte [edx]
lea edx, [edx + 1]
xor eax, ecx
imul ecx, eax, 0xf1546419
sub esi, 1
jne 0x100a1c65
cmp ecx, 0xbc340f3b
je 0x100a1c89
mov edi, dword [edi + 4]
test edi, edi
jne 0x100a1c46
xor edi, edi
push 0x103a108c
mov dword [0x103a1090], edi
call fcn.10151ac3
add esp, 4
mov ecx, dword [0x103a1090]
mov eax, dword [ecx + 0x1c]
mov eax, dword [eax + 0x30]
xor eax, ecx
je 0x100a218e
mov ecx, dword [0x1039eb00]
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
mov edi, eax
test edi, edi
je 0x100a218e
mov ecx, dword [edi]
push 1
mov esi, dword [ecx + 0x24]
mov ecx, edi
mov dword [ebp - 0x24], esi
call dword [ebp - 0x24]
fstp dword [ebp - 0x24]
push 0
mov ecx, edi
call esi
fadd dword [ebp - 0x24]
fstp dword [ebp - 0x18]
call fcn.1009c8b0
mov ecx, dword [eax + 0x1c]
mov ecx, dword [ecx + 0x2c]
xor ecx, eax
mov dword [ebp - 0x24], ecx
call fcn.1009c950
movss xmm0, dword [ebp - 0x24]
mov ecx, dword [eax + 0x1c]
mov ecx, dword [ecx + 0x2c]
xor ecx, eax
mov dword [ebp - 0x20], ecx
divss xmm0, dword [ebp - 0x20]
movss dword [ebp - 0x20], xmm0
call fcn.1009c810
movss xmm1, dword [ebp - 0x20]
mov ecx, dword [eax + 0x1c]
mov ecx, dword [ecx + 0x2c]
xor ecx, eax
mov dword [ebp - 0x24], ecx
movss xmm0, dword [ebp - 0x24]
comiss xmm1, xmm0
ja 0x100a1d3c
movss xmm0, xmm0
jmp 0x100a1d40
movss xmm0, xmm1
mov eax, dword [0x1039f500]
cmp dword [eax + 0x14], 0
movss dword [ebp - 0x1c], xmm0
je 0x100a1da9
mov eax, dword [0x1039eab8]
cmp eax, dword [ebx + 4]
jle 0x100a1da9
push 0x1039eab8
call fcn.10151b0d
add esp, 4
cmp dword [0x1039eab8], 0xffffffff
jne 0x100a1da9
push ecx
push 0x8d29f550
mov dword [ebp - 4], 0
mov ecx, dword [0x1039f394]
push 0x19c23329
call fcn.100bc2f0
push 0x1039eab8
mov dword [0x1039eabc], eax
mov dword [ebp - 4], 0xffffffff
call fcn.10151ac3
add esp, 4
mov eax, dword [0x1039f570]
cmp byte [eax + 0xc], 0
je 0x100a1e6a
cmp dword [eax + 0x40], 0xd475c5fb
je 0x100a1e6a
cmp byte [eax + 0x2c], 0
je 0x100a1e6a
mov eax, dword [0x103a1098]
cmp eax, dword [ebx + 4]
jle 0x100a1e57
push 0x103a1098
call fcn.10151b0d
add esp, 4
cmp dword [0x103a1098], 0xffffffff
jne 0x100a1e57
mov eax, dword [0x1039ead8]
mov edi, dword [eax + 0x30]
test edi, edi
je 0x100a1e42
nop
mov edx, dword [edi + 0xc]
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100a1e08
sub ecx, esi
mov esi, 0x4fa38bcd
add ecx, 1
je 0x100a1e3b
nop dword [eax + eax]
movsx eax, byte [edx]
lea edx, [edx + 1]
xor eax, esi
imul esi, eax, 0xf1546419
sub ecx, 1
jne 0x100a1e20
cmp esi, 0xb5599648
je 0x100a1e44
mov edi, dword [edi + 4]
test edi, edi
jne 0x100a1e00
xor edi, edi
push 0x103a1098
mov dword [0x103a1088], edi
call fcn.10151ac3
add esp, 4
mov ecx, dword [0x103a1088]
mov eax, dword [ecx + 0x1c]
mov esi, dword [eax + 0x30]
xor esi, ecx
sub esi, 2
jmp 0x100a1e6c
xor esi, esi
mov eax, dword [0x1039f500]
mov edi, dword [eax + 8]
mov eax, dword [0x1039ee34]
cmp eax, dword [ebx + 4]
jle 0x100a1ecd
push 0x1039ee34
call fcn.10151b0d
add esp, 4
cmp dword [0x1039ee34], 0xffffffff
jne 0x100a1ecd
push ecx
push 0x66b5c7b9
mov dword [ebp - 4], 1
mov ecx, dword [0x1039f394]
push 0x7b66d35c
call fcn.100bc2f0
push 0x1039ee34
mov dword [0x1039ee20], eax
mov dword [ebp - 4], 0xffffffff
call fcn.10151ac3
add esp, 4
mov eax, dword [0x1039ea98]
movss xmm2, dword [ebp - 0x18]
movss xmm3, dword [0x10232d28]
mov dword [ebp - 0x24], 0
movss xmm1, dword [eax + 0x20]
mov eax, dword [0x1039ee20]
mov dword [ebp - 0x18], 0x3e4ccccd
mov eax, dword [edi + eax]
sub eax, esi
mov esi, dword [0x1039f48c]
dec eax
mov edi, dword [esi + 0x38]
movd xmm0, eax
mov eax, dword [0x1039eb4c]
cvtdq2ps xmm0, xmm0
mov esi, dword [esi + 0x34]
mov dword [ebp - 0x40], edi
mov ecx, dword [eax + 0x4d38]
mulss xmm0, xmm1
movss dword [ebp - 0x34], xmm0
movd xmm0, ecx
add ecx, 8
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
addss xmm0, xmm2
subss xmm0, xmm3
cvttss2si eax, xmm0
movaps xmm0, xmm2
divss xmm0, xmm1
mov dword [ebp - 0x3c], eax
movss xmm1, dword [ebp - 0x1c]
addss xmm0, dword [0x10232d64]
addss xmm1, xmm2
cvttss2si eax, xmm0
xorps xmm0, xmm0
movss dword [ebp - 0x20], xmm1
add eax, ecx
lea ecx, [ebp - 0x24]
comiss xmm1, xmm0
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x20]
cmovae ecx, eax
lea eax, [ebp - 0x18]
comiss xmm3, xmm1
cmovae eax, ecx
movss xmm0, dword [eax]
movss dword [ebp - 0x38], xmm0
mov dword [ebp - 0x24], esi
cmp esi, edi
je 0x100a218e
lea ebx, [esi + 8]
mov dword [ebp - 0x18], ebx
nop dword [eax]
mov ecx, dword [esi]
test ecx, ecx
je 0x100a2174
call fcn.10052cc0
test al, al
jne 0x100a2174
cmp byte [ebx + 0x1d], al
je 0x100a2174
mov ecx, dword [esi]
call fcn.10052cc0
mov ecx, dword [esi]
mov byte [ebp - 0xd], al
mov eax, 0x7b1d9b4f
movss xmm0, dword [ecx + 0x13c]
movss xmm3, dword [ecx + 0x140]
movss xmm7, dword [ecx + 0x138]
mov ecx, dword [ebx]
sub ecx, dword [ebx - 4]
imul ecx
movss dword [ebp - 0x14], xmm0
movss dword [ebp - 0x20], xmm3
sar edx, 0xe
mov eax, edx
shr eax, 0x1f
dec eax
add eax, edx
mov dword [ebp - 0x28], eax
js 0x100a2174
mov eax, dword [0x1039ea98]
mov edi, dword [ebp - 0x28]
mov esi, dword [ebp - 0x18]
mov dword [ebp - 0x2c], eax
nop dword [eax]
mov ecx, dword [esi]
mov eax, 0x7b1d9b4f
mov ebx, dword [esi - 4]
sub ecx, ebx
imul ecx
mov eax, dword [esi + 8]
sar edx, 0xe
add eax, edi
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
xor edx, edx
div ecx
imul ecx, edx, 0x8514
cmp byte [ebp - 0xd], 0
je 0x100a2064
mov byte [ecx + ebx + 0x3a1], 1
mov al, 1
mov byte [ecx + ebx + 0x39f], 1
jmp 0x100a215b
movss xmm1, dword [ecx + ebx + 0x384]
movss xmm2, dword [ecx + ebx + 0x388]
subss xmm1, xmm7
subss xmm2, xmm0
movss xmm0, dword [ecx + ebx + 0x38c]
subss xmm0, xmm3
mulss xmm1, xmm1
mulss xmm2, xmm2
mulss xmm0, xmm0
addss xmm2, xmm1
addss xmm2, xmm0
comiss xmm2, dword [0x10233070]
jbe 0x100a20b7
mov byte [ecx + ebx + 0x3a1], 0
xor al, al
jmp 0x100a2156
movss xmm4, dword [ecx + ebx + 0x14]
mov eax, dword [ebp - 0x2c]
movaps xmm0, xmm4
addss xmm0, dword [ebp - 0x1c]
movss xmm3, dword [eax + 0x20]
divss xmm0, xmm3
addss xmm0, dword [0x10232d64]
cvttss2si eax, xmm0
cmp eax, dword [ebp - 0x30]
jle 0x100a20ee
mov byte [ecx + ebx + 0x3a1], 0
xor al, al
jmp 0x100a2151
movss xmm2, dword [ebp - 0x34]
movss xmm6, dword [ebp - 0x38]
subss xmm2, xmm4
movaps xmm0, xmm6
movaps xmm1, xmm2
subss xmm1, xmm3
subss xmm0, xmm1
call fcn.10015090
movss xmm5, dword [0x10232d28]
comiss xmm5, xmm0
jbe 0x100a2135
addss xmm2, xmm3
movaps xmm0, xmm6
subss xmm0, xmm2
call fcn.10015090
comiss xmm5, xmm0
jbe 0x100a2135
mov al, 1
jmp 0x100a2137
xor al, al
movd xmm0, dword [ebp - 0x3c]
xor edx, edx
cvtdq2ps xmm0, xmm0
mov byte [ecx + ebx + 0x3a1], al
movzx eax, al
comiss xmm0, xmm4
cmovae eax, edx
movss xmm3, dword [ebp - 0x20]
movss xmm0, dword [ebp - 0x14]
sub edi, 1
mov byte [ecx + ebx + 0x3a0], al
jns 0x100a2020
mov esi, dword [ebp - 0x24]
mov edi, dword [ebp - 0x40]
mov ebx, dword [ebp - 0x18]
add esi, 0x1918
add ebx, 0x1918
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x18], ebx
cmp esi, edi
jne 0x100a1fa0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret