Function at 0x4048cf
Capabilities:
Encode data using xor
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
push esi
push edi
mov edi, eax
lea eax, [ebp - 0x80]
xor esi, esi
sub edi, eax
lea eax, [edi + esi*4]
lea eax, [ebp + eax - 0x80]
push eax
call fcn.0040482a
mov dword [ebp + esi*4 - 0x80], eax
inc esi
cmp esi, 0x10
jb 0x4048e3
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x28]
push ebx
mov esi, eax
push 8
pop ecx
lea edi, [ebp - 0x40]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [eax + 0x20]
mov esi, dword [eax + 0x24]
mov eax, dword [eax + 0x2c]
xor eax, 0x5be0cd19
xor edx, 0x1f83d9ab
xor ecx, 0x510e527f
xor esi, 0x9b05688c
mov dword [ebp - 4], eax
mov dword [ebp - 0x20], 0x6a09e667
mov dword [ebp - 0x1c], 0xbb67ae85
mov dword [ebp - 0x18], 0x3c6ef372
mov dword [ebp - 0x14], 0xa54ff53a
mov dword [ebp - 8], edx
xor eax, eax
jmp 0x404954
mov ecx, dword [ebp - 0x10]
movzx edx, byte [eax + 0x4264b0]
mov edx, dword [ebp + edx*4 - 0x80]
add edx, dword [ebp - 0x30]
mov ebx, dword [ebp - 0x40]
add ebx, edx
movzx edi, byte [eax + 0x4264b1]
mov edi, dword [ebp + edi*4 - 0x80]
mov edx, ebx
xor edx, ecx
ror edx, 0x10
add dword [ebp - 0x20], edx
mov ecx, dword [ebp - 0x30]
xor ecx, dword [ebp - 0x20]
ror ecx, 0xc
add edi, ecx
add ebx, edi
mov dword [ebp - 0x40], ebx
xor ebx, edx
movzx edx, byte [eax + 0x4264b2]
mov edx, dword [ebp + edx*4 - 0x80]
add edx, dword [ebp - 0x2c]
ror ebx, 8
add dword [ebp - 0x3c], edx
add dword [ebp - 0x20], ebx
xor ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x3c]
xor edx, esi
movzx esi, byte [eax + 0x4264b3]
mov esi, dword [ebp + esi*4 - 0x80]
ror ecx, 7
ror edx, 0x10
add dword [ebp - 0x1c], edx
mov dword [ebp - 0xc], edx
mov edx, dword [ebp - 0x2c]
xor edx, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x24]
ror edx, 0xc
add esi, edx
add dword [ebp - 0x3c], esi
mov esi, dword [ebp - 0x3c]
xor esi, dword [ebp - 0xc]
ror esi, 8
add dword [ebp - 0x1c], esi
xor edx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], esi
mov esi, dword [ebp - 0x28]
ror edx, 7
mov dword [ebp - 0x2c], edx
movzx edx, byte [eax + 0x4264b4]
mov edx, dword [ebp + edx*4 - 0x80]
add edx, esi
add dword [ebp - 0x38], edx
mov edx, dword [ebp - 0x38]
xor edx, dword [ebp - 8]
ror edx, 0x10
add dword [ebp - 0x18], edx
xor esi, dword [ebp - 0x18]
mov dword [ebp - 8], edx
movzx edx, byte [eax + 0x4264b5]
mov edx, dword [ebp + edx*4 - 0x80]
ror esi, 0xc
add edx, esi
add dword [ebp - 0x38], edx
mov edx, dword [ebp - 0x38]
xor edx, dword [ebp - 8]
ror edx, 8
add dword [ebp - 0x18], edx
xor esi, dword [ebp - 0x18]
mov dword [ebp - 8], edx
movzx edx, byte [eax + 0x4264b6]
mov edx, dword [ebp + edx*4 - 0x80]
add edx, edi
add dword [ebp - 0x34], edx
mov edx, dword [ebp - 0x34]
xor edx, dword [ebp - 4]
ror esi, 7
ror edx, 0x10
add dword [ebp - 0x14], edx
xor edi, dword [ebp - 0x14]
mov dword [ebp - 0x28], esi
mov dword [ebp - 4], edx
movzx edx, byte [eax + 0x4264b7]
mov edx, dword [ebp + edx*4 - 0x80]
ror edi, 0xc
add edx, edi
add dword [ebp - 0x34], edx
mov edx, dword [ebp - 0x34]
xor edx, dword [ebp - 4]
ror edx, 8
add dword [ebp - 0x14], edx
xor edi, dword [ebp - 0x14]
mov dword [ebp - 4], edx
movzx edx, byte [eax + 0x4264b8]
mov esi, dword [ebp + edx*4 - 0x80]
mov edx, dword [ebp - 0x2c]
add esi, edx
add dword [ebp - 0x40], esi
mov esi, dword [ebp - 0x40]
xor esi, dword [ebp - 4]
ror edi, 7
ror esi, 0x10
add dword [ebp - 0x18], esi
xor edx, dword [ebp - 0x18]
mov dword [ebp - 0x24], edi
movzx edi, byte [eax + 0x4264b9]
mov edi, dword [ebp + edi*4 - 0x80]
ror edx, 0xc
add edi, edx
add dword [ebp - 0x40], edi
mov dword [ebp - 0x2c], edx
mov edx, dword [ebp - 0x40]
xor edx, esi
ror edx, 8
add dword [ebp - 0x18], edx
mov dword [ebp - 4], edx
mov edx, dword [ebp - 0x2c]
xor edx, dword [ebp - 0x18]
movzx edi, byte [eax + 0x4264bb]
mov edi, dword [ebp + edi*4 - 0x80]
ror edx, 7
mov dword [ebp - 0x2c], edx
movzx edx, byte [eax + 0x4264ba]
mov esi, dword [ebp + edx*4 - 0x80]
mov edx, dword [ebp - 0x28]
add esi, edx
add dword [ebp - 0x3c], esi
mov esi, dword [ebp - 0x3c]
xor esi, ebx
ror esi, 0x10
add dword [ebp - 0x14], esi
xor edx, dword [ebp - 0x14]
ror edx, 0xc
add edi, edx
add dword [ebp - 0x3c], edi
mov edi, dword [ebp - 0x3c]
xor edi, esi
ror edi, 8
mov esi, edi
add dword [ebp - 0x14], esi
xor edx, dword [ebp - 0x14]
movzx edi, byte [eax + 0x4264bd]
mov edi, dword [ebp + edi*4 - 0x80]
ror edx, 7
mov dword [ebp - 0x28], edx
movzx edx, byte [eax + 0x4264bc]
mov dword [ebp - 0x10], esi
mov esi, dword [ebp + edx*4 - 0x80]
mov edx, dword [ebp - 0x24]
add esi, edx
add dword [ebp - 0x38], esi
mov esi, dword [ebp - 0x38]
xor esi, dword [ebp - 0xc]
ror esi, 0x10
add dword [ebp - 0x20], esi
xor edx, dword [ebp - 0x20]
ror edx, 0xc
add edi, edx
add dword [ebp - 0x38], edi
mov edi, dword [ebp - 0x38]
xor edi, esi
ror edi, 8
mov esi, edi
add dword [ebp - 0x20], esi
xor edx, dword [ebp - 0x20]
movzx edi, byte [eax + 0x4264bf]
mov edi, dword [ebp + edi*4 - 0x80]
ror edx, 7
mov dword [ebp - 0x24], edx
movzx edx, byte [eax + 0x4264be]
mov edx, dword [ebp + edx*4 - 0x80]
add edx, ecx
add dword [ebp - 0x34], edx
mov edx, dword [ebp - 0x34]
xor edx, dword [ebp - 8]
add eax, 0x10
ror edx, 0x10
add dword [ebp - 0x1c], edx
xor ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], esi
ror ecx, 0xc
add edi, ecx
add dword [ebp - 0x34], edi
mov edi, dword [ebp - 0x34]
xor edi, edx
ror edi, 8
mov edx, edi
add dword [ebp - 0x1c], edx
xor ecx, dword [ebp - 0x1c]
mov dword [ebp - 8], edx
ror ecx, 7
mov dword [ebp - 0x30], ecx
cmp eax, 0x90
jbe 0x404951
mov eax, dword [ebp + 8]
push 8
lea ecx, [ebp - 0x40]
pop edx
sub ecx, eax
pop ebx
mov esi, dword [ecx + eax + 0x20]
xor esi, dword [eax]
xor esi, dword [ecx + eax]
mov dword [eax], esi
add eax, 4
dec edx
jne 0x404bdc
pop edi
pop esi
leave
ret 4