Function at 0x401a90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x44b004]
xor eax, ebp
mov dword [ebp - 4], eax
movq xmm0, qword [edx]
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
mov dword [ebp - 0x10], ecx
movq qword [esi], xmm0
xorps xmm0, xmm0
movq qword [ebp - 0xc], xmm0
nop dword [eax + eax]
movzx edx, byte [ebx + str.91__]
mov ecx, 7
mov eax, edx
shr edx, 3
and eax, 7
sub ecx, eax
mov eax, 1
shl eax, cl
test byte [edx + esi], al
je 0x401b00
mov eax, ebx
lea edi, [ebp - 0xc]
sar eax, 3
mov ecx, ebx
add edi, eax
and ecx, 7
mov eax, 7
sub eax, ecx
movzx edx, byte [edi]
bts edx, eax
mov byte [edi], dl
inc ebx
cmp ebx, 0x40
jl 0x401ac0
mov eax, dword [ebp - 0xc]
mov dword [esi], eax
mov eax, dword [ebp - 8]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x401b82
mov edi, 0x44cf88
nop dword [eax]
mov eax, dword [esi]
mov edx, edi
mov dword [ebp - 8], eax
mov ecx, esi
movzx eax, byte [esi + 4]
mov byte [esi], al
movzx eax, byte [esi + 5]
mov byte [esi + 1], al
movzx eax, byte [esi + 6]
mov byte [esi + 2], al
movzx eax, byte [esi + 7]
mov byte [esi + 3], al
lea eax, [ebp - 0x10]
push eax
call fcn.004018d0
mov eax, dword [ebp - 0x10]
add edi, 6
mov cl, byte [ebp - 8]
add esp, 4
mov dl, byte [ebp - 7]
xor cl, al
mov al, byte [ebp - 6]
xor dl, ah
mov bl, byte [ebp - 5]
xor al, byte [ebp - 0xe]
xor bl, byte [ebp - 0xd]
mov byte [esi + 4], cl
mov byte [esi + 5], dl
mov byte [esi + 6], al
mov byte [esi + 7], bl
cmp edi, 0x44cfe8
jl 0x401b20
jmp 0x401bf0
cmp eax, 1
jne 0x401c1c
mov edi, 0x44cfe2
mov eax, dword [esi]
mov edx, edi
mov dword [ebp - 8], eax
mov ecx, esi
movzx eax, byte [esi + 4]
mov byte [esi], al
movzx eax, byte [esi + 5]
mov byte [esi + 1], al
movzx eax, byte [esi + 6]
mov byte [esi + 2], al
movzx eax, byte [esi + 7]
mov byte [esi + 3], al
lea eax, [ebp - 0x10]
push eax
call fcn.004018d0
mov eax, dword [ebp - 0x10]
sub edi, 6
mov cl, byte [ebp - 8]
add esp, 4
mov dl, byte [ebp - 7]
xor cl, al
mov al, byte [ebp - 6]
xor dl, ah
mov bl, byte [ebp - 5]
xor al, byte [ebp - 0xe]
xor bl, byte [ebp - 0xd]
mov byte [esi + 4], cl
mov byte [esi + 5], dl
mov byte [esi + 6], al
mov byte [esi + 7], bl
cmp edi, 0x44cf88
jge 0x401b90
mov byte [ebp - 6], al
movzx eax, byte [esi]
mov byte [esi + 4], al
movzx eax, byte [esi + 1]
mov byte [esi + 5], al
movzx eax, byte [esi + 2]
mov byte [esi + 6], al
movzx eax, byte [esi + 3]
mov byte [esi + 7], al
mov byte [ebp - 8], cl
mov byte [ebp - 7], dl
mov byte [ebp - 5], bl
mov eax, dword [ebp - 8]
mov dword [esi], eax
xorps xmm0, xmm0
xor ebx, ebx
movq qword [ebp - 0x14], xmm0
nop word [eax + eax]
movzx edx, byte [ebx + 0x445aa8]
mov ecx, 7
mov eax, edx
shr edx, 3
and eax, 7
sub ecx, eax
mov eax, 1
shl eax, cl
test byte [edx + esi], al
je 0x401c70
mov eax, ebx
lea edi, [ebp - 0x14]
sar eax, 3
mov ecx, ebx
add edi, eax
and ecx, 7
mov eax, 7
sub eax, ecx
movzx edx, byte [edi]
bts edx, eax
mov byte [edi], dl
inc ebx
cmp ebx, 0x40
jl 0x401c30
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 4]
mov dword [esi], eax
xor ecx, ebp
mov eax, dword [ebp - 0x10]
pop edi
mov dword [esi + 4], eax
pop esi
pop ebx
call fcn.0041525a
mov esp, ebp
pop ebp
ret