Function at 0x1001df60
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
mov ebx, ecx
mov dword [esp + 8], 0
push esi
push edi
test byte [ebx + 0x78], 0x20
je 0x1001e368
cmp dword [ebx + 0x90], 0
je 0x1001e368
mov ecx, dword [ebp + 8]
mov eax, ecx
mov edx, dword [ebp + 0xc]
and eax, edx
cmp eax, 0xffffffff
je 0x1001dfbc
mov eax, dword [ebx]
push 0
push edx
push ecx
mov esi, dword [eax + 0x20]
mov ecx, esi
call dword [0x100f5330]
mov ecx, ebx
call esi
and eax, edx
cmp eax, 0xffffffff
je 0x1001e368
mov edx, dword [ebp + 0x14]
mov eax, dword [ebx + 0x80]
mov esi, eax
mov edi, dword [ebx + 0x84]
mov ecx, edi
test edx, edx
je 0x1001dfe5
cmp dword [ebx + 0x1c8], eax
jne 0x1001dff7
cmp dword [ebx + 0x1cc], edi
jne 0x1001dff7
jmp 0x1001e00b
cmp dword [ebx + 0x1cc], edi
jl 0x1001e00b
jg 0x1001dff7
cmp dword [ebx + 0x1c8], eax
jbe 0x1001e00b
mov dword [ebx + 0x1c8], 0xffffffff
mov dword [ebx + 0x1cc], 0xffffffff
mov edi, dword [ebx + 0x1d0]
mov eax, dword [ebx + 0x1d4]
test edi, edi
jne 0x1001e01f
test eax, eax
je 0x1001e054
cmp ecx, eax
ja 0x1001e368
jb 0x1001e031
cmp esi, edi
jae 0x1001e368
xor eax, eax
mov dword [esp + 0x14], edx
add dword [esp + 0x14], esi
adc eax, ecx
cmp eax, dword [ebx + 0x1d4]
jb 0x1001e054
ja 0x1001e04d
cmp dword [esp + 0x14], edi
jbe 0x1001e054
mov edx, edi
sub edx, esi
mov dword [ebp + 0x14], edx
test edx, edx
jne 0x1001e1d0
push ecx
push esi
mov ecx, ebx
call fcn.1001b040
mov eax, dword [ebx + 0x80]
or eax, dword [ebx + 0x84]
jne 0x1001e0c8
test dword [ebx + 0x78], 0x40000
je 0x1001e09b
lea ecx, [ebx + 0x98]
call fcn.10001a50
mov dword [ebx + 0x1c8], 0
mov dword [ebx + 0x1cc], 0
test dword [ebx + 0x78], 0x2000000
je 0x1001e0c8
lea ecx, [ebx + 0xf8]
mov edx, 0x10100b60
call fcn.10007ef0
mov dword [ebx + 0x1c8], 0
mov dword [ebx + 0x1cc], 0
mov ecx, dword [ebx + 0x28]
test ecx, ecx
je 0x1001e0d4
mov eax, dword [ebx + 0x2c]
jmp 0x1001e0d7
mov eax, dword [ebx + 0x24]
mov edx, dword [ebx + 0x8c]
mov esi, dword [ebx + 0x88]
test edx, edx
jl 0x1001e136
jg 0x1001e0ed
cmp esi, eax
jbe 0x1001e136
mov eax, dword [ebx + 0x2c]
test edx, edx
jl 0x1001e0fc
jg 0x1001e0fa
cmp esi, eax
jbe 0x1001e0fc
mov esi, eax
test ecx, ecx
jne 0x1001e103
mov eax, dword [ebx + 0x24]
cmp esi, eax
jbe 0x1001e136
lfence
sub esi, dword [ebx + 0x24]
lea ecx, [ebx + 0x14]
push esi
call fcn.10001820
test eax, eax
je 0x1001e368
push esi
push 0
push eax
lfence
call fcn.100c0600
add esp, 0xc
lea ecx, [ebx + 0x14]
push esi
call fcn.100018e0
cmp dword [ebx + 0x8c], 0
mov eax, dword [ebx + 0x2c]
jg 0x1001e15d
jl 0x1001e14c
cmp dword [ebx + 0x88], eax
ja 0x1001e15d
cmp dword [ebx + 4], 0
jne 0x1001e15d
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp dword [ebx + 0x44], 0
jne 0x1001e17c
mov eax, dword [ebx]
mov esi, dword [eax + 0x50]
mov ecx, esi
call dword [0x100f5330]
mov ecx, ebx
call esi
test al, al
je 0x1001e368
mov eax, dword [ebx + 0x30]
mov ecx, dword [ebx + 0x8c]
mov edx, dword [ebx + 0x2c]
mov esi, dword [eax + 0x1c]
mov eax, dword [ebx + 0x88]
test ecx, ecx
jl 0x1001e1a2
jg 0x1001e19b
cmp eax, edx
jbe 0x1001e1a2
sub eax, edx
sbb ecx, 0
jmp 0x1001e1b3
xorps xmm0, xmm0
movlpd qword [esp + 0x20], xmm0
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
push 0
push dword [ebp + 0x10]
push ecx
push eax
mov ecx, esi
call dword [0x100f5330]
lea ecx, [ebx + 0x30]
call esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
test ecx, ecx
jg 0x1001e2bd
jl 0x1001e1e3
cmp esi, dword [ebx + 0x2c]
jae 0x1001e2bd
xor eax, eax
mov edi, edx
add edx, esi
mov dword [esp + 0x10], edi
adc eax, ecx
test eax, eax
jl 0x1001e204
mov eax, dword [ebx + 0x2c]
jg 0x1001e1fc
cmp edx, eax
jbe 0x1001e204
mov edi, eax
sub edi, esi
mov dword [esp + 0x10], edi
mov eax, dword [ebx + 0x28]
test eax, eax
jne 0x1001e27c
mov eax, dword [ebx + 0x24]
lea ecx, [ebx + 0x14]
mov edx, esi
mov dword [esp + 0x14], eax
sub edx, eax
lea eax, [esi + edi]
mov dword [esp + 0x20], edx
cmp eax, dword [esp + 0x14]
jbe 0x1001e260
lea eax, [edx + edi]
push eax
lfence
mov dword [esp + 0x1c], eax
call fcn.10001820
test eax, eax
je 0x1001e368
mov eax, dword [ebx + 0x24]
lea ecx, [ebx + 0x14]
sub eax, dword [ecx + 4]
add eax, dword [ecx + 8]
mov edx, dword [esp + 0x18]
add eax, edx
cmp eax, dword [ecx + 0xc]
ja 0x1001e368
add dword [ecx + 0x10], edx
mov edx, dword [esp + 0x20]
cmp esi, dword [esp + 0x14]
jbe 0x1001e279
mov eax, dword [ecx + 8]
add eax, dword [esp + 0x14]
push edx
push 0
push eax
call fcn.100c0600
add esp, 0xc
mov eax, dword [ebx + 0x1c]
mov ecx, dword [ebp + 0x10]
add eax, esi
push edi
push ecx
push eax
call fcn.100c0760
add esp, 0xc
mov ecx, ebx
push edi
push dword [ebp + 0x10]
call fcn.1001de30
mov eax, dword [ebx + 0x84]
mov esi, edi
add esi, dword [ebx + 0x80]
mov dword [ebx + 0x80], esi
adc eax, 0
sub dword [ebp + 0x14], edi
mov dword [ebx + 0x84], eax
je 0x1001e3a1
cmp dword [ebx + 0x44], 0
jne 0x1001e2d8
mov eax, dword [ebx]
mov esi, dword [eax + 0x50]
mov ecx, esi
call dword [0x100f5330]
mov ecx, ebx
call esi
test al, al
je 0x1001e349
cmp dword [ebx + 0x28], 0
jne 0x1001e30c
mov eax, dword [ebx + 0x24]
mov esi, dword [ebx + 0x2c]
cmp eax, esi
je 0x1001e30c
sub esi, eax
lea ecx, [ebx + 0x14]
push esi
call fcn.10001820
test eax, eax
je 0x1001e349
push esi
push 0
push eax
call fcn.100c0600
add esp, 0xc
lea ecx, [ebx + 0x14]
push esi
call fcn.100018e0
mov eax, dword [ebx + 0x30]
push dword [ebp + 0x14]
mov edx, dword [ebx + 0x80]
mov esi, dword [eax + 0x1c]
mov ecx, esi
mov eax, dword [esp + 0x14]
add eax, dword [ebp + 0x10]
sub edx, dword [ebx + 0x2c]
push eax
mov dword [esp + 0x28], eax
mov eax, dword [ebx + 0x84]
sbb eax, 0
push eax
push edx
call dword [0x100f5330]
lea ecx, [ebx + 0x30]
call esi
mov esi, eax
cmp esi, 0xffffffff
jne 0x1001e374
mov ecx, dword [ebx + 0x80]
sub ecx, dword [esp + 0x10]
mov eax, dword [ebx + 0x84]
sbb eax, 0
mov dword [ebx + 0x80], ecx
mov dword [ebx + 0x84], eax
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push esi
push dword [esp + 0x24]
mov ecx, ebx
call fcn.1001de30
mov edi, dword [esp + 0x10]
mov eax, dword [ebx + 0x84]
add edi, esi
add esi, dword [ebx + 0x80]
mov dword [ebx + 0x80], esi
adc eax, 0
mov dword [ebx + 0x84], eax
cmp eax, dword [ebx + 0x8c]
jl 0x1001e3bf
jg 0x1001e3b3
cmp esi, dword [ebx + 0x88]
jbe 0x1001e3bf
mov dword [ebx + 0x88], esi
mov dword [ebx + 0x8c], eax
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10