Function at 0x4c5990
Capabilities:
Encode data using xor
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
pushal
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
push 0x40
pop ebx
xor edx, edx
div ebx
test edx, edx
jne 0x4c5c57
mov dword [ebp - 0x10], eax
mov edi, dword [ebp - 8]
mov dword [edi], 0x67452301
mov dword [edi + 4], 0xefcdab89
mov dword [edi + 8], 0x98badcfe
mov dword [edi + 0xc], 0x10325476
mov dword [edi + 0x10], 0xc3d2e1f0
mov edi, dword [ebp - 4]
mov esi, dword [ebp - 8]
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0xc]
mov esi, dword [esi + 0x10]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], esi
xor esi, esi
mov eax, dword [ebp - 0x14]
rol eax, 5
mov ebx, dword [ebp - 0x20]
mov edx, ebx
xor edx, dword [ebp - 0x1c]
and edx, dword [ebp - 0x18]
xor ebx, edx
add ebx, dword [ebp - 0x24]
lea ebx, [ebx + eax + 0x5a827999]
add ebx, dword [edi + esi*4]
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x18]
ror eax, 2
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], ebx
inc esi
cmp esi, 0x10
jne 0x4c5a05
mov eax, dword [ebp - 0x14]
rol eax, 5
mov ebx, dword [ebp - 0x20]
mov edx, ebx
xor edx, dword [ebp - 0x1c]
and edx, dword [ebp - 0x18]
xor ebx, edx
add ebx, dword [ebp - 0x24]
lea ebx, [ebx + eax + 0x5a827999]
lea edx, [esi]
and edx, 0xf
lea ecx, [edi + edx*4]
mov eax, dword [ecx]
lea edx, [esi + 2]
and edx, 0xf
xor eax, dword [edi + edx*4]
lea edx, [esi + 8]
and edx, 0xf
xor eax, dword [edi + edx*4]
lea edx, [esi + 0xd]
and edx, 0xf
xor eax, dword [edi + edx*4]
rol eax, 1
mov dword [ecx], eax
add ebx, eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x18]
ror eax, 2
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], ebx
inc esi
cmp esi, 0x14
jne 0x4c5a49
mov eax, dword [ebp - 0x14]
rol eax, 5
mov ebx, dword [ebp - 0x18]
xor ebx, dword [ebp - 0x1c]
xor ebx, dword [ebp - 0x20]
add ebx, dword [ebp - 0x24]
lea ebx, [ebx + eax + 0x6ed9eba1]
lea edx, [esi]
and edx, 0xf
lea ecx, [edi + edx*4]
mov eax, dword [ecx]
lea edx, [esi + 2]
and edx, 0xf
xor eax, dword [edi + edx*4]
lea edx, [esi + 8]
and edx, 0xf
xor eax, dword [edi + edx*4]
lea edx, [esi + 0xd]
and edx, 0xf
xor eax, dword [edi + edx*4]
rol eax, 1
mov dword [ecx], eax
add ebx, eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x18]
ror eax, 2
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], ebx
inc esi
cmp esi, 0x28
jne 0x4c5ab5
mov eax, dword [ebp - 0x14]
rol eax, 5
mov ebx, dword [ebp - 0x18]
mov edx, ebx
and ebx, dword [ebp - 0x1c]
or edx, dword [ebp - 0x1c]
and edx, dword [ebp - 0x20]
or ebx, edx
lea ebx, [ebx + eax - 0x70e44324]
add ebx, dword [ebp - 0x24]
lea edx, [esi]
and edx, 0xf
lea ecx, [edi + edx*4]
mov eax, dword [ecx]
lea edx, [esi + 2]
and edx, 0xf
xor eax, dword [edi + edx*4]
lea edx, [esi + 8]
and edx, 0xf
xor eax, dword [edi + edx*4]
lea edx, [esi + 0xd]
and edx, 0xf
xor eax, dword [edi + edx*4]
rol eax, 1
mov dword [ecx], eax
add ebx, eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x18]
ror eax, 2
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], ebx
inc esi
cmp esi, 0x3c
jne 0x4c5b1d
mov eax, dword [ebp - 0x14]
rol eax, 5
mov ebx, dword [ebp - 0x18]
xor ebx, dword [ebp - 0x1c]
xor ebx, dword [ebp - 0x20]
add ebx, dword [ebp - 0x24]
lea ebx, [ebx + eax - 0x359d3e2a]
lea edx, [esi]
and edx, 0xf
lea ecx, [edi + edx*4]
mov eax, dword [ecx]
lea edx, [esi + 2]
and edx, 0xf
xor eax, dword [edi + edx*4]
lea edx, [esi + 8]
and edx, 0xf
xor eax, dword [edi + edx*4]
lea edx, [esi + 0xd]
and edx, 0xf
xor eax, dword [edi + edx*4]
rol eax, 1
mov dword [ecx], eax
add ebx, eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x18]
ror eax, 2
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], ebx
inc esi
cmp esi, 0x50
jne 0x4c5b8c
mov ebx, dword [ebp - 8]
mov eax, dword [ebp - 0x14]
add dword [ebx], eax
mov eax, dword [ebp - 0x18]
add dword [ebx + 4], eax
mov eax, dword [ebp - 0x1c]
add dword [ebx + 8], eax
mov eax, dword [ebp - 0x20]
add dword [ebx + 0xc], eax
mov eax, dword [ebp - 0x24]
add dword [ebx + 0x10], eax
add edi, 0x40
dec dword [ebp - 0x10]
jne 0x4c59e3
mov eax, dword [ebx]
bswap eax
mov dword [ebx], eax
mov eax, dword [ebx + 4]
bswap eax
mov dword [ebx + 4], eax
mov eax, dword [ebx + 8]
bswap eax
mov dword [ebx + 8], eax
mov eax, dword [ebx + 0xc]
bswap eax
mov dword [ebx + 0xc], eax
mov eax, dword [ebx + 0x10]
bswap eax
mov dword [ebx + 0x10], eax
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], eax
popal
mov esp, ebp
pop ebp
ret 0xc