Function at 0x4dc640
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x150
mov eax, dword [ecx]
mov edx, dword [ecx + 0xc]
push ebx
mov ebx, dword [ecx + 8]
push ebp
mov ebp, dword [ecx + 4]
push esi
mov dword [esp + 0xc], eax
mov eax, dword [ecx + 0x10]
push edi
mov dword [esp + 0x1c], ecx
lea esi, [ecx + 0x1c]
mov ecx, 0x10
lea edi, [esp + 0x20]
mov dword [esp + 0x14], eax
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x40]
mov dword [esp + 0x18], 0x10
mov edi, edi
mov ecx, dword [eax - 0x20]
xor ecx, dword [eax + 0x14]
mov edi, dword [eax - 0x1c]
xor edi, dword [eax + 0x18]
mov esi, dword [eax - 0x18]
xor edi, dword [eax + 4]
xor ecx, esi
mov esi, dword [eax - 0x14]
xor ecx, dword [eax]
xor edi, esi
mov esi, dword [eax + 0x1c]
xor esi, dword [eax - 0x10]
rol ecx, 1
xor esi, dword [eax + 8]
rol edi, 1
xor esi, dword [eax - 0x18]
mov dword [eax + 0x20], ecx
rol esi, 1
mov dword [eax + 0x28], esi
mov esi, dword [eax - 0xc]
xor esi, dword [eax + 0xc]
mov dword [eax + 0x24], edi
xor esi, ecx
xor esi, dword [eax - 0x14]
add eax, 0x10
rol esi, 1
sub dword [esp + 0x18], 1
mov dword [eax + 0x1c], esi
jne 0x4dc680
xor eax, eax
mov esi, dword [esp + 0x10]
mov edi, edx
xor edi, ebx
and edi, ebp
xor edi, edx
mov ecx, esi
rol ecx, 5
add ecx, edi
add ecx, dword [esp + eax*4 + 0x20]
mov edi, dword [esp + 0x14]
lea ecx, [ecx + edi + 0x5a827999]
ror ebp, 2
mov dword [esp + 0x10], ecx
rol ecx, 5
mov edi, edx
mov edx, ebx
xor edx, ebp
and edx, esi
xor edx, ebx
add ecx, edx
add ecx, dword [esp + eax*4 + 0x24]
mov edx, dword [esp + 0x10]
lea ecx, [ecx + edi + 0x5a827999]
ror esi, 2
mov edi, esi
mov dword [esp + 0x10], ecx
rol ecx, 5
mov esi, ebp
xor esi, edi
and esi, edx
xor esi, ebp
add ecx, esi
add ecx, dword [esp + eax*4 + 0x28]
mov esi, dword [esp + 0x10]
lea ecx, [ecx + ebx + 0x5a827999]
ror edx, 2
mov dword [esp + 0x10], ecx
rol ecx, 5
mov ebx, edi
xor ebx, edx
and ebx, esi
xor ebx, edi
add ecx, ebx
add ecx, dword [esp + eax*4 + 0x2c]
mov ebx, dword [esp + 0x10]
lea ecx, [ecx + ebp + 0x5a827999]
ror esi, 2
mov ebp, edx
xor ebp, esi
mov dword [esp + 0x10], ecx
and ebp, ebx
rol ecx, 5
xor ebp, edx
add ecx, ebp
add ecx, dword [esp + eax*4 + 0x30]
mov ebp, dword [esp + 0x10]
add eax, 5
lea ecx, [ecx + edi + 0x5a827999]
ror ebx, 2
cmp eax, 0x14
mov dword [esp + 0x14], edx
mov edx, esi
mov dword [esp + 0x10], ecx
jl 0x4dc6d2
cmp eax, 0x28
mov dword [esp + 0x18], ebp
jge 0x4dc7dd
mov esi, edx
xor esi, ebx
rol ecx, 5
xor esi, ebp
add ecx, esi
add ecx, dword [esp + eax*4 + 0x20]
mov esi, dword [esp + 0x14]
ror ebp, 2
mov dword [esp + 0x14], edx
mov edx, ebx
inc eax
cmp eax, 0x28
lea ecx, [ecx + esi + 0x6ed9eba1]
mov ebx, ebp
mov ebp, dword [esp + 0x10]
mov dword [esp + 0x10], ecx
jl 0x4dc7a6
mov dword [esp + 0x18], ebp
cmp eax, 0x3c
jge 0x4dc821
mov esi, ebx
or esi, ebp
mov ebp, dword [esp + 0x10]
mov edi, ebx
and edi, dword [esp + 0x18]
and esi, edx
rol ecx, 5
add ecx, dword [esp + 0x14]
or esi, edi
add esi, dword [esp + eax*4 + 0x20]
mov dword [esp + 0x14], edx
mov edx, ebx
mov ebx, dword [esp + 0x18]
inc eax
lea ecx, [esi + ecx - 0x70e44324]
ror ebx, 2
cmp eax, 0x3c
mov dword [esp + 0x18], ebp
mov dword [esp + 0x10], ecx
jl 0x4dc7e2
cmp eax, 0x50
jge 0x4dc857
mov esi, edx
xor esi, ebx
rol ecx, 5
add ecx, dword [esp + 0x14]
xor esi, ebp
add esi, dword [esp + eax*4 + 0x20]
ror ebp, 2
mov dword [esp + 0x14], edx
mov edx, ebx
inc eax
cmp eax, 0x50
lea ecx, [esi + ecx - 0x359d3e2a]
mov ebx, ebp
mov ebp, dword [esp + 0x10]
mov dword [esp + 0x10], ecx
jl 0x4dc826
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
add ecx, eax
mov eax, dword [esp + 0x1c]
mov dword [eax], ecx
mov ecx, dword [eax + 4]
add ecx, ebp
mov dword [eax + 4], ecx
mov ecx, dword [eax + 8]
add ecx, ebx
mov dword [eax + 8], ecx
mov ecx, dword [eax + 0xc]
add ecx, edx
mov edx, dword [esp + 0x14]
pop edi
mov dword [eax + 0xc], ecx
mov ecx, dword [eax + 0x10]
pop esi
add ecx, edx
pop ebp
mov dword [eax + 0x10], ecx
pop ebx
add esp, 0x150
ret