Function at 0x1401bba70
Capabilities:
Hash data using sha256

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x268
vmovups xmmword [rsp + 0x250], xmm6
mov r12d, dword [rcx + 0x8c]
movsxd r13, dword [r9]
shl r13, 7
mov r14d, r12d
lea eax, [rdx - 2]
lea r10, [rsp + 0xbf]
mov rdx, qword [str.Zf2_]
mov r15, rcx
and r10, 0xffffffffffffffc0
mov dword [rsp + 0x5c], eax
lea rdi, [r10 + 0x140]
movzx eax, byte [rdx]
lea rdx, [rcx + 0x40]
mov qword [rsp + 0x2c0], r8
mov rcx, rdi
lea r8, [0x1402f5e00]
mov rbp, r10
mov qword [rsp + 0x2c8], r9
mov byte [rsp + 0x7b], al
lea rbx, [rbp + 0x80]
lea rsi, [rbp + 0x100]
call sym.sha256_x86_sha_transform_le
mov qword [rsp + 0x60], rbx
mov r9, rdi
mov r8, rsi
mov edx, dword [r15 + 0x88]
mov rcx, qword [r15 + 0x80]
vpxor xmm6, xmm6, xmm6
lea rax, [rbp + 0xc0]
lea rbx, [rbp + 0x120]
mov qword [rsp + 0x68], rax
lea rdi, [0x1402f5e00]
mov dword [rbp + 0xc8], edx
mov dword [rbp + 0x88], edx
mov rdx, qword [0x1402f5e20]
mov qword [rbp + 0xc0], rcx
mov qword [rbp + 0x80], rcx
mov rcx, rbx
mov qword [rbp + 0x8c], rdx
mov qword [rbp + 0xcc], rdx
mov rdx, rax
mov qword [rbp + 0xf4], 0
mov qword [rbp + 0xb4], 0
mov dword [rbp + 0xbc], 0x280
mov dword [rbp + 0xfc], 0x280
vmovdqu xmmword [rbp + 0xd4], xmm6
vmovdqu xmmword [rbp + 0xe4], xmm6
vmovdqu xmmword [rbp + 0x94], xmm6
vmovdqu xmmword [rbp + 0xa4], xmm6
call sym.sha256_x86_sha_prehash_3rounds
lea rax, [rbp + 0x160]
mov qword [rsp + 0x70], r13
lea r13, [rbp + 0x40]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0x180]
mov dword [rbp + 0x20], 0x80000000
mov dword [rbp + 0x60], 0x80000000
mov qword [rbp + 0x74], 0
mov qword [rbp + 0x34], 0
mov dword [rbp + 0x3c], 0x100
mov dword [rbp + 0x7c], 0x100
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x7c], r12d
vmovdqu xmmword [rbp + 0x64], xmm6
vmovdqu xmmword [rbp + 0x24], xmm6
jmp 0x1401bbc53
mov eax, dword [rbp + 0x17c]
bswap eax
cmp edx, eax
jae 0x1401bbd40
mov eax, dword [rsp + 0x5c]
add r14d, 2
cmp r14d, eax
jae 0x1401bbdbf
mov rcx, qword [0x1403123d0]
mov rax, qword [rsp + 0x70]
add rax, qword [rcx]
movzx eax, byte [rax]
test al, al
jne 0x1401bbdbf
lea r12d, [r14 + 1]
mov r9, qword [rsp + 0x60]
mov rdx, rbp
mov rcx, r13
mov dword [rbp + 0xcc], r14d
mov r8, qword [rsp + 0x68]
mov dword [rbp + 0x8c], r12d
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
call sym.sha256_x86_x2sha_final_rounds
mov qword [rsp + 0x28], rdi
mov r9, rbp
mov r8, r13
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x20], rdi
call sym.sha256_x86_x2sha_transform_le
mov eax, dword [rbp + 0x19c]
mov edx, dword [r15 + 0x1c]
bswap eax
cmp edx, eax
jb 0x1401bbc18
vmovdqu xmm1, xmmword [0x1402f5e30]
vmovdqu xmm2, xmmword [rbp + 0x180]
mov rdx, r15
vmovdqu xmm3, xmmword [rbp + 0x190]
mov rcx, qword [rsp + 0x50]
vpshufb xmm0, xmm2, xmm1
vmovdqu xmmword [rbp + 0x180], xmm0
vpshufb xmm0, xmm3, xmm1
vmovdqu xmmword [rbp + 0x190], xmm0
call sym.valid_hash
test al, al
je 0x1401bbd27
cmp byte [rsp + 0x7b], 0
jne 0x1401bbd27
mov dword [r15 + 0x8c], r14d
mov r8, qword [rsp + 0x2c8]
mov rcx, r15
mov rdx, qword [rsp + 0x50]
call sym.submit_solution
mov eax, dword [rbp + 0x17c]
mov edx, dword [r15 + 0x1c]
bswap eax
cmp edx, eax
jb 0x1401bbc28
nop dword [rax + rax]
vmovdqu xmm1, xmmword [0x1402f5e30]
vmovdqu xmm4, xmmword [rbp + 0x160]
mov rdx, r15
vmovdqu xmm5, xmmword [rbp + 0x170]
mov rcx, qword [rsp + 0x48]
vpshufb xmm0, xmm4, xmm1
vmovdqu xmmword [rbp + 0x160], xmm0
vpshufb xmm0, xmm5, xmm1
vmovdqu xmmword [rbp + 0x170], xmm0
call sym.valid_hash
test al, al
je 0x1401bbc28
cmp byte [rsp + 0x7b], 0
jne 0x1401bbc28
mov dword [r15 + 0x8c], r12d
mov rdx, qword [rsp + 0x48]
mov rcx, r15
add r14d, 2
mov r8, qword [rsp + 0x2c8]
call sym.submit_solution
mov eax, dword [rsp + 0x5c]
cmp r14d, eax
jb 0x1401bbc39
mov r12d, dword [rsp + 0x7c]
mov r11d, r14d
mov rax, qword [rsp + 0x2c0]
mov dword [r15 + 0x8c], r14d
sub r11d, r12d
mov esi, r11d
mov qword [rax], rsi
xor eax, eax
vmovups xmm6, xmmword [rsp + 0x250]
add rsp, 0x268
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret