Function at 0x100a1ab0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101a818d
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push esi
push edi
mov eax, dword [0x10242040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [0x103357d4]
mov ebx, dword [eax + ecx*4]
mov eax, dword [0x10337d9c]
cmp eax, dword [ebx + 4]
jle 0x100a1b6c
push 0x10337d9c
call fcn.1014bbcf
add esp, 4
cmp dword [0x10337d9c], 0xffffffff
jne 0x100a1b6c
mov eax, dword [0x10335870]
mov edi, dword [eax + 0x30]
test edi, edi
je 0x100a1b57
mov edx, dword [edi + 0xc]
mov ecx, edx
lea esi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100a1b20
sub ecx, esi
lea esi, [ecx + 1]
mov ecx, 0x4fa38bcd
test esi, esi
je 0x100a1b50
movsx eax, byte [edx]
lea edx, [edx + 1]
xor eax, ecx
imul ecx, eax, 0xf1546419
sub esi, 1
jne 0x100a1b35
cmp ecx, 0xbc340f3b
je 0x100a1b59
mov edi, dword [edi + 4]
test edi, edi
jne 0x100a1b16
xor edi, edi
push 0x10337d9c
mov dword [0x10337da0], edi
call fcn.1014bb7e
add esp, 4
mov ecx, dword [0x10337da0]
mov eax, dword [ecx + 0x1c]
mov eax, dword [eax + 0x30]
xor eax, ecx
je 0x100a205a
mov ecx, dword [0x1033589c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
mov edi, eax
test edi, edi
je 0x100a205a
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 - 0x1c]
call fcn.1009c6f0
mov ecx, dword [eax + 0x1c]
mov ecx, dword [ecx + 0x2c]
xor ecx, eax
mov dword [ebp - 0x24], ecx
call fcn.1009c790
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.1009c650
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 0x100a1c0c
movss xmm0, xmm0
jmp 0x100a1c10
movss xmm0, xmm1
mov eax, dword [0x10336270]
cmp dword [eax + 0x14], 0
movss dword [ebp - 0x20], xmm0
je 0x100a1c79
mov eax, dword [0x10335848]
cmp eax, dword [ebx + 4]
jle 0x100a1c79
push 0x10335848
call fcn.1014bbcf
add esp, 4
cmp dword [0x10335848], 0xffffffff
jne 0x100a1c79
push ecx
push 0x8d29f550
mov dword [ebp - 4], 0
mov ecx, dword [0x10336104]
push 0x19c23329
call fcn.100bb0f0
push 0x10335848
mov dword [0x1033584c], eax
mov dword [ebp - 4], 0xffffffff
call fcn.1014bb7e
add esp, 4
mov eax, dword [0x103362e0]
cmp byte [eax + 0xc], 0
je 0x100a1d3a
cmp dword [eax + 0x40], 0xd475c5fb
je 0x100a1d3a
cmp byte [eax + 0x2c], 0
je 0x100a1d3a
mov eax, dword [0x10337da8]
cmp eax, dword [ebx + 4]
jle 0x100a1d27
push 0x10337da8
call fcn.1014bbcf
add esp, 4
cmp dword [0x10337da8], 0xffffffff
jne 0x100a1d27
mov eax, dword [0x10335870]
mov edi, dword [eax + 0x30]
test edi, edi
je 0x100a1d12
nop
mov edx, dword [edi + 0xc]
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100a1cd8
sub ecx, esi
mov esi, 0x4fa38bcd
add ecx, 1
je 0x100a1d0b
nop dword [eax + eax]
movsx eax, byte [edx]
lea edx, [edx + 1]
xor eax, esi
imul esi, eax, 0xf1546419
sub ecx, 1
jne 0x100a1cf0
cmp esi, 0xb5599648
je 0x100a1d14
mov edi, dword [edi + 4]
test edi, edi
jne 0x100a1cd0
xor edi, edi
push 0x10337da8
mov dword [0x10337d98], edi
call fcn.1014bb7e
add esp, 4
mov ecx, dword [0x10337d98]
mov eax, dword [ecx + 0x1c]
mov esi, dword [eax + 0x30]
xor esi, ecx
sub esi, 2
jmp 0x100a1d3c
xor esi, esi
mov eax, dword [0x10336270]
mov edi, dword [eax + 8]
mov eax, dword [0x10335ba8]
cmp eax, dword [ebx + 4]
jle 0x100a1d9d
push 0x10335ba8
call fcn.1014bbcf
add esp, 4
cmp dword [0x10335ba8], 0xffffffff
jne 0x100a1d9d
push ecx
push 0x66b5c7b9
mov dword [ebp - 4], 1
mov ecx, dword [0x10336104]
push 0x7b66d35c
call fcn.100bb0f0
push 0x10335ba8
mov dword [0x10335b98], eax
mov dword [ebp - 4], 0xffffffff
call fcn.1014bb7e
add esp, 4
mov eax, dword [0x1033582c]
movss xmm2, dword [ebp - 0x1c]
movss xmm3, dword [0x1022bf80]
mov dword [ebp - 0x24], 0
movss xmm1, dword [eax + 0x20]
mov eax, dword [0x10335b98]
mov dword [ebp - 0x18], 0x3e4ccccd
mov eax, dword [edi + eax]
sub eax, esi
mov esi, dword [0x103361fc]
dec eax
mov edi, dword [esi + 0x38]
movd xmm0, eax
mov eax, dword [0x103358e0]
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 - 0x20]
addss xmm0, dword [0x1022bfc4]
addss xmm1, xmm2
cvttss2si eax, xmm0
xorps xmm0, xmm0
movss dword [ebp - 0x1c], xmm1
add eax, ecx
lea ecx, [ebp - 0x24]
comiss xmm1, xmm0
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x1c]
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 0x100a205a
lea ebx, [esi + 8]
mov dword [ebp - 0x1c], ebx
nop dword [eax]
mov ecx, dword [esi]
test ecx, ecx
je 0x100a2040
call fcn.10052a60
test al, al
jne 0x100a2040
cmp byte [ebx + 0x1d], al
je 0x100a2040
mov ecx, dword [esi]
call fcn.10052a60
mov ecx, dword [esi]
mov byte [ebp - 0xd], al
mov eax, 0xc6e05e01
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 - 0x18], xmm3
add edx, ecx
sar edx, 0xf
mov eax, edx
shr eax, 0x1f
dec eax
add eax, edx
mov dword [ebp - 0x28], eax
js 0x100a2040
mov eax, dword [0x1033582c]
mov edi, dword [ebp - 0x28]
mov esi, dword [ebp - 0x1c]
mov dword [ebp - 0x2c], eax
nop
mov ecx, dword [esi]
mov eax, 0xc6e05e01
mov ebx, dword [esi - 4]
sub ecx, ebx
imul ecx
mov eax, dword [esi + 8]
add edx, ecx
add eax, edi
sar edx, 0xf
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
xor edx, edx
div ecx
imul ecx, edx, 0xa4c4
cmp byte [ebp - 0xd], 0
je 0x100a1f36
mov byte [ecx + ebx + 0xb8d], 1
mov al, 1
mov byte [ecx + ebx + 0xb8b], 1
jmp 0x100a2027
movss xmm1, dword [ecx + ebx + 0xb70]
movss xmm2, dword [ecx + ebx + 0xb74]
subss xmm1, xmm7
subss xmm2, xmm0
movss xmm0, dword [ecx + ebx + 0xb78]
subss xmm0, xmm3
mulss xmm1, xmm1
mulss xmm2, xmm2
mulss xmm0, xmm0
addss xmm2, xmm1
addss xmm2, xmm0
comiss xmm2, dword [0x1022c2b4]
jbe 0x100a1f89
mov byte [ecx + ebx + 0xb8d], 0
xor al, al
jmp 0x100a2022
movss xmm4, dword [ecx + ebx + 0x14]
mov eax, dword [ebp - 0x2c]
movaps xmm0, xmm4
addss xmm0, dword [ebp - 0x20]
movss xmm3, dword [eax + 0x20]
divss xmm0, xmm3
addss xmm0, dword [0x1022bfc4]
cvttss2si eax, xmm0
cmp eax, dword [ebp - 0x30]
jle 0x100a1fbe
mov byte [ecx + ebx + 0xb8d], 0
jmp 0x100a201b
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.100151f0
movss xmm5, dword [0x1022bf80]
comiss xmm5, xmm0
jbe 0x100a2005
addss xmm2, xmm3
movaps xmm0, xmm6
subss xmm0, xmm2
call fcn.100151f0
comiss xmm5, xmm0
jbe 0x100a2005
mov al, 1
jmp 0x100a2007
xor al, al
movd xmm0, dword [ebp - 0x3c]
cvtdq2ps xmm0, xmm0
mov byte [ecx + ebx + 0xb8d], al
comiss xmm0, xmm4
jb 0x100a201d
xor al, al
movss xmm3, dword [ebp - 0x18]
movss xmm0, dword [ebp - 0x14]
sub edi, 1
mov byte [ebx + ecx + 0xb8c], al
jns 0x100a1ef0
mov esi, dword [ebp - 0x24]
mov edi, dword [ebp - 0x40]
mov ebx, dword [ebp - 0x1c]
add esi, 0x1914
add ebx, 0x1914
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x1c], ebx
cmp esi, edi
jne 0x100a1e70
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret