Function at 0x100dfd90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
cmp dword [0x100fc0a4], 0
push ebx
push esi
push edi
je 0x100e0324
cmp byte [0x10103e8c], 0
je 0x100e0324
cmp byte [0x10103f14], 0
je 0x100e0324
cmp byte [0x100fc0a8], 0
jne 0x100dfde6
mov eax, dword [0x1012c638]
cmp eax, dword [0x1012c63c]
je 0x100e0324
mov dword [0x1012c63c], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x1012c63c]
mov eax, 0x38e38e39
sub ecx, dword [0x1012c638]
imul ecx
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov dword [ebp - 0x1c], ecx
je 0x100e0324
lea ebx, [ecx + ecx*8]
mov eax, ecx
shl ebx, 2
mov edi, dword [0x1012c638]
sub ebx, 0x24
mov dword [ebp - 0x10], eax
dec eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], ebx
add edi, ebx
je 0x100e0319
mov ecx, dword [0x1012b954]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov esi, eax
movzx eax, byte [edi + 0x21]
mov dword [ebp - 0x14], eax
cmp eax, esi
je 0x100dfe55
mov ecx, dword [0x1012b9b4]
movss xmm0, dword [ecx]
jmp 0x100dfe7f
mov ecx, dword [0x1012bbe4]
mov eax, dword [0x100fc0a4]
add ecx, 0xffffffc2
xor ecx, 0x418206e0
movd xmm0, dword [ecx + eax]
mov ecx, dword [0x1012b9b4]
mov eax, dword [ebp - 0x14]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [ecx + 0x20]
mov edx, dword [edi + 0x1c]
movd xmm1, edx
cvtdq2ps xmm1, xmm1
mulss xmm1, dword [ecx + 0x20]
subss xmm0, xmm1
call fcn.10037b50
comiss xmm0, dword [0x101041d8]
jbe 0x100dff21
mov edi, dword [0x1012c638]
add edi, ebx
mov ebx, dword [0x1012c63c]
lea esi, [edi + 0x24]
cmp esi, ebx
je 0x100dff13
lea ecx, [edi + 0xc]
lea edx, [esi + 0xc]
nop
mov eax, dword [esi]
lea edi, [edi + 0x24]
mov dword [edi - 0x24], eax
lea ecx, [ecx + 0x24]
mov eax, dword [edx - 8]
lea edx, [edx + 0x24]
mov dword [ecx - 0x2c], eax
add esi, 0x24
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
mov eax, dword [edx - 0x18]
mov dword [ecx - 0x18], eax
mov eax, dword [edx - 0x14]
mov dword [ecx - 0x14], eax
movzx eax, byte [edx - 0x10]
mov byte [ecx - 0x10], al
movzx eax, byte [edx - 0xf]
mov byte [ecx - 0xf], al
cmp esi, ebx
jne 0x100dfec0
mov ebx, dword [0x1012c63c]
sub ebx, 0x24
mov dword [0x1012c63c], ebx
jmp 0x100e0316
cmp byte [edi + 0x20], 0
jne 0x100e0319
cmp eax, esi
jne 0x100dff52
mov ecx, dword [ebp - 0x1c]
lea eax, [ecx - 1]
cmp dword [ebp - 0x18], eax
je 0x100dff52
cmp dword [ebp - 0x10], ecx
jae 0x100e0319
mov eax, dword [0x1012c638]
cmp edx, dword [eax + ebx + 0x40]
je 0x100e0319
movss xmm6, dword [edi + 0x10]
movss xmm7, dword [edi + 0x14]
movss xmm2, dword [edi + 4]
movss xmm3, dword [edi + 8]
subss xmm2, xmm6
movss xmm0, dword [edi + 0x18]
subss xmm3, xmm7
movss xmm4, dword [edi + 0xc]
subss xmm4, xmm0
movss dword [ebp - 0xc], xmm0
movss dword [ebp - 0x28], xmm6
movaps xmm1, xmm2
movss dword [ebp - 0x2c], xmm7
movaps xmm0, xmm3
mulss xmm1, xmm2
mulss xmm0, xmm3
addss xmm0, xmm1
movaps xmm1, xmm4
mulss xmm1, xmm4
addss xmm0, xmm1
call fcn.100298f0
addss xmm0, dword [0x100f111c]
movss xmm5, dword [0x100f1220]
movaps xmm1, xmm2
mulss xmm1, xmm2
divss xmm5, xmm0
movaps xmm0, xmm3
mulss xmm0, xmm3
addss xmm0, xmm1
movaps xmm1, xmm4
mulss xmm1, xmm4
addss xmm0, xmm1
call fcn.100298f0
movaps xmm1, xmm5
mov dword [ebp - 0x44], 0x1f5c4b5d
mulss xmm1, xmm2
mov eax, 0x10
mov dword [ebp - 0x40], 0x5a435800
mov byte [ebp - 0x3c], 0x2e
mulss xmm1, xmm0
addss xmm1, xmm6
movss dword [ebp - 0x30], xmm1
movaps xmm1, xmm5
mulss xmm1, xmm3
mulss xmm5, xmm4
mulss xmm1, xmm0
mulss xmm5, xmm0
movaps xmm0, xmmword [0x100f1fc0]
addss xmm1, xmm7
xorps xmm0, xmmword [0x100f1a20]
addss xmm5, dword [ebp - 0xc]
movups xmmword [ebp - 0x54], xmm0
movss dword [ebp - 0x34], xmm1
movss dword [ebp - 0x38], xmm5
xor byte [ebp + eax - 0x54], 0x2e
inc eax
cmp eax, 0x19
jb 0x100e0046
mov ecx, dword [0x1012b98c]
lea edx, [ebp - 0x54]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
movaps xmm0, xmmword [0x100f1fc0]
xorps xmm0, xmmword [0x100f1a20]
mov dword [ebp - 0x20], eax
mov eax, 0x10
mov dword [ebp - 0x44], 0x1f5c4b5d
mov dword [ebp - 0x40], 0x5a435800
mov byte [ebp - 0x3c], 0x2e
movups xmmword [ebp - 0x54], xmm0
nop
xor byte [ebp + eax - 0x54], 0x2e
inc eax
cmp eax, 0x19
jb 0x100e0090
cmp byte [edi + 0x21], 0
movss xmm0, dword [0x101041d8]
movss dword [ebp - 0x24], xmm0
jne 0x100e00bf
movzx eax, word [0x101040d2]
mov dword [ebp - 8], eax
mov eax, dword [0x101040d0]
jmp 0x100e00ce
movzx eax, word [0x10104162]
mov dword [ebp - 8], eax
mov eax, dword [0x10104160]
mov ecx, dword [0x1012b954]
mov ebx, eax
movzx esi, al
shr ebx, 8
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov ecx, dword [ebp - 8]
movzx ecx, cl
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movzx ecx, bl
movss dword [ebp - 0x14], xmm0
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x10], xmm0
movd xmm0, esi
cvtdq2ps xmm0, xmm0
movss dword [ebp - 8], xmm0
cmp dword [edi], eax
je 0x100e014d
mov eax, dword [0x10103fb8]
movzx ecx, al
shr eax, 8
movzx eax, al
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movss dword [ebp - 8], xmm0
movd xmm0, eax
movzx eax, byte [0x10103fba]
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x10], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x14], xmm0
mov ecx, dword [0x1012b9e4]
push 1
call dword [0x1012baf4]
mov esi, eax
test esi, esi
je 0x100e0316
mov ecx, dword [0x1012b9b4]
mov ebx, dword [ebp - 0x20]
mov ecx, dword [ecx + 0x10]
mov dword [esi + 0xc8], ecx
test ebx, ebx
js 0x100e0316
mov ecx, dword [0x1012b98c]
push ebx
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov edx, eax
test edx, edx
je 0x100e02c9
mov dword [esi + 0x30], 0
mov dword [esi + 0x150], ebx
mov dword [esi + 0x154], 0xffffffff
mov dword [esi + 0x158], 0
mov dword [esi + 0xf8], 0
mov dword [esi + 0xf4], 0
mov ecx, dword [0x1012b98c]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
call eax
movss xmm1, dword [ebp - 0x24]
movss xmm2, dword [ebp - 0x34]
movss xmm3, dword [ebp - 0x28]
movss xmm4, dword [ebp - 0x2c]
movss xmm5, dword [ebp - 0xc]
mov dword [esi + 0x15c], eax
mov eax, dword [0x1012b9b4]
movss xmm0, dword [eax + 0x10]
mulss xmm0, dword [0x100f11cc]
movss dword [esi + 0xc4], xmm0
movaps xmm0, xmm1
mov eax, dword [0x1012b9b4]
addss xmm0, dword [eax + 0x10]
mov dword [esi + 0xd8], 0
mov dword [esi + 0x34], 0
movss dword [esi + 0xdc], xmm1
movss xmm1, dword [ebp - 0x30]
movss dword [esi + 0xc8], xmm0
movss xmm0, dword [ebp - 0x38]
movss dword [esi + 0x48], xmm1
subss xmm1, xmm3
movss dword [esi + 0x4c], xmm2
subss xmm2, xmm4
movss dword [esi + 0x50], xmm0
subss xmm0, xmm5
movss dword [esi + 0x3c], xmm3
movss dword [esi + 0x40], xmm4
movss dword [esi + 0x44], xmm5
movss dword [esi + 0xb4], xmm1
movss dword [esi + 0xb8], xmm2
movss dword [esi + 0xbc], xmm0
mov dword [esi + 0xcc], 0x40000000
mov dword [esi + 0xd0], 0x40000000
mov dword [esi + 0xd4], 0
mov dword [esi + 0xec], 0x437f0000
mov dword [esi + 0xf0], 0x3f000000
mov dword [esi + 0xfc], 2
movss xmm0, dword [ebp - 8]
movss dword [esi + 0xe0], xmm0
movss xmm0, dword [ebp - 0x10]
movss dword [esi + 0xe4], xmm0
movss xmm0, dword [ebp - 0x14]
mov dword [esi + 0xf8], 0
mov dword [esi + 0xf4], 0
movss dword [esi + 0xe8], xmm0
mov ecx, dword [0x1012b9e4]
push esi
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
mov byte [edi + 0x20], 1
mov ebx, dword [ebp - 4]
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x100dfe14
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret