Function at 0x41feb0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x158
push ebx
mov ebx, ecx
push esi
xor esi, esi
mov dword [ebp - 0x24], ebx
add edx, 2
mov eax, dword [ebx + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x1c]
mov dword [ebp - 0x48], eax
mov dword [ebp - 8], eax
mov eax, dword [ebx + 0x20]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x24]
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x1c], eax
nop word [eax + eax]
movzx ecx, byte [edx - 2]
lea edx, [edx + 4]
movzx eax, byte [edx - 5]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx - 4]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx - 3]
shl ecx, 8
or ecx, eax
mov dword [ebp + esi*4 - 0x158], ecx
inc esi
cmp esi, 0x10
jl 0x41ff10
lea eax, [ebp - 0x120]
mov ebx, 0x30
push edi
nop dword [eax + eax]
mov edx, dword [eax - 0x34]
lea eax, [eax + 4]
mov esi, dword [eax - 4]
mov edi, edx
mov ecx, edx
ror edi, 0x12
ror ecx, 7
xor edi, ecx
shr edx, 3
xor edi, edx
mov ecx, esi
mov edx, esi
ror ecx, 0x11
ror edx, 0x13
xor edx, ecx
shr esi, 0xa
xor edx, esi
add edi, edx
add edi, dword [eax - 0x3c]
add edi, dword [eax - 0x18]
mov dword [eax + 4], edi
sub ebx, 1
jne 0x41ff50
mov ecx, dword [ebp - 0x14]
xor edi, edi
mov eax, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x28], eax
mov eax, ecx
ror eax, 0xb
mov dword [ebp - 0x30], esi
mov esi, ecx
ror esi, 0x19
xor esi, eax
mov ebx, dword [ebp - 8]
mov eax, ecx
mov dword [ebp - 0x44], ecx
ror eax, 6
xor esi, eax
mov dword [ebp - 0x54], edx
mov eax, dword [ebp - 8]
xor eax, edx
mov dword [ebp - 0x4c], ebx
and eax, ecx
mov ebx, dword [ebp - 0x18]
mov ecx, dword [ebp - 4]
xor eax, edx
add esi, eax
mov dword [ebp - 0x38], ebx
add esi, dword [edi + 0x490d10]
mov edx, ecx
add esi, dword [ebp + edi - 0x158]
mov eax, ecx
add esi, dword [ebp - 0x1c]
add edi, 4
ror eax, 0xd
ror edx, 0x16
xor edx, eax
mov eax, ecx
ror eax, 2
xor edx, eax
mov eax, dword [ebp - 0xc]
mov ecx, eax
add edx, esi
or ecx, dword [ebp - 4]
and eax, dword [ebp - 4]
and ecx, ebx
or ecx, eax
mov eax, dword [ebp - 0x10]
add edx, ecx
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
mov eax, ebx
mov ebx, dword [ebp - 0x24]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x20], eax
add ecx, esi
mov eax, dword [ebp - 0xc]
mov esi, dword [ebp - 4]
mov dword [ebp - 0x18], eax
mov eax, edx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0xc], esi
mov dword [ebp - 4], eax
cmp edi, 0x100
jl 0x41ff96
add dword [ebx + 8], edx
mov eax, dword [ebp - 0x28]
add eax, dword [ebp - 0x2c]
mov dword [ebx + 0xc], eax
mov eax, dword [ebp - 0x30]
add eax, dword [ebp - 0x34]
mov dword [ebx + 0x10], eax
mov eax, dword [ebp - 0x38]
add eax, dword [ebp - 0x3c]
mov dword [ebx + 0x14], eax
mov eax, dword [ebp - 0x40]
add eax, ecx
mov dword [ebx + 0x18], eax
mov eax, dword [ebp - 0x44]
add eax, dword [ebp - 0x48]
mov dword [ebx + 0x1c], eax
mov eax, dword [ebp - 0x4c]
add eax, dword [ebp - 0x50]
mov dword [ebx + 0x20], eax
mov eax, dword [ebp - 0x54]
add eax, dword [ebp - 0x58]
pop edi
pop esi
mov dword [ebx + 0x24], eax
pop ebx
mov esp, ebp
pop ebp
ret