Function at 0x101140e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [0x1013a144]
sub esp, 0x54
push ebx
push esi
push edi
test ecx, ecx
je 0x101145ae
cmp byte [0x10142fe4], 0
je 0x101145ae
cmp byte [0x1013a148], 0
jne 0x1011412a
mov eax, dword [0x1018427c]
cmp eax, dword [0x10184280]
je 0x101145ae
mov dword [0x10184280], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [0x10184280]
sub esi, dword [0x1018427c]
sar esi, 5
mov dword [ebp - 0xc], esi
test esi, esi
je 0x101145ae
mov eax, dword [0x101837fc]
mov edx, esi
add eax, 0xffffffc2
xor eax, 0x9d1bdbf2
shl edx, 5
movd xmm2, dword [eax + ecx]
mov ecx, esi
mov eax, dword [0x10183610]
cvtdq2ps xmm2, xmm2
mulss xmm2, dword [eax + 0x20]
movss dword [ebp - 0x14], xmm2
nop
mov ebx, dword [0x1018427c]
sub edx, 0x20
mov edi, ecx
mov dword [ebp - 4], edx
dec ecx
mov dword [ebp - 8], ecx
add ebx, edx
je 0x101145a6
mov edx, dword [ebx + 0x18]
movaps xmm0, xmm2
mov eax, dword [0x10183610]
movd xmm1, edx
cvtdq2ps xmm1, xmm1
mulss xmm1, dword [eax + 0x20]
subss xmm0, xmm1
call fcn.1002dc70
comiss xmm0, dword [0x101431b0]
jbe 0x1011421c
mov edi, dword [0x10184280]
lea esi, [ebx + 0x20]
cmp esi, edi
je 0x10114210
lea ecx, [ebx + 0x14]
lea edx, [ebx + 0x34]
mov eax, dword [esi]
lea ebx, [ebx + 0x20]
mov dword [ebx - 0x20], eax
lea ecx, [ecx + 0x20]
mov eax, dword [edx - 0x10]
lea edx, [edx + 0x20]
mov dword [ecx - 0x30], eax
add esi, 0x20
mov eax, dword [edx - 0x2c]
mov dword [ecx - 0x2c], eax
mov eax, dword [edx - 0x28]
mov dword [ecx - 0x28], eax
mov eax, dword [edx - 0x24]
mov dword [ecx - 0x24], eax
mov eax, dword [edx - 0x20]
mov dword [ecx - 0x20], eax
mov eax, dword [edx - 0x1c]
mov dword [ecx - 0x1c], eax
movzx eax, byte [edx - 0x18]
mov byte [ecx - 0x18], al
movzx eax, byte [edx - 0x17]
mov byte [ecx - 0x17], al
cmp esi, edi
jne 0x101141c6
mov ecx, dword [ebp - 8]
sub dword [0x10184280], 0x20
jmp 0x101145a0
cmp byte [ebx + 0x1c], 0
jne 0x101145a3
lea eax, [esi - 1]
cmp ecx, eax
je 0x1011423e
cmp edi, esi
jae 0x101145a3
cmp edx, dword [ebx + 0x38]
je 0x101145a3
movss xmm6, dword [ebx + 0xc]
movss xmm7, dword [ebx + 0x10]
movss xmm3, dword [ebx]
movss xmm4, dword [ebx + 4]
subss xmm3, xmm6
movss xmm0, dword [ebx + 0x14]
subss xmm4, xmm7
movss xmm5, dword [ebx + 8]
subss xmm5, xmm0
movss dword [ebp - 0x1c], xmm0
movss dword [ebp - 0x28], xmm6
movaps xmm1, xmm3
movss dword [ebp - 0x2c], xmm7
movaps xmm0, xmm4
mulss xmm1, xmm3
mulss xmm0, xmm4
addss xmm0, xmm1
movaps xmm1, xmm5
mulss xmm1, xmm5
addss xmm0, xmm1
call fcn.10023690
movaps xmm2, xmm0
movaps xmm1, xmm3
addss xmm2, dword [0x1012d570]
movaps xmm0, xmm4
mulss xmm1, xmm3
mulss xmm0, xmm4
addss xmm0, xmm1
movaps xmm1, xmm5
mulss xmm1, xmm5
addss xmm0, xmm1
call fcn.10023690
divss xmm3, xmm2
mov dword [ebp - 0x44], 0x95d6c1d7
mov eax, 0x10
mov dword [ebp - 0x40], 0xd0c9d28a
mov byte [ebp - 0x3c], 0xa4
divss xmm4, xmm2
divss xmm5, xmm2
mulss xmm3, xmm0
mulss xmm4, xmm0
mulss xmm5, xmm0
addss xmm3, xmm6
movaps xmm0, xmmword [0x1012e130]
addss xmm4, xmm7
xorps xmm0, xmmword [0x1012e460]
addss xmm5, dword [ebp - 0x1c]
movss dword [ebp - 0x30], xmm3
movups xmmword [ebp - 0x54], xmm0
movss dword [ebp - 0x34], xmm4
movss dword [ebp - 0x38], xmm5
xor byte [ebp + eax - 0x54], 0xa4
inc eax
cmp eax, 0x19
jb 0x10114322
mov ecx, dword [0x101835ec]
lea edx, [ebp - 0x54]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
movaps xmm0, xmmword [0x1012e460]
xorps xmm0, xmmword [0x1012e130]
mov dword [ebp - 0x18], eax
mov eax, 0x10
mov dword [ebp - 0x44], 0x95d6c1d7
mov dword [ebp - 0x40], 0xd0c9d28a
mov byte [ebp - 0x3c], 0xa4
movups xmmword [ebp - 0x54], xmm0
nop word [eax + eax]
xor byte [ebp + eax - 0x54], 0xa4
inc eax
cmp eax, 0x19
jb 0x10114370
cmp byte [ebx + 0x1d], 0
movss xmm0, dword [0x101431b0]
movss dword [ebp - 0x24], xmm0
jne 0x1011439c
movzx edx, word [0x1014308a]
mov eax, dword [0x10143088]
jmp 0x101143a8
movzx edx, word [0x1014312a]
mov eax, dword [0x10143128]
mov ecx, eax
movzx edi, dl
shr ecx, 8
movzx eax, al
movzx esi, cl
mov ecx, dword [0x10183640]
push 1
mov dword [ebp - 0x20], eax
call dword [0x10183724]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x10114598
mov ecx, dword [0x10183610]
mov edx, dword [ebp - 0x18]
mov ecx, dword [ecx + 0x10]
mov dword [eax + 0xc8], ecx
test edx, edx
js 0x10114598
mov ecx, dword [0x101835ec]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov edx, eax
test edx, edx
je 0x10114541
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
push edx
mov dword [eax + 0x30], 0
mov dword [eax + 0x150], ecx
mov dword [eax + 0x154], 0xffffffff
mov dword [eax + 0x158], 0
mov dword [eax + 0xf8], 0
mov dword [eax + 0xf4], 0
mov ecx, dword [0x101835ec]
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
call eax
mov edx, dword [ebp - 0x10]
movss xmm1, dword [ebp - 0x24]
movss xmm2, dword [ebp - 0x38]
movss xmm3, dword [ebp - 0x28]
mov dword [edx + 0x15c], eax
mov eax, dword [0x10183610]
movss xmm4, dword [ebp - 0x2c]
movss xmm5, dword [ebp - 0x1c]
movss xmm0, dword [eax + 0x10]
mulss xmm0, dword [0x1012d64c]
movss dword [edx + 0xc4], xmm0
movaps xmm0, xmm1
mov eax, dword [0x10183610]
addss xmm0, dword [eax + 0x10]
mov dword [edx + 0xd8], 0
mov dword [edx + 0x34], 0
movss dword [edx + 0xdc], xmm1
movss xmm1, dword [ebp - 0x34]
movss dword [edx + 0xc8], xmm0
movss xmm0, dword [ebp - 0x30]
movss dword [edx + 0x48], xmm0
subss xmm0, xmm3
movss dword [edx + 0x4c], xmm1
subss xmm1, xmm4
movss dword [edx + 0x50], xmm2
subss xmm2, xmm5
movss dword [edx + 0x3c], xmm3
movss dword [edx + 0x40], xmm4
movss dword [edx + 0x44], xmm5
movss dword [edx + 0xb4], xmm0
movss dword [edx + 0xb8], xmm1
movss dword [edx + 0xbc], xmm2
mov dword [edx + 0xcc], 0x40000000
mov dword [edx + 0xd0], 0x40000000
mov dword [edx + 0xd4], 0
mov dword [edx + 0xec], 0x437f0000
mov dword [edx + 0xf0], 0x3f000000
mov dword [edx + 0xfc], 2
jmp 0x10114544
mov edx, dword [ebp - 0x10]
movd xmm0, dword [ebp - 0x20]
cvtdq2ps xmm0, xmm0
mov dword [edx + 0xf8], 0
mov dword [edx + 0xf4], 0
push edx
movss dword [edx + 0xe0], xmm0
movd xmm0, esi
cvtdq2ps xmm0, xmm0
movss dword [edx + 0xe4], xmm0
movd xmm0, edi
cvtdq2ps xmm0, xmm0
movss dword [edx + 0xe8], xmm0
mov ecx, dword [0x10183640]
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
mov byte [ebx + 0x1c], 1
mov ecx, dword [ebp - 8]
movss xmm2, dword [ebp - 0x14]
mov esi, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
test ecx, ecx
jne 0x10114170
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret