Function at 0x100a2d00
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x1fc
call fcn.100c8250
mov eax, dword [0x10158f9c]
xor eax, esp
mov dword [esp + 0x1f8], eax
push ebx
mov ebx, dword [esp + 0x220]
push ebp
mov ebp, dword [esp + 0x210]
push esi
mov esi, dword [esp + 0x20c]
push edi
mov edi, dword [esp + 0x224]
push edi
mov dword [esp + 0x28], ebp
mov dword [esp + 0x20], 1
call fcn.1007eed0
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
js 0x100a3051
lea eax, [esp + 0xf8]
push eax
call fcn.1006b070
add esp, 4
test esi, esi
jne 0x100a2d71
xor ecx, ecx
jmp 0x100a2d8b
mov ecx, dword [esp + 0x214]
cmp ecx, 0xffffffff
jne 0x100a2d8b
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100a2d82
sub ecx, edx
push 0
push edi
push ecx
lea eax, [esp + 0x104]
push esi
push eax
call fcn.1006b180
add esp, 0x14
test eax, eax
je 0x100a3041
mov ecx, dword [esp + 0x228]
test ecx, ecx
je 0x100a300e
mov esi, dword [esp + 0x14]
mov edx, 1
cmp ecx, esi
mov byte [esp + 0x13], dl
mov edi, ecx
mov eax, edx
cmovg edi, esi
shr eax, 0x18
mov byte [esp + 0x10], al
mov eax, edx
shr eax, 0x10
mov byte [esp + 0x11], al
mov eax, edx
shr eax, 8
mov byte [esp + 0x12], al
lea eax, [esp + 0xf8]
push eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x24], edi
push eax
call fcn.1006b000
add esp, 8
test eax, eax
je 0x100a3041
push dword [esp + 0x21c]
lea eax, [esp + 0x2c]
push ebp
push eax
call fcn.1006b3a0
add esp, 0xc
test eax, eax
je 0x100a3025
push 4
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x30]
push eax
call fcn.1006b3a0
add esp, 0xc
test eax, eax
je 0x100a3025
push 0
lea eax, [esp + 0x1cc]
push eax
lea eax, [esp + 0x30]
push eax
call fcn.1006b0d0
add esp, 0xc
test eax, eax
je 0x100a3025
lea eax, [esp + 0x28]
push eax
call fcn.1006afd0
push edi
lea eax, [esp + 0x1d0]
push eax
push ebx
call fcn.100c9030
mov ebp, 1
add esp, 0x10
mov dword [esp + 0x18], ebp
cmp dword [esp + 0x220], ebp
jle 0x100a2fe7
lea eax, [esp + 0xf8]
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.1006b000
add esp, 8
test eax, eax
je 0x100a3041
push esi
lea eax, [esp + 0x1cc]
push eax
lea eax, [esp + 0x30]
push eax
call fcn.1006b3a0
add esp, 0xc
test eax, eax
je 0x100a3025
push 0
lea eax, [esp + 0x1cc]
push eax
lea eax, [esp + 0x30]
push eax
call fcn.1006b0d0
add esp, 0xc
test eax, eax
je 0x100a3025
lea eax, [esp + 0x28]
push eax
call fcn.1006afd0
add esp, 4
xor ecx, ecx
test edi, edi
jle 0x100a2fd5
cmp edi, 0x40
jb 0x100a2fb3
lea edx, [ebx - 1]
lea eax, [esp + edi + 0x1c7]
add edx, edi
cmp ebx, eax
ja 0x100a2f2a
lea eax, [esp + 0x1c8]
cmp edx, eax
jae 0x100a2fb3
mov eax, edi
and eax, 0x8000003f
jns 0x100a2f38
dec eax
or eax, 0xffffffc0
inc eax
mov esi, edi
lea ebp, [esp + 0x1c8]
sub esi, eax
lea edi, [esp + 0x1d8]
sub ebp, ebx
lea eax, [ebx + 0x20]
sub edi, ebx
movups xmm0, xmmword [eax - 0x20]
lea eax, [eax + 0x40]
movups xmm1, xmmword [esp + ecx + 0x1c8]
pxor xmm1, xmm0
movups xmmword [eax - 0x60], xmm1
movups xmm0, xmmword [eax - 0x50]
movups xmm1, xmmword [esp + ecx + 0x1d8]
add ecx, 0x40
mov edx, ecx
pxor xmm1, xmm0
movups xmmword [eax - 0x50], xmm1
movups xmm0, xmmword [eax - 0x40]
movups xmm1, xmmword [eax + ebp - 0x40]
pxor xmm1, xmm0
movups xmmword [eax - 0x40], xmm1
movups xmm0, xmmword [eax - 0x30]
movups xmm1, xmmword [edi + eax - 0x40]
pxor xmm1, xmm0
movups xmmword [eax - 0x30], xmm1
cmp ecx, esi
jl 0x100a2f51
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
cmp edx, edi
jge 0x100a2fd1
lea esi, [esp + 0x1c8]
mov edx, edi
sub esi, ebx
lea eax, [ecx + ebx]
sub edx, ecx
mov cl, byte [eax + esi]
lea eax, [eax + 1]
xor byte [eax - 1], cl
sub edx, 1
jne 0x100a2fc3
mov esi, dword [esp + 0x14]
inc ebp
mov dword [esp + 0x18], ebp
cmp ebp, dword [esp + 0x220]
jl 0x100a2e91
mov ecx, dword [esp + 0x228]
add ebx, edi
mov edx, dword [esp + 0x1c]
sub ecx, edi
mov ebp, dword [esp + 0x24]
inc edx
mov dword [esp + 0x228], ecx
mov dword [esp + 0x1c], edx
test ecx, ecx
jne 0x100a2dc0
lea eax, [esp + 0xf8]
push eax
call fcn.1006afd0
add esp, 4
mov eax, 1
jmp 0x100a3053
lea eax, [esp + 0xf8]
push eax
call fcn.1006afd0
lea eax, [esp + 0x2c]
push eax
call fcn.1006afd0
add esp, 8
jmp 0x100a3051
lea eax, [esp + 0xf8]
push eax
call fcn.1006afd0
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x208]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100c7413
add esp, 0x1fc
ret