Function at 0x41d750
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4539c8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x4622f0]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x1c], esi
mov eax, dword [esi]
cmp eax, 0x3f
jne 0x41d7f7
xor edx, edx
cmp dword [esi + 4], edx
jbe 0x41d79e
mov al, byte [esi + edx + 8]
mov byte [esi + edx + 0x20], al
inc edx
cmp edx, dword [esi + 4]
jb 0x41d790
xor ecx, ecx
cmp dword [esi + 0x1c], ecx
jbe 0x41d7bf
cmp edx, 0x20
jae 0x41d9a5
mov eax, dword [esi + 0x18]
mov al, byte [ecx + eax]
inc ecx
mov byte [edx + esi + 0x20], al
inc edx
cmp ecx, dword [esi + 0x1c]
jb 0x41d7a5
cmp edx, 0x20
jae 0x41d9a5
mov ecx, 0x20
lea edi, [esi + 0x20]
sub ecx, edx
add edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [esi + 0x1c]
mov ecx, 6
cmp eax, ecx
mov dword [esp + 0x30], 0
mov edx, 1
cmovbe ecx, eax
mov eax, dword [esi + 4]
add eax, 8
shl edx, cl
add ebx, eax
mov dword [esp + 0x18], edx
mov eax, ebx
imul eax, edx
mov dword [esp + 0x28], eax
lea eax, [eax + ebx*2]
sub eax, 0xffffff80
push eax
push 0x45bba8
mov dword [esp + 0x28], eax
call dword [0x45bba8]
mov edi, eax
mov dword [esp + 0x2c], edi
test edi, edi
jne 0x41d85f
push 0x460a48
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 1
push eax
call fcn.00440b5d
mov eax, dword [esp + 0x20]
mov dword [esp + 0x30], eax
mov dword [esp + 0x40], 0
lea eax, [esi + 8]
push dword [esi + 4]
lea ecx, [edi + 0x80]
push eax
push ecx
mov dword [esp + 0x20], ecx
call fcn.0043d530
mov eax, dword [esi + 4]
lea ecx, [edi + 0x80]
add esp, 0xc
add eax, ecx
push dword [esi + 0x1c]
push dword [esi + 0x18]
push eax
call fcn.0043d530
lea edx, [edi + 0x80]
xorps xmm0, xmm0
lea eax, [ebx - 8]
add esp, 0xc
add eax, edx
mov dword [esp + 0x24], eax
movq qword [eax], xmm0
mov eax, dword [0x45bbbc]
mov dword [edi], eax
mov eax, dword [esp + 0x18]
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x20], 0x6a09e667
mov dword [edi + 0x24], 0xbb67ae85
mov dword [edi + 0x28], 0x3c6ef372
mov dword [edi + 0x2c], 0xa54ff53a
mov dword [edi + 0x30], 0x510e527f
mov dword [edi + 0x34], 0x9b05688c
mov dword [edi + 0x38], 0x1f83d9ab
mov dword [edi + 0x3c], 0x5be0cd19
mov edi, edx
cmp eax, 1
jbe 0x41d92c
lea esi, [eax - 1]
push ebx
push edx
add edi, ebx
push edi
call fcn.0043d530
mov edx, dword [esp + 0x20]
add esp, 0xc
dec esi
jne 0x41d914
mov esi, dword [esp + 0x1c]
mov ecx, dword [esi]
mov eax, 1
mov esi, dword [esp + 0x2c]
shl eax, cl
xor edi, edi
mov dword [esp + 0x14], eax
nop
mov ecx, dword [esp + 0x24]
mov eax, edi
add edi, dword [esp + 0x18]
lea ebx, [ebx]
mov dword [ecx], eax
inc eax
add ecx, ebx
cmp eax, edi
jb 0x41d950
push dword [esp + 0x28]
mov ecx, esi
call fcn.00408770
lea edx, [esi + 0x80]
cmp edi, dword [esp + 0x14]
jb 0x41d940
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x2c]
mov ecx, ebx
lea edx, [edx + 0x20]
call fcn.00408820
push dword [esp + 0x20]
push 0
push ebx
call fcn.00444410
add esp, 0xc
mov dword [esp + 0x40], 0xffffffff
push ebx
push 0x45bba8
call dword [0x45bbac]
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret