Function at 0x100bf510
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x58
call fcn.100c8250
mov eax, dword [0x10158f9c]
xor eax, esp
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x70]
push ebx
mov ebx, dword [esp + 0x60]
push ebp
mov ebp, dword [esp + 0x74]
push esi
mov esi, dword [esp + 0x6c]
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x10], ebx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
push edi
mov edi, dword [esp + 0x74]
cmp ebx, esi
je 0x100bf5ae
cmp edi, 0x10
jb 0x100bf5a0
mov eax, edi
shr eax, 4
mov dword [esp + 0x10], eax
push ecx
push esi
push ebx
call edx
mov eax, dword [ebp]
add esp, 0xc
xor dword [esi], eax
sub edi, 0x10
mov eax, dword [ebp + 4]
xor dword [esi + 4], eax
mov eax, dword [ebp + 8]
xor dword [esi + 8], eax
mov eax, dword [ebp + 0xc]
mov ebp, ebx
xor dword [esi + 0xc], eax
add ebx, 0x10
mov ecx, dword [esp + 0x20]
add esi, 0x10
sub dword [esp + 0x10], 1
mov edx, dword [esp + 0x24]
jne 0x100bf563
mov dword [esp + 0x14], ebx
movups xmm0, xmmword [ebp]
mov ebp, dword [esp + 0x30]
movups xmmword [ebp], xmm0
jmp 0x100bf626
cmp edi, 0x10
jb 0x100bf626
mov eax, edi
shr eax, 4
mov dword [esp + 0x10], eax
nop dword [eax]
push ecx
lea eax, [esp + 0x58]
push eax
push ebx
call edx
mov ecx, dword [ebx]
add esp, 0xc
mov eax, dword [ebp]
sub edi, 0x10
xor eax, dword [esp + 0x54]
mov edx, dword [esp + 0x24]
mov dword [esi], eax
mov eax, dword [ebp + 4]
xor eax, dword [esp + 0x58]
mov dword [ebp], ecx
mov ecx, dword [ebx + 4]
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
xor eax, dword [esp + 0x5c]
mov dword [ebp + 4], ecx
mov ecx, dword [ebx + 8]
mov dword [esi + 8], eax
mov eax, dword [ebp + 0xc]
xor eax, dword [esp + 0x60]
mov dword [ebp + 8], ecx
mov ecx, dword [ebx + 0xc]
add ebx, 0x10
mov dword [esi + 0xc], eax
add esi, 0x10
sub dword [esp + 0x10], 1
mov dword [ebp + 0xc], ecx
mov ecx, dword [esp + 0x20]
jne 0x100bf5c0
mov dword [esp + 0x14], ebx
test edi, edi
je 0x100bf7de
lea eax, [ebp + 1]
mov dword [esp + 0x38], eax
lea eax, [esp + 0x54]
sub eax, ebp
mov dword [esp + 0x40], eax
mov eax, 1
sub eax, ebp
mov dword [esp + 0x44], eax
lea eax, [esp + 0x55]
sub eax, ebp
mov dword [esp + 0x48], eax
mov eax, 2
sub eax, ebp
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x56]
sub eax, ebp
mov dword [esp + 0x50], eax
lea eax, [esp + 0x54]
sub eax, ebx
mov dword [esp + 0x10], eax
mov eax, esi
sub eax, ebp
mov dword [esp + 0x1c], eax
lea eax, [ebp + 2]
mov dword [esp + 0x34], eax
push dword [esp + 0x20]
lea eax, [esp + 0x58]
push eax
push ebx
call dword [esp + 0x30]
mov eax, dword [esp + 0x28]
mov edx, ebx
add eax, dword [esp + 0x40]
add esp, 0xc
xor ebp, ebp
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x38]
sub edx, esi
mov dword [esp + 0x2c], edx
mov ecx, ebx
mov edx, esi
mov dword [esp + 0x28], ecx
not edx
mov dword [esp + 0x3c], edx
nop dword [eax + eax]
cmp ebp, edi
jae 0x100bf779
mov dl, byte [ecx]
mov ebx, dword [esp + 0x10]
mov cl, byte [ecx + ebx]
xor cl, byte [eax - 1]
mov ebx, dword [esp + 0x18]
mov byte [ebx - 2], cl
mov ecx, dword [esp + 0x3c]
add ecx, ebx
mov byte [eax - 1], dl
cmp ecx, edi
jae 0x100bf778
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x2c]
add edx, eax
mov bl, byte [edx + ecx]
mov ecx, dword [esp + 0x40]
mov cl, byte [ecx + eax]
xor cl, byte [eax]
mov byte [edx], cl
mov ecx, dword [esp + 0x44]
add ecx, eax
mov byte [eax], bl
cmp ecx, edi
jae 0x100bf773
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x2c]
mov dl, byte [ebx + ecx]
mov ecx, dword [esp + 0x48]
mov cl, byte [ecx + eax]
xor cl, byte [eax + 1]
mov byte [ebx], cl
mov ecx, dword [esp + 0x4c]
add ecx, eax
mov byte [eax + 1], dl
cmp ecx, edi
jae 0x100bf76e
mov ecx, dword [esp + 0x28]
add ebp, 4
mov dl, byte [ecx + 3]
mov ecx, dword [esp + 0x50]
mov cl, byte [ecx + eax]
xor cl, byte [eax + 2]
mov byte [ebx + 1], cl
add ebx, 4
mov ecx, dword [esp + 0x28]
mov byte [eax + 2], dl
add ecx, 4
add eax, 4
mov dword [esp + 0x28], ecx
mov dword [esp + 0x18], ebx
cmp ebp, 0x10
jb 0x100bf6c0
jmp 0x100bf779
add ebp, 3
jmp 0x100bf779
add ebp, 2
jmp 0x100bf779
inc ebp
cmp edi, 0x10
jbe 0x100bf7b2
mov ebx, dword [esp + 0x14]
add esi, 0x10
add dword [esp + 0x1c], 0x10
add ebx, 0x10
sub dword [esp + 0x10], 0x10
mov dword [esp + 0x14], ebx
sub edi, 0x10
jne 0x100bf682
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.100c7413
add esp, 0x58
ret
cmp ebp, 0x10
jae 0x100bf7de
mov eax, dword [esp + 0x30]
mov edx, 0x10
mov ebx, dword [esp + 0x14]
sub ebx, eax
sub edx, ebp
lea ecx, [eax + ebp]
nop dword [eax + eax]
mov al, byte [ebx + ecx]
lea ecx, [ecx + 1]
mov byte [ecx - 1], al
sub edx, 1
jne 0x100bf7d0
mov ecx, dword [esp + 0x64]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100c7413
add esp, 0x58
ret