Function at 0x10130af4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x101be6ec]
sub esp, 0x80
cmp byte [eax + 0x13], 0
push ebx
push esi
push edi
je 0x10130c5c
mov eax, dword [0x101be6c0]
mov edi, dword [eax + 0x10]
mov ecx, dword [eax + 0x1c]
mov edx, dword [edi]
mov eax, dword [ecx]
mov esi, dword [edx + 0xc]
call dword [eax + 0x30]
push eax
mov ecx, edi
call esi
mov ecx, dword [0x101be6c0]
mov edi, dword [ecx + 0x10]
mov ecx, eax
mov edx, dword [edi]
mov esi, dword [edx + 0x10]
call fcn.10049740
mov ecx, edi
push dword [eax]
call esi
test eax, eax
je 0x10130c5c
mov eax, dword [0x101be6c0]
mov edi, dword [eax + 0x10]
mov ecx, dword [eax + 0x1c]
mov edx, dword [edi]
mov eax, dword [ecx]
mov esi, dword [edx + 0xc]
call dword [eax + 0x30]
push eax
mov ecx, edi
call esi
mov esi, dword [ebp + 8]
push eax
mov ecx, dword [esi]
mov edx, dword [ecx + 0x114]
mov ecx, esi
call edx
test al, al
jne 0x10130c5c
mov ecx, dword [0x101be6bc]
mov ecx, dword [ecx + 4]
call fcn.100d2140
imul edx, eax, 0x74
mov eax, dword [0x101be6f8]
cmp byte [edx + eax + 0x15], 0
jne 0x10130957
mov eax, dword [0x101be6bc]
mov eax, dword [eax + 4]
mov byte [eax], 0
mov eax, dword [0x101be6f8]
mov ecx, dword [0x101be6bc]
mov ecx, dword [ecx + 4]
cmp byte [ecx], 0
lea ecx, [edx + 0x16]
jne 0x1013096b
lea ecx, [edx + 0xc]
add ecx, eax
xor ebx, ebx
mov eax, dword [ecx]
mov dword [ebp - 0x10], eax
mov ax, word [ecx + 4]
mov word [ebp - 0xc], ax
mov al, byte [ebp - 0xd]
nop
test al, al
je 0x10130988
test ebx, ebx
je 0x101309cf
cmp byte [ebp - 0xb], 0
je 0x10130998
cmp ebx, 1
jb 0x10130998
cmp ebx, 8
jbe 0x101309cf
cmp byte [ebp - 0xe], 0
je 0x101309a3
cmp ebx, 9
je 0x101309cf
cmp byte [ebp - 0xf], 0
je 0x101309ae
cmp ebx, 0xa
je 0x101309cf
cmp byte [ebp - 0x10], 0
je 0x101309b9
cmp ebx, 0xc
je 0x101309cf
cmp byte [ebp - 0xc], 0
je 0x10130b5e
lea eax, [ebx - 0xd]
cmp eax, 5
ja 0x10130b5b
mov eax, dword [0x101be6bc]
lea ecx, [ebp - 0x3c]
push esi
push ebx
push ecx
mov ecx, dword [eax + 4]
call fcn.100d2590
mov edx, dword [ebp - 0x3c]
mov esi, edx
mov dword [ebp - 8], edx
cmp esi, dword [ebp - 0x38]
je 0x10130b03
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x44], 0
push eax
mov eax, dword [esi]
sub esp, 0xc
mov ecx, esp
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x4c], 0
mov dword [ecx], eax
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov dword [ecx + 8], eax
call fcn.1012fc50
test al, al
je 0x10130af4
mov eax, dword [0x101be6bc]
movss xmm4, dword [0x101afc38]
movss xmm0, dword [ebp - 0x48]
movss xmm1, dword [ebp - 0x4c]
movaps xmm3, xmm0
mov eax, dword [eax + 0x18]
subss xmm0, xmm4
movaps xmm2, xmm1
addss xmm3, xmm4
subss xmm1, xmm4
addss xmm2, xmm4
movss xmm4, dword [0x101afbec]
mov edi, dword [eax + 0x18]
mov ecx, edi
addss xmm0, xmm4
push 0xf
addss xmm1, xmm4
test byte [edi + 0x24], 1
je 0x10130aa0
subss xmm2, xmm4
movss dword [ebp - 0x20], xmm1
subss xmm3, xmm4
movss dword [ebp - 0x1c], xmm0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
movss dword [ebp - 0x18], xmm2
movss dword [ebp - 0x14], xmm3
jmp 0x10130acb
subss xmm2, dword [0x101afbe8]
subss xmm3, dword [0x101afbe8]
lea eax, [ebp - 0x28]
movss dword [ebp - 0x30], xmm1
push eax
movss dword [ebp - 0x2c], xmm0
lea eax, [ebp - 0x30]
movss dword [ebp - 0x28], xmm2
movss dword [ebp - 0x24], xmm3
push eax
xorps xmm3, xmm3
call fcn.100fa600
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push 1
push 0xffffffffffffffff
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.10105400
mov dword [edi + 0x54], 0
add esi, 0xc
cmp esi, dword [ebp - 0x38]
jne 0x101309f3
mov edx, dword [ebp - 8]
test edx, edx
je 0x10130b58
mov eax, dword [ebp - 0x34]
sub eax, edx
sar eax, 2
imul eax, eax, 0xaaaaaaab
lea ecx, [eax + eax*2]
mov eax, edx
shl ecx, 2
cmp ecx, 0x1000
jb 0x10130b39
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10130c65
push ecx
push edx
call fcn.1007739f
add esp, 8
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov esi, dword [ebp + 8]
mov al, byte [ebp - 0xd]
inc ebx
cmp ebx, 0x12
jle 0x10130980
mov eax, dword [0x101be6bc]
lea ecx, [ebp - 0x80]
push ecx
mov ecx, dword [eax + 4]
call fcn.100d22b0
cmp dword [ebp - 0x80], 0
je 0x10130c5c
cmp byte [ebp - 0x4f], 0
je 0x10130c5c
mov eax, dword [0x101be6bc]
lea ecx, [ebp - 0x80]
push ecx
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x48], 0
mov ecx, dword [eax + 4]
mov dword [ebp - 0x4c], 0
call fcn.100d22b0
movss xmm0, dword [eax + 0xc]
movss xmm1, dword [eax + 0x10]
movss xmm2, dword [eax + 0x14]
lea eax, [ebp - 0x4c]
push eax
sub esp, 0xc
mov eax, esp
movss dword [eax], xmm0
movss dword [eax + 4], xmm1
movss dword [eax + 8], xmm2
call fcn.1012fc50
test al, al
je 0x10130c5c
movaps xmm0, xmmword [0x101b0b10]
movss xmm2, dword [ebp - 0x4c]
movss xmm3, dword [0x101afc78]
movss xmm1, dword [ebp - 0x48]
movups xmmword [ebp - 0x40], xmm0
push ecx
movaps xmm0, xmm2
subss xmm2, xmm3
addss xmm0, xmm3
mov dword [esp], 0x3f800000
push 0xf
push ecx
lea ecx, [ebp - 0x40]
mov dword [esp], 0
movss dword [ebp - 0x28], xmm2
movss dword [ebp - 0x30], xmm0
movaps xmm0, xmm1
addss xmm0, xmm3
subss xmm1, xmm3
movss dword [ebp - 0x2c], xmm0
movss dword [ebp - 0x24], xmm1
call fcn.100f0840
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x28]
push eax
mov eax, dword [0x101be6bc]
mov ecx, dword [eax + 0x18]
mov ecx, dword [ecx + 0x18]
call fcn.10106380
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.10084c47
int3