Function at 0x49a5a0
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2b8
mov eax, dword [0x51e080]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x2b0], ecx
mov dword [ebp - 0x2ac], esi
mov dword [ebp - 0x2a8], ebx
mov dword [ebp - 0x2b4], eax
push edi
test esi, esi
je 0x49a98b
cmp ebx, 0x120
jbe 0x49a98b
lea eax, [ebx - 0x110]
add eax, esi
push 0x110
mov dword [ebp - 0x2a0], eax
call fcn.004d9a7e
mov edi, dword [esi + ebx - 0x114]
add esp, 4
mov ecx, dword [ebp - 0x2a8]
mov esi, dword [esi + ebx - 0x120]
mov dword [ebp - 0x2a4], eax
mov eax, dword [ebp - 0x2ac]
mov dword [ebp - 0x10], 0xde55116f
mov ecx, dword [eax + ecx - 0x11c]
mov ebx, dword [eax + ebx - 0x118]
xor ecx, esi
mov dword [ebp - 0x18], ecx
mov eax, ebx
xor eax, edi
mov ecx, edi
xor eax, 0xd3fce0eb
xor ecx, 0xfe09a2b6
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x2b0]
push eax
push 0x10
lea eax, [ebp - 0x29c]
mov ecx, dword [ecx + 0x484]
push eax
call fcn.004b48f0
mov ecx, dword [ebp - 0x2a0]
lea eax, [esi + edi]
mov esi, dword [ebp - 0x2b0]
xor ebx, 0x174da835
mov dword [ebp - 0xa0], ebx
mov ebx, dword [ebp - 0x2a4]
mov dword [ebp - 0xac], eax
mov edx, dword [esi + 0x484]
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 0xd5c4220b
test ecx, ecx
je 0x49a71c
test ebx, ebx
je 0x49a71c
mov eax, dword [ebp - 0x9c]
cmp eax, 0xa
je 0x49a6d3
cmp eax, 0xc
je 0x49a6d3
cmp eax, 0xe
jne 0x49a71c
sub eax, 0xa
je 0x49a70a
sub eax, 2
je 0x49a6f6
sub eax, 2
jne 0x49a71c
push 0x11
push ebx
push ecx
lea eax, [ebp - 0x29c]
mov ecx, edx
push eax
call fcn.004b8ca0
jmp 0x49a71c
push 0x11
push ebx
push ecx
lea eax, [ebp - 0x29c]
mov ecx, edx
push eax
call fcn.004b9cb0
jmp 0x49a71c
push 0x11
push ebx
push ecx
lea eax, [ebp - 0x29c]
mov ecx, edx
push eax
call fcn.004baa70
lea eax, [ebp - 0x94]
mov dword [ebp - 0x70], 0
push eax
mov eax, dword [ebp - 0x2a8]
add eax, 0xfffffef0
mov dword [ebp - 0x74], 0
push eax
push dword [ebp - 0x2ac]
mov dword [ebp - 0x94], 0x6a09e667
mov dword [ebp - 0x90], 0xbb67ae85
mov dword [ebp - 0x8c], 0x3c6ef372
mov dword [ebp - 0x88], 0xa54ff53a
mov dword [ebp - 0x84], 0x510e527f
mov dword [ebp - 0x80], 0x9b05688c
mov dword [ebp - 0x7c], 0x1f83d9ab
mov dword [ebp - 0x78], 0x5be0cd19
mov dword [ebp - 0x24], 0
call fcn.004b2370
lea eax, [ebp - 0x94]
push eax
push 0x10
push ebx
call fcn.004b2370
lea eax, [ebp - 0x94]
push eax
call fcn.004b2880
push 0x80
call fcn.004d9a7e
lea ecx, [ebx + 0x10]
mov edi, eax
add esp, 4
mov dword [ebp - 0x2a8], edi
mov dword [ebp - 0x2a0], ecx
lea eax, [esi + 0x4fc]
test ecx, ecx
je 0x49a905
test eax, eax
je 0x49a905
test edi, edi
je 0x49a905
mov esi, dword [eax]
shr esi, 3
mov eax, esi
mov dword [ebp - 0x2ac], esi
and eax, 0x7fffffff
cmp eax, 0x80
jne 0x49a905
call fcn.004bfef0
push 0x100
mov ebx, eax
call fcn.004d9a7e
mov ecx, esi
mov dword [ebx], eax
mov esi, dword [ebp - 0x2a0]
add esp, 4
shr ecx, 1
mov edi, eax
mov dword [ebx + 4], ecx
mov dword [ebx + 8], ecx
mov ecx, 0x40
mov dword [ebx + 0xc], 0
rep movsd dword es:[edi], dword [esi]
call fcn.004be740
mov edi, eax
mov dword [ebp - 0x2a0], edi
call fcn.004bfef0
mov esi, eax
mov edx, ebx
mov eax, dword [ebp - 0x2b0]
mov ecx, esi
push edi
push dword [eax + 0x508]
push dword [eax + 0x504]
call fcn.004c0ce0
mov edi, dword [ebp - 0x2a8]
add esp, 0xc
push dword [ebp - 0x2ac]
push dword [esi]
push edi
call fcn.004d6950
mov eax, dword [ebx]
add esp, 0xc
test eax, eax
je 0x49a89f
test byte [ebx + 0x10], 2
jne 0x49a89f
push eax
call fcn.004d9a63
add esp, 4
mov eax, dword [ebx + 0x10]
test al, 1
je 0x49a8b1
push ebx
call fcn.004d9a63
add esp, 4
jmp 0x49a8bf
or eax, 0x8000
mov dword [ebx], 0
mov dword [ebx + 0x10], eax
mov ecx, dword [ebp - 0x2a0]
call fcn.004be7a0
mov eax, dword [esi]
test eax, eax
je 0x49a8df
test byte [esi + 0x10], 2
jne 0x49a8df
push eax
call fcn.004d9a63
add esp, 4
mov eax, dword [esi + 0x10]
test al, 1
je 0x49a8f1
push esi
call fcn.004d9a63
add esp, 4
jmp 0x49a8ff
or eax, 0x8000
mov dword [esi], 0
mov dword [esi + 0x10], eax
mov ebx, dword [ebp - 0x2a4]
mov ecx, edi
lea edx, [ebp - 0x94]
mov esi, 0x1c
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x49a927
add ecx, 4
add edx, 4
sub esi, 4
jae 0x49a912
xor esi, esi
jmp 0x49a94e
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x49a949
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x49a949
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x49a949
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x49a949
xor esi, esi
jmp 0x49a94e
sbb esi, esi
or esi, 1
push edi
call fcn.004d9a63
mov eax, dword [ebp - 0x2b4]
add esp, 4
test eax, eax
je 0x49a969
movsd xmm0, qword [ebx]
movsd qword [eax], xmm0
push ebx
call fcn.004d9a63
add esp, 4
test esi, esi
jne 0x49a98b
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004d3878
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp - 8]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004d3878
mov esp, ebp
pop ebp
ret 0xc