Function at 0x100f1b60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x1014d094]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x40], ecx
push edi
mov edi, dword [ebp + 0x10]
test esi, esi
je 0x100f1e26
test edx, edx
je 0x100f1e26
mov al, byte [esi]
cmp al, 3
je 0x100f1b9c
cmp byte [edx], 0
je 0x100f1e26
movzx eax, al
sub eax, 1
je 0x100f1e03
sub eax, 1
je 0x100f1dbc
sub eax, 1
jne 0x100f1e26
mov eax, dword [esi + 1]
lea ecx, [edx + 0x30]
mov dword [ebp - 0x34], eax
mov eax, dword [esi + 5]
mov dword [ebp - 0x30], eax
mov eax, dword [esi + 9]
mov dword [ebp - 0x2c], eax
mov eax, dword [esi + 0xd]
mov dword [ebp - 0x28], eax
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 esi, dword [ebp - 0x40]
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 bl, byte [ebp - 0x26]
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x3c], 0
mov byte [ebp - 0x15], al
nop dword [eax]
movups xmm0, xmmword [ebp - 0x34]
lea edx, [ebp - 0x14]
push ecx
mov ecx, edx
movups xmmword [ebp - 0x14], xmm0
call fcn.100f0ec0
mov cl, byte [ebp - 0x16]
add esp, 4
mov dl, byte [ebp - 0x15]
mov al, cl
shr al, 7
add dl, dl
or dl, al
add cl, cl
mov byte [ebp - 0x15], dl
mov byte [ebp - 0x34], dl
mov dl, byte [ebp - 0x17]
mov al, dl
add dl, dl
shr al, 7
or cl, al
mov byte [ebp - 0x16], cl
mov byte [ebp - 0x33], cl
mov cl, byte [ebp - 0x18]
mov al, cl
add cl, cl
shr al, 7
or dl, al
mov byte [ebp - 0x17], dl
mov byte [ebp - 0x32], dl
mov dl, byte [ebp - 0x19]
mov al, dl
add dl, dl
shr al, 7
or cl, al
mov byte [ebp - 0x18], cl
mov byte [ebp - 0x31], cl
mov cl, byte [ebp - 0x1a]
mov al, cl
add cl, cl
shr al, 7
or dl, al
mov byte [ebp - 0x19], dl
mov byte [ebp - 0x30], dl
mov dl, byte [ebp - 0x1b]
mov al, dl
add dl, dl
shr al, 7
or cl, al
mov byte [ebp - 0x1a], cl
mov byte [ebp - 0x2f], cl
mov cl, byte [ebp - 0x1c]
mov al, cl
add cl, cl
shr al, 7
or dl, al
mov byte [ebp - 0x1b], dl
mov byte [ebp - 0x2e], dl
mov dl, byte [ebp - 0x1d]
mov al, dl
add dl, dl
shr al, 7
or cl, al
mov byte [ebp - 0x1c], cl
mov byte [ebp - 0x2d], cl
mov cl, byte [ebp - 0x1e]
mov al, cl
add cl, cl
shr al, 7
or dl, al
mov byte [ebp - 0x1d], dl
mov byte [ebp - 0x2c], dl
mov dl, byte [ebp - 0x1f]
mov al, dl
shr al, 7
or cl, al
mov byte [ebp - 0x1e], cl
mov byte [ebp - 0x2b], cl
mov cl, byte [ebp - 0x20]
mov al, cl
shr al, 7
add dl, dl
add cl, cl
or dl, al
mov byte [ebp - 0x1f], dl
mov byte [ebp - 0x2a], dl
mov dl, byte [ebp - 0x21]
mov al, dl
add dl, dl
shr al, 7
or cl, al
mov byte [ebp - 0x20], cl
mov byte [ebp - 0x29], cl
mov cl, byte [ebp - 0x22]
mov al, cl
add cl, cl
shr al, 7
or dl, al
mov al, bl
shr al, 7
add bl, bl
or cl, al
mov byte [ebp - 0x21], dl
mov al, bh
mov byte [ebp - 0x28], dl
shr al, 7
add bh, bh
or bl, al
mov byte [ebp - 0x22], cl
mov eax, dword [ebp - 0x3c]
mov edx, eax
mov byte [ebp - 0x35], bl
mov byte [ebp - 0x26], bl
mov bl, al
shr edx, 3
and bl, 7
mov byte [ebp - 0x27], cl
mov cl, 7
sub cl, bl
movzx eax, byte [edx + esi]
shr al, cl
mov cl, bl
mov bl, byte [ebp - 0x35]
and al, 1
or bh, al
movzx eax, byte [ebp - 0x14]
and al, 0x80
mov byte [ebp - 0x25], bh
shr al, cl
xor byte [edx + edi], al
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x3c], eax
cmp eax, 0x80
jl 0x100f1c40
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
lea eax, [edx + 0x30]
push eax
lea edx, [ebp - 0x14]
call fcn.100f0b00
mov eax, dword [esi + 1]
add esp, 4
xor eax, dword [ebp - 0x14]
mov dword [edi], eax
mov eax, dword [esi + 5]
xor eax, dword [ebp - 0x10]
mov dword [edi + 4], eax
mov eax, dword [esi + 9]
xor eax, dword [ebp - 0xc]
mov dword [edi + 8], eax
mov eax, dword [esi + 0xd]
xor eax, dword [ebp - 8]
mov dword [edi + 0xc], eax
mov eax, 0x80
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10054437
mov esp, ebp
pop ebp
ret
lea eax, [edx + 0x30]
mov edx, edi
push eax
call fcn.100f0b00
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