Function at 0x401150
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, dword [0x49a438]
push edi
add esi, 2
mov edi, 4
movzx eax, byte [esi]
mov dl, byte [esi - 2]
mov byte [ebp - 4], al
mov al, dl
shr al, 7
mov cl, 0x1b
imul cl
mov byte [ebp - 0x11], al
mov bl, byte [esi - 1]
mov byte [ebp - 6], dl
add dl, dl
xor dl, al
mov al, dl
shr al, 7
mov byte [ebp - 0xe], al
imul cl
mov byte [ebp - 5], bl
mov cl, dl
add cl, cl
mov byte [ebp - 0x10], cl
mov cl, al
movzx eax, byte [ebp - 0x10]
xor cl, al
mov al, bl
shr al, 7
mov bl, 0x1b
imul bl
mov byte [ebp - 7], al
mov al, byte [ebp - 5]
add al, al
xor al, byte [ebp - 7]
mov byte [ebp - 0x12], dl
mov byte [ebp - 0xb], al
shr al, 7
mov byte [ebp - 0x10], al
imul bl
movzx ebx, byte [ebp - 0xb]
add bl, bl
xor al, bl
mov byte [ebp - 2], al
movzx eax, byte [ebp - 4]
shr al, 7
mov bl, 0x1b
imul bl
mov byte [ebp - 9], al
mov al, byte [ebp - 4]
add al, al
xor al, byte [ebp - 9]
mov byte [ebp - 8], al
shr al, 7
mov byte [ebp - 0xd], al
imul bl
movzx ebx, byte [ebp - 8]
add bl, bl
xor al, bl
mov byte [ebp - 1], al
movzx eax, byte [esi + 1]
shr al, 7
mov bl, 0x1b
imul bl
mov byte [ebp - 0xc], al
mov al, byte [esi + 1]
add al, al
xor al, byte [ebp - 0xc]
mov byte [ebp - 0xa], al
shr al, 7
mov byte [ebp - 0xf], al
imul bl
movzx ebx, byte [ebp - 0xa]
add bl, bl
xor al, bl
movzx ebx, byte [ebp - 8]
xor bl, dl
xor bl, al
xor bl, byte [ebp - 1]
mov byte [ebp - 3], al
xor bl, byte [ebp - 2]
xor bl, cl
xor bl, byte [ebp - 5]
xor bl, byte [ebp - 6]
add bl, bl
shr al, 7
mov dl, 0x1b
imul dl
xor bl, al
movzx eax, byte [ebp - 1]
shr al, 7
imul dl
xor bl, al
movzx eax, byte [ebp - 2]
shr al, 7
imul dl
xor bl, al
mov al, cl
shr al, 7
imul dl
xor bl, al
movzx eax, byte [ebp - 0xd]
imul dl
xor bl, al
movzx eax, byte [ebp - 0xe]
imul dl
xor bl, al
xor bl, byte [ebp - 7]
mov al, byte [ebp - 4]
xor bl, byte [ebp - 0x11]
mov dl, byte [ebp - 5]
xor bl, byte [esi + 1]
xor bl, al
xor bl, dl
mov byte [esi - 2], bl
movzx ebx, byte [ebp - 3]
xor bl, byte [ebp - 1]
xor bl, byte [ebp - 2]
xor bl, cl
xor bl, byte [ebp - 0xa]
xor bl, byte [ebp - 0xb]
xor bl, al
movzx eax, byte [ebp - 3]
shr al, 7
xor bl, dl
mov dl, 0x1b
imul dl
add bl, bl
xor bl, al
movzx eax, byte [ebp - 1]
shr al, 7
imul dl
xor bl, al
movzx eax, byte [ebp - 2]
shr al, 7
imul dl
xor bl, al
mov al, cl
shr al, 7
imul dl
xor bl, al
movzx eax, byte [ebp - 0xf]
imul dl
xor bl, al
movzx eax, byte [ebp - 0x10]
imul dl
mov dl, byte [esi + 1]
xor bl, al
xor bl, byte [ebp - 9]
xor bl, byte [ebp - 7]
xor bl, dl
movzx eax, bl
mov bl, byte [ebp - 4]
xor al, bl
xor al, byte [ebp - 6]
mov byte [esi - 1], al
movzx eax, byte [ebp - 3]
xor al, byte [ebp - 1]
xor al, byte [ebp - 2]
xor al, cl
xor al, byte [ebp - 8]
xor al, byte [ebp - 0x12]
xor al, dl
xor al, bl
add al, al
mov byte [ebp - 0x12], al
movzx eax, byte [ebp - 3]
shr al, 7
mov dl, 0x1b
imul dl
movzx edx, byte [ebp - 0x12]
xor dl, al
movzx eax, byte [ebp - 1]
shr al, 7
mov bl, 0x1b
imul bl
xor dl, al
movzx eax, byte [ebp - 2]
shr al, 7
imul bl
xor dl, al
mov al, cl
shr al, 7
imul bl
xor dl, al
movzx eax, byte [ebp - 0xd]
imul bl
xor dl, al
movzx eax, byte [ebp - 0xe]
imul bl
xor dl, al
xor dl, byte [ebp - 0xc]
mov bl, byte [ebp - 6]
xor dl, byte [ebp - 9]
add esi, 4
mov byte [ebp - 0x12], dl
mov dl, byte [esi - 3]
movzx eax, byte [ebp - 0x12]
xor al, dl
xor al, byte [ebp - 5]
xor al, bl
mov byte [esi - 4], al
movzx eax, byte [ebp - 3]
xor al, byte [ebp - 1]
xor al, byte [ebp - 2]
xor al, cl
xor al, byte [ebp - 0xa]
xor al, byte [ebp - 0xb]
xor al, dl
xor al, bl
add al, al
mov byte [ebp - 0x12], al
movzx eax, byte [ebp - 3]
shr al, 7
mov dl, 0x1b
imul dl
movzx edx, byte [ebp - 0x12]
xor dl, al
movzx eax, byte [ebp - 1]
shr al, 7
mov bl, 0x1b
imul bl
xor dl, al
movzx eax, byte [ebp - 2]
shr al, 7
imul bl
xor dl, al
mov al, cl
shr al, 7
mov cl, bl
imul cl
xor dl, al
movzx eax, byte [ebp - 0xf]
imul cl
xor dl, al
movzx eax, byte [ebp - 0x10]
imul cl
xor dl, al
xor dl, byte [ebp - 0xc]
xor dl, byte [ebp - 0x11]
xor dl, byte [ebp - 4]
xor dl, byte [ebp - 5]
xor dl, byte [ebp - 6]
dec edi
mov byte [esi - 3], dl
jne 0x401167
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret