Function at 0x100d97f0
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 [0x1017f180]
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 0x100d98bf
test eax, 0x40000000
je 0x100d9c15
cmp eax, ecx
je 0x100d9c15
movss xmm0, dword [edi]
movss xmm3, dword [0x1017f180]
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.100d8ed0
mov al, byte [esi + 0x37]
add esp, 0x10
test al, al
je 0x100d9b19
cmp word [esi + 0x42], 0
jge 0x100d9b19
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 [0x1017f0d8]
comiss xmm0, dword [esi + 0x2c]
jbe 0x100d9c0f
cmp byte [esi + 0x37], 0
jne 0x100d9c0f
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 [0x1017f0d8]
lea edi, [esi + 0x2c]
comiss xmm0, dword [edi]
jbe 0x100d9baf
test al, al
jne 0x100d9baf
test byte [esi + 0x42], 0x80
je 0x100d9b62
mov ecx, dword [esi + 0x4c]
call fcn.1000dda0
test al, al
je 0x100d9b55
mov ecx, dword [ebx + 0xc]
mov ecx, dword [ecx + 0x4c]
call fcn.1000dda0
test al, al
jne 0x100d9afc
lea edi, [esi + 0x2c]
mov eax, dword [ebx + 0xc]
test byte [eax + 0x42], 0x80
je 0x100d9c0f
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 [0x1017f0d8]
comiss xmm0, xmm1
jae 0x100d9c33
mov edi, ecx
jmp 0x100d9c12
mov eax, dword [ebx + 0xc]
mov edi, dword [eax + 0x4c]
test edi, edi
je 0x100d9c0f
mov eax, dword [edi + 8]
lea ecx, [edi + 8]
mov eax, dword [eax + 0x28]
call eax
test eax, eax
je 0x100d9c0f
mov ecx, dword [ebp - 0x24]
mov eax, dword [0x101edf08]
cmp eax, dword [ecx + 4]
jg 0x100d9d08
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 0x100d9c02
mov al, byte [eax + 7]
cmp al, 0x74
je 0x100d9c8e
cmp al, 0x62
je 0x100d9c8e
mov eax, dword [0x101edf0c]
mov ecx, edi
call eax
test al, al
jne 0x100d9c8e
mov edi, dword [ebp - 4]
mov esi, dword [ebx + 8]
movss xmm0, dword [ebp - 0x28]
movss xmm1, dword [0x1017f244]
comiss xmm1, xmm0
jb 0x100d9cfd
mov ecx, dword [ebp - 0x14]
jmp 0x100d9840
movss xmm4, dword [edi]
mulss xmm4, dword [0x1017f180]
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.1006d07f
add esp, 4
cmp dword [0x101edf08], 0xffffffff
jne 0x100d9bdc
movaps xmm0, xmmword [0x1017fc80]
xor eax, eax
movaps xmm1, xmmword [0x1017f9b0]
movups xmmword [ebp - 0x9d], xmm0
mov byte [ebp - 0x7d], 0x84
movaps xmm0, xmmword [0x1017fce0]
movups xmmword [ebp - 0x8d], xmm0
jmp 0x100d9d50
movups xmm0, xmmword [ebp + eax - 0x9d]
xorps xmm0, xmm1
movups xmmword [ebp + eax - 0x9d], xmm0
add eax, 0x10
cmp eax, 0x20
jb 0x100d9d50
cmp eax, 0x21
jae 0x100d9d82
jmp 0x100d9d72
xor byte [ebp + eax - 0x9d], 0x84
inc eax
cmp eax, 0x21
jb 0x100d9d72
jmp 0x100d9d82
mov dword [ebp - 0xf], 0xe1ede8e7
xor eax, eax
mov dword [ebp - 0xb], 0xe0aaf0ea
mov word [ebp - 7], 0xe8e8
mov byte [ebp - 5], 0x84
jmp 0x100d9da0
xor byte [ebp + eax - 0xf], 0x84
inc eax
cmp eax, 0xb
jb 0x100d9da0
lea edx, [ebp - 0x9d]
lea ecx, [ebp - 0xf]
call fcn.100c53f0
push 0x101edf08
mov dword [0x101edf0c], eax
call fcn.1006d02e
add esp, 4
jmp 0x100d9bdc