Function at 0x4ad5b0
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.00587720
sub esp, 4
mov dword [esp], 0x40
call fcn.006408d0
mov dword [eax], 0x7075a0
mov ebx, eax
lea eax, [eax + 8]
mov dword [eax - 4], 0x7075d4
mov ecx, eax
mov dword [esp], 0x40
mov dword [ebp - 0x4c], eax
call fcn.00587720
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], 0x708e98
mov dword [ebx + 4], 0x708ed0
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.0047c9e0
mov dword [ebx + 0x38], eax
mov ecx, edi
mov dword [esp], 8
call fcn.00586d90
mov eax, dword [ebx + 0xc]
sub esp, 4
test eax, eax
jne 0x4ad805
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.006408d0
mov dword [esp], ebx
mov ecx, eax
mov edi, eax
call fcn.00483850
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.0058eef0
mov edx, dword [ebp + 0xc]
sub esp, 8
lea eax, [ebp - 0x38]
call fcn.004ad530
mov edi, dword [ebp - 0x34]
cmp edi, 0x10
ja 0x4ad821
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 0x4ad72d
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 0x4ad786
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.0058fa60
sub esp, 4
mov ecx, dword [ebp - 0x54]
mov dword [esp], edi
call fcn.0045cd00
sub esp, 4
mov ecx, edi
call fcn.00586d50
lea ecx, [ebp - 0x38]
call fcn.00586d50
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.005642b0
jmp 0x4ad686
mov dword [esp], 8
call fcn.006409e0
mov dword [esp], str.N_is_too_large_for_FPE_encryption
mov ecx, eax
mov esi, eax
call fcn.00601060
push eax
mov dword [esp + 8], fcn.00601160
mov dword [esp + 4], 0x6fe23c
mov dword [esp], esi
call fcn.006410d0
mov esi, eax
jmp 0x6508b6
mov dword [esp], ebx
mov ebx, esi
call fcn.00640890
mov ecx, dword [ebp - 0x54]
call fcn.00586d50
mov dword [esp], ebx
call fcn.00558fc8
mov dword [esp], esi
call fcn.00640ce0
lea ecx, [ebp - 0x38]
call fcn.00586d50
jmp 0x6508c0