Function at 0x403ead
Capabilities:
Encode data using xor
Hash data using sha256
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xbc
mov edx, dword [esp + 0xc0]
push ebx
push ebp
push esi
mov eax, dword [edx + 0xf8]
mov esi, dword [esp + 0xd0]
push edi
push 0x10
pop ecx
lea edi, [esp + 0x8c]
mov dword [esp + 0x18], 0x3c6ef372
rep movsd dword es:[edi], dword [esi]
mov esi, dword [edx + 0xf4]
lea edi, [esp + 0x4c]
push 8
pop ecx
rep movsd dword es:[edi], dword [esi]
mov esi, dword [eax]
mov ecx, 0x6a09e667
mov edi, dword [eax + 4]
xor esi, 0x510e527f
mov eax, dword [edx + 0xfc]
xor edi, 0x9b05688c
mov ebx, dword [esp + 0x64]
mov dword [esp + 0x28], ecx
mov ecx, 0xbb67ae85
mov dword [esp + 0x30], ecx
mov edx, dword [eax]
mov eax, dword [eax + 4]
xor edx, 0x1f83d9ab
mov ecx, dword [esp + 0x5c]
xor eax, 0x5be0cd19
mov dword [esp + 0x44], eax
xor ebp, ebp
mov eax, dword [esp + 0x68]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x10], ebp
mov dword [esp + 0x48], ebp
mov ebp, dword [esp + 0x44]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x24], 0xa54ff53a
mov dword [esp + 0x40], ebx
mov dword [esp + 0x34], ecx
movzx eax, byte [eax + 0x4323b0]
mov eax, dword [esp + eax*4 + 0x8c]
add eax, ecx
mov ecx, dword [esp + 0x14]
add ecx, eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x14], ecx
xor ecx, esi
mov esi, dword [esp + 0x34]
rol ecx, 0x10
add eax, ecx
xor esi, eax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x10]
ror esi, 0xc
mov dword [esp + 0x34], esi
movzx eax, byte [eax + 0x4323b1]
mov eax, dword [esp + eax*4 + 0x8c]
add eax, esi
mov esi, dword [esp + 0x14]
add esi, eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x14], esi
xor esi, ecx
mov ecx, dword [esp + 0x28]
ror esi, 8
add ecx, esi
xor eax, ecx
mov dword [esp + 0x28], ecx
ror eax, 7
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
movzx eax, byte [eax + 0x4323b2]
mov eax, dword [esp + eax*4 + 0x8c]
add eax, dword [esp + 0x1c]
add ecx, eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x20], ecx
xor ecx, edi
mov edi, dword [esp + 0x1c]
rol ecx, 0x10
add eax, ecx
xor edi, eax
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x10]
ror edi, 0xc
mov dword [esp + 0x1c], edi
movzx eax, byte [eax + 0x4323b3]
mov eax, dword [esp + eax*4 + 0x8c]
add eax, edi
mov edi, dword [esp + 0x20]
add edi, eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x20], edi
xor edi, ecx
mov ecx, dword [esp + 0x30]
ror edi, 8
add ecx, edi
xor eax, ecx
mov dword [esp + 0x30], ecx
ror eax, 7
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x10]
movzx eax, byte [eax + 0x4323b4]
mov eax, dword [esp + eax*4 + 0x8c]
add eax, ebx
mov ebx, dword [esp + 0x38]
add ebx, eax
mov eax, dword [esp + 0x18]
mov ecx, ebx
xor ecx, edx
mov edx, dword [esp + 0x40]
rol ecx, 0x10
add eax, ecx
xor edx, eax
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x10]
ror edx, 0xc
movzx eax, byte [eax + 0x4323b5]
mov eax, dword [esp + eax*4 + 0x8c]
add eax, edx
add ebx, eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x38], ebx
xor ebx, ecx
mov ecx, dword [esp + 0x2c]
ror ebx, 8
add eax, ebx
xor edx, eax
mov dword [esp + 0x18], eax
ror edx, 7
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x10]
movzx eax, byte [edx + 0x4323b6]
mov eax, dword [esp + eax*4 + 0x8c]
add eax, dword [esp + 0x3c]
add ecx, eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x2c], ecx
xor ecx, ebp
mov ebp, dword [esp + 0x3c]
rol ecx, 0x10
add eax, ecx
xor ebp, eax
mov dword [esp + 0x24], eax
movzx eax, byte [edx + 0x4323b7]
mov edx, dword [esp + 0x2c]
ror ebp, 0xc
mov eax, dword [esp + eax*4 + 0x8c]
add eax, ebp
add edx, eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x2c], edx
xor edx, ecx
mov ecx, dword [esp + 0x14]
ror edx, 8
add eax, edx
xor ebp, eax
mov dword [esp + 0x24], eax
ror ebp, 7
mov dword [esp + 0x3c], ebp
mov ebp, dword [esp + 0x10]
movzx eax, byte [ebp + 0x4323b8]
mov eax, dword [esp + eax*4 + 0x8c]
add eax, dword [esp + 0x1c]
add ecx, eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x14], ecx
xor ecx, edx
mov edx, dword [esp + 0x1c]
rol ecx, 0x10
add eax, ecx
xor edx, eax
mov dword [esp + 0x18], eax
movzx eax, byte [ebp + 0x4323b9]
mov ebp, dword [esp + 0x14]
ror edx, 0xc
mov eax, dword [esp + eax*4 + 0x8c]
add eax, edx
add ebp, eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x4c], ebp
xor ebp, ecx
mov ecx, dword [esp + 0x20]
ror ebp, 8
add eax, ebp
xor edx, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x10]
ror edx, 7
mov dword [esp + 0x1c], edx
mov dword [esp + 0x60], edx
movzx eax, byte [eax + 0x4323ba]
mov edx, dword [esp + 0x40]
mov eax, dword [esp + eax*4 + 0x8c]
add eax, edx
add ecx, eax
mov dword [esp + 0x20], ecx
xor ecx, esi
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
rol ecx, 0x10
add eax, ecx
xor edx, eax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x10]
ror edx, 0xc
movzx eax, byte [eax + 0x4323bb]
mov eax, dword [esp + eax*4 + 0x8c]
add eax, edx
add esi, eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x20], esi
mov dword [esp + 0x50], esi
xor esi, ecx
mov ecx, dword [esp + 0x38]
ror esi, 8
add eax, esi
xor edx, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x10]
ror edx, 7
mov dword [esp + 0x40], edx
mov dword [esp + 0x64], edx
movzx eax, byte [eax + 0x4323bc]
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + eax*4 + 0x8c]
add eax, edx
add ecx, eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x38], ecx
xor ecx, edi
mov edi, dword [esp + 0x38]
rol ecx, 0x10
add eax, ecx
xor edx, eax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x10]
ror edx, 0xc
movzx eax, byte [eax + 0x4323bd]
mov eax, dword [esp + eax*4 + 0x8c]
add eax, edx
add edi, eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x38], edi
mov dword [esp + 0x54], edi
xor edi, ecx
mov ecx, dword [esp + 0x2c]
ror edi, 8
add eax, edi
xor edx, eax
mov dword [esp + 0x28], eax
ror edx, 7
mov dword [esp + 0x3c], edx
mov dword [esp + 0x68], edx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x6c], eax
movzx eax, byte [edx + 0x4323be]
mov eax, dword [esp + eax*4 + 0x8c]
add eax, dword [esp + 0x34]
add ecx, eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x2c], ecx
xor ecx, ebx
mov ebx, dword [esp + 0x34]
rol ecx, 0x10
add eax, ecx
xor ebx, eax
mov dword [esp + 0x30], eax
movzx eax, byte [edx + 0x4323bf]
mov edx, dword [esp + 0x2c]
ror ebx, 0xc
mov eax, dword [esp + eax*4 + 0x8c]
add eax, ebx
add edx, eax
mov dword [esp + 0x2c], edx
mov dword [esp + 0x58], edx
xor edx, ecx
ror edx, 8
mov eax, dword [esp + 0x30]
add eax, edx
xor ebx, eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x10]
ror ebx, 7
add eax, 0x10
mov dword [esp + 0x34], ebx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x5c], ebx
mov ebx, dword [esp + 0x40]
mov dword [esp + 0x10], eax
cmp eax, 0x90
jbe 0x403f85
mov dword [esp + 0x84], edx
mov edx, dword [esp + 0xd0]
mov dword [esp + 0x88], ebp
mov ebp, dword [esp + 0x48]
mov dword [esp + 0x7c], esi
mov dword [esp + 0x80], edi
mov ecx, dword [edx + 0xf4]
mov eax, dword [esp + ebp + 0x6c]
xor eax, dword [ecx + ebp]
xor eax, dword [esp + ebp + 0x4c]
mov dword [ecx + ebp], eax
add ebp, 4
cmp ebp, 0x20
jb 0x404359
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xbc
ret 8