Function at 0x4aa4c0
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov eax, ecx
add eax, 4
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x5c
mov dword [ebp - 0x50], ecx
mov ecx, eax
mov esi, dword [ebp + 8]
mov dword [esp], 0
mov dword [ebp - 0x54], eax
call fcn.00588d10
sub esp, 4
mov dword [esp], 0x40
call fcn.00642bb0
mov dword [eax], 0x70a400
mov ebx, eax
lea eax, [eax + 8]
mov dword [eax - 4], 0x70a434
mov ecx, eax
mov dword [esp], 0x40
mov dword [ebp - 0x4c], eax
call fcn.00588d10
sub esp, 4
mov edx, 0x101
mov dword [ebx + 0x28], 8
lea edi, [ebx + 0x2c]
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x20], 0
mov word [ebx + 0x24], dx
mov dword [ebx], 0x70bcf8
mov dword [ebx + 4], 0x70bd30
mov dword [ebx + 0x2c], 0
mov dword [ebx + 0x38], 0
mov dword [ebx + 0x34], 0
mov dword [ebx + 0x30], 0
mov dword [esp], 1
call fcn.0047cd10
mov dword [ebx + 0x38], eax
mov ecx, edi
mov dword [esp], 8
call fcn.00588350
mov eax, dword [ebx + 0xc]
sub esp, 4
test eax, eax
jne 0x4aa715
mov eax, dword [ebx + 0x2c]
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0
mov dword [eax], 0x6a09e667
mov dword [eax + 4], 0xbb67ae85
mov dword [eax + 8], 0x3c6ef372
mov dword [eax + 0xc], 0xa54ff53a
mov dword [eax + 0x10], 0x510e527f
mov dword [eax + 0x14], 0x9b05688c
mov dword [eax + 0x18], 0x1f83d9ab
mov dword [eax + 0x1c], 0x5be0cd19
mov dword [esp], 0x2c
call fcn.00642bb0
mov dword [esp], ebx
mov ecx, eax
mov edi, eax
call fcn.00483b80
mov eax, dword [ebp - 0x50]
sub esp, 4
lea ecx, [edi + 4]
mov dword [eax], edi
mov eax, dword [esi + 4]
mov dword [esp + 4], eax
mov eax, dword [esi]
mov dword [esp], eax
call fcn.005907f0
mov edx, dword [ebp + 0xc]
sub esp, 8
lea eax, [ebp - 0x38]
call fcn.004aa440
mov edi, dword [ebp - 0x34]
cmp edi, 0x10
ja 0x4aa731
mov eax, dword [ebp - 0x50]
mov ebx, 0xfffffff8
mov esi, dword [eax]
mov ecx, ebx
mov eax, edi
lea edx, [ebp - 0x39]
and ecx, 0x18
shr eax, cl
mov ecx, esi
mov byte [ebp - 0x39], al
mov eax, dword [esi]
mov dword [esp + 4], 1
mov dword [esp], edx
call dword [eax + 0xc]
sub ebx, 8
sub esp, 8
cmp ebx, 0xffffffd8
jne 0x4aa63d
mov edi, dword [ebp - 0x50]
mov edx, dword [ebp - 0x34]
mov ecx, dword [edi]
mov eax, dword [ecx]
mov dword [esp + 4], edx
mov edx, dword [ebp - 0x38]
mov dword [esp], edx
call dword [eax + 0xc]
mov eax, dword [ebp + 0x10]
mov esi, dword [edi]
sub esp, 8
mov ebx, 0xfffffff8
lea edi, [ebp - 0x28]
mov eax, dword [eax + 4]
mov dword [ebp - 0x4c], eax
mov ecx, ebx
mov eax, dword [ebp - 0x4c]
and ecx, 0x18
shr eax, cl
mov ecx, esi
mov byte [ebp - 0x28], al
mov eax, dword [esi]
mov dword [esp + 4], 1
mov dword [esp], edi
call dword [eax + 0xc]
sub ebx, 8
sub esp, 8
cmp ebx, 0xffffffd8
jne 0x4aa696
mov esi, dword [ebp - 0x50]
mov edx, dword [ebp + 0x10]
mov ecx, dword [esi]
mov edx, dword [edx + 4]
mov eax, dword [ecx]
mov dword [esp + 4], edx
mov edx, dword [ebp + 0x10]
mov edx, dword [edx]
mov dword [esp], edx
call dword [eax + 0xc]
mov eax, dword [esi]
sub esp, 8
mov ecx, edi
mov dword [esp], eax
call fcn.005913d0
sub esp, 4
mov ecx, dword [ebp - 0x54]
mov dword [esp], edi
call fcn.0045ced0
sub esp, 4
mov ecx, edi
call fcn.00588310
lea ecx, [ebp - 0x38]
call fcn.00588310
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0xc
mov edx, dword [ebx + 8]
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], edx
call fcn.00564790
jmp 0x4aa596
mov dword [esp], 8
call fcn.00642d90
mov dword [esp], str.N_is_too_large_for_FPE_encryption
mov ecx, eax
mov esi, eax
call fcn.00603470
push eax
mov dword [esp + 8], fcn.00603570
mov dword [esp + 4], 0x70109c
mov dword [esp], esi
call fcn.00643480
mov esi, eax
jmp 0x652376
mov dword [esp], ebx
mov ebx, esi
mov dword [esp + 4], 0x40
call fcn.00642b80
mov ecx, dword [ebp - 0x54]
call fcn.00588310
mov dword [esp], ebx
call fcn.005594a8
mov dword [esp], esi
call fcn.00643090
lea ecx, [ebp - 0x38]
call fcn.00588310
jmp 0x652388