Function at 0x41ae21
Capabilities:
Encode data using xor

Disassembly:
push ebp
lea ebp, [esp - 0x28c]
sub esp, 0x30c
mov eax, dword [0x441050]
xor eax, ebp
mov dword [ebp + 0x288], eax
xor eax, eax
cmp dword [0x44f398], eax
jne 0x41b0cb
push ebx
push esi
xor ecx, ecx
inc eax
push edi
mov edx, eax
and dl, 0x80
movzx edx, dl
mov byte [ebp + ecx - 0x78], al
mov byte [ebp + ecx + 0x87], al
mov byte [ebp + eax + 0x188], cl
inc ecx
neg edx
sbb edx, edx
and edx, 0x11b
lea esi, [eax + eax]
xor edx, esi
xor eax, edx
cmp eax, 1
jne 0x41ae50
xor ecx, ecx
mov dword [ecx + 0x44f340], eax
test eax, eax
je 0x41ae9c
movzx eax, byte [ebp + eax + 0x188]
movzx eax, byte [ebp + eax - 0x5f]
jmp 0x41ae9e
xor eax, eax
add ecx, 4
cmp ecx, 0x28
jb 0x41ae83
and dword [ebp - 0x7c], 0
cmp byte [ebp - 0x7c], 0
je 0x41aec9
movzx eax, byte [ebp - 0x7c]
movzx eax, byte [ebp + eax + 0x188]
lea ecx, [ebp + 0x87]
sub ecx, eax
movzx eax, byte [ecx]
jmp 0x41aecb
xor eax, eax
movzx ecx, al
lea eax, [ecx + ecx]
xor eax, ecx
add eax, eax
xor eax, ecx
add eax, eax
xor eax, ecx
add eax, eax
xor ecx, eax
mov eax, ecx
shr eax, 8
xor al, cl
xor al, 0x63
je 0x41aefc
movzx ecx, al
movzx ecx, byte [ebp + ecx + 0x188]
movzx edx, byte [ebp + ecx - 0x77]
jmp 0x41aefe
xor edx, edx
test al, al
je 0x41af14
movzx ecx, al
movzx ecx, byte [ebp + ecx + 0x188]
movzx esi, byte [ebp + ecx - 0x5f]
jmp 0x41af16
xor esi, esi
mov ebx, dword [ebp - 0x7c]
shl edx, 8
movzx ecx, al
or edx, ecx
shl edx, 8
or edx, ecx
shl edx, 8
or edx, esi
mov esi, edx
mov eax, ebx
shl eax, 2
rol esi, 8
mov dword [eax + 0x44e340], edx
mov dword [eax + 0x44e740], esi
mov esi, edx
rol esi, 0x10
ror edx, 8
mov dword [eax + 0x44ef40], edx
mov edx, ecx
rol edx, 8
mov dword [eax + 0x44d740], edx
mov edx, ecx
mov dword [eax + 0x44d340], ecx
rol edx, 0x10
ror ecx, 8
mov dword [eax + 0x44df40], ecx
mov dword [eax + 0x44eb40], esi
movzx esi, bl
mov ecx, esi
shl ecx, 3
xor ecx, esi
shl ecx, 2
xor ecx, esi
mov dword [eax + 0x44db40], edx
add ecx, ecx
mov edx, ecx
shr edx, 8
xor dl, cl
xor dl, 5
je 0x41afc9
mov ecx, esi
shl ecx, 3
xor ecx, esi
shl ecx, 2
xor ecx, esi
add ecx, ecx
mov edx, ecx
shr edx, 8
movzx edx, dl
movzx ecx, cl
xor edx, ecx
xor edx, 5
movzx ecx, byte [ebp + edx + 0x188]
lea edx, [ebp + 0x87]
sub edx, ecx
mov dl, byte [edx]
jmp 0x41afcb
xor dl, dl
test dl, dl
je 0x41afe1
movzx ecx, dl
movzx ecx, byte [ebp + ecx + 0x188]
movzx ecx, byte [ebp + ecx - 0x10]
jmp 0x41afe3
xor ecx, ecx
test dl, dl
je 0x41aff9
movzx esi, dl
movzx esi, byte [ebp + esi + 0x188]
movzx ebx, byte [ebp + esi + 0x76]
jmp 0x41affb
xor ebx, ebx
test dl, dl
je 0x41b011
movzx esi, dl
movzx esi, byte [ebp + esi + 0x188]
movzx edi, byte [ebp + esi + 0x4f]
jmp 0x41b013
xor edi, edi
test dl, dl
je 0x41b029
movzx esi, dl
movzx esi, byte [ebp + esi + 0x188]
movzx esi, byte [ebp + esi + 0x67]
jmp 0x41b02b
xor esi, esi
shl ecx, 8
or ecx, ebx
shl ecx, 8
or ecx, edi
shl ecx, 8
or ecx, esi
mov ebx, ecx
movzx ecx, dl
mov edx, ecx
shl edx, 2
inc dword [ebp - 0x7c]
mov dword [edx + 0x44a340], ebx
mov esi, ebx
rol esi, 8
mov edi, ebx
rol edi, 0x10
mov dword [ebp - 0x80], ebx
ror ebx, 8
mov dword [edx + 0x44a740], esi
mov dword [edx + 0x44ab40], edi
mov dword [edx + 0x44af40], ebx
mov edx, dword [ebp - 0x80]
mov dword [eax + 0x44c340], edx
mov edx, ecx
rol edx, 8
mov dword [eax + 0x44b740], edx
mov edx, ecx
rol edx, 0x10
mov dword [eax + 0x44b340], ecx
ror ecx, 8
cmp dword [ebp - 0x7c], 0x100
mov dword [eax + 0x44c740], esi
mov dword [eax + 0x44cb40], edi
mov dword [eax + 0x44cf40], ebx
mov dword [eax + 0x44bb40], edx
mov dword [eax + 0x44bf40], ecx
jb 0x41aeaa
pop edi
pop esi
mov dword [0x44f398], 1
xor eax, eax
pop ebx
mov ecx, dword [ebp + 0x288]
xor ecx, ebp
call fcn.0041f3bc
add ebp, 0x28c
leave
ret