Function at 0x407040
Capabilities:
Hash data using sha256

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41f380
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x230
mov eax, dword [0x429040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x238], ecx
mov dword [ebp - 0x230], ecx
mov dword [ebp - 0x230], ecx
push 0x40
lea eax, [ebp - 0x58]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.00409100
add esp, 0xc
lea eax, [ebp - 0x220]
push 0x100
push 0
push eax
call fcn.00409100
mov esi, dword [ebx + 0x18]
lea eax, [ebx + 8]
add esp, 0xc
mov dword [ebp - 0x120], 0xf3bcc908
cmp dword [ebx + 0x1c], 0xf
mov edi, 0x80
mov dword [ebp - 0x11c], 0x6a09e667
cmova eax, dword [ebx + 8]
cmp esi, edi
mov dword [ebp - 0x230], eax
cmovb edi, esi
mov dword [ebp - 0x118], 0x84caa73b
push edi
push eax
lea eax, [ebp - 0x220]
mov dword [ebp - 0x114], 0xbb67ae85
push eax
mov dword [ebp - 0x110], 0xfe94f82b
mov dword [ebp - 0x10c], 0x3c6ef372
mov dword [ebp - 0x108], 0x5f1d36f1
mov dword [ebp - 0x104], 0xa54ff53a
mov dword [ebp - 0x100], 0xade682d1
mov dword [ebp - 0xfc], 0x510e527f
mov dword [ebp - 0xf8], 0x2b3e6c1f
mov dword [ebp - 0xf4], 0x9b05688c
mov dword [ebp - 0xf0], 0xfb41bd6b
mov dword [ebp - 0xec], 0x1f83d9ab
mov dword [ebp - 0xe8], 0x137e2179
mov dword [ebp - 0xe4], 0x5be0cd19
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x234], edi
call fcn.00409350
mov eax, dword [ebp - 0x224]
add esp, 0xc
add eax, esi
cmp eax, 0x80
jae 0x4071c0
mov dword [ebp - 0x224], eax
jmp 0x40723d
sub esi, edi
lea eax, [ebp - 0x220]
mov edi, esi
mov dword [ebp - 0x22c], esi
mov esi, dword [ebp - 0x234]
lea ecx, [ebp - 0x228]
add esi, dword [ebp - 0x230]
push 1
push eax
shr edi, 7
call fcn.00406470
push edi
push esi
lea ecx, [ebp - 0x228]
call fcn.00406470
mov eax, dword [ebp - 0x22c]
and eax, 0x7f
shl edi, 7
push eax
mov dword [ebp - 0x22c], eax
lea eax, [edi + esi]
push eax
lea eax, [ebp - 0x220]
push eax
call fcn.00409350
mov eax, dword [ebp - 0x22c]
add esp, 0xc
mov dword [ebp - 0x224], eax
mov eax, dword [ebp - 0x228]
sub eax, 0xffffff80
add eax, edi
mov dword [ebp - 0x228], eax
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x228]
call fcn.00406ba0
mov byte [ebp - 0x60], 0
lea edi, [ebp - 0xe0]
xor esi, esi
nop dword [eax + eax]
movzx eax, byte [ebp + esi - 0x58]
push eax
push str._02x
push edi
call fcn.00404d80
inc esi
add esp, 0xc
add edi, 2
cmp esi, 0x40
jb 0x407260
mov esi, dword [ebp - 0x238]
lea ecx, [ebp - 0xe0]
xorps xmm0, xmm0
lea edx, [ecx + 1]
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4072a0
sub ecx, edx
lea eax, [ebp - 0xe0]
push ecx
push eax
mov ecx, esi
call fcn.00401900
mov ecx, dword [ebx + 0x1c]
cmp ecx, 0xf
jbe 0x4072e8
mov edx, dword [ebx + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4072de
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407308
push ecx
push edx
call fcn.0040779d
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0040730e
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0040b190
int3