Function at 0x100d9690
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x158
mov eax, dword fs:[0x2c]
xorps xmm0, xmm0
push esi
mov esi, dword [0x101e66ac]
push edi
mov edi, edx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], edi
mov eax, dword [eax + esi*4]
mov esi, dword [ebx + 8]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x18], 0
nop word [eax + eax]
addss xmm0, dword [0x1017f200]
push 0x4600400b
push esi
movaps xmm2, xmm0
movss dword [ebp - 0x28], xmm0
mulss xmm2, dword [edi]
movaps xmm1, xmm0
mulss xmm1, dword [edi + 4]
mulss xmm0, dword [edi + 8]
addss xmm2, dword [ecx]
addss xmm1, dword [ecx + 4]
addss xmm0, dword [ecx + 8]
mov ecx, dword [0x101ede18]
unpcklps xmm2, xmm1
movss dword [ebp - 0x144], xmm0
mov eax, dword [ebp - 0x144]
movq qword [esi], xmm2
mov dword [esi + 8], eax
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov ecx, dword [ebp - 0x18]
test ecx, ecx
cmove ecx, eax
mov dword [ebp - 0x18], ecx
test eax, 0x600400b
je 0x100d975f
test eax, 0x40000000
je 0x100d9ab5
cmp eax, ecx
je 0x100d9ab5
movss xmm0, dword [edi]
movss xmm3, dword [0x1017f200]
movss xmm1, dword [edi + 4]
movss xmm2, dword [edi + 8]
mov edi, dword [0x101ede18]
movss xmm4, dword [esi]
mulss xmm0, xmm3
mov dword [ebp - 0xe8], 0
mov eax, dword [edi]
mulss xmm2, xmm3
mov dword [ebp - 0xec], 0
subss xmm4, xmm0
mulss xmm1, xmm3
mov dword [ebp - 0xf0], 0
movss xmm0, dword [esi + 8]
movss xmm3, dword [esi + 4]
subss xmm0, xmm2
mov esi, dword [eax + 0x14]
subss xmm3, xmm1
mov eax, dword [ebx + 8]
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0xdc], 0
movss dword [ebp - 0x38], xmm0
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x58]
unpcklps xmm4, xmm3
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x5c], ecx
lea ecx, [ebp - 0xf0]
push eax
movq qword [ebp - 0x64], xmm4
movq qword [ebp - 0x4c], xmm4
movq qword [ebp - 0x58], xmm0
mov dword [ebp - 0xe0], 0
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xcc], 0
mov dword [ebp - 0xd0], 0
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xc0], 0
call fcn.1000af80
push dword [ebx + 0x10]
mov eax, ecx
mov ecx, edi
push 0
push 0x4600400b
push eax
call esi
mov esi, dword [ebx + 0x10]
mov edx, dword [ebp - 0x14]
push ecx
push esi
mov eax, dword [esi + 0x4c]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x20]
push eax
push ecx
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x20], vtable.trace_filter.0
call fcn.100d8d70
mov al, byte [esi + 0x37]
add esp, 0x10
test al, al
je 0x100d99b9
cmp word [esi + 0x42], 0
jge 0x100d99b9
mov eax, dword [esi + 0x4c]
lea ecx, [ebp - 0x140]
mov edi, dword [0x101ede18]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x138], 0
mov dword [ebp - 0x13c], 0
mov eax, dword [edi]
mov dword [ebp - 0x140], 0
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x12c], 0
mov esi, dword [eax + 0x14]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x130], 0
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x11c], 0
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
mov dword [ebp - 0x68], eax
mov eax, dword [ebx + 8]
movq qword [ebp - 0x70], xmm0
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x108], 0
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x7c]
movq qword [ebp - 0x7c], xmm0
push eax
mov dword [ebp - 0x10c], 0
mov dword [ebp - 0x110], 0
call fcn.1000af80
push dword [ebx + 0x10]
lea eax, [ebp - 0x20]
push eax
mov eax, ecx
mov ecx, edi
push 0x600400b
push eax
call esi
mov esi, dword [ebx + 0x10]
movss xmm0, dword [0x1017f158]
comiss xmm0, dword [esi + 0x2c]
jbe 0x100d9aaf
cmp byte [esi + 0x37], 0
jne 0x100d9aaf
mov ecx, dword [ebx + 8]
movq xmm0, qword [esi + 0xc]
movq qword [ecx], xmm0
mov eax, dword [esi + 0x14]
mov dword [ecx + 8], eax
mov al, 1
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
movss xmm0, dword [0x1017f158]
lea edi, [esi + 0x2c]
comiss xmm0, dword [edi]
jbe 0x100d9a4f
test al, al
jne 0x100d9a4f
test byte [esi + 0x42], 0x80
je 0x100d9a02
mov ecx, dword [esi + 0x4c]
call fcn.1000dda0
test al, al
je 0x100d99f5
mov ecx, dword [ebx + 0xc]
mov ecx, dword [ecx + 0x4c]
call fcn.1000dda0
test al, al
jne 0x100d999c
lea edi, [esi + 0x2c]
mov eax, dword [ebx + 0xc]
test byte [eax + 0x42], 0x80
je 0x100d9aaf
mov ecx, dword [ebp - 4]
movq xmm0, qword [ecx]
mov eax, dword [ecx + 8]
movq qword [ebp - 0x34], xmm0
movss xmm0, dword [ebp - 0x34]
mulss xmm0, dword [esi + 0x18]
mov dword [ebp - 0x2c], eax
movss xmm1, dword [ebp - 0x30]
mulss xmm1, dword [esi + 0x1c]
addss xmm1, xmm0
movss xmm0, dword [ebp - 0x2c]
mulss xmm0, dword [esi + 0x20]
addss xmm1, xmm0
movss xmm0, dword [0x1017f158]
comiss xmm0, xmm1
jae 0x100d9ad3
mov edi, ecx
jmp 0x100d9ab2
mov eax, dword [ebx + 0xc]
mov edi, dword [eax + 0x4c]
test edi, edi
je 0x100d9aaf
mov eax, dword [edi + 8]
lea ecx, [edi + 8]
mov eax, dword [eax + 0x28]
call eax
test eax, eax
je 0x100d9aaf
mov ecx, dword [ebp - 0x24]
mov eax, dword [0x101edf08]
cmp eax, dword [ecx + 4]
jg 0x100d9ba8
mov eax, dword [edi + 8]
lea ecx, [edi + 8]
mov eax, dword [eax + 8]
call eax
mov eax, dword [eax + 8]
cmp byte [eax], 0x43
jne 0x100d9aa2
mov al, byte [eax + 7]
cmp al, 0x74
je 0x100d9b2e
cmp al, 0x62
je 0x100d9b2e
mov eax, dword [0x101edf0c]
mov ecx, edi
call eax
test al, al
jne 0x100d9b2e
mov edi, dword [ebp - 4]
mov esi, dword [ebx + 8]
movss xmm0, dword [ebp - 0x28]
movss xmm1, dword [0x1017f2c4]
comiss xmm1, xmm0
jb 0x100d9b9d
mov ecx, dword [ebp - 0x14]
jmp 0x100d96e0
movss xmm4, dword [edi]
mulss xmm4, dword [0x1017f200]
mov eax, dword [ebx + 8]
movss xmm2, dword [ecx + 4]
movss xmm3, dword [ecx + 8]
movaps xmm1, xmm4
mulss xmm2, xmm4
mulss xmm1, dword [ecx]
movss xmm0, dword [eax]
mulss xmm3, xmm4
subss xmm0, xmm1
movss dword [eax], xmm0
movss xmm0, dword [eax + 4]
subss xmm0, xmm2
movss dword [eax + 4], xmm0
movss xmm0, dword [eax + 8]
subss xmm0, xmm3
movss dword [eax + 8], xmm0
mov al, 1
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebp - 4]
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [esi + 0x10], xmm0
movups xmm0, xmmword [eax + 0x20]
movups xmmword [esi + 0x20], xmm0
movups xmm0, xmmword [eax + 0x30]
movups xmmword [esi + 0x30], xmm0
movups xmm0, xmmword [eax + 0x40]
movups xmmword [esi + 0x40], xmm0
mov eax, dword [eax + 0x50]
mov dword [esi + 0x50], eax
mov eax, dword [ebp - 0x14]
movss xmm2, dword [eax]
movss xmm1, dword [eax + 4]
movss xmm0, dword [eax + 8]
addss xmm2, dword [ecx]
addss xmm1, dword [ecx + 4]
addss xmm0, dword [ecx + 8]
unpcklps xmm2, xmm1
movss dword [ebp - 0x38], xmm0
mov eax, dword [ebp - 0x38]
movq qword [esi + 0xc], xmm2
mov dword [esi + 0x14], eax
mov al, 1
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
pop edi
xor al, al
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push 0x101edf08
call fcn.1006d20f
add esp, 4
cmp dword [0x101edf08], 0xffffffff
jne 0x100d9a7c
movaps xmm0, xmmword [0x10180080]
xor eax, eax
movaps xmm1, xmmword [0x1017fe80]
movups xmmword [ebp - 0x9d], xmm0
mov byte [ebp - 0x7d], 0xd4
movaps xmm0, xmmword [0x10180040]
movups xmmword [ebp - 0x8d], xmm0
jmp 0x100d9bf0
movups xmm0, xmmword [ebp + eax - 0x9d]
xorps xmm0, xmm1
movups xmmword [ebp + eax - 0x9d], xmm0
add eax, 0x10
cmp eax, 0x20
jb 0x100d9bf0
cmp eax, 0x21
jae 0x100d9c22
jmp 0x100d9c12
xor byte [ebp + eax - 0x9d], 0xd4
inc eax
cmp eax, 0x21
jb 0x100d9c12
jmp 0x100d9c22
mov dword [ebp - 0xf], 0xb1bdb8b7
xor eax, eax
mov dword [ebp - 0xb], 0xb0faa0ba
mov word [ebp - 7], 0xb8b8
mov byte [ebp - 5], 0xd4
jmp 0x100d9c40
xor byte [ebp + eax - 0xf], 0xd4
inc eax
cmp eax, 0xb
jb 0x100d9c40
lea edx, [ebp - 0x9d]
lea ecx, [ebp - 0xf]
call fcn.100c52b0
push 0x101edf08
mov dword [0x101edf0c], eax
call fcn.1006d1be
add esp, 4
jmp 0x100d9a7c