Function at 0x476050
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x154
mov eax, dword [0x4ff94c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ebp - 0x144], ecx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x140], edx
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x13c], ecx
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x138], edx
mov edx, dword [eax + 0x14]
mov dword [ebp - 0x134], ecx
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x130], edx
mov edx, dword [eax + 0x1c]
mov dword [ebp - 0x12c], ecx
mov ecx, dword [eax + 0x20]
mov dword [ebp - 0x128], edx
mov edx, dword [eax + 0x24]
mov dword [ebp - 0x124], ecx
mov ecx, dword [eax + 0x28]
mov dword [ebp - 0x120], edx
mov edx, dword [eax + 0x2c]
mov dword [ebp - 0x11c], ecx
mov ecx, dword [eax + 0x30]
mov dword [ebp - 0x118], edx
mov edx, dword [eax + 0x34]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x114], ecx
mov ecx, dword [eax + 0x38]
mov dword [ebp - 0x110], edx
mov edx, dword [eax + 0x3c]
mov dword [ebp - 0x154], edi
mov dword [ebp - 0x10c], ecx
mov dword [ebp - 0x108], edx
lea eax, [ebp - 0x124]
mov dword [ebp - 0x148], 0x10
mov ecx, dword [eax - 0x20]
xor ecx, dword [eax + 0x14]
mov edx, dword [eax - 0x18]
mov ebx, dword [eax - 0x1c]
xor ebx, dword [eax + 0x18]
mov esi, dword [eax - 0x14]
xor ebx, dword [eax + 4]
xor ecx, edx
xor ecx, dword [eax]
xor ebx, esi
rol ecx, 1
rol ebx, 1
mov dword [eax + 0x24], ebx
mov ebx, dword [eax + 0x1c]
xor ebx, dword [eax - 0x10]
mov dword [eax + 0x20], ecx
xor ebx, dword [eax + 8]
add eax, 0x10
xor ebx, edx
mov edx, dword [eax - 0x1c]
xor edx, dword [eax - 4]
rol ebx, 1
xor edx, ecx
xor edx, esi
rol edx, 1
dec dword [ebp - 0x148]
mov dword [eax + 0x18], ebx
mov dword [eax + 0x1c], edx
jne 0x476111
mov esi, dword [edi]
mov eax, dword [edi + 4]
mov ecx, dword [edi + 8]
mov edx, dword [edi + 0xc]
mov edi, dword [edi + 0x10]
mov dword [ebp - 0x150], esi
mov dword [ebp - 0x14c], edi
mov dword [ebp - 0x148], 0
rol esi, 5
mov edi, eax
mov ebx, ecx
and ebx, eax
not edi
and edi, edx
or edi, ebx
mov ebx, dword [ebp - 0x14c]
add esi, edi
mov edi, dword [ebp - 0x148]
add esi, dword [ebp + edi*4 - 0x144]
ror eax, 2
lea esi, [esi + ebx + 0x5a827999]
mov ebx, dword [ebp - 0x150]
mov dword [ebp - 0x14c], edx
mov edx, ebx
not edx
and edx, ecx
mov dword [ebp - 0x150], esi
rol esi, 5
mov dword [ebp - 0x148], ecx
mov ecx, eax
and ecx, ebx
or edx, ecx
mov ecx, dword [ebp - 0x148]
add esi, edx
add esi, dword [ebp + edi*4 - 0x140]
mov edx, dword [ebp - 0x14c]
lea edx, [esi + edx + 0x5a827999]
mov esi, eax
ror ebx, 2
mov dword [ebp - 0x14c], ecx
mov ecx, dword [ebp - 0x150]
mov eax, ecx
not eax
and eax, esi
mov dword [ebp - 0x148], ebx
and ebx, ecx
or eax, ebx
mov ebx, dword [ebp - 0x148]
mov dword [ebp - 0x150], edx
rol edx, 5
add edx, eax
add edx, dword [ebp + edi*4 - 0x13c]
mov eax, dword [ebp - 0x14c]
lea eax, [edx + eax + 0x5a827999]
mov edx, dword [ebp - 0x150]
mov dword [ebp - 0x14c], esi
ror ecx, 2
mov esi, edx
not esi
and esi, ebx
mov dword [ebp - 0x148], ecx
and ecx, edx
or esi, ecx
mov ecx, dword [ebp - 0x14c]
mov dword [ebp - 0x150], eax
rol eax, 5
add eax, esi
add eax, dword [ebp + edi*4 - 0x138]
mov dword [ebp - 0x14c], ebx
lea esi, [eax + ecx + 0x5a827999]
mov ecx, dword [ebp - 0x150]
mov eax, dword [ebp - 0x148]
ror edx, 2
mov ebx, ecx
mov dword [ebp - 0x148], edx
mov dword [ebp - 0x150], esi
not ebx
and edx, ecx
and ebx, eax
rol esi, 5
or ebx, edx
mov edx, dword [ebp - 0x14c]
add esi, ebx
add esi, dword [ebp + edi*4 - 0x134]
mov dword [ebp - 0x14c], eax
mov eax, dword [ebp - 0x150]
lea esi, [esi + edx + 0x5a827999]
mov edx, dword [ebp - 0x148]
ror ecx, 2
add edi, 5
mov dword [ebp - 0x150], esi
mov dword [ebp - 0x148], edi
cmp edi, 0x14
jl 0x476184
mov dword [ebp - 0x148], 0x14
mov ebx, edx
xor ebx, ecx
xor ebx, eax
mov edi, esi
rol edi, 5
add edi, ebx
mov ebx, dword [ebp - 0x148]
add edi, dword [ebp + ebx*4 - 0x144]
mov ebx, dword [ebp - 0x14c]
ror eax, 2
lea edi, [edi + ebx + 0x6ed9eba1]
mov ebx, ecx
xor ebx, eax
xor ebx, esi
mov dword [ebp - 0x150], edi
rol edi, 5
add edi, ebx
mov ebx, dword [ebp - 0x148]
add edi, dword [ebp + ebx*4 - 0x140]
ror esi, 2
mov dword [ebp - 0x148], esi
lea edx, [edi + edx + 0x6ed9eba1]
mov edi, eax
xor eax, dword [ebp - 0x148]
mov esi, edx
rol edx, 5
mov dword [ebp - 0x14c], ecx
mov ecx, dword [ebp - 0x150]
xor eax, ecx
add edx, eax
add edx, dword [ebp + ebx*4 - 0x13c]
mov eax, dword [ebp - 0x14c]
lea eax, [edx + eax + 0x6ed9eba1]
mov edx, esi
ror ecx, 2
mov dword [ebp - 0x14c], edi
mov edi, dword [ebp - 0x148]
mov dword [ebp - 0x148], ecx
mov ecx, eax
rol eax, 5
mov esi, edi
xor esi, dword [ebp - 0x148]
add ebx, 5
xor esi, edx
add eax, esi
add eax, dword [ebp + ebx*4 - 0x14c]
mov esi, dword [ebp - 0x14c]
ror edx, 2
lea esi, [eax + esi + 0x6ed9eba1]
mov eax, dword [ebp - 0x148]
mov dword [ebp - 0x148], edx
mov dword [ebp - 0x150], esi
mov edx, eax
xor edx, dword [ebp - 0x148]
rol esi, 5
xor edx, ecx
add esi, edx
add esi, dword [ebp + ebx*4 - 0x148]
mov edx, dword [ebp - 0x148]
lea esi, [esi + edi + 0x6ed9eba1]
mov dword [ebp - 0x14c], eax
mov eax, dword [ebp - 0x150]
ror ecx, 2
mov dword [ebp - 0x150], esi
mov dword [ebp - 0x148], ebx
cmp ebx, 0x28
jl 0x4762f4
mov dword [ebp - 0x148], 0x28
jmp 0x476430
rol esi, 5
add esi, dword [ebp - 0x14c]
mov dword [ebp - 0x14c], edx
mov edi, ecx
or edi, eax
and edi, edx
mov ebx, ecx
and ebx, eax
or edi, ebx
mov ebx, dword [ebp - 0x148]
add edi, dword [ebp + ebx*4 - 0x144]
ror eax, 2
lea esi, [edi + esi - 0x70e44324]
mov edi, dword [ebp - 0x150]
mov dword [ebp - 0x150], esi
rol esi, 5
add esi, dword [ebp - 0x14c]
mov edx, eax
or edx, edi
and edx, ecx
mov ebx, eax
and ebx, edi
or edx, ebx
mov ebx, dword [ebp - 0x148]
add edx, dword [ebp + ebx*4 - 0x140]
ror edi, 2
lea edx, [edx + esi - 0x70e44324]
mov esi, edi
mov dword [ebp - 0x14c], ecx
mov ecx, dword [ebp - 0x150]
or esi, ecx
and esi, eax
mov dword [ebp - 0x150], edx
rol edx, 5
add edx, dword [ebp - 0x14c]
mov dword [ebp - 0x148], eax
mov eax, edi
and eax, ecx
or esi, eax
add esi, dword [ebp + ebx*4 - 0x13c]
mov eax, dword [ebp - 0x148]
lea edx, [esi + edx - 0x70e44324]
ror ecx, 2
mov dword [ebp - 0x14c], eax
mov eax, dword [ebp - 0x150]
mov dword [ebp - 0x148], edi
mov esi, ecx
or esi, eax
and esi, edi
mov dword [ebp - 0x150], edx
rol edx, 5
add edx, dword [ebp - 0x14c]
mov edi, ecx
and edi, eax
or esi, edi
add esi, dword [ebp + ebx*4 - 0x138]
ror eax, 2
lea esi, [esi + edx - 0x70e44324]
mov edx, dword [ebp - 0x148]
mov dword [ebp - 0x14c], edx
mov edx, ecx
mov ecx, dword [ebp - 0x150]
mov edi, eax
or edi, ecx
and edi, edx
mov dword [ebp - 0x148], edx
mov dword [ebp - 0x150], esi
mov edx, eax
and edx, ecx
or edi, edx
add edi, dword [ebp + ebx*4 - 0x134]
mov edx, dword [ebp - 0x148]
rol esi, 5
add esi, dword [ebp - 0x14c]
mov dword [ebp - 0x14c], edx
lea esi, [edi + esi - 0x70e44324]
mov edx, eax
mov eax, dword [ebp - 0x150]
ror ecx, 2
mov dword [ebp - 0x150], esi
add ebx, 5
mov dword [ebp - 0x148], ebx
cmp ebx, 0x3c
jl 0x476430
mov edi, 0x3c
mov dword [ebp - 0x148], edi
lea esp, [esp]
rol esi, 5
add esi, dword [ebp - 0x14c]
mov ebx, edx
xor ebx, ecx
xor ebx, eax
add ebx, dword [ebp + edi*4 - 0x144]
mov edi, dword [ebp - 0x148]
ror eax, 2
lea esi, [ebx + esi - 0x359d3e2a]
mov ebx, dword [ebp - 0x150]
mov dword [ebp - 0x14c], edx
mov dword [ebp - 0x150], esi
rol esi, 5
add esi, dword [ebp - 0x14c]
mov edx, ecx
xor edx, eax
xor edx, ebx
add edx, dword [ebp + edi*4 - 0x140]
ror ebx, 2
lea edx, [edx + esi - 0x359d3e2a]
mov esi, eax
xor eax, ebx
mov dword [ebp - 0x14c], ecx
mov ecx, dword [ebp - 0x150]
xor eax, ecx
add eax, dword [ebp + edi*4 - 0x13c]
mov dword [ebp - 0x150], edx
rol edx, 5
add edx, dword [ebp - 0x14c]
mov dword [ebp - 0x14c], esi
ror ecx, 2
lea eax, [eax + edx - 0x359d3e2a]
mov edx, dword [ebp - 0x150]
mov esi, ebx
xor esi, ecx
xor esi, edx
add esi, dword [ebp + edi*4 - 0x138]
mov dword [ebp - 0x150], eax
rol eax, 5
add eax, dword [ebp - 0x14c]
mov dword [ebp - 0x14c], ebx
lea esi, [esi + eax - 0x359d3e2a]
mov eax, ecx
mov dword [ebp - 0x148], ebx
ror edx, 2
mov dword [ebp - 0x148], ecx
mov ecx, dword [ebp - 0x150]
mov dword [ebp - 0x150], esi
mov ebx, eax
xor ebx, edx
rol esi, 5
add esi, dword [ebp - 0x14c]
xor ebx, ecx
add ebx, dword [ebp + edi*4 - 0x134]
add edi, 5
lea esi, [ebx + esi - 0x359d3e2a]
mov dword [ebp - 0x14c], eax
mov eax, dword [ebp - 0x150]
ror ecx, 2
mov dword [ebp - 0x148], edx
mov dword [ebp - 0x150], esi
mov dword [ebp - 0x148], edi
cmp edi, 0x50
jl 0x4765a0
mov edi, dword [ebp - 0x154]
mov ebx, dword [edi]
add ebx, esi
mov esi, dword [edi + 4]
add esi, eax
mov eax, dword [edi + 8]
add eax, ecx
mov ecx, dword [ebp - 4]
mov dword [edi + 8], eax
mov eax, dword [edi + 0xc]
add eax, edx
mov dword [edi + 0xc], eax
mov eax, dword [edi + 0x10]
add eax, dword [ebp - 0x14c]
mov dword [edi], ebx
mov dword [edi + 4], esi
mov dword [edi + 0x10], eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004b7f56
mov esp, ebp
pop ebp
ret