Function at 0x100f18b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x1014d094]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
test ecx, ecx
je 0x100f1b44
test edx, edx
je 0x100f1b44
cmp byte [edx], 1
je 0x100f1b44
movzx eax, byte [ecx]
sub eax, 1
je 0x100f1b1f
sub eax, 1
je 0x100f1af7
sub eax, 1
jne 0x100f1b44
mov eax, dword [ecx + 1]
lea esi, [edx + 0x30]
mov dword [ebp - 0x34], eax
mov eax, dword [ecx + 5]
mov dword [ebp - 0x30], eax
mov eax, dword [ecx + 9]
mov dword [ebp - 0x2c], eax
mov eax, dword [ecx + 0xd]
mov dword [ebp - 0x28], eax
mov al, byte [ebp - 0x26]
mov byte [ebp - 0x23], al
mov al, byte [ebp - 0x27]
mov byte [ebp - 0x22], al
mov al, byte [ebp - 0x28]
mov byte [ebp - 0x21], al
mov al, byte [ebp - 0x29]
mov byte [ebp - 0x20], al
mov al, byte [ebp - 0x2a]
mov byte [ebp - 0x1f], al
mov al, byte [ebp - 0x2b]
mov byte [ebp - 0x1e], al
mov al, byte [ebp - 0x2c]
mov byte [ebp - 0x1d], al
mov al, byte [ebp - 0x2d]
mov byte [ebp - 0x1c], al
mov al, byte [ebp - 0x2e]
mov byte [ebp - 0x1b], al
mov al, byte [ebp - 0x2f]
mov byte [ebp - 0x1a], al
mov al, byte [ebp - 0x30]
mov byte [ebp - 0x19], al
mov al, byte [ebp - 0x31]
mov byte [ebp - 0x18], al
mov al, byte [ebp - 0x32]
mov byte [ebp - 0x17], al
mov al, byte [ebp - 0x33]
mov byte [ebp - 0x16], al
mov al, byte [ebp - 0x34]
push ebx
mov bh, byte [ebp - 0x25]
mov dword [ebp - 0x38], 0
mov byte [ebp - 0x15], al
nop
movups xmm0, xmmword [ebp - 0x34]
lea edx, [ebp - 0x14]
push esi
mov ecx, edx
movups xmmword [ebp - 0x14], xmm0
call fcn.100f0ec0
mov eax, dword [ebp - 0x38]
add esp, 4
mov bl, al
shr eax, 3
lea edx, [eax + edi]
and bl, 7
mov al, byte [ebp - 0x14]
mov cl, bl
mov ah, byte [ebp - 0x16]
and al, 0x80
shr al, cl
xor byte [edx], al
mov al, ah
mov cl, byte [ebp - 0x15]
add ah, ah
shr al, 7
add cl, cl
or cl, al
mov dl, byte [edx]
mov byte [ebp - 0x15], cl
mov byte [ebp - 0x34], cl
mov cl, byte [ebp - 0x17]
mov al, cl
add cl, cl
shr al, 7
or ah, al
mov byte [ebp - 0x16], ah
mov byte [ebp - 0x33], ah
mov ah, byte [ebp - 0x18]
mov al, ah
add ah, ah
shr al, 7
or cl, al
mov byte [ebp - 0x17], cl
mov byte [ebp - 0x32], cl
mov cl, byte [ebp - 0x19]
mov al, cl
add cl, cl
shr al, 7
or ah, al
mov byte [ebp - 0x18], ah
mov byte [ebp - 0x31], ah
mov ah, byte [ebp - 0x1a]
mov al, ah
add ah, ah
shr al, 7
or cl, al
mov byte [ebp - 0x19], cl
mov byte [ebp - 0x30], cl
mov cl, byte [ebp - 0x1b]
mov al, cl
add cl, cl
shr al, 7
or ah, al
mov byte [ebp - 0x1a], ah
mov byte [ebp - 0x2f], ah
mov ah, byte [ebp - 0x1c]
mov al, ah
add ah, ah
shr al, 7
or cl, al
mov byte [ebp - 0x1b], cl
mov byte [ebp - 0x2e], cl
mov cl, byte [ebp - 0x1d]
mov al, cl
add cl, cl
shr al, 7
or ah, al
mov byte [ebp - 0x1c], ah
mov byte [ebp - 0x2d], ah
mov ah, byte [ebp - 0x1e]
mov al, ah
shr al, 7
or cl, al
mov byte [ebp - 0x1d], cl
mov byte [ebp - 0x2c], cl
add ah, ah
mov cl, byte [ebp - 0x1f]
mov al, cl
add cl, cl
shr al, 7
or ah, al
mov byte [ebp - 0x1e], ah
mov byte [ebp - 0x2b], ah
mov ah, byte [ebp - 0x20]
mov al, ah
add ah, ah
shr al, 7
or cl, al
mov byte [ebp - 0x1f], cl
mov byte [ebp - 0x2a], cl
mov cl, byte [ebp - 0x21]
mov al, cl
add cl, cl
shr al, 7
or ah, al
mov byte [ebp - 0x20], ah
mov byte [ebp - 0x29], ah
mov ah, byte [ebp - 0x22]
mov al, ah
add ah, ah
shr al, 7
or cl, al
mov byte [ebp - 0x21], cl
mov byte [ebp - 0x28], cl
mov cl, byte [ebp - 0x23]
mov al, cl
add cl, cl
shr al, 7
or ah, al
mov al, bh
shr al, 7
add bh, bh
or cl, al
mov byte [ebp - 0x22], ah
mov byte [ebp - 0x23], cl
mov byte [ebp - 0x26], cl
mov cl, 7
sub cl, bl
mov byte [ebp - 0x27], ah
mov eax, dword [ebp - 0x38]
shr dl, cl
inc eax
and dl, 1
mov dword [ebp - 0x38], eax
or bh, dl
mov byte [ebp - 0x25], bh
cmp eax, 0x80
jl 0x100f1980
pop ebx
pop edi
mov eax, 0x80
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10054437
mov esp, ebp
pop ebp
ret
mov eax, dword [ecx + 1]
xor eax, dword [esi]
mov dword [ebp - 0x14], eax
mov eax, dword [ecx + 5]
xor eax, dword [esi + 4]
mov dword [ebp - 0x10], eax
mov eax, dword [ecx + 9]
xor eax, dword [esi + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ecx + 0xd]
lea ecx, [ebp - 0x14]
xor eax, dword [esi + 0xc]
mov dword [ebp - 8], eax
jmp 0x100f1b21
mov ecx, esi
lea eax, [edx + 0x30]
mov edx, edi
push eax
call fcn.100f0ec0
add esp, 4
mov eax, 0x80
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10054437
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 0xfffffffb
pop edi
xor ecx, ebp
pop esi
call fcn.10054437
mov esp, ebp
pop ebp
ret