Function at 0x576d80
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x14c
mov edx, dword [esp + 0x154]
push ebx
push ebp
push esi
xor esi, esi
add edx, 2
push edi
mov dword [esp + 0x14], esi
mov edi, esi
movzx ecx, byte [edx - 2]
movzx eax, byte [edx - 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx]
shl ecx, 8
lea edx, [edx + 4]
or ecx, eax
movzx eax, byte [edx - 3]
shl ecx, 8
or ecx, eax
mov dword [esp + edi*4 + 0x1c], ecx
inc edi
cmp edi, 0x10
jb 0x576d9c
mov eax, dword [esp + 0x160]
push 0x40
pop esi
mov ecx, dword [eax + 8]
mov edi, ecx
mov ebx, dword [eax + 0xc]
mov ebp, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
mov eax, dword [eax + 0x18]
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x24]
mov dword [esp + 0x10], eax
mov eax, dword [ecx + 0x2c]
xor eax, dword [ecx + 0x18]
xor eax, dword [ecx - 8]
xor eax, dword [ecx]
lea ecx, [ecx + 4]
rol eax, 1
mov dword [ecx + 0x34], eax
sub esi, 1
jne 0x576dee
mov esi, dword [esp + 0x14]
mov eax, edx
mov ecx, edi
xor eax, ebp
rol ecx, 5
and eax, ebx
rol ebx, 0x1e
xor eax, edx
add ecx, eax
mov eax, dword [esp + 0x10]
add ecx, dword [esp + esi*4 + 0x1c]
add eax, 0x5a827999
add eax, ecx
mov dword [esp + 0x10], eax
mov ecx, eax
rol ecx, 5
mov eax, ebp
xor eax, ebx
and eax, edi
rol edi, 0x1e
xor eax, ebp
add eax, 0x5a827999
add ecx, eax
mov eax, ebx
add ecx, dword [esp + esi*4 + 0x20]
xor eax, edi
and eax, dword [esp + 0x10]
add edx, ecx
xor eax, ebx
mov ecx, edx
add eax, 0x5a827999
rol ecx, 5
add ecx, eax
mov eax, dword [esp + 0x10]
add ecx, dword [esp + esi*4 + 0x24]
rol eax, 0x1e
add ebp, ecx
mov dword [esp + 0x10], eax
mov ecx, ebp
xor eax, edi
rol ecx, 5
and eax, edx
rol edx, 0x1e
xor eax, edi
add edi, 0x5a827999
add eax, 0x5a827999
add ecx, eax
mov eax, dword [esp + 0x10]
add ecx, dword [esp + esi*4 + 0x28]
xor eax, edx
add ebx, ecx
and eax, ebp
xor eax, dword [esp + 0x10]
mov ecx, ebx
rol ecx, 5
add ecx, eax
rol ebp, 0x1e
add ecx, dword [esp + esi*4 + 0x2c]
add esi, 5
add edi, ecx
cmp esi, 0x14
jb 0x576e0a
mov dword [esp + 0x14], edx
cmp esi, 0x28
jae 0x576f73
mov eax, edx
mov ecx, edi
xor eax, ebp
rol ecx, 5
xor eax, ebx
rol ebx, 0x1e
add ecx, eax
mov eax, dword [esp + 0x10]
add ecx, dword [esp + esi*4 + 0x1c]
add eax, 0x6ed9eba1
add eax, ecx
mov dword [esp + 0x10], eax
mov ecx, eax
rol ecx, 5
mov eax, ebp
xor eax, ebx
xor eax, edi
rol edi, 0x1e
add eax, 0x6ed9eba1
add ecx, eax
mov eax, dword [esp + 0x10]
add ecx, dword [esp + esi*4 + 0x20]
xor eax, ebx
add edx, ecx
xor eax, edi
add eax, 0x6ed9eba1
mov ecx, edx
rol ecx, 5
add ecx, eax
mov eax, dword [esp + 0x10]
add ecx, dword [esp + esi*4 + 0x24]
add ebp, ecx
rol eax, 0x1e
mov dword [esp + 0x10], eax
mov ecx, ebp
xor eax, edx
rol ecx, 5
xor eax, edi
rol edx, 0x1e
add eax, 0x6ed9eba1
add edi, 0x6ed9eba1
add ecx, eax
mov eax, dword [esp + 0x10]
add ecx, dword [esp + esi*4 + 0x28]
xor eax, edx
add ebx, ecx
xor eax, ebp
mov ecx, ebx
rol ebp, 0x1e
rol ecx, 5
add ecx, eax
add ecx, dword [esp + esi*4 + 0x2c]
add esi, 5
add edi, ecx
cmp esi, 0x28
jb 0x576ec9
mov dword [esp + 0x14], edx
cmp esi, 0x3c
jae 0x5770fc
mov ecx, ebp
mov eax, ebp
or ecx, ebx
and eax, ebx
and ecx, dword [esp + 0x14]
mov edx, edi
or ecx, eax
rol edx, 5
add ecx, dword [esp + esi*4 + 0x1c]
add ecx, dword [esp + 0x10]
rol ebx, 0x1e
lea eax, [edx - 0x70e44324]
add eax, ecx
mov ecx, ebx
or ecx, edi
mov dword [esp + 0x10], eax
and ecx, ebp
mov edx, eax
rol edx, 5
mov eax, ebx
and eax, edi
rol edi, 0x1e
or ecx, eax
add ecx, dword [esp + esi*4 + 0x20]
add ecx, dword [esp + 0x14]
lea eax, [edx - 0x70e44324]
add eax, ecx
mov dword [esp + 0x14], eax
mov edx, eax
mov eax, dword [esp + 0x10]
mov ecx, eax
or ecx, edi
rol edx, 5
and ecx, ebx
and eax, edi
or ecx, eax
mov eax, dword [esp + 0x10]
add ecx, dword [esp + esi*4 + 0x24]
add ecx, ebp
rol eax, 0x1e
lea ebp, [edx - 0x70e44324]
mov dword [esp + 0x10], eax
add ebp, ecx
mov ecx, eax
or ecx, dword [esp + 0x14]
mov edx, ebp
and eax, dword [esp + 0x14]
and ecx, edi
or ecx, eax
rol edx, 5
add ecx, dword [esp + esi*4 + 0x28]
mov eax, dword [esp + 0x14]
add ecx, ebx
rol eax, 0x1e
lea ebx, [edx - 0x70e44324]
mov dword [esp + 0x14], eax
add ebx, ecx
mov ecx, eax
or ecx, ebp
and eax, ebp
and ecx, dword [esp + 0x10]
mov edx, ebx
or ecx, eax
rol edx, 5
add ecx, dword [esp + esi*4 + 0x2c]
add esi, 5
add ecx, edi
rol ebp, 0x1e
lea edi, [edx - 0x70e44324]
add edi, ecx
cmp esi, 0x3c
jb 0x576f7c
mov edx, dword [esp + 0x14]
jmp 0x5770fc
mov eax, edx
mov ecx, edi
xor eax, ebp
rol ecx, 5
xor eax, ebx
add ecx, 0xca62c1d6
add eax, dword [esp + esi*4 + 0x1c]
add eax, dword [esp + 0x10]
add eax, ecx
rol ebx, 0x1e
mov dword [esp + 0x10], eax
mov ecx, eax
rol ecx, 5
mov eax, ebp
xor eax, ebx
xor eax, edi
rol edi, 0x1e
add eax, dword [esp + esi*4 + 0x20]
add eax, edx
lea edx, [ecx - 0x359d3e2a]
add edx, eax
mov eax, dword [esp + 0x10]
xor eax, ebx
mov ecx, edx
xor eax, edi
rol ecx, 5
add eax, dword [esp + esi*4 + 0x24]
add eax, ebp
lea ebp, [ecx - 0x359d3e2a]
add ebp, eax
mov eax, dword [esp + 0x10]
rol eax, 0x1e
mov ecx, ebp
mov dword [esp + 0x10], eax
xor eax, edx
xor eax, edi
rol ecx, 5
add eax, dword [esp + esi*4 + 0x28]
add eax, ebx
rol edx, 0x1e
lea ebx, [ecx - 0x359d3e2a]
add ebx, eax
mov eax, dword [esp + 0x10]
xor eax, edx
mov ecx, ebx
xor eax, ebp
rol ecx, 5
add eax, dword [esp + esi*4 + 0x2c]
add esi, 5
add eax, edi
lea edi, [ecx - 0x359d3e2a]
add edi, eax
rol ebp, 0x1e
cmp esi, 0x50
jb 0x57705d
mov ecx, dword [esp + 0x160]
mov eax, dword [esp + 0x18]
add eax, edi
pop edi
add dword [ecx + 0x10], ebp
add dword [ecx + 0xc], ebx
add dword [ecx + 0x14], edx
pop esi
mov dword [ecx + 8], eax
mov eax, dword [esp + 8]
add dword [ecx + 0x18], eax
xor eax, eax
pop ebp
pop ebx
add esp, 0x14c
ret 8