Function at 0x506370
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [0x62d12c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov edx, dword [eax + 4]
push ebx
push esi
mov esi, ecx
mov ecx, dword [eax]
mov dword [ebp - 0x44], ecx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x40], edx
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x3c], ecx
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x38], edx
mov edx, dword [eax + 0x14]
mov dword [ebp - 0x34], ecx
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x30], edx
mov edx, dword [eax + 0x1c]
mov dword [ebp - 0x2c], ecx
mov ecx, dword [eax + 0x20]
mov dword [ebp - 0x28], edx
mov edx, dword [eax + 0x24]
mov dword [ebp - 0x24], ecx
mov ecx, dword [eax + 0x28]
mov dword [ebp - 0x20], edx
mov edx, dword [eax + 0x2c]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [eax + 0x30]
mov dword [ebp - 0x18], edx
mov edx, dword [eax + 0x34]
mov dword [ebp - 0x14], ecx
mov ecx, dword [eax + 0x38]
mov dword [ebp - 0x10], edx
mov edx, dword [eax + 0x3c]
mov eax, dword [esi]
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0xc], ecx
mov ecx, dword [esi + 8]
mov dword [ebp - 8], edx
mov edx, dword [esi + 0xc]
mov dword [ebp - 0x4c], eax
mov eax, dword [esi + 4]
mov esi, dword [esi + 0x10]
mov dword [ebp - 0x48], esi
xor ebx, ebx
mov esi, 0xfffffffd
push edi
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x50], esi
jmp 0x506410
cmp ebx, 0x10
jl 0x506446
and ebx, 0xf
lea edi, [ebp + ebx*4 - 0x44]
mov dword [ebp - 0x60], edi
lea edi, [esi - 5]
and edi, 0xf
mov edi, dword [ebp + edi*4 - 0x44]
lea ebx, [esi + 5]
and ebx, 0xf
xor edi, dword [ebp + ebx*4 - 0x44]
mov ebx, dword [ebp - 0x64]
and esi, 0xf
xor edi, dword [ebp + esi*4 - 0x44]
mov esi, dword [ebp - 0x60]
xor edi, dword [esi]
rol edi, 1
mov dword [esi], edi
and ebx, 0xf
lea esi, [ebp + ebx*4 - 0x44]
mov dword [ebp - 0x60], esi
mov esi, dword [ebp - 0x4c]
mov edi, eax
not edi
and edi, edx
rol esi, 5
mov ebx, ecx
and ebx, eax
or edi, ebx
add esi, edi
mov edi, dword [ebp - 0x60]
add esi, dword [edi]
mov edi, dword [ebp - 0x48]
lea edi, [esi + edi + 0x5a827999]
mov esi, dword [ebp - 0x50]
ror eax, 2
mov dword [ebp - 0x48], edx
lea edx, [esi + 4]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x4c], edi
cmp edx, 0x10
jl 0x5064c8
mov ecx, edx
and ecx, 0xf
lea ecx, [ebp + ecx*4 - 0x44]
mov dword [ebp - 0x50], ecx
lea ecx, [esi + 6]
and ecx, 0xf
mov ecx, dword [ebp + ecx*4 - 0x44]
lea ebx, [esi - 4]
and ebx, 0xf
xor ecx, dword [ebp + ebx*4 - 0x44]
lea ebx, [esi + 1]
and ebx, 0xf
xor ecx, dword [ebp + ebx*4 - 0x44]
mov ebx, ecx
mov ecx, dword [ebp - 0x50]
xor ebx, dword [ecx]
rol ebx, 1
mov dword [ecx], ebx
mov ecx, dword [ebp - 0x5c]
mov ebx, dword [ebp - 0x58]
and edx, 0xf
lea edx, [ebp + edx*4 - 0x44]
mov dword [ebp - 0x50], edx
mov edx, eax
not edx
and edx, ecx
and ebx, eax
or edx, ebx
rol edi, 5
add edi, edx
mov edx, dword [ebp - 0x50]
add edi, dword [edx]
mov edx, dword [ebp - 0x48]
ror eax, 2
mov dword [ebp - 0x48], ecx
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x58], eax
lea eax, [esi + 5]
lea edx, [edi + edx + 0x5a827999]
mov dword [ebp - 0x5c], ecx
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x4c], edx
cmp eax, 0x10
jl 0x506545
mov edi, eax
and edi, 0xf
lea edi, [ebp + edi*4 - 0x44]
mov dword [ebp - 0x68], edi
lea edi, [esi + 7]
and edi, 0xf
mov edi, dword [ebp + edi*4 - 0x44]
lea ebx, [esi - 3]
and ebx, 0xf
xor edi, dword [ebp + ebx*4 - 0x44]
lea ebx, [esi + 2]
and ebx, 0xf
xor edi, dword [ebp + ebx*4 - 0x44]
mov ebx, edi
mov edi, dword [ebp - 0x68]
xor ebx, dword [edi]
rol ebx, 1
mov dword [edi], ebx
mov ebx, dword [ebp - 0x58]
mov edi, ecx
not edi
and edi, dword [ebp - 0x5c]
rol edx, 5
and ebx, ecx
or edi, ebx
add edx, edi
and eax, 0xf
add edx, dword [ebp + eax*4 - 0x44]
mov eax, dword [ebp - 0x48]
lea eax, [edx + eax + 0x5a827999]
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0x48], edx
mov edx, dword [ebp - 0x58]
ror ecx, 2
lea edi, [esi + 6]
mov dword [ebp - 0x5c], edx
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x4c], eax
cmp edi, 0x10
jl 0x5065b9
mov ecx, edi
and ecx, 0xf
lea ecx, [ebp + ecx*4 - 0x44]
mov dword [ebp - 0x54], ecx
lea ecx, [esi - 8]
and ecx, 0xf
mov ecx, dword [ebp + ecx*4 - 0x44]
lea ebx, [esi - 2]
and ebx, 0xf
xor ecx, dword [ebp + ebx*4 - 0x44]
mov ebx, dword [ebp - 0x60]
xor ecx, dword [ebx]
mov ebx, ecx
mov ecx, dword [ebp - 0x54]
xor ebx, dword [ecx]
rol ebx, 1
mov dword [ecx], ebx
mov ebx, dword [ebp - 0x58]
mov ecx, edx
not ecx
and ecx, dword [ebp - 0x5c]
rol eax, 5
and ebx, edx
or ecx, ebx
add eax, ecx
mov ecx, dword [ebp - 0x48]
and edi, 0xf
add eax, dword [ebp + edi*4 - 0x44]
ror edx, 2
lea edi, [eax + ecx + 0x5a827999]
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x48], eax
lea eax, [esi + 7]
mov dword [ebp - 0x5c], ecx
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x58], edx
mov dword [ebp - 0x4c], edi
cmp eax, 0x10
jl 0x50662d
mov edx, eax
and edx, 0xf
lea edx, [ebp + edx*4 - 0x44]
mov dword [ebp - 0x54], edx
lea edx, [esi - 7]
and edx, 0xf
mov edx, dword [ebp + edx*4 - 0x44]
lea ebx, [esi - 1]
and ebx, 0xf
xor edx, dword [ebp + ebx*4 - 0x44]
mov ebx, dword [ebp - 0x50]
xor edx, dword [ebx]
mov ebx, edx
mov edx, dword [ebp - 0x54]
xor ebx, dword [edx]
rol ebx, 1
mov dword [edx], ebx
mov ebx, dword [ebp - 0x58]
mov edx, ecx
not edx
and edx, dword [ebp - 0x5c]
and ebx, ecx
or edx, ebx
mov ebx, dword [ebp - 0x64]
rol edi, 5
add edi, edx
mov edx, dword [ebp - 0x5c]
and eax, 0xf
add edi, dword [ebp + eax*4 - 0x44]
mov eax, dword [ebp - 0x48]
add esi, 5
lea edi, [edi + eax + 0x5a827999]
mov eax, dword [ebp - 0x4c]
add ebx, 5
ror ecx, 2
mov dword [ebp - 0x48], edx
mov edx, dword [ebp - 0x58]
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x50], esi
cmp esi, 0x11
jl 0x506410
cmp ebx, 0x28
jge 0x5066f7
lea esi, [ebx - 3]
mov dword [ebp - 0x50], esi
and ebx, 0xf
lea ebx, [ebp + ebx*4 - 0x44]
mov dword [ebp - 0x60], ebx
lea ebx, [esi - 5]
and ebx, 0xf
add esi, 5
and esi, 0xf
mov dword [ebp - 0x54], esi
mov esi, dword [ebp + ebx*4 - 0x44]
mov ebx, dword [ebp - 0x54]
xor esi, dword [ebp + ebx*4 - 0x44]
mov ebx, dword [ebp - 0x50]
and ebx, 0xf
xor esi, dword [ebp + ebx*4 - 0x44]
mov ebx, dword [ebp - 0x60]
xor esi, dword [ebx]
rol esi, 1
mov dword [ebx], esi
rol edi, 5
add edi, esi
mov esi, dword [ebp - 0x48]
mov ebx, edx
xor ebx, ecx
xor ebx, eax
add ebx, edi
lea edi, [ebx + esi + 0x6ed9eba1]
mov esi, dword [ebp - 0x50]
mov ebx, dword [ebp - 0x64]
ror eax, 2
mov dword [ebp - 0x48], edx
inc esi
mov edx, ecx
inc ebx
mov ecx, eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x50], esi
cmp esi, 0x25
jl 0x506686
cmp ebx, 0x3c
jge 0x506778
lea esi, [ebx - 3]
and ebx, 0xf
lea ebx, [ebp + ebx*4 - 0x44]
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x60], ebx
lea ebx, [esi - 5]
add esi, 5
and esi, 0xf
and ebx, 0xf
mov dword [ebp - 0x54], esi
mov esi, dword [ebp + ebx*4 - 0x44]
mov ebx, dword [ebp - 0x54]
xor esi, dword [ebp + ebx*4 - 0x44]
mov ebx, dword [ebp - 0x50]
and ebx, 0xf
xor esi, dword [ebp + ebx*4 - 0x44]
mov ebx, dword [ebp - 0x60]
xor esi, dword [ebx]
rol esi, 1
mov dword [ebx], esi
mov dword [ebp - 0x54], esi
mov esi, ecx
or esi, eax
and esi, edx
mov ebx, ecx
and ebx, eax
or esi, ebx
add esi, dword [ebp - 0x54]
mov ebx, dword [ebp - 0x64]
rol edi, 5
add edi, dword [ebp - 0x48]
ror eax, 2
mov dword [ebp - 0x48], edx
inc ebx
mov edx, ecx
lea edi, [esi + edi - 0x70e44324]
mov ecx, eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x64], ebx
cmp ebx, 0x3c
jl 0x506700
cmp ebx, 0x50
jge 0x5067ee
lea ecx, [ecx]
lea esi, [ebx - 3]
and ebx, 0xf
lea ebx, [ebp + ebx*4 - 0x44]
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x50], esi
lea ebx, [esi - 5]
and ebx, 0xf
add esi, 5
and esi, 0xf
mov dword [ebp - 0x54], esi
mov esi, dword [ebp + ebx*4 - 0x44]
mov ebx, dword [ebp - 0x54]
xor esi, dword [ebp + ebx*4 - 0x44]
mov ebx, dword [ebp - 0x50]
and ebx, 0xf
xor esi, dword [ebp + ebx*4 - 0x44]
mov ebx, dword [ebp - 0x60]
xor esi, dword [ebx]
rol esi, 1
mov dword [ebx], esi
mov ebx, edx
xor ebx, ecx
xor ebx, eax
rol edi, 5
add edi, dword [ebp - 0x48]
add ebx, esi
lea edi, [ebx + edi - 0x359d3e2a]
mov ebx, dword [ebp - 0x64]
ror eax, 2
mov dword [ebp - 0x48], edx
inc ebx
mov edx, ecx
mov ecx, eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x64], ebx
cmp ebx, 0x50
jl 0x506780
mov esi, dword [ebp - 0x6c]
mov ebx, dword [esi]
add ebx, edi
mov edi, dword [esi + 4]
add edi, eax
mov eax, dword [esi + 8]
add eax, ecx
mov ecx, dword [ebp - 4]
mov dword [esi + 8], eax
mov eax, dword [esi + 0xc]
add eax, edx
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x10]
add eax, dword [ebp - 0x48]
mov dword [esi + 4], edi
pop edi
mov dword [esi], ebx
mov dword [esi + 0x10], eax
pop esi
xor ecx, ebp
pop ebx
call fcn.00558b78
mov esp, ebp
pop ebp
ret