Function at 0x57d3c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14c
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
xor ecx, ecx
lea edx, [esi + 8]
mov eax, dword [edx]
mov edi, eax
shr edi, 0x10
rol di, 8
rol ax, 8
movzx eax, ax
movzx edi, di
shl eax, 0x10
or edi, eax
mov dword [ebp + ecx*4 - 0x14c], edi
inc ecx
add edx, 4
cmp ecx, 0x10
jb 0x57d3d4
lea eax, [ebp - 0x12c]
mov dword [ebp - 4], 0x10
jmp 0x57d410
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 edi, dword [eax - 0x14]
xor ebx, dword [eax + 4]
xor ecx, edx
xor ecx, dword [eax]
xor ebx, edi
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, edi
rol edx, 1
sub dword [ebp - 4], 1
mov dword [eax + 0x18], ebx
mov dword [eax + 0x1c], edx
jne 0x57d410
mov ebx, dword [esi + 0x50]
mov eax, dword [esi + 0x54]
mov ecx, dword [esi + 0x58]
mov edx, dword [esi + 0x5c]
mov esi, dword [esi + 0x60]
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], esi
mov dword [ebp - 4], 0
lea esp, [esp]
mov esi, eax
not esi
and esi, edx
rol ebx, 5
mov edi, ecx
and edi, eax
or esi, edi
mov edi, dword [ebp - 4]
add ebx, esi
add ebx, dword [ebp + edi*4 - 0x14c]
mov esi, dword [ebp - 0xc]
lea esi, [ebx + esi + 0x5a827999]
mov ebx, dword [ebp - 8]
rol eax, 0x1e
mov dword [ebp - 0xc], edx
mov edx, ebx
not edx
and edx, ecx
mov dword [ebp - 8], esi
rol esi, 5
mov dword [ebp - 4], ecx
mov ecx, eax
and ecx, ebx
or edx, ecx
mov ecx, dword [ebp - 4]
add esi, edx
add esi, dword [ebp + edi*4 - 0x148]
mov edx, dword [ebp - 0xc]
lea edx, [esi + edx + 0x5a827999]
mov esi, eax
rol ebx, 0x1e
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp - 8]
mov eax, ecx
not eax
and eax, esi
mov dword [ebp - 4], ebx
and ebx, ecx
or eax, ebx
mov ebx, dword [ebp - 4]
mov dword [ebp - 8], edx
rol edx, 5
add edx, eax
add edx, dword [ebp + edi*4 - 0x144]
mov eax, dword [ebp - 0xc]
lea eax, [edx + eax + 0x5a827999]
mov edx, dword [ebp - 8]
mov dword [ebp - 0xc], esi
rol ecx, 0x1e
mov esi, edx
not esi
and esi, ebx
mov dword [ebp - 4], ecx
and ecx, edx
or esi, ecx
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 8], eax
rol eax, 5
add eax, esi
add eax, dword [ebp + edi*4 - 0x140]
mov dword [ebp - 0xc], ebx
lea esi, [eax + ecx + 0x5a827999]
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 4]
rol edx, 0x1e
mov ebx, ecx
mov dword [ebp - 4], edx
mov dword [ebp - 8], esi
not ebx
and edx, ecx
and ebx, eax
rol esi, 5
or ebx, edx
mov edx, dword [ebp - 0xc]
add esi, ebx
add esi, dword [ebp + edi*4 - 0x13c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
lea esi, [esi + edx + 0x5a827999]
mov edx, dword [ebp - 4]
rol ecx, 0x1e
add edi, 5
mov ebx, esi
mov dword [ebp - 8], ebx
mov dword [ebp - 4], edi
cmp edi, 0x14
jb 0x57d480
mov edi, 0x14
rol esi, 5
mov ebx, edx
xor ebx, ecx
xor ebx, eax
add esi, ebx
add esi, dword [ebp + edi*4 - 0x14c]
mov ebx, dword [ebp - 0xc]
rol eax, 0x1e
mov dword [ebp - 0xc], edx
lea esi, [esi + ebx + 0x6ed9eba1]
mov ebx, dword [ebp - 8]
mov dword [ebp - 8], esi
rol esi, 5
mov edx, ecx
xor edx, eax
xor edx, ebx
add esi, edx
add esi, dword [ebp + edi*4 - 0x148]
mov edx, dword [ebp - 0xc]
lea edx, [esi + edx + 0x6ed9eba1]
rol ebx, 0x1e
mov esi, eax
xor eax, ebx
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp - 8]
xor eax, ecx
mov dword [ebp - 8], edx
rol edx, 5
add edx, eax
add edx, dword [ebp + edi*4 - 0x144]
mov eax, dword [ebp - 0xc]
rol ecx, 0x1e
lea eax, [edx + eax + 0x6ed9eba1]
mov edx, dword [ebp - 8]
mov dword [ebp - 4], ebx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], eax
rol eax, 5
mov ecx, ebx
xor ecx, dword [ebp - 4]
add edi, 5
xor ecx, edx
add eax, ecx
add eax, dword [ebp + edi*4 - 0x154]
mov ecx, dword [ebp - 8]
rol edx, 0x1e
lea esi, [eax + esi + 0x6ed9eba1]
mov eax, dword [ebp - 4]
mov dword [ebp - 4], edx
mov dword [ebp - 8], esi
mov edx, eax
xor edx, dword [ebp - 4]
rol esi, 5
xor edx, ecx
add esi, edx
add esi, dword [ebp + edi*4 - 0x150]
mov edx, dword [ebp - 4]
lea esi, [esi + ebx + 0x6ed9eba1]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
rol ecx, 0x1e
mov dword [ebp - 8], esi
cmp edi, 0x28
jb 0x57d593
mov dword [ebp - 4], 0x28
rol esi, 5
add esi, dword [ebp - 0xc]
mov dword [ebp - 0xc], edx
mov edi, ecx
or edi, eax
and edi, edx
mov ebx, ecx
and ebx, eax
or edi, ebx
mov ebx, dword [ebp - 4]
add edi, dword [ebp + ebx*4 - 0x14c]
rol eax, 0x1e
lea esi, [edi + esi - 0x70e44324]
mov edi, dword [ebp - 8]
mov dword [ebp - 8], esi
rol esi, 5
add esi, dword [ebp - 0xc]
mov edx, eax
or edx, edi
and edx, ecx
mov ebx, eax
and ebx, edi
or edx, ebx
mov ebx, dword [ebp - 4]
add edx, dword [ebp + ebx*4 - 0x148]
rol edi, 0x1e
lea edx, [edx + esi - 0x70e44324]
mov esi, edi
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp - 8]
or esi, ecx
and esi, eax
mov dword [ebp - 8], edx
rol edx, 5
add edx, dword [ebp - 0xc]
mov dword [ebp - 4], eax
mov eax, edi
and eax, ecx
or esi, eax
add esi, dword [ebp + ebx*4 - 0x144]
mov eax, dword [ebp - 4]
lea edx, [esi + edx - 0x70e44324]
rol ecx, 0x1e
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], edi
mov esi, ecx
or esi, eax
and esi, edi
mov dword [ebp - 8], edx
rol edx, 5
add edx, dword [ebp - 0xc]
mov edi, ecx
and edi, eax
or esi, edi
add esi, dword [ebp + ebx*4 - 0x140]
rol eax, 0x1e
lea esi, [esi + edx - 0x70e44324]
mov edx, dword [ebp - 4]
mov dword [ebp - 0xc], edx
mov edx, ecx
mov ecx, dword [ebp - 8]
mov edi, eax
or edi, ecx
and edi, edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], esi
mov edx, eax
and edx, ecx
or edi, edx
add edi, dword [ebp + ebx*4 - 0x13c]
mov edx, dword [ebp - 4]
rol esi, 5
add esi, dword [ebp - 0xc]
mov dword [ebp - 0xc], edx
lea esi, [edi + esi - 0x70e44324]
mov edx, eax
mov eax, dword [ebp - 8]
rol ecx, 0x1e
mov dword [ebp - 8], esi
add ebx, 5
mov dword [ebp - 4], ebx
cmp ebx, 0x3c
jb 0x57d673
mov edi, 0x3c
mov dword [ebp - 4], edi
rol esi, 5
add esi, dword [ebp - 0xc]
mov ebx, edx
xor ebx, ecx
xor ebx, eax
add ebx, dword [ebp + edi*4 - 0x14c]
mov edi, dword [ebp - 4]
rol eax, 0x1e
lea esi, [ebx + esi - 0x359d3e2a]
mov ebx, dword [ebp - 8]
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], esi
rol esi, 5
add esi, dword [ebp - 0xc]
mov edx, ecx
xor edx, eax
xor edx, ebx
add edx, dword [ebp + edi*4 - 0x148]
rol ebx, 0x1e
lea edx, [edx + esi - 0x359d3e2a]
mov esi, eax
xor eax, ebx
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp - 8]
xor eax, ecx
add eax, dword [ebp + edi*4 - 0x144]
mov dword [ebp - 8], edx
rol edx, 5
add edx, dword [ebp - 0xc]
mov dword [ebp - 0xc], esi
rol ecx, 0x1e
lea eax, [eax + edx - 0x359d3e2a]
mov edx, dword [ebp - 8]
mov esi, ebx
xor esi, ecx
xor esi, edx
add esi, dword [ebp + edi*4 - 0x140]
mov dword [ebp - 8], eax
rol eax, 5
add eax, dword [ebp - 0xc]
mov dword [ebp - 0xc], ebx
lea esi, [esi + eax - 0x359d3e2a]
mov eax, ecx
mov dword [ebp - 4], ebx
rol edx, 0x1e
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 8]
mov dword [ebp - 8], esi
mov ebx, eax
xor ebx, edx
rol esi, 5
add esi, dword [ebp - 0xc]
xor ebx, ecx
add ebx, dword [ebp + edi*4 - 0x13c]
add edi, 5
lea esi, [ebx + esi - 0x359d3e2a]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
rol ecx, 0x1e
mov dword [ebp - 4], edx
mov dword [ebp - 8], esi
mov dword [ebp - 4], edi
cmp edi, 0x50
jb 0x57d782
mov edi, dword [ebp + 8]
mov ebx, dword [edi + 0x50]
add ebx, esi
mov esi, dword [edi + 0x54]
add esi, eax
mov eax, dword [edi + 0x58]
add eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword [edi + 0x58], eax
mov eax, dword [edi + 0x5c]
add eax, edx
mov dword [edi + 0x5c], eax
mov eax, dword [edi + 0x60]
add eax, ecx
mov dword [edi + 0x50], ebx
mov dword [edi + 0x54], esi
mov dword [edi + 0x60], eax
mov dword [edi + 4], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4