Function at 0x413240
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4663c8
mov eax, dword fs:[0]
push eax
sub esp, 0x124
mov eax, dword [0x48b060]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x12c], ecx
mov dword [ebp - 0x124], ecx
mov dword [ebp - 0x124], ecx
push 0x80
lea eax, [ebp - 0x118]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.0041ae90
cmp dword [ebp + 0x20], 0x10
lea eax, [ebp + 0xc]
mov edi, dword [ebp + 0x1c]
mov esi, 0x40
cmovae eax, dword [ebp + 0xc]
cmp edi, esi
mov dword [ebp - 0x124], eax
cmovb esi, edi
mov dword [ebp - 0x98], 0x6a09e667
push esi
push eax
lea eax, [ebp - 0x118]
mov dword [ebp - 0x94], 0xbb67ae85
push eax
mov dword [ebp - 0x90], 0x3c6ef372
mov dword [ebp - 0x8c], 0xa54ff53a
mov dword [ebp - 0x88], 0x510e527f
mov dword [ebp - 0x84], 0x9b05688c
mov dword [ebp - 0x80], 0x1f83d9ab
mov dword [ebp - 0x7c], 0x5be0cd19
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x120], 0
call fcn.0041a910
mov ebx, dword [ebp - 0x11c]
add esp, 0x18
add ebx, edi
mov dword [ebp - 0x128], ebx
cmp ebx, 0x40
jae 0x413342
mov ecx, dword [ebp - 0x120]
jmp 0x4133a3
mov ebx, edi
lea eax, [ebp - 0x118]
sub ebx, esi
lea ecx, [ebp - 0x120]
add esi, dword [ebp - 0x124]
mov edi, ebx
push 1
push eax
shr edi, 6
call fcn.00413000
push edi
push esi
lea ecx, [ebp - 0x120]
call fcn.00413000
shl edi, 6
and ebx, 0x3f
push ebx
mov dword [ebp - 0x128], ebx
lea eax, [edi + esi]
push eax
lea eax, [ebp - 0x118]
push eax
call fcn.0041a910
mov ecx, dword [ebp - 0x120]
add esp, 0xc
add ecx, 0x40
add ecx, edi
mov dword [ebp - 0x120], ecx
mov eax, ebx
mov dword [ebp - 0x11c], ebx
and eax, 0x3f
mov dl, 0x37
cmp dl, al
sbb edi, edi
add ebx, ecx
neg edi
shl ebx, 3
inc edi
mov esi, edi
shl esi, 6
mov eax, esi
sub eax, dword [ebp - 0x128]
push eax
lea eax, [ebp - 0x118]
add eax, dword [ebp - 0x128]
push 0
push eax
call fcn.0041ae90
mov eax, dword [ebp - 0x11c]
lea ecx, [ebp - 0x120]
add esp, 0xc
mov byte [ebp + eax - 0x118], 0x80
mov eax, ebx
shr eax, 8
mov byte [ebp + esi - 0x119], bl
mov byte [ebp + esi - 0x11a], al
mov eax, ebx
shr eax, 0x10
mov byte [ebp + esi - 0x11b], al
lea eax, [ebp - 0x118]
push edi
shr ebx, 0x18
push eax
mov byte [ebp + esi - 0x11c], bl
call fcn.00413000
mov ecx, dword [ebp - 0x98]
mov eax, ecx
shr eax, 8
mov byte [ebp - 0x2e], al
mov eax, ecx
shr eax, 0x10
mov byte [ebp - 0x2f], al
mov byte [ebp - 0x2d], cl
shr ecx, 0x18
mov byte [ebp - 0x30], cl
mov ecx, dword [ebp - 0x94]
mov eax, ecx
shr eax, 8
mov byte [ebp - 0x2a], al
mov eax, ecx
shr eax, 0x10
mov byte [ebp - 0x29], cl
mov byte [ebp - 0x2b], al
shr ecx, 0x18
mov byte [ebp - 0x2c], cl
mov ecx, dword [ebp - 0x90]
mov eax, ecx
shr eax, 8
mov byte [ebp - 0x26], al
mov eax, ecx
shr eax, 0x10
mov byte [ebp - 0x25], cl
shr ecx, 0x18
mov byte [ebp - 0x27], al
mov byte [ebp - 0x28], cl
mov ecx, dword [ebp - 0x8c]
mov eax, ecx
shr eax, 8
mov byte [ebp - 0x22], al
mov eax, ecx
mov byte [ebp - 0x21], cl
shr ecx, 0x18
shr eax, 0x10
mov byte [ebp - 0x23], al
mov byte [ebp - 0x24], cl
mov ecx, dword [ebp - 0x88]
mov eax, ecx
mov byte [ebp - 0x1d], cl
shr eax, 8
mov byte [ebp - 0x1e], al
lea edi, [ebp - 0x74]
mov eax, ecx
mov byte [ebp - 0x34], 0
shr eax, 0x10
mov byte [ebp - 0x1f], al
shr ecx, 0x18
mov byte [ebp - 0x20], cl
mov ecx, dword [ebp - 0x84]
mov eax, ecx
shr eax, 8
mov byte [ebp - 0x1a], al
mov eax, ecx
shr eax, 0x10
mov byte [ebp - 0x19], cl
shr ecx, 0x18
mov byte [ebp - 0x1b], al
mov byte [ebp - 0x1c], cl
mov ecx, dword [ebp - 0x80]
mov eax, ecx
shr eax, 8
mov byte [ebp - 0x16], al
mov eax, ecx
shr eax, 0x10
mov byte [ebp - 0x15], cl
shr ecx, 0x18
mov byte [ebp - 0x17], al
mov byte [ebp - 0x18], cl
mov ecx, dword [ebp - 0x7c]
mov eax, ecx
shr eax, 8
mov byte [ebp - 0x12], al
mov eax, ecx
mov byte [ebp - 0x11], cl
shr eax, 0x10
shr ecx, 0x18
xor esi, esi
mov byte [ebp - 0x13], al
mov byte [ebp - 0x14], cl
nop word [eax + eax]
movzx eax, byte [ebp + esi - 0x30]
push eax
push str._02x
push edi
call fcn.00412b80
inc esi
add esp, 0xc
add edi, 2
cmp esi, 0x20
jb 0x413530
mov ebx, dword [ebp - 0x12c]
lea eax, [ebp - 0x75]
push 8
mov dword [ebp - 0x12c], eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x18], 0
call fcn.0040bb70
add esp, 4
mov dword [ebp - 0x130], eax
mov dword [eax], ebx
mov dword [eax + 4], 0
mov dword [ebx], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x74]
mov dword [ebx + 0x14], 0
lea edx, [ecx + 1]
mov dword [ebx + 0x18], 0xf
mov byte [ebx + 4], 0
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4135b0
sub ecx, edx
lea eax, [ebp - 0x74]
push ecx
push eax
mov ecx, ebx
call fcn.00408f50
lea ecx, [ebp + 8]
call fcn.00408d50
mov ecx, dword [ebp + 8]
push 8
push ecx
mov dword [ebp + 8], 0
call fcn.0040bc10
add esp, 8
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00417840
mov esp, ebp
pop ebp
ret