Function at 0x41e3e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
push ebx
mov eax, edx
mov dword [esp + 0x20], ecx
mov edx, dword [ebp + 8]
mov dword [esp + 0x34], eax
push esi
push edi
test dl, 7
je 0x41e40a
mov eax, 0xffffffe8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test eax, eax
jne 0x41e5aa
test edx, edx
je 0x41e668
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
lea ebx, [ecx + 2]
sub ecx, eax
lea esi, [eax + 2]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], esi
lea eax, [ecx - 2]
mov dword [esp + 0x20], eax
lea eax, [edx - 1]
shr eax, 3
mov edx, esi
inc eax
mov dword [esp + 0x24], eax
movzx ecx, byte [edx - 2]
movzx eax, byte [edx - 1]
shl ecx, 8
or ecx, eax
mov esi, dword [edx - 2]
movzx eax, byte [edx]
mov edi, dword [edx + 2]
shl ecx, 8
or ecx, eax
mov dword [esp + 0x38], esi
movzx eax, byte [edx + 1]
shl ecx, 8
or ecx, eax
mov dword [esp + 0x3c], edi
movzx eax, byte [edx + 3]
mov dword [esp + 0x1c], ecx
movzx ecx, byte [edx + 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 4]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 5]
shl ecx, 8
lea edx, [esp + 0x1c]
or ecx, eax
lea eax, [esp + 0x18]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x28]
push eax
call fcn.0041e130
mov ecx, dword [esp + 0x20]
add esp, 4
mov edx, dword [esp + 0x14]
mov eax, ecx
mov esi, dword [esp + 0x20]
shr eax, 0x18
mov dword [esp + 0x2c], eax
mov edi, dword [esp + 0x20]
mov byte [esi + edx], al
mov eax, ecx
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x10]
shr eax, 0x10
mov byte [ebx - 1], al
mov ebx, ecx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x18]
shr eax, 0x18
mov byte [edx + 2], al
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x18]
mov byte [edx + 1], cl
mov ecx, dword [esp + 0x10]
mov byte [esi + 5], al
shr ebx, 8
mov byte [edx], bl
mov edx, eax
shr edx, 0x10
mov byte [ecx + 3], dl
mov ecx, eax
mov eax, dword [ebp + 0xc]
shr ecx, 8
mov byte [esi + 4], cl
mov esi, dword [esp + 0x14]
movzx eax, byte [eax]
xor al, byte [esp + 0x2c]
mov byte [edi + esi], al
mov eax, dword [ebp + 0xc]
mov esi, dword [esp + 0x10]
movzx eax, byte [eax + 1]
xor al, byte [esp + 0x30]
mov byte [esi - 1], al
mov esi, dword [ebp + 0xc]
movzx eax, byte [esi + 2]
xor al, bl
mov ebx, dword [esp + 0x10]
mov byte [ebx], al
movzx eax, byte [esi + 3]
xor al, byte [esp + 0x1c]
mov byte [ebx + 1], al
movzx eax, byte [esi + 4]
xor al, byte [esp + 0x34]
mov edi, dword [esp + 0x3c]
mov byte [ebx + 2], al
movzx eax, byte [esi + 5]
xor al, dl
mov edx, dword [esp + 0x14]
mov byte [ebx + 3], al
add edx, 8
movzx eax, byte [esi + 6]
xor al, cl
mov dword [esp + 0x14], edx
mov byte [ebx + 4], al
movzx eax, byte [esi + 7]
xor al, byte [esp + 0x18]
mov esi, dword [esp + 0x38]
mov byte [ebx + 5], al
add ebx, 8
sub dword [esp + 0x24], 1
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x10], ebx
mov dword [eax], esi
mov dword [eax + 4], edi
jne 0x41e444
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test edx, edx
je 0x41e668
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
lea edx, [ecx + 2]
sub ecx, eax
lea esi, [eax + 2]
mov dword [esp + 0x24], edx
mov eax, dword [ebp + 8]
add ecx, 0xfffffffe
dec eax
mov dword [esp + 0x38], ecx
shr eax, 3
inc eax
mov dword [esp + 0x20], eax
nop word [eax + eax]
movzx eax, byte [esi - 2]
lea edi, [esi + ecx]
xor al, byte [ebx]
mov byte [edi], al
movzx eax, byte [esi - 1]
xor al, byte [ebx + 1]
mov byte [edx - 1], al
movzx eax, byte [ebx + 2]
xor al, byte [esi]
mov byte [edx], al
movzx eax, byte [esi + 1]
xor al, byte [ebx + 3]
mov ecx, dword [esp + 0x28]
mov byte [edx + 1], al
movzx eax, byte [esi + 2]
xor al, byte [ebx + 4]
mov byte [edx + 2], al
movzx eax, byte [esi + 3]
xor al, byte [ebx + 5]
mov byte [edx + 3], al
movzx eax, byte [esi + 4]
xor al, byte [ebx + 6]
mov byte [edx + 4], al
movzx eax, byte [esi + 5]
xor al, byte [ebx + 7]
mov byte [edx + 5], al
mov edx, dword [esp + 0x3c]
push edi
push edi
call fcn.0041e320
mov eax, dword [edi]
lea esi, [esi + 8]
mov edx, dword [esp + 0x2c]
add esp, 8
mov ecx, dword [esp + 0x38]
add edx, 8
sub dword [esp + 0x20], 1
mov dword [ebx], eax
mov eax, dword [edi + 4]
mov dword [ebx + 4], eax
mov dword [esp + 0x24], edx
jne 0x41e5e0
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret