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

Disassembly:
sub esp, 0xcc
mov edx, dword [esp + 0xd0]
push ebx
push ebp
push esi
mov eax, dword [edx + 0xf8]
mov esi, dword [esp + 0xe0]
push edi
push 0x10
mov ebx, dword [eax]
lea edi, [esp + 0xa0]
mov ebp, dword [eax + 4]
xor ebx, 0x510e527f
mov eax, dword [edx + 0xfc]
xor ebp, 0x9b05688c
pop ecx
rep movsd dword es:[edi], dword [esi]
mov esi, dword [edx + 0xf4]
lea edi, [esp + 0x5c]
push 8
pop ecx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
xor ecx, 0x1f83d9ab
xor eax, 0x5be0cd19
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x6c]
xor esi, esi
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x18], 0x6a09e667
mov dword [esp + 0x24], 0xbb67ae85
mov dword [esp + 0x2c], 0x3c6ef372
mov dword [esp + 0x34], 0xa54ff53a
mov dword [esp + 0x14], esi
mov dword [esp + 0x30], eax
mov dword [esp + 0x10], ecx
movzx eax, byte [esi + 0x4336c0]
mov edi, dword [esp + eax*4 + 0x9c]
add edi, ecx
mov ecx, dword [esp + 0x18]
add edi, dword [esp + 0x5c]
mov edx, edi
xor edx, ebx
mov ebx, dword [esp + 0x14]
rol edx, 0x10
add ecx, edx
mov esi, ecx
xor esi, dword [esp + 0x10]
movzx eax, byte [ebx + 0x4336c1]
ror esi, 0xc
mov eax, dword [esp + eax*4 + 0x9c]
add eax, esi
add eax, edi
mov dword [esp + 0x18], eax
xor eax, edx
ror eax, 8
mov dword [esp + 0x3c], eax
add eax, ecx
mov dword [esp + 0x48], eax
xor eax, esi
ror eax, 7
mov dword [esp + 0x50], eax
movzx eax, byte [ebx + 0x4336c2]
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + eax*4 + 0x9c]
add edi, dword [esp + 0x30]
add edi, dword [esp + 0x60]
movzx eax, byte [ebx + 0x4336c3]
mov edx, edi
xor edx, ebp
mov ebp, dword [esp + 0x38]
rol edx, 0x10
add ecx, edx
mov eax, dword [esp + eax*4 + 0x9c]
mov esi, ecx
xor esi, dword [esp + 0x30]
ror esi, 0xc
add eax, esi
add eax, edi
mov dword [esp + 0x10], eax
xor eax, edx
ror eax, 8
mov dword [esp + 0x44], eax
add eax, ecx
mov dword [esp + 0x58], eax
xor eax, esi
mov ecx, dword [esp + 0x2c]
ror eax, 7
mov dword [esp + 0x24], eax
movzx eax, byte [ebx + 0x4336c4]
mov esi, dword [esp + eax*4 + 0x9c]
movzx eax, byte [ebx + 0x4336c5]
add esi, ebp
add esi, dword [esp + 0x64]
mov edx, esi
xor edx, dword [esp + 0x20]
mov eax, dword [esp + eax*4 + 0x9c]
rol edx, 0x10
add ecx, edx
xor ebp, ecx
ror ebp, 0xc
add eax, ebp
add eax, esi
mov dword [esp + 0x40], eax
xor eax, edx
ror eax, 8
mov dword [esp + 0x54], eax
lea ebx, [eax + ecx]
mov eax, ebx
xor eax, ebp
mov ebp, dword [esp + 0x14]
ror eax, 7
mov dword [esp + 0x20], eax
movzx eax, byte [ebp + 0x4336c6]
mov edi, dword [esp + eax*4 + 0x9c]
add edi, dword [esp + 0x1c]
add edi, dword [esp + 0x68]
movzx eax, byte [ebp + 0x4336c7]
mov edx, edi
xor edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x34]
rol edx, 0x10
mov eax, dword [esp + eax*4 + 0x9c]
add ecx, edx
mov esi, ecx
xor esi, dword [esp + 0x1c]
ror esi, 0xc
add eax, esi
add eax, edi
mov edi, eax
mov dword [esp + 0x4c], eax
xor edi, edx
ror edi, 8
lea ebp, [edi + ecx]
mov eax, ebp
xor eax, esi
ror eax, 7
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x14]
movzx eax, byte [eax + 0x4336c8]
mov ecx, dword [esp + eax*4 + 0x9c]
add ecx, dword [esp + 0x24]
add ecx, dword [esp + 0x18]
mov edx, ecx
xor edx, edi
mov edi, dword [esp + 0x14]
rol edx, 0x10
movzx eax, byte [edi + 0x4336c9]
lea esi, [edx + ebx]
mov ebx, esi
xor ebx, dword [esp + 0x24]
mov eax, dword [esp + eax*4 + 0x9c]
ror ebx, 0xc
add eax, ebx
add eax, ecx
mov dword [esp + 0x5c], eax
xor eax, edx
ror eax, 8
mov dword [esp + 0x28], eax
mov dword [esp + 0x98], eax
add eax, esi
xor ebx, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x84], eax
movzx eax, byte [edi + 0x4336ca]
ror ebx, 7
mov dword [esp + 0x30], ebx
mov dword [esp + 0x70], ebx
mov ecx, dword [esp + eax*4 + 0x9c]
add ecx, dword [esp + 0x20]
add ecx, dword [esp + 0x10]
movzx eax, byte [edi + 0x4336cb]
mov ebx, ecx
xor ebx, dword [esp + 0x3c]
rol ebx, 0x10
mov eax, dword [esp + eax*4 + 0x9c]
lea edx, [ebx + ebp]
mov ebp, edx
xor ebp, dword [esp + 0x20]
ror ebp, 0xc
add eax, ebp
add eax, ecx
xor ebx, eax
mov dword [esp + 0x60], eax
ror ebx, 8
lea eax, [edx + ebx]
xor ebp, eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x88], eax
movzx eax, byte [edi + 0x4336cc]
ror ebp, 7
mov dword [esp + 0x38], ebp
mov dword [esp + 0x74], ebp
mov ecx, dword [esp + eax*4 + 0x9c]
add ecx, dword [esp + 0x1c]
add ecx, dword [esp + 0x40]
mov ebp, ecx
xor ebp, dword [esp + 0x44]
movzx eax, byte [edi + 0x4336cd]
mov edx, dword [esp + 0x48]
rol ebp, 0x10
add edx, ebp
mov eax, dword [esp + eax*4 + 0x9c]
mov esi, edx
xor esi, dword [esp + 0x1c]
ror esi, 0xc
add eax, esi
add eax, ecx
xor ebp, eax
mov dword [esp + 0x64], eax
ror ebp, 8
lea eax, [edx + ebp]
mov edx, dword [esp + 0x58]
xor esi, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x7c], eax
movzx eax, byte [edi + 0x4336ce]
ror esi, 7
mov dword [esp + 0x1c], esi
mov dword [esp + 0x78], esi
mov ecx, dword [esp + eax*4 + 0x9c]
add ecx, dword [esp + 0x4c]
add ecx, dword [esp + 0x50]
mov esi, dword [esp + 0x14]
mov edi, ecx
xor edi, dword [esp + 0x54]
rol edi, 0x10
add edx, edi
mov eax, edx
xor eax, dword [esp + 0x50]
ror eax, 0xc
mov dword [esp + 0x10], eax
movzx eax, byte [esi + 0x4336cf]
add esi, 0x10
mov dword [esp + 0x14], esi
mov eax, dword [esp + eax*4 + 0x9c]
add eax, dword [esp + 0x10]
add eax, ecx
mov ecx, dword [esp + 0x10]
xor edi, eax
mov dword [esp + 0x68], eax
ror edi, 8
mov dword [esp + 0x20], edi
mov dword [esp + 0x94], edi
lea eax, [edx + edi]
xor ecx, eax
mov dword [esp + 0x24], eax
ror ecx, 7
mov dword [esp + 0x80], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x6c], ecx
cmp esi, 0x90
jbe 0x4041ac
mov esi, dword [esp + 0xe0]
xor edx, edx
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], ebp
mov ecx, dword [esi + 0xf4]
mov eax, dword [esp + edx + 0x7c]
xor eax, dword [esp + edx + 0x5c]
xor dword [edx + ecx], eax
add edx, 4
cmp edx, 0x20
jb 0x4044f2
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xcc
ret 8