Function at 0x100bac20
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [esi + 0x160]
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [ebp - 4], edi
mov dword [esi + 0x174], 0
mov dword [esi + 0x170], 0
cmp ebx, 0xc
jne 0x100bacc1
mov eax, dword [ebp + 0x10]
lea edi, [ebx - 0xb]
movq xmm0, qword [eax]
movq qword [esi], xmm0
mov eax, dword [eax + 8]
mov dword [esi + 8], eax
mov byte [esi + 0xf], 1
jmp 0x100bae20
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x10], ebx
cmp ebx, 0x10
jb 0x100bad35
mov edi, ecx
mov dword [ebp + 0x14], ecx
mov eax, ebx
lea edx, [esi + 0xf]
sub edi, esi
shr eax, 4
mov dword [ebp - 8], eax
nop
lea eax, [edi + edx]
cmp esi, eax
ja 0x100bad02
cmp edx, ecx
jb 0x100bad02
mov eax, esi
mov edx, 0x10
mov cl, byte [edi + eax]
lea eax, [eax + 1]
xor byte [eax - 1], cl
sub edx, 1
jne 0x100bacf2
jmp 0x100bad0f
movups xmm1, xmmword [esi]
movups xmm0, xmmword [ecx]
pxor xmm1, xmm0
movups xmmword [esi], xmm1
lea eax, [esi + 0x60]
push eax
push esi
call dword [ebp - 4]
mov ecx, dword [ebp + 0x14]
lea edx, [esi + 0xf]
add ecx, 0x10
add esp, 8
add edi, 0x10
mov dword [ebp + 0x14], ecx
sub ebx, 0x10
sub dword [ebp - 8], 1
jne 0x100bace0
mov edi, dword [ebp - 4]
test ebx, ebx
je 0x100badfb
xor edi, edi
test ebx, ebx
je 0x100badee
cmp ebx, 0x40
jb 0x100badd9
lea eax, [ecx - 1]
lea edx, [esi - 1]
add eax, ebx
add edx, ebx
cmp esi, eax
ja 0x100bad62
cmp edx, ecx
jae 0x100badd9
lea edx, [ecx + 0x30]
mov eax, ebx
mov dword [ebp + 0x14], edx
and eax, 0xffffffc0
mov edx, ecx
mov dword [ebp - 0xc], eax
sub edx, esi
lea eax, [esi + 0x10]
mov dword [ebp - 8], edx
mov edx, dword [ebp + 0x14]
mov esi, dword [ebp - 8]
movups xmm0, xmmword [eax - 0x10]
add edi, 0x40
lea edx, [edx + 0x40]
lea eax, [eax + 0x40]
movups xmm1, xmmword [edx - 0x70]
pxor xmm1, xmm0
movups xmmword [eax - 0x50], xmm1
movups xmm0, xmmword [eax - 0x40]
movups xmm1, xmmword [eax + esi - 0x40]
pxor xmm1, xmm0
movups xmmword [eax - 0x40], xmm1
movups xmm0, xmmword [eax - 0x30]
movups xmm1, xmmword [edx - 0x50]
pxor xmm1, xmm0
movups xmm0, xmmword [edx - 0x40]
movups xmmword [eax - 0x30], xmm1
movups xmm1, xmmword [eax - 0x20]
pxor xmm1, xmm0
movups xmmword [eax - 0x20], xmm1
cmp edi, dword [ebp - 0xc]
jb 0x100bad80
mov esi, dword [ebp + 8]
mov dword [ebp + 0x14], edi
cmp edi, ebx
jae 0x100badee
sub ecx, esi
lea edx, [edi + esi]
sub ebx, edi
mov al, byte [ecx + edx]
lea edx, [edx + 1]
xor byte [edx - 1], al
sub ebx, 1
jne 0x100bade0
mov edi, dword [ebp - 4]
lea eax, [esi + 0x60]
push eax
push esi
call edi
add esp, 8
mov eax, dword [ebp - 0x10]
xor ecx, ecx
shld ecx, eax, 3
shl eax, 3
bswap eax
xor dword [esi + 0xc], eax
lea eax, [esi + 0x60]
push eax
bswap ecx
xor dword [esi + 8], ecx
push esi
call edi
mov edi, dword [esi + 0xc]
add esp, 8
bswap edi
push dword [ebp + 0xc]
lea eax, [esi + 0x20]
push eax
mov eax, dword [esi + 0x168]
push esi
call eax
add esp, 0xc
lea eax, [edi + 1]
bswap eax
mov dword [esi + 0xc], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret