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

Disassembly:
sub esp, 0xa4
mov eax, dword [0x58bb30]
xor eax, esp
mov dword [esp + 0xa0], eax
push ebx
push ebp
push esi
push edi
mov edx, dword [esp + 0xbc]
mov eax, dword [esp + 0xb8]
mov ecx, dword [edx]
mov dword [esp + 0x70], ecx
mov ecx, dword [edx + 4]
mov dword [esp + 0x74], ecx
mov ecx, dword [edx + 8]
mov dword [esp + 0x78], ecx
mov ecx, dword [edx + 0xc]
mov dword [esp + 0x7c], ecx
mov ecx, dword [edx + 0x10]
mov dword [esp + 0x80], ecx
mov ecx, dword [edx + 0x14]
mov dword [esp + 0x84], ecx
mov ecx, dword [edx + 0x18]
mov dword [esp + 0x88], ecx
mov ecx, dword [edx + 0x1c]
mov dword [esp + 0x8c], ecx
mov ecx, dword [edx + 0x20]
mov dword [esp + 0x90], ecx
mov ecx, dword [edx + 0x24]
mov dword [esp + 0x94], ecx
mov ecx, dword [edx + 0x28]
mov dword [esp + 0x98], ecx
mov ecx, dword [edx + 0x2c]
mov dword [esp + 0x9c], ecx
mov ecx, dword [edx + 0x30]
mov dword [esp + 0xa0], ecx
mov ecx, dword [edx + 0x34]
mov dword [esp + 0xa4], ecx
mov ecx, dword [edx + 0x38]
mov dword [esp + 0xa8], ecx
mov ecx, dword [edx + 0x3c]
mov dword [esp + 0xac], ecx
mov ecx, dword [eax + 0xf4]
mov dword [esp + 0x64], ecx
mov edx, dword [ecx]
mov esi, dword [ecx + 0x10]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x60], edx
mov edx, dword [ecx + 4]
mov dword [esp + 0x3c], edx
mov edx, dword [ecx + 8]
mov dword [esp + 0x24], edx
mov edx, dword [ecx + 0xc]
mov dword [esp + 0x28], edx
mov edx, dword [ecx + 0x14]
mov dword [esp + 0x14], esi
mov esi, dword [ecx + 0x18]
mov ecx, dword [ecx + 0x1c]
mov dword [esp + 0x18], ecx
mov ecx, dword [eax + 0xf8]
mov dword [esp + 0x68], eax
mov dword [esp + 0x44], edx
mov edx, 0x6a09e667
mov dword [esp + 0x20], esi
mov edi, dword [ecx]
mov ecx, dword [ecx + 4]
xor edi, 0x510e527f
xor ecx, 0x9b05688c
mov dword [esp + 0x34], 0xbb67ae85
mov dword [esp + 0x2c], ecx
mov ecx, dword [eax + 0xfc]
mov dword [esp + 0x40], 0x3c6ef372
mov dword [esp + 0x50], 0xa54ff53a
mov eax, dword [ecx]
mov ebp, dword [ecx + 4]
xor eax, 0x1f83d9ab
xor ebp, 0x5be0cd19
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x1c]
xor ecx, ecx
mov dword [esp + 0x10], ecx
mov edi, edi
movzx ecx, byte [ecx + 0x566d80]
mov ebx, dword [esp + ecx*4 + 0x70]
add ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
add ebx, eax
mov esi, ebx
mov eax, dword [esp + 0x44]
xor esi, edi
rol esi, 0x10
movzx ecx, byte [ecx + 0x566d81]
add edx, esi
mov edi, edx
xor edi, dword [esp + 0x14]
ror edi, 0xc
mov ecx, dword [esp + ecx*4 + 0x70]
add ecx, edi
add ecx, ebx
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x38], ecx
xor ecx, esi
ror ecx, 8
mov dword [esp + 0x14], ecx
add ecx, edx
mov dword [esp + 0x4c], ecx
xor ecx, edi
ror ecx, 7
mov dword [esp + 0x54], ecx
movzx ecx, byte [ebx + 0x566d82]
mov edx, dword [esp + 0x34]
mov edi, dword [esp + ecx*4 + 0x70]
movzx ecx, byte [ebx + 0x566d83]
add edi, eax
add edi, dword [esp + 0x3c]
mov esi, edi
xor esi, dword [esp + 0x2c]
mov ecx, dword [esp + ecx*4 + 0x70]
rol esi, 0x10
add edx, esi
xor eax, edx
ror eax, 0xc
add ecx, eax
add ecx, edi
mov dword [esp + 0x2c], ecx
xor ecx, esi
ror ecx, 8
mov dword [esp + 0x48], ecx
add ecx, edx
mov dword [esp + 0x5c], ecx
xor ecx, eax
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x40]
ror ecx, 7
mov dword [esp + 0x1c], ecx
movzx ecx, byte [ebx + 0x566d84]
mov ebx, dword [esp + 0x20]
mov edi, dword [esp + ecx*4 + 0x70]
movzx ecx, byte [eax + 0x566d85]
add edi, ebx
add edi, dword [esp + 0x24]
mov esi, edi
xor esi, dword [esp + 0x30]
mov ecx, dword [esp + ecx*4 + 0x70]
rol esi, 0x10
add edx, esi
xor ebx, edx
ror ebx, 0xc
add ecx, ebx
mov dword [esp + 0x20], ebx
add ecx, edi
mov dword [esp + 0x24], ecx
xor ecx, esi
ror ecx, 8
mov dword [esp + 0x58], ecx
lea ebx, [ecx + edx]
mov ecx, ebx
xor ecx, dword [esp + 0x20]
ror ecx, 7
mov dword [esp + 0x34], ecx
movzx ecx, byte [eax + 0x566d86]
mov edi, dword [esp + ecx*4 + 0x70]
mov ecx, dword [esp + 0x18]
add edi, ecx
mov edx, dword [esp + 0x50]
add edi, dword [esp + 0x28]
mov esi, edi
xor esi, ebp
rol esi, 0x10
add edx, esi
xor ecx, edx
ror ecx, 0xc
mov dword [esp + 0x18], ecx
movzx ecx, byte [eax + 0x566d87]
mov ecx, dword [esp + ecx*4 + 0x70]
add ecx, dword [esp + 0x18]
add ecx, edi
mov edi, ecx
mov dword [esp + 0x28], ecx
xor edi, esi
ror edi, 8
lea ebp, [edi + edx]
mov ecx, ebp
xor ecx, dword [esp + 0x18]
ror ecx, 7
mov dword [esp + 0x30], ecx
movzx ecx, byte [eax + 0x566d88]
mov edx, dword [esp + ecx*4 + 0x70]
add edx, dword [esp + 0x1c]
add edx, dword [esp + 0x38]
movzx ecx, byte [eax + 0x566d89]
mov esi, edx
xor esi, edi
rol esi, 0x10
mov eax, dword [esp + ecx*4 + 0x70]
lea edi, [esi + ebx]
mov ebx, edi
xor ebx, dword [esp + 0x1c]
ror ebx, 0xc
add eax, ebx
add eax, edx
mov ecx, eax
xor ecx, esi
ror ecx, 8
mov dword [esp + 0x1c], ecx
add ecx, edi
mov dword [esp + 0x40], ecx
xor ecx, ebx
ror ecx, 7
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x10]
movzx ecx, byte [ecx + 0x566d8a]
mov edx, dword [esp + ecx*4 + 0x70]
add edx, dword [esp + 0x34]
add edx, dword [esp + 0x2c]
mov esi, edx
xor esi, dword [esp + 0x14]
rol esi, 0x10
lea edi, [esi + ebp]
mov ebp, dword [esp + 0x10]
mov ebx, edi
xor ebx, dword [esp + 0x34]
ror ebx, 0xc
movzx ecx, byte [ebp + 0x566d8b]
mov ecx, dword [esp + ecx*4 + 0x70]
add ecx, ebx
add ecx, edx
mov dword [esp + 0x3c], ecx
xor ecx, esi
ror ecx, 8
mov dword [esp + 0x38], ecx
add ecx, edi
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x50], ecx
xor ecx, ebx
ror ecx, 7
mov dword [esp + 0x20], ecx
movzx ecx, byte [ebp + 0x566d8c]
mov edx, dword [esp + ecx*4 + 0x70]
add edx, dword [esp + 0x30]
add edx, dword [esp + 0x24]
mov esi, edx
xor esi, dword [esp + 0x48]
rol esi, 0x10
mov edi, dword [esp + 0x4c]
movzx ecx, byte [ebp + 0x566d8d]
add edi, esi
mov ebx, edi
xor ebx, dword [esp + 0x30]
ror ebx, 0xc
mov ecx, dword [esp + ecx*4 + 0x70]
add ecx, ebx
add ecx, edx
mov dword [esp + 0x24], ecx
xor ecx, esi
ror ecx, 8
mov dword [esp + 0x2c], ecx
add ecx, edi
mov esi, dword [esp + 0x5c]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x48], ecx
xor ecx, ebx
ror ecx, 7
mov dword [esp + 0x18], ecx
movzx ecx, byte [ebp + 0x566d8e]
mov edx, dword [esp + ecx*4 + 0x70]
add edx, dword [esp + 0x28]
add edx, dword [esp + 0x54]
mov ebx, edx
xor ebx, dword [esp + 0x58]
rol ebx, 0x10
add esi, ebx
mov ecx, esi
xor ecx, dword [esp + 0x54]
mov dword [esp + 0x14], ecx
mov edi, ecx
movzx ecx, byte [ebp + 0x566d8f]
add ebp, 0x10
ror edi, 0xc
mov dword [esp + 0x10], ebp
mov ecx, dword [esp + ecx*4 + 0x70]
add ecx, edi
add ecx, edx
mov edx, dword [esp + 0x4c]
xor ebx, ecx
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x10]
ror ebx, 8
add esi, ebx
mov dword [esp + 0x30], ebx
xor edi, esi
mov dword [esp + 0x34], esi
ror edi, 7
cmp ebp, 0x90
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0x38]
jbe 0x479910
xor eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
xor eax, dword [esp + 0x48]
mov edx, dword [esp + 0x3c]
xor edx, esi
xor ebp, dword [esp + 0x18]
mov dword [ecx], eax
mov eax, dword [esp + 0x68]
mov ecx, dword [eax + 0xf4]
xor dword [ecx + 4], edx
mov ecx, dword [eax + 0xf4]
mov edx, dword [esp + 0x40]
xor edx, dword [esp + 0x24]
xor dword [ecx + 8], edx
mov ecx, dword [eax + 0xf4]
mov edx, dword [esp + 0x6c]
xor edx, dword [esp + 0x28]
xor dword [ecx + 0xc], edx
mov edx, dword [eax + 0xf4]
mov ecx, dword [edx + 0x10]
xor ecx, dword [esp + 0x14]
xor ecx, edi
mov dword [edx + 0x10], ecx
mov ecx, dword [eax + 0xf4]
mov edx, dword [esp + 0x44]
xor edx, dword [esp + 0x2c]
pop edi
xor dword [ecx + 0x14], edx
mov edx, dword [eax + 0xf4]
pop esi
mov ecx, dword [edx + 0x18]
xor ecx, ebx
xor ecx, dword [esp + 0x18]
mov dword [edx + 0x18], ecx
mov eax, dword [eax + 0xf4]
mov ecx, dword [esp + 0xa8]
xor dword [eax + 0x1c], ebp
pop ebp
pop ebx
xor ecx, esp
call fcn.0052f708
add esp, 0xa4
ret 8