Function at 0x4dc780
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x54
mov eax, dword [esp + 0x58]
mov ecx, dword [eax]
push ebx
push ebp
push esi
mov esi, dword [eax + 8]
push edi
mov edi, dword [eax + 0xc]
mov dword [esp + 0x10], ecx
mov ecx, dword [eax + 4]
mov eax, dword [eax + 0x10]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x6c]
xor edx, edx
jmp 0x4dc7b0
movzx ebp, byte [eax]
movzx ebx, byte [eax + 1]
add eax, 1
shl ebx, 0x10
shl ebp, 0x18
or ebp, ebx
xor ebx, ebx
mov bh, byte [eax + 1]
add eax, 1
add eax, 1
add eax, 1
add eax, 1
add eax, 1
add eax, 1
or ebp, ebx
movzx ebx, byte [eax - 4]
or ebp, ebx
movzx ebx, byte [eax - 2]
mov dword [esp + edx*4 + 0x24], ebp
movzx ebp, byte [eax - 3]
shl ebx, 0x10
shl ebp, 0x18
or ebp, ebx
xor ebx, ebx
mov bh, byte [eax - 1]
add eax, 1
add eax, 1
add eax, 1
add eax, 1
add eax, 1
add eax, 1
or ebp, ebx
movzx ebx, byte [eax - 6]
or ebp, ebx
movzx ebx, byte [eax - 4]
mov dword [esp + edx*4 + 0x28], ebp
movzx ebp, byte [eax - 5]
shl ebx, 0x10
shl ebp, 0x18
or ebp, ebx
xor ebx, ebx
mov bh, byte [eax - 3]
add eax, 1
add eax, 1
add edx, 4
add eax, 1
or ebp, ebx
movzx ebx, byte [eax - 5]
or ebp, ebx
movzx ebx, byte [eax - 3]
mov dword [esp + edx*4 + 0x1c], ebp
movzx ebp, byte [eax - 4]
shl ebx, 0x10
shl ebp, 0x18
or ebp, ebx
xor ebx, ebx
mov bh, byte [eax - 2]
or ebp, ebx
movzx ebx, byte [eax - 1]
or ebp, ebx
cmp edx, 0x10
mov dword [esp + edx*4 + 0x20], ebp
jl 0x4dc7b0
xor ebx, ebx
mov dword [esp + 0x18], ebx
lea edx, [ebx - 3]
mov eax, ebx
and eax, 0xf
cmp ebx, 0x10
mov dword [esp + 0x20], eax
jl 0x4dc8ad
lea ebx, [edx - 5]
and ebx, 0xf
mov ebx, dword [esp + ebx*4 + 0x24]
lea ebp, [edx + 5]
and ebp, 0xf
xor ebx, dword [esp + ebp*4 + 0x24]
mov ebp, edx
and ebp, 0xf
xor ebx, dword [esp + ebp*4 + 0x24]
lea eax, [esp + eax*4 + 0x24]
xor ebx, dword [eax]
rol ebx, 1
mov dword [eax], ebx
mov eax, dword [esp + 0x10]
mov ebx, ecx
not ebx
and ebx, edi
rol eax, 5
mov ebp, esi
and ebp, ecx
or ebx, ebp
add eax, ebx
mov ebx, dword [esp + 0x20]
add eax, dword [esp + ebx*4 + 0x24]
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x14], edi
lea edi, [edx + 4]
mov ebp, edi
lea eax, [eax + ebx + 0x5a827999]
mov ebx, dword [esp + 0x10]
and ebp, 0xf
ror ecx, 2
cmp edi, 0x10
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], ebp
jl 0x4dc921
lea edi, [edx + 6]
and edi, 0xf
mov edi, dword [esp + edi*4 + 0x24]
lea ebp, [edx - 4]
and ebp, 0xf
xor edi, dword [esp + ebp*4 + 0x24]
lea ebp, [edx + 1]
and ebp, 0xf
xor edi, dword [esp + ebp*4 + 0x24]
mov ebp, dword [esp + 0x1c]
xor edi, dword [esp + ebp*4 + 0x24]
rol edi, 1
mov dword [esp + ebp*4 + 0x24], edi
mov edi, ebx
not edi
and edi, esi
mov ebp, ecx
and ebp, ebx
or edi, ebp
rol eax, 5
add eax, edi
mov edi, dword [esp + 0x1c]
add eax, dword [esp + edi*4 + 0x24]
mov edi, dword [esp + 0x14]
lea eax, [eax + edi + 0x5a827999]
mov dword [esp + 0x14], esi
lea esi, [edx + 5]
mov edi, esi
ror ebx, 2
mov ebp, ecx
mov ecx, dword [esp + 0x10]
and edi, 0xf
cmp esi, 0x10
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x10], eax
jl 0x4dc98f
lea esi, [edx + 7]
and esi, 0xf
mov esi, dword [esp + esi*4 + 0x24]
lea ebx, [edx - 3]
and ebx, 0xf
xor esi, dword [esp + ebx*4 + 0x24]
lea ebx, [edx + 2]
and ebx, 0xf
xor esi, dword [esp + ebx*4 + 0x24]
xor esi, dword [esp + edi*4 + 0x24]
rol esi, 1
mov dword [esp + edi*4 + 0x24], esi
mov ebx, dword [esp + 0x6c]
mov esi, ecx
not esi
and esi, ebp
and ebx, ecx
or esi, ebx
rol eax, 5
add eax, esi
add eax, dword [esp + edi*4 + 0x24]
mov esi, dword [esp + 0x14]
lea ebx, [edx + 6]
mov edi, ebx
lea eax, [eax + esi + 0x5a827999]
mov esi, dword [esp + 0x10]
ror ecx, 2
mov dword [esp + 0x14], ebp
mov ebp, dword [esp + 0x6c]
and edi, 0xf
cmp ebx, 0x10
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x10], eax
jl 0x4dc9fb
lea ecx, [edx - 8]
and ecx, 0xf
mov ecx, dword [esp + ecx*4 + 0x24]
lea ebx, [edx - 2]
and ebx, 0xf
xor ecx, dword [esp + ebx*4 + 0x24]
mov ebx, dword [esp + 0x20]
xor ecx, dword [esp + ebx*4 + 0x24]
xor ecx, dword [esp + edi*4 + 0x24]
rol ecx, 1
mov dword [esp + edi*4 + 0x24], ecx
mov ebx, dword [esp + 0x6c]
mov ecx, esi
not ecx
and ebx, esi
and ecx, ebp
or ecx, ebx
rol eax, 5
add eax, ecx
add eax, dword [esp + edi*4 + 0x24]
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x6c]
lea eax, [eax + ecx + 0x5a827999]
lea ecx, [edx + 7]
ror esi, 2
mov ebx, ecx
mov dword [esp + 0x6c], esi
mov esi, dword [esp + 0x10]
and ebx, 0xf
cmp ecx, 0x10
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], eax
jl 0x4dca67
lea ecx, [edx - 7]
and ecx, 0xf
mov ecx, dword [esp + ecx*4 + 0x24]
lea ebp, [edx - 1]
and ebp, 0xf
xor ecx, dword [esp + ebp*4 + 0x24]
mov ebp, dword [esp + 0x1c]
xor ecx, dword [esp + ebp*4 + 0x24]
xor ecx, dword [esp + ebx*4 + 0x24]
rol ecx, 1
mov dword [esp + ebx*4 + 0x24], ecx
mov ebp, dword [esp + 0x6c]
mov ecx, esi
not ecx
and ecx, edi
rol eax, 5
and ebp, esi
or ecx, ebp
add eax, ecx
add eax, dword [esp + ebx*4 + 0x24]
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
lea eax, [eax + ecx + 0x5a827999]
mov ecx, dword [esp + 0x10]
add ebx, 5
add edx, 5
ror esi, 2
cmp edx, 0x11
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0x6c]
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], ebx
jl 0x4dc878
cmp ebx, 0x28
jge 0x4dcb3d
lea ebp, [ebx - 3]
mov dword [esp + 0x1c], ebp
mov edx, ebx
and edx, 0xf
lea edx, [esp + edx*4 + 0x24]
mov dword [esp + 0x6c], edx
lea edx, [ebp - 5]
add ebp, 5
and ebp, 0xf
and edx, 0xf
mov edx, dword [esp + edx*4 + 0x24]
xor edx, dword [esp + ebp*4 + 0x24]
mov ebp, dword [esp + 0x1c]
and ebp, 0xf
xor edx, dword [esp + ebp*4 + 0x24]
mov ebp, dword [esp + 0x6c]
xor edx, dword [ebp]
add ebx, 1
rol edx, 1
mov dword [ebp], edx
rol eax, 5
mov ebp, edi
xor ebp, esi
xor ebp, ecx
add eax, edx
add ebp, eax
mov eax, dword [esp + 0x14]
lea eax, [eax + ebp + 0x6ed9eba1]
mov ebp, dword [esp + 0x1c]
ror ecx, 2
mov dword [esp + 0x14], edi
add ebp, 1
cmp ebp, 0x25
mov edi, esi
mov esi, ecx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], ebp
jl 0x4dcac3
mov dword [esp + 0x18], ebx
cmp ebx, 0x3c
jge 0x4dcbca
lea ebp, [ebx - 3]
mov dword [esp + 0x20], ebp
lea ecx, [ecx]
and ebx, 0xf
lea edx, [esp + ebx*4 + 0x24]
mov dword [esp + 0x6c], edx
lea edx, [ebp - 5]
and edx, 0xf
mov edx, dword [esp + edx*4 + 0x24]
lea ebx, [ebp + 5]
and ebx, 0xf
xor edx, dword [esp + ebx*4 + 0x24]
mov ebx, dword [esp + 0x6c]
and ebp, 0xf
xor edx, dword [esp + ebp*4 + 0x24]
mov ebp, esi
xor edx, dword [ebx]
and ebp, ecx
rol edx, 1
mov dword [ebx], edx
mov ebx, esi
or ebx, ecx
and ebx, edi
or ebx, ebp
mov ebp, dword [esp + 0x20]
rol eax, 5
add eax, dword [esp + 0x14]
add ebx, edx
lea eax, [ebx + eax - 0x70e44324]
mov ebx, dword [esp + 0x18]
ror ecx, 2
mov dword [esp + 0x14], edi
add ebp, 1
mov edi, esi
add ebx, 1
cmp ebp, 0x39
mov esi, ecx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], ebp
jl 0x4dcb50
cmp ebx, 0x50
jge 0x4dcc4a
lea ebp, [ebx - 3]
mov dword [esp + 0x1c], ebp
mov edx, ebx
and edx, 0xf
lea edx, [esp + edx*4 + 0x24]
mov dword [esp + 0x6c], edx
lea edx, [ebp - 5]
add ebp, 5
and ebp, 0xf
and edx, 0xf
mov edx, dword [esp + edx*4 + 0x24]
xor edx, dword [esp + ebp*4 + 0x24]
mov ebp, dword [esp + 0x1c]
and ebp, 0xf
xor edx, dword [esp + ebp*4 + 0x24]
mov ebp, dword [esp + 0x6c]
xor edx, dword [ebp]
add ebx, 1
rol edx, 1
mov dword [ebp], edx
mov ebp, edi
xor ebp, esi
xor ebp, ecx
rol eax, 5
add eax, dword [esp + 0x14]
add ebp, edx
lea eax, [eax + ebp - 0x359d3e2a]
mov ebp, dword [esp + 0x1c]
ror ecx, 2
mov dword [esp + 0x14], edi
add ebp, 1
cmp ebp, 0x4d
mov edi, esi
mov esi, ecx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], ebp
jl 0x4dcbd6
mov edx, dword [esp + 0x68]
mov ebx, dword [edx]
add ebx, eax
mov eax, dword [edx + 4]
add eax, ecx
mov ecx, dword [esp + 0x14]
mov dword [edx + 4], eax
mov eax, dword [edx + 8]
add eax, esi
mov dword [edx + 8], eax
mov eax, dword [edx + 0xc]
add eax, edi
pop edi
mov dword [edx + 0xc], eax
mov eax, dword [edx + 0x10]
pop esi
add eax, ecx
pop ebp
mov dword [edx], ebx
mov dword [edx + 0x10], eax
pop ebx
add esp, 0x54
ret