Function at 0x4adf50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
mov ebx, ecx
push esi
push edi
mov dword [ebp - 0x14], ebx
lea edi, [ebx + 0x28]
mov dword [ebp - 0x18], edi
mov ebx, edi
mov edi, 4
jmp 0x4adf70
mov edx, dword [ebx]
lea ebx, [ebx + 0x10]
mov esi, edx
mov eax, edx
shr eax, 0x10
and esi, 0xff0000
or esi, eax
mov eax, edx
shl eax, 0x10
and edx, 0xff00
or eax, edx
shr esi, 8
shl eax, 8
or esi, eax
mov dword [ebx - 0x10], esi
mov ecx, dword [ebx - 0xc]
mov edx, ecx
and edx, 0xff0000
mov eax, ecx
shr eax, 0x10
or edx, eax
mov eax, ecx
shl eax, 0x10
and ecx, 0xff00
or eax, ecx
shr edx, 8
shl eax, 8
or edx, eax
mov dword [ebx - 0xc], edx
mov ecx, dword [ebx - 8]
mov edx, ecx
and edx, 0xff0000
mov eax, ecx
shr eax, 0x10
or edx, eax
mov eax, ecx
shl eax, 0x10
and ecx, 0xff00
or eax, ecx
shr edx, 8
shl eax, 8
or edx, eax
mov dword [ebx - 8], edx
mov ecx, dword [ebx - 4]
mov edx, ecx
and edx, 0xff0000
mov eax, ecx
shr eax, 0x10
or edx, eax
mov eax, ecx
shl eax, 0x10
and ecx, 0xff00
or eax, ecx
shr edx, 8
shl eax, 8
or edx, eax
mov dword [ebx - 4], edx
dec edi
jne 0x4adf70
mov ebx, dword [ebp - 0x14]
lea ecx, [edi + 0x40]
mov edi, dword [ebp - 0x18]
lea ebx, [ebx]
mov eax, dword [edi + 0x34]
lea edi, [edi + 4]
xor eax, dword [edi + 0x1c]
xor eax, dword [edi + 4]
xor eax, dword [edi - 4]
rol eax, 1
mov dword [edi + 0x3c], eax
dec ecx
jne 0x4ae030
mov eax, dword [ebx + 0x14]
xor edx, edx
mov dword [ebx], eax
mov eax, dword [ebx + 0x18]
mov dword [ebx + 4], eax
mov eax, dword [ebx + 0x1c]
mov edi, dword [ebx + 4]
mov dword [ebx + 8], eax
mov eax, dword [ebx + 0x20]
mov esi, dword [ebx + 8]
mov dword [ebx + 0xc], eax
mov eax, dword [ebx + 0x24]
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0x10], eax
mov dword [ebx + 0x10], eax
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], 0x28
mov eax, dword [ebx]
mov dword [ebp - 4], eax
cmp edx, 0x14
jae 0x4ae09a
mov eax, edi
not eax
and eax, ecx
mov ecx, edi
and ecx, esi
or eax, ecx
jmp 0x4ae0b9
cmp edx, 0x28
jb 0x4ae0b3
cmp edx, 0x3c
jae 0x4ae0b3
mov eax, esi
or eax, ecx
mov ecx, esi
and ecx, dword [ebp - 0xc]
and eax, edi
or eax, ecx
jmp 0x4ae0b9
mov eax, edi
xor eax, esi
xor eax, ecx
cmp edx, 0x14
jae 0x4ae0c5
mov ecx, 0x5a827999
jmp 0x4ae0e2
cmp edx, 0x28
jae 0x4ae0d1
mov ecx, 0x6ed9eba1
jmp 0x4ae0e2
cmp edx, 0x3c
sbb ecx, ecx
and ecx, 0xc4b8fb06
add ecx, 0xca62c1d6
mov edx, dword [ebp - 8]
mov edi, dword [ebp - 4]
add dword [ebp - 8], 4
rol edi, 5
add edi, dword [edx + ebx]
add edi, dword [ebp - 0x10]
mov edx, dword [ebp - 0x18]
add edi, ecx
mov dword [ebp - 4], edi
mov ecx, esi
add dword [ebp - 4], eax
inc edx
mov eax, dword [ebp - 0xc]
mov edi, dword [ebx]
mov dword [ebp - 0xc], esi
mov dword [ebx + 0xc], esi
mov esi, dword [ebp - 0x14]
ror esi, 2
cmp dword [ebp - 8], 0x168
mov dword [ebp - 0x10], eax
mov dword [ebx + 0x10], eax
mov eax, dword [ebp - 4]
mov dword [ebx + 8], esi
mov dword [ebp - 0x14], edi
mov dword [ebx + 4], edi
mov dword [ebx], eax
mov dword [ebp - 0x18], edx
jb 0x4ae082
add dword [ebx + 0x14], eax
mov eax, edi
add dword [ebx + 0x18], eax
mov eax, esi
add dword [ebx + 0x1c], eax
mov eax, dword [ebx + 0xc]
add dword [ebx + 0x20], eax
mov eax, dword [ebx + 0x10]
add dword [ebx + 0x24], eax
pop edi
pop esi
mov dword [ebx + 0x168], 0
pop ebx
mov esp, ebp
pop ebp
ret