Function at 0x42ee20
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x154
push ebx
lea ebx, [ebp - 0x14e]
sub ebx, edx
push esi
mov dword [ebp - 0x10], ebx
lea esi, [ebp - 0x152]
lea ebx, [ebp - 0x14a]
xor ecx, ecx
sub esi, edx
sub ebx, edx
push edi
mov edi, dword [ebp + 8]
lea eax, [edx + 2]
mov dword [ebp - 0xc], ebx
movzx edx, byte [eax - 2]
movzx ebx, byte [eax - 1]
shl edx, 8
or edx, ebx
movzx ebx, byte [eax]
shl edx, 8
or edx, ebx
movzx ebx, byte [eax + 1]
shl edx, 8
or edx, ebx
movzx ebx, byte [eax + 3]
mov dword [ebp + ecx*4 - 0x154], edx
movzx edx, byte [eax + 2]
shl edx, 8
or edx, ebx
movzx ebx, byte [eax + 4]
shl edx, 8
or edx, ebx
movzx ebx, byte [eax + 5]
shl edx, 8
or edx, ebx
movzx ebx, byte [eax + 7]
mov dword [esi + eax], edx
movzx edx, byte [eax + 6]
shl edx, 8
or edx, ebx
movzx ebx, byte [eax + 8]
shl edx, 8
or edx, ebx
movzx ebx, byte [eax + 9]
shl edx, 8
or edx, ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx + eax], edx
movzx edx, byte [eax + 0xa]
movzx ebx, byte [eax + 0xb]
shl edx, 8
or edx, ebx
movzx ebx, byte [eax + 0xc]
shl edx, 8
or edx, ebx
movzx ebx, byte [eax + 0xd]
shl edx, 8
or edx, ebx
mov ebx, dword [ebp - 0xc]
mov dword [ebx + eax], edx
add ecx, 4
add eax, 0x10
cmp ecx, 0x10
jb 0x42ee52
mov eax, dword [edi + 8]
mov ecx, dword [edi + 0x14]
mov esi, dword [edi + 0xc]
mov edx, dword [edi + 0x10]
mov dword [ebp - 4], eax
mov dword [ebp - 8], ecx
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0xc], esi
lea eax, [ebp - 0x134]
mov dword [ebp - 0x10], 0x10
mov edi, dword [eax - 0x20]
xor edi, dword [eax + 0x14]
mov ebx, dword [eax - 0x1c]
xor edi, dword [eax - 0x18]
xor ebx, dword [eax + 0x18]
xor edi, dword [eax]
xor ebx, dword [eax + 4]
rol edi, 1
xor ebx, dword [eax - 0x14]
mov dword [eax + 0x20], edi
mov dword [ebp - 0x14], edi
mov edi, dword [eax + 0x1c]
xor edi, dword [eax - 0x10]
rol ebx, 1
xor edi, dword [eax + 8]
mov dword [eax + 0x24], ebx
xor edi, dword [eax - 0x18]
add eax, 0x10
rol edi, 1
mov dword [eax + 0x18], edi
mov edi, dword [eax - 0x1c]
xor edi, dword [eax - 4]
xor edi, dword [ebp - 0x14]
xor edi, dword [eax - 0x24]
rol edi, 1
dec dword [ebp - 0x10]
mov dword [eax + 0x1c], edi
jne 0x42ef17
mov edi, dword [ebp - 4]
xor eax, eax
lea ebx, [ebx]
mov ebx, dword [ebp - 8]
xor ebx, edx
and ebx, esi
xor ebx, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
rol edi, 5
add edi, ebx
add edi, dword [ebp + eax*4 - 0x154]
rol esi, 0x1e
lea ecx, [ecx + edi + 0x5a827999]
mov ebx, edx
xor ebx, esi
and ebx, dword [ebp - 4]
mov edi, ecx
xor ebx, edx
rol edi, 5
add edi, ebx
add edi, dword [ebp + eax*4 - 0x150]
mov ebx, dword [ebp - 8]
lea ebx, [ebx + edi + 0x5a827999]
mov edi, dword [ebp - 4]
rol edi, 0x1e
mov dword [ebp - 0xc], esi
xor esi, edi
mov dword [ebp - 8], ebx
rol ebx, 5
and esi, ecx
xor esi, dword [ebp - 0xc]
mov dword [ebp - 0x14], ecx
add ebx, esi
add ebx, dword [ebp + eax*4 - 0x14c]
rol ecx, 0x1e
lea edx, [edx + ebx + 0x5a827999]
mov dword [ebp - 0x10], edx
mov esi, edx
mov edx, dword [ebp - 8]
rol esi, 5
mov ebx, ecx
xor ebx, edi
and ebx, edx
xor ebx, edi
add esi, ebx
add esi, dword [ebp + eax*4 - 0x148]
mov dword [ebp - 4], edi
mov edi, dword [ebp - 0xc]
rol edx, 0x1e
lea esi, [edi + esi + 0x5a827999]
mov ebx, ecx
xor ebx, edx
mov dword [ebp - 8], edx
mov edx, dword [ebp - 0x10]
and ebx, edx
xor ebx, ecx
mov edi, esi
rol edi, 5
add edi, ebx
add edi, dword [ebp + eax*4 - 0x144]
mov ebx, dword [ebp - 4]
add eax, 5
rol edx, 0x1e
lea edi, [ebx + edi + 0x5a827999]
mov dword [ebp - 0xc], esi
mov dword [ebp - 4], edi
mov dword [ebp - 0x10], edx
cmp eax, 0x14
jb 0x42ef70
cmp eax, 0x28
jae 0x42f11d
mov ebx, dword [ebp - 8]
xor ebx, edx
xor ebx, esi
rol edi, 5
add edi, ebx
add edi, dword [ebp + eax*4 - 0x154]
rol esi, 0x1e
lea ecx, [ecx + edi + 0x6ed9eba1]
mov ebx, edx
xor ebx, esi
mov dword [ebp - 0xc], esi
mov esi, dword [ebp - 4]
xor ebx, esi
mov edi, ecx
rol edi, 5
add edi, ebx
add edi, dword [ebp + eax*4 - 0x150]
mov ebx, dword [ebp - 8]
lea edi, [ebx + edi + 0x6ed9eba1]
mov dword [ebp - 8], edi
rol esi, 0x1e
rol edi, 5
mov ebx, ecx
xor ebx, dword [ebp - 0xc]
mov dword [ebp - 4], esi
xor ebx, esi
add edi, ebx
add edi, dword [ebp + eax*4 - 0x14c]
rol ecx, 0x1e
lea edx, [edx + edi + 0x6ed9eba1]
mov dword [ebp - 0x10], edx
mov edi, edx
mov edx, dword [ebp - 8]
rol edi, 5
mov ebx, ecx
xor ebx, edx
xor ebx, esi
mov esi, dword [ebp - 0xc]
add edi, ebx
add edi, dword [ebp + eax*4 - 0x148]
rol edx, 0x1e
lea esi, [esi + edi + 0x6ed9eba1]
mov ebx, ecx
xor ebx, edx
mov dword [ebp - 8], edx
mov edx, dword [ebp - 0x10]
xor ebx, edx
mov edi, esi
rol edi, 5
add edi, ebx
add edi, dword [ebp + eax*4 - 0x144]
mov ebx, dword [ebp - 4]
add eax, 5
rol edx, 0x1e
lea edi, [ebx + edi + 0x6ed9eba1]
mov dword [ebp - 0xc], esi
mov dword [ebp - 4], edi
mov dword [ebp - 0x10], edx
cmp eax, 0x28
jb 0x42f053
cmp eax, 0x3c
jae 0x42f20f
mov ebx, edx
or ebx, esi
and ebx, dword [ebp - 8]
rol edi, 5
mov esi, edx
mov edx, dword [ebp - 0xc]
and esi, edx
or ebx, esi
add ebx, dword [ebp + eax*4 - 0x154]
add eax, 5
add ebx, ecx
lea ecx, [ebx + edi - 0x70e44324]
rol edx, 0x1e
mov edi, edx
or edi, dword [ebp - 4]
mov ebx, edx
and ebx, dword [ebp - 4]
and edi, dword [ebp - 0x10]
mov esi, ecx
or edi, ebx
add edi, dword [ebp + eax*4 - 0x164]
rol esi, 5
add edi, dword [ebp - 8]
mov dword [ebp - 0xc], edx
lea edi, [edi + esi - 0x70e44324]
mov esi, dword [ebp - 4]
rol esi, 0x1e
mov ebx, ecx
or ebx, esi
and ebx, edx
mov edx, ecx
and edx, esi
or ebx, edx
add ebx, dword [ebp + eax*4 - 0x160]
mov dword [ebp - 8], edi
add ebx, dword [ebp - 0x10]
rol edi, 5
lea edx, [ebx + edi - 0x70e44324]
rol ecx, 0x1e
mov dword [ebp - 0x10], edx
mov edi, edx
mov edx, dword [ebp - 8]
mov dword [ebp - 4], esi
mov ebx, ecx
or ebx, edx
and ebx, esi
mov esi, ecx
and esi, edx
or ebx, esi
add ebx, dword [ebp + eax*4 - 0x15c]
rol edi, 5
add ebx, dword [ebp - 0xc]
rol edx, 0x1e
lea edi, [ebx + edi - 0x70e44324]
mov esi, edx
mov edx, dword [ebp - 0x10]
mov ebx, esi
or ebx, edx
and ebx, ecx
mov dword [ebp - 8], esi
and esi, edx
or ebx, esi
add ebx, dword [ebp + eax*4 - 0x158]
mov dword [ebp - 0xc], edi
add ebx, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
rol edi, 5
rol edx, 0x1e
lea edi, [ebx + edi - 0x70e44324]
mov dword [ebp - 4], edi
mov dword [ebp - 0x10], edx
cmp eax, 0x3c
jb 0x42f126
mov ebx, dword [ebp + 8]
cmp eax, 0x50
jae 0x42f2e2
jmp 0x42f220
mov ebx, dword [ebp - 8]
xor ebx, edx
xor ebx, esi
add ebx, dword [ebp + eax*4 - 0x154]
rol edi, 5
add ebx, ecx
lea ecx, [ebx + edi - 0x359d3e2a]
rol esi, 0x1e
mov ebx, edx
xor ebx, esi
mov dword [ebp - 0xc], esi
mov esi, dword [ebp - 4]
xor ebx, esi
add ebx, dword [ebp + eax*4 - 0x150]
mov edi, ecx
add ebx, dword [ebp - 8]
rol edi, 5
lea edi, [ebx + edi - 0x359d3e2a]
rol esi, 0x1e
mov ebx, ecx
xor ebx, dword [ebp - 0xc]
mov dword [ebp - 8], edi
xor ebx, esi
add ebx, dword [ebp + eax*4 - 0x14c]
rol edi, 5
add ebx, edx
lea edx, [ebx + edi - 0x359d3e2a]
rol ecx, 0x1e
mov dword [ebp - 0x10], edx
mov edi, edx
mov edx, dword [ebp - 8]
mov ebx, ecx
xor ebx, edx
xor ebx, esi
add ebx, dword [ebp + eax*4 - 0x148]
rol edi, 5
add ebx, dword [ebp - 0xc]
rol edx, 0x1e
mov dword [ebp - 4], esi
lea esi, [ebx + edi - 0x359d3e2a]
mov ebx, ecx
xor ebx, edx
xor ebx, dword [ebp - 0x10]
mov dword [ebp - 8], edx
add ebx, dword [ebp + eax*4 - 0x144]
mov edx, dword [ebp - 0x10]
add ebx, dword [ebp - 4]
mov edi, esi
rol edi, 5
add eax, 5
lea edi, [ebx + edi - 0x359d3e2a]
rol edx, 0x1e
mov dword [ebp - 4], edi
cmp eax, 0x50
jb 0x42f220
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 8]
add eax, edi
mov dword [ebx + 8], eax
mov eax, dword [ebx + 0xc]
add eax, esi
mov dword [ebx + 0xc], eax
mov eax, dword [ebx + 0x10]
add eax, edx
mov dword [ebx + 0x10], eax
mov eax, dword [ebx + 0x14]
add eax, dword [ebp - 8]
pop edi
mov dword [ebx + 0x14], eax
mov eax, dword [ebx + 0x18]
add eax, ecx
mov dword [ebx + 0x18], eax
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret