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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
mov edx, dword [ebp + 8]
push ebx
push esi
push edi
push 0x10
mov esi, eax
mov eax, dword [edx + 0xf8]
pop ecx
lea edi, [ebp - 0x80]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [edx + 0xf4]
push 8
pop ecx
lea edi, [ebp - 0x40]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [eax]
mov esi, dword [eax + 4]
mov eax, dword [edx + 0xfc]
mov edx, dword [eax]
mov eax, dword [eax + 4]
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 0x4048f1
mov ecx, dword [ebp - 0x10]
movzx edx, byte [eax + 0x429488]
mov edx, dword [ebp + edx*4 - 0x80]
add edx, dword [ebp - 0x30]
mov ebx, dword [ebp - 0x40]
add ebx, edx
movzx edi, byte [eax + 0x429489]
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 + 0x42948a]
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 + 0x42948b]
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 + 0x42948c]
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 + 0x42948d]
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 + 0x42948e]
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 + 0x42948f]
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 + 0x429490]
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 + 0x429491]
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 + 0x429493]
mov edi, dword [ebp + edi*4 - 0x80]
ror edx, 7
mov dword [ebp - 0x2c], edx
movzx edx, byte [eax + 0x429492]
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 + 0x429495]
mov edi, dword [ebp + edi*4 - 0x80]
ror edx, 7
mov dword [ebp - 0x28], edx
movzx edx, byte [eax + 0x429494]
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 + 0x429497]
mov edi, dword [ebp + edi*4 - 0x80]
ror edx, 7
mov dword [ebp - 0x24], edx
movzx edx, byte [eax + 0x429496]
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 0x4048ee
pop edi
pop esi
xor ecx, ecx
pop ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xf4]
mov edx, dword [ebp + ecx - 0x20]
add eax, ecx
xor edx, dword [eax]
add ecx, 4
xor edx, dword [ebp + ecx - 0x44]
mov dword [eax], edx
cmp ecx, 0x20
jb 0x404b72
leave
ret 4