Function at 0x478760
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 0x18], edx
mov edx, ecx
push ebx
push esi
push edi
mov eax, dword [edx]
mov ecx, eax
mov ebx, dword [edx + 0xc]
mov edi, dword [edx + 4]
mov dword [ebp - 0x24], eax
mov eax, dword [edx + 8]
mov dword [ebp - 0x28], edx
mov edx, dword [edx + 0x10]
mov dword [ebp - 4], ebx
xor ebx, ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
nop
mov esi, ecx
mov edx, edi
not edx
rol esi, 5
and edx, dword [ebp - 4]
mov ecx, eax
and ecx, edi
or edx, ecx
mov ecx, dword [ebp - 0x18]
add esi, edx
mov edx, eax
mov eax, edi
mov edi, dword [ebp - 0xc]
ror eax, 2
add esi, dword [ecx + ebx*4]
inc ebx
mov ecx, dword [ebp - 8]
add ecx, 0x5a827999
add ecx, esi
mov esi, dword [ebp - 4]
mov dword [ebp - 8], esi
mov dword [ebp - 4], edx
mov dword [ebp - 0xc], ecx
cmp ebx, 0x10
jl 0x478790
mov dword [ebp - 0x10], edi
cmp ebx, 0x14
jge 0x478855
mov edx, dword [ebp - 0x18]
lea edx, [edx + ebx*4]
add edx, 0xffffffc8
mov dword [ebp - 0x1c], edx
mov edx, 0x14
sub edx, ebx
add ebx, edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x1c]
mov edi, dword [ebx + 0x2c]
mov esi, ecx
xor edi, dword [ebx + 0x18]
mov ecx, eax
xor edi, dword [ebx - 8]
xor edi, dword [ebx]
mov edx, dword [ebp - 0x10]
and ecx, dword [ebp - 0x10]
not edx
and edx, dword [ebp - 4]
or edx, ecx
rol edi, 1
mov ecx, dword [ebp - 8]
rol esi, 5
add ecx, 0x5a827999
add esi, edi
mov dword [ebx + 0x38], edi
mov ebx, dword [ebp - 0x1c]
add edx, esi
mov esi, dword [ebp - 4]
add ecx, edx
mov edi, dword [ebp - 0xc]
mov edx, eax
mov eax, dword [ebp - 0x10]
add ebx, 4
ror eax, 2
dec dword [ebp - 0x20]
mov dword [ebp - 8], esi
mov dword [ebp - 4], edx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x1c], ebx
jne 0x4787f7
mov ebx, dword [ebp - 0x14]
cmp ebx, 0x28
jge 0x4788cd
mov edx, dword [ebp - 0x18]
lea edx, [edx + ebx*4]
add edx, 0xffffffc8
mov dword [ebp - 0x1c], edx
mov edx, 0x28
sub edx, ebx
add ebx, edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x1c]
mov esi, dword [ebx + 0x2c]
mov edx, ecx
xor esi, dword [ebx + 0x18]
xor esi, dword [ebx - 8]
xor esi, dword [ebx]
mov ecx, dword [ebp - 4]
rol esi, 1
xor ecx, eax
rol edx, 5
xor ecx, edi
add edx, esi
mov dword [ebx + 0x38], esi
mov esi, dword [ebp - 8]
add ecx, edx
mov ebx, dword [ebp - 0x1c]
mov edx, eax
add esi, 0x6ed9eba1
mov eax, edi
mov edi, dword [ebp - 0xc]
add ecx, esi
mov esi, dword [ebp - 4]
add ebx, 4
ror eax, 2
dec dword [ebp - 0x20]
mov dword [ebp - 8], esi
mov dword [ebp - 4], edx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x1c], ebx
jne 0x478878
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x10], edi
cmp ebx, 0x3c
jge 0x478947
mov edx, dword [ebp - 0x18]
lea edx, [edx + ebx*4]
add edx, 0xffffffc8
mov dword [ebp - 0x1c], edx
mov edx, 0x3c
sub edx, ebx
add ebx, edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x1c]
mov edi, dword [ebx + 0x2c]
lea ebx, [ebx + 4]
xor edi, dword [ebx + 0x14]
mov esi, ecx
xor edi, dword [ebx - 0xc]
mov edx, eax
or edx, dword [ebp - 0x10]
mov ecx, eax
and edx, dword [ebp - 4]
and ecx, dword [ebp - 0x10]
xor edi, dword [ebx - 4]
or edx, ecx
rol esi, 5
add esi, dword [ebp - 8]
rol edi, 1
add edx, edi
mov dword [ebx + 0x34], edi
mov edi, dword [ebp - 0xc]
lea ecx, [esi - 0x70e44324]
mov esi, dword [ebp - 4]
add ecx, edx
mov dword [ebp - 8], esi
mov edx, eax
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0x10]
ror eax, 2
dec dword [ebp - 0x20]
mov dword [ebp - 4], edx
mov dword [ebp - 0x10], edi
jne 0x4788f0
mov ebx, dword [ebp - 0x14]
cmp ebx, 0x50
jge 0x4789b4
mov edx, dword [ebp - 0x18]
lea edx, [edx + ebx*4]
add edx, 0xffffffc8
mov dword [ebp - 0x1c], edx
mov edx, 0x50
sub edx, ebx
mov ebx, dword [ebp - 0x1c]
mov dword [ebp - 0x20], edx
mov esi, dword [ebx + 0x2c]
mov edx, ecx
xor esi, dword [ebx + 0x18]
xor esi, dword [ebx - 8]
xor esi, dword [ebx]
mov ecx, dword [ebp - 4]
xor ecx, eax
rol esi, 1
xor ecx, edi
mov dword [ebx + 0x38], esi
mov ebx, dword [ebp - 0x1c]
add ecx, esi
mov esi, dword [ebp - 8]
add ebx, 4
rol edx, 5
add esi, 0xca62c1d6
add edx, esi
mov dword [ebp - 0x1c], ebx
mov esi, dword [ebp - 4]
add ecx, edx
mov edx, eax
mov dword [ebp - 8], esi
mov eax, edi
mov dword [ebp - 4], edx
mov edi, dword [ebp - 0xc]
ror eax, 2
dec dword [ebp - 0x20]
mov dword [ebp - 0xc], ecx
jne 0x478965
mov ebx, dword [ebp - 0x28]
add ecx, dword [ebp - 0x24]
add dword [ebx + 4], edi
add dword [ebx + 8], eax
add dword [ebx + 0xc], edx
add dword [ebx + 0x10], esi
pop edi
pop esi
mov dword [ebx], ecx
pop ebx
mov esp, ebp
pop ebp
ret