Function at 0x100fbac0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x101fd398]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0x24]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x1c]
push edi
mov dword [ebp - 0x1fc], eax
mov dword [ebp - 0x1f8], ebx
mov dword [ebp - 0x1f4], 1
call fcn.100a9f40
add esp, 4
mov dword [ebp - 0x1f0], eax
test eax, eax
js 0x100fbe6b
lea eax, [ebp - 0x1e4]
push eax
call fcn.1010bd90
add esp, 4
test esi, esi
jne 0x100fbb26
xor ecx, ecx
jmp 0x100fbb3c
mov ecx, dword [ebp + 0xc]
cmp ecx, 0xffffffff
jne 0x100fbb3c
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100fbb33
sub ecx, edx
push 0
push edi
push ecx
lea eax, [ebp - 0x1e4]
push esi
push eax
call fcn.1010be90
add esp, 0x14
test eax, eax
je 0x100fbe5c
mov ecx, dword [ebp + 0x20]
test ecx, ecx
je 0x100fbe09
mov edx, 1
nop dword [eax + eax]
cmp ecx, dword [ebp - 0x1f0]
mov edi, ecx
mov eax, edx
mov byte [ebp - 0x1e5], dl
cmovg edi, dword [ebp - 0x1f0]
shr eax, 0x18
mov byte [ebp - 0x1e8], al
mov eax, edx
shr eax, 0x10
mov byte [ebp - 0x1e7], al
mov eax, edx
shr eax, 8
mov byte [ebp - 0x1e6], al
lea eax, [ebp - 0x1e4]
push eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x20c], edi
push eax
call fcn.1010bd10
add esp, 8
test eax, eax
je 0x100fbe5c
push dword [ebp + 0x14]
lea eax, [ebp - 0x114]
push dword [ebp - 0x1fc]
push eax
call fcn.1010c0b0
add esp, 0xc
test eax, eax
je 0x100fbe2e
push 4
lea eax, [ebp - 0x1e8]
push eax
lea eax, [ebp - 0x114]
push eax
call fcn.1010c0b0
add esp, 0xc
test eax, eax
je 0x100fbe2e
push 0
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x114]
push eax
call fcn.1010bdf0
add esp, 0xc
test eax, eax
je 0x100fbe2e
lea eax, [ebp - 0x114]
push eax
call fcn.1010bcd0
push edi
lea eax, [ebp - 0x44]
push eax
push ebx
call fcn.10155e80
mov esi, 1
add esp, 0x10
mov dword [ebp - 0x1ec], esi
cmp dword [ebp + 0x18], esi
jle 0x100fbde4
nop word [eax + eax]
lea eax, [ebp - 0x1e4]
push eax
lea eax, [ebp - 0x114]
push eax
call fcn.1010bd10
add esp, 8
test eax, eax
je 0x100fbe5c
push dword [ebp - 0x1f0]
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x114]
push eax
call fcn.1010c0b0
add esp, 0xc
test eax, eax
je 0x100fbe2e
push 0
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x114]
push eax
call fcn.1010bdf0
add esp, 0xc
test eax, eax
je 0x100fbe2e
lea eax, [ebp - 0x114]
push eax
call fcn.1010bcd0
add esp, 4
xor ecx, ecx
test edi, edi
jle 0x100fbdd4
cmp edi, 0x40
jb 0x100fbdab
lea edx, [ebx - 1]
lea eax, [ebp + edi - 0x45]
add edx, edi
cmp ebx, eax
ja 0x100fbcf6
lea eax, [ebp - 0x44]
cmp edx, eax
jae 0x100fbdab
mov eax, edi
and eax, 0x8000003f
jns 0x100fbd04
dec eax
or eax, 0xffffffc0
inc eax
mov edx, edi
lea esi, [ebp - 0x44]
lea edi, [ebp - 0x34]
sub edx, eax
sub edi, ebx
sub esi, ebx
mov dword [ebp - 0x200], edi
mov eax, ebx
lea edi, [ebp - 0x24]
sub edi, ebx
mov dword [ebp - 0x204], edi
lea edi, [ebp - 0x14]
sub edi, ebx
mov ebx, dword [ebp - 0x200]
mov dword [ebp - 0x208], edi
nop word [eax + eax]
movups xmm0, xmmword [eax]
mov edi, dword [ebp - 0x204]
add ecx, 0x40
lea eax, [eax + 0x40]
movups xmm1, xmmword [esi + eax - 0x40]
pxor xmm1, xmm0
movups xmmword [eax - 0x40], xmm1
movups xmm0, xmmword [eax - 0x30]
movups xmm1, xmmword [ebx + eax - 0x40]
pxor xmm1, xmm0
movups xmmword [eax - 0x30], xmm1
movups xmm0, xmmword [eax - 0x20]
movups xmm1, xmmword [edi + eax - 0x40]
mov edi, dword [ebp - 0x208]
pxor xmm1, xmm0
movups xmmword [eax - 0x20], xmm1
movups xmm1, xmmword [edi + eax - 0x40]
mov edi, dword [ebp - 0x20c]
movups xmm0, xmmword [eax - 0x10]
pxor xmm1, xmm0
movups xmmword [eax - 0x10], xmm1
cmp ecx, edx
jl 0x100fbd40
mov ebx, dword [ebp - 0x1f8]
mov esi, dword [ebp - 0x1ec]
cmp ecx, edi
jge 0x100fbdd4
lea esi, [ebp - 0x44]
mov edx, edi
sub esi, ebx
lea eax, [ecx + ebx]
sub edx, ecx
nop dword [eax + eax]
mov cl, byte [esi + eax]
lea eax, [eax + 1]
xor byte [eax - 1], cl
sub edx, 1
jne 0x100fbdc0
mov esi, dword [ebp - 0x1ec]
inc esi
mov dword [ebp - 0x1ec], esi
cmp esi, dword [ebp + 0x18]
jl 0x100fbc60
mov ecx, dword [ebp + 0x20]
add ebx, edi
mov edx, dword [ebp - 0x1f4]
sub ecx, edi
inc edx
mov dword [ebp + 0x20], ecx
mov dword [ebp - 0x1f4], edx
mov dword [ebp - 0x1f8], ebx
test ecx, ecx
jne 0x100fbb70
lea eax, [ebp - 0x1e4]
push eax
call fcn.1010bcd0
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101534c8
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x1e4]
push eax
call fcn.1010bcd0
lea eax, [ebp - 0x114]
push eax
call fcn.1010bcd0
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101534c8
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x1e4]
push eax
call fcn.1010bcd0
add esp, 4
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.101534c8
mov esp, ebp
pop ebp
ret