Function at 0x4176e0
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x9c
mov eax, dword [0x43c024]
xor eax, esp
mov dword [esp + 0x98], eax
push ebx
push esi
mov esi, ecx
mov ecx, dword [esi]
push edi
mov dword [esp + 0x18], esi
cmp ecx, 0x3f
jne 0x417775
xor eax, eax
cmp dword [esi + 4], eax
jbe 0x41771f
mov cl, byte [esi + eax + 8]
mov byte [esi + eax + 0x24], cl
inc eax
cmp eax, dword [esi + 4]
jb 0x417711
xor ecx, ecx
cmp dword [esi + 0x1c], ecx
jbe 0x417740
cmp eax, 0x20
jae 0x41795a
mov edx, dword [esi + 0x20]
mov dl, byte [ecx + edx]
mov byte [esi + eax + 0x24], dl
inc ecx
inc eax
cmp ecx, dword [esi + 0x1c]
jb 0x417726
cmp eax, 0x20
jae 0x41795a
mov edx, 0x20
sub edx, eax
push edx
lea ecx, [esi + eax + 0x24]
push 0
push ecx
call fcn.004287c0
add esp, 0xc
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.00421ddf
mov esp, ebp
pop ebp
ret
xor edi, edi
lea eax, [edi + 1]
xor edx, edx
mov dword [esp + 0x30], 0x6a09e667
mov dword [esp + 0x34], 0xbb67ae85
mov dword [esp + 0x38], 0x3c6ef372
mov dword [esp + 0x3c], 0xa54ff53a
mov dword [esp + 0x40], 0x510e527f
mov dword [esp + 0x44], 0x9b05688c
mov dword [esp + 0x48], 0x1f83d9ab
mov dword [esp + 0x4c], 0x5be0cd19
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], edi
call fcn.0042da40
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edx
mov byte [esp + 0x9c], 0
mov byte [esp + 0x9d], 0
mov byte [esp + 0x9e], 0
mov byte [esp + 0x9f], 0
mov byte [esp + 0xa0], 0
mov byte [esp + 0xa1], 0
mov byte [esp + 0xa2], 0
mov byte [esp + 0xa3], 0
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], edi
cmp edx, edi
jb 0x41794e
ja 0x41782b
cmp eax, edi
jbe 0x41794e
mov eax, dword [esi + 4]
mov ecx, dword [esi + 0x1c]
mov edx, dword [esi + 0x20]
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], edx
jmp 0x417846
mov esi, dword [esp + 0x18]
mov ebx, dword [esp + 0x24]
add esi, 8
mov edi, esi
mov esi, dword [esp + 0x50]
and esi, 0x3f
test ebx, ebx
jbe 0x417887
lea ebx, [ebx]
mov al, byte [edi]
mov byte [esp + esi + 0x58], al
inc esi
inc edi
add dword [esp + 0x50], 1
adc dword [esp + 0x54], 0
dec ebx
cmp esi, 0x40
jne 0x417883
lea edx, [esp + 0x30]
xor esi, esi
call fcn.004044e0
test ebx, ebx
ja 0x417860
mov eax, dword [esp + 0x50]
mov ebx, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
mov esi, eax
and esi, 0x3f
test ebx, ebx
jbe 0x4178cb
lea esp, [esp]
mov cl, byte [edi]
mov byte [esp + esi + 0x58], cl
inc esi
inc edi
add dword [esp + 0x50], 1
adc dword [esp + 0x54], 0
dec ebx
cmp esi, 0x40
jne 0x4178c3
lea edx, [esp + 0x30]
xor esi, esi
call fcn.004044e0
test ebx, ebx
ja 0x4178a0
mov eax, dword [esp + 0x50]
and eax, 0x3f
mov ebx, 8
lea edi, [esp + 0x9c]
mov esi, eax
lea esp, [esp]
mov dl, byte [edi]
mov byte [esp + esi + 0x58], dl
inc esi
inc edi
add dword [esp + 0x50], 1
adc dword [esp + 0x54], 0
dec ebx
cmp esi, 0x40
jne 0x417903
lea edx, [esp + 0x30]
xor esi, esi
call fcn.004044e0
test ebx, ebx
ja 0x4178e0
xor eax, eax
lea esp, [esp]
add byte [esp + eax + 0x9c], 1
jne 0x417920
inc eax
cmp eax, 8
jl 0x417910
add dword [esp + 0x10], 1
mov eax, dword [esp + 0x14]
adc eax, 0
mov dword [esp + 0x14], eax
cmp eax, dword [esp + 0x2c]
jb 0x417842
ja 0x41794a
mov eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x28]
jb 0x417842
mov esi, dword [esp + 0x18]
lea eax, [esi + 0x24]
lea edi, [esp + 0x30]
call fcn.004045a0
mov ecx, dword [esp + 0xa4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00421ddf
mov esp, ebp
pop ebp
ret