Function at 0x1010e080
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20
mov eax, dword [0x102230c0]
xor eax, esp
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [0x10241d9c]
mov dword [esp + 0x10], eax
mov eax, dword fs:[0x2c]
push edi
mov edi, edx
mov dword [esp + 0xc], ecx
mov esi, dword [eax + esi*4]
mov eax, dword [0x10534ed0]
cmp eax, dword [esi + 4]
jle 0x1010e163
push 0x10534ed0
call fcn.101b6d6c
add esp, 4
cmp dword [0x10534ed0], 0xffffffff
jne 0x1010e163
mov eax, dword [0x10240c88]
xor edx, edx
movq xmm0, qword [str.AEkRDVNPNB_]
mov dword [esp + 8], edx
mov esi, dword [eax + 8]
mov ax, word [0x10204eec]
mov word [esp + 0x20], ax
mov al, byte [0x10204eee]
movq qword [esp + 0x18], xmm0
mov byte [esp + 0x22], al
nop dword [eax]
mov eax, 0x1f7047dd
mul edx
mov eax, dword [esp + 8]
sub eax, edx
shr eax, 1
add eax, edx
mov edx, dword [esp + 8]
shr eax, 5
mov cl, dl
movsx eax, al
imul eax, eax, 0x39
sub cl, al
add cl, 0x32
xor byte [esp + edx + 0x18], cl
inc edx
mov dword [esp + 8], edx
cmp edx, 0xb
jl 0x1010e110
mov eax, dword [esi]
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
mov eax, dword [eax + 0x3c]
call eax
push 0x10534ed0
mov dword [0x10534e78], eax
call fcn.101b6d1b
add esp, 4
mov ecx, dword [0x10534e78]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [esp + 8], eax
call dword [esp + 8]
mov eax, dword [esp + 0xc]
movss xmm1, dword [0x102156bc]
fstp dword [esp + 8]
movss xmm2, dword [eax + 8]
comiss xmm1, xmm2
jbe 0x1010e272
movss xmm0, dword [edi + 8]
comiss xmm0, xmm2
jbe 0x1010e272
comiss xmm1, xmm0
jbe 0x1010e272
movss xmm1, dword [eax + 4]
movss xmm0, dword [eax]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
xorps xmm1, xmm1
cvtps2pd xmm0, xmm0
ucomisd xmm1, xmm0
ja 0x1010e1d2
sqrtsd xmm0, xmm0
jmp 0x1010e1d7
call fcn.101deb90
movss xmm1, dword [edi + 4]
cvtsd2ss xmm0, xmm0
mulss xmm1, xmm1
movss dword [esp + 0xc], xmm0
movss xmm0, dword [edi]
mulss xmm0, xmm0
addss xmm0, xmm1
xorps xmm1, xmm1
cvtps2pd xmm0, xmm0
ucomisd xmm1, xmm0
ja 0x1010e208
sqrtsd xmm0, xmm0
jmp 0x1010e20d
call fcn.101deb90
cvtsd2ss xmm0, xmm0
comiss xmm0, dword [esp + 0xc]
jb 0x1010e272
mov eax, dword [0x10240c7c]
movss xmm0, dword [esp + 8]
movss xmm1, dword [edi + 8]
push ecx
mov eax, dword [eax + 0xc]
mulss xmm0, dword [eax + 0x20]
subss xmm1, xmm0
movss dword [esp], xmm1
call fcn.101c7286
mov eax, dword [esp + 0x18]
fstp dword [esp + 0x10]
movss xmm0, dword [eax + 8]
movss dword [esp], xmm0
call fcn.101c7286
movss xmm0, dword [esp + 0x10]
add esp, 4
fstp dword [esp + 0x10]
ucomiss xmm0, dword [esp + 0x10]
lahf
test ah, 0x44
jnp 0x1010e349
movss xmm1, dword [edi + 4]
movss xmm0, dword [edi]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
xorps xmm1, xmm1
cvtps2pd xmm0, xmm0
ucomisd xmm1, xmm0
ja 0x1010e299
sqrtsd xmm0, xmm0
jmp 0x1010e29e
call fcn.101deb90
mov eax, dword [esp + 0x14]
cvtsd2ss xmm0, xmm0
movss xmm1, dword [eax + 4]
movss dword [esp + 0x10], xmm0
movss xmm0, dword [eax]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
xorps xmm1, xmm1
cvtps2pd xmm0, xmm0
ucomisd xmm1, xmm0
ja 0x1010e2d3
sqrtsd xmm0, xmm0
jmp 0x1010e2d8
call fcn.101deb90
cvtsd2ss xmm0, xmm0
comiss xmm0, dword [esp + 0x10]
jb 0x1010e35e
mov eax, dword [0x10240c7c]
movss xmm0, dword [esp + 8]
mulss xmm0, dword [0x1021523c]
mov eax, dword [eax + 0xc]
mulss xmm0, dword [eax + 0x20]
xorps xmm0, xmmword [0x10215c10]
comiss xmm0, dword [edi + 8]
movss dword [esp + 0x10], xmm0
jbe 0x1010e35e
mov eax, dword [esp + 0x14]
push ecx
fld dword [eax + 8]
fstp dword [esp]
call fcn.101c7286
fstp dword [esp + 0x10]
fld dword [esp + 0x14]
fstp dword [esp]
call fcn.101c7286
movss xmm0, dword [esp + 0x10]
add esp, 4
fstp dword [esp + 0x10]
ucomiss xmm0, dword [esp + 0x10]
lahf
test ah, 0x44
jp 0x1010e35e
mov al, 1
pop edi
pop esi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.101b67d9
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [esp + 0x24]
xor al, al
pop edi
pop esi
xor ecx, esp
call fcn.101b67d9
mov esp, ebp
pop ebp
ret 4