Function at 0x1401668e0
Capabilities:
Hash data using sha256

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x928
vmovdqu ymm0, ymmword [0x1402f4c40]
mov esi, dword [rcx + 0x8c]
movsxd rbx, dword [r9]
mov ebp, esi
lea eax, [rdx - 8]
mov rdi, rcx
lea rdx, [rcx + 0x40]
mov qword [rsp + 0x980], r8
mov dword [rsp + 0x80], eax
mov rax, qword [str.Zf2_]
lea r10, [rsp + 0x10f]
mov r8d, 0x200
and r10, 0xffffffffffffffc0
mov qword [rsp + 0x988], r9
xor r9d, r9d
movzx eax, byte [rax]
mov r12, r10
vmovdqu ymmword [r10 + 0x7e0], ymm0
lea rcx, [r10 + 0x7e0]
mov dword [rsp + 0x20], 0xe
lea r15, [r12 + 0x800]
lea r14, [r12 + 0x7c0]
mov byte [rsp + 0x87], al
lea r13, [r12 + 0x7a0]
vzeroupper
call sym.blake256_transform_le
lea ecx, [rsi + 4]
lea r11d, [rsi + 6]
vpbroadcastd ymm0, dword [r12 + 0x7e0]
lea edx, [rsi + 2]
vmovd xmm1, ecx
lea r8d, [rsi + 7]
lea ecx, [rsi + 5]
vmovd xmm5, esi
lea eax, [rsi + 1]
vmovdqu ymmword [r12 + 0x500], ymm0
vmovd xmm2, edx
vpinsrd xmm1, xmm1, ecx, 1
lea edx, [rsi + 3]
vpbroadcastd ymm0, dword [r12 + 0x7e4]
vpinsrd xmm2, xmm2, edx, 1
lea rdx, [r12 + 0x500]
mov qword [rsp + 0x90], rdx
vmovdqu ymmword [r12 + 0x520], ymm0
vpbroadcastd ymm0, dword [r12 + 0x7e8]
vmovdqu ymmword [r12 + 0x540], ymm0
vpbroadcastd ymm0, dword [r12 + 0x7ec]
vmovdqu ymmword [r12 + 0x560], ymm0
vpbroadcastd ymm0, dword [r12 + 0x7f0]
vmovdqu ymmword [r12 + 0x580], ymm0
vpbroadcastd ymm0, dword [r12 + 0x7f4]
vmovdqu ymmword [r12 + 0x5a0], ymm0
vpbroadcastd ymm0, dword [r12 + 0x7f8]
vmovdqu ymmword [r12 + 0x5c0], ymm0
vpbroadcastd ymm0, dword [r12 + 0x7fc]
vmovdqu ymmword [r12 + 0x5e0], ymm0
vpbroadcastd ymm0, dword [rdi + 0x80]
vmovdqu ymmword [r12], ymm0
vpbroadcastd ymm0, dword [rdi + 0x84]
vmovdqu ymmword [r12 + 0x20], ymm0
vpbroadcastd ymm0, dword [rdi + 0x88]
vmovdqu ymmword [r12 + 0x40], ymm0
vmovd xmm0, r11d
vpinsrd xmm0, xmm0, r8d, 1
mov r8, r12
vpunpcklqdq xmm1, xmm1, xmm0
vpinsrd xmm0, xmm5, eax, 1
lea rax, [r12 + 0x200]
mov qword [rsp + 0xa0], rax
vpunpcklqdq xmm0, xmm0, xmm2
mov rcx, rax
vinserti128 ymm0, ymm0, xmm1, 1
vmovdqu ymmword [r12 + 0x60], ymm0
vzeroupper
call sym.blake256_8way_round0_prehash_le
lea rax, [r12 + 0x400]
shl rbx, 7
mov qword [rsp + 0xb8], rax
lea rax, [r12 + 0x780]
mov qword [rsp + 0xb0], rax
lea rax, [r12 + 0x760]
mov qword [rsp + 0xa8], rax
lea rax, [r12 + 0x740]
mov qword [rsp + 0x98], rax
lea rax, [r12 + 0x720]
mov qword [rsp + 0x88], rax
lea rax, [r12 + 0x600]
mov qword [rsp + 0x58], rax
mov eax, 8
vmovd xmm1, eax
mov dword [rsp + 0xc8], esi
vpbroadcastd ymm1, xmm1
mov qword [rsp + 0xc0], rbx
lea rbx, [r12 + 0x700]
vmovdqu ymmword [rsp + 0x60], ymm1
nop word cs:[rax + rax]
mov dword [rsp + 0x20], 0xe
mov r8, qword [rsp + 0x90]
mov r9, r12
mov rdx, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0xb8]
vzeroupper
call sym.blake256_8way_final_rounds_le
lea rcx, [0x1402b2200]
vmovdqu xmm0, xmmword [r12 + 0x400]
vmovdqu xmm1, xmmword [r12 + 0x440]
vpunpckldq xmm2, xmm0, xmmword [r12 + 0x420]
vpunpckldq xmm3, xmm1, xmmword [r12 + 0x460]
vpunpckhdq xmm0, xmm0, xmmword [r12 + 0x420]
vpunpckhdq xmm1, xmm1, xmmword [r12 + 0x460]
vpunpcklqdq xmm5, xmm2, xmm3
vpunpckhqdq xmm3, xmm2, xmm3
vmovdqu xmm2, xmmword [r12 + 0x450]
vmovdqu xmmword [r12 + 0x7c0], xmm3
vpunpcklqdq xmm4, xmm0, xmm1
vpunpckhqdq xmm1, xmm0, xmm1
vmovdqu xmm0, xmmword [r12 + 0x410]
vmovdqu xmmword [r12 + 0x7a0], xmm4
vpunpckldq xmm3, xmm0, xmmword [r12 + 0x430]
vpunpckldq xmm4, xmm2, xmmword [r12 + 0x470]
vpunpckhdq xmm0, xmm0, xmmword [r12 + 0x430]
vmovdqu xmmword [r12 + 0x780], xmm1
vpunpckhdq xmm1, xmm2, xmmword [r12 + 0x470]
vmovdqu xmmword [r12 + 0x800], xmm5
vpunpcklqdq xmm5, xmm3, xmm4
vpunpckhqdq xmm3, xmm3, xmm4
vmovdqu xmm2, xmmword [r12 + 0x4c0]
vmovdqu xmmword [r12 + 0x740], xmm3
vpunpcklqdq xmm4, xmm0, xmm1
vpunpckhqdq xmm1, xmm0, xmm1
vmovdqu xmm0, xmmword [r12 + 0x480]
vmovdqu xmmword [r12 + 0x720], xmm4
vpunpckldq xmm3, xmm0, xmmword [r12 + 0x4a0]
vpunpckldq xmm4, xmm2, xmmword [r12 + 0x4e0]
vpunpckhdq xmm0, xmm0, xmmword [r12 + 0x4a0]
vmovdqu xmmword [r12 + 0x700], xmm1
vpunpckhdq xmm1, xmm2, xmmword [r12 + 0x4e0]
vmovdqu xmmword [r12 + 0x760], xmm5
vpunpcklqdq xmm5, xmm3, xmm4
vpunpckhqdq xmm3, xmm3, xmm4
vmovdqu xmm2, xmmword [r12 + 0x4d0]
vmovdqu xmmword [r12 + 0x810], xmm5
vpunpcklqdq xmm4, xmm0, xmm1
vpunpckhqdq xmm1, xmm0, xmm1
vmovdqu xmm0, xmmword [r12 + 0x490]
vmovdqu xmmword [r12 + 0x7b0], xmm4
vmovdqu xmmword [r12 + 0x790], xmm1
vmovdqu xmmword [r12 + 0x7d0], xmm3
vpunpckldq xmm3, xmm0, xmmword [r12 + 0x4b0]
vpunpckldq xmm4, xmm2, xmmword [r12 + 0x4f0]
vpunpckhdq xmm1, xmm2, xmmword [r12 + 0x4f0]
vpunpckhdq xmm0, xmm0, xmmword [r12 + 0x4b0]
vpunpcklqdq xmm5, xmm3, xmm4
vpunpckhqdq xmm3, xmm3, xmm4
vmovdqu xmmword [r12 + 0x770], xmm5
vpunpcklqdq xmm2, xmm0, xmm1
vpunpckhqdq xmm0, xmm0, xmm1
vmovdqu xmmword [r12 + 0x750], xmm3
vmovdqu xmmword [r12 + 0x730], xmm2
vmovdqu xmmword [r12 + 0x710], xmm0
call sym.__emutls_get_address
mov r9, r15
mov r8d, 0x20
mov rdx, r15
mov rcx, qword [rax]
mov qword [rsp + 0x28], r15
mov rsi, rax
mov qword [rsp + 0x48], 8
mov qword [rsp + 0x40], 8
mov qword [rsp + 0x38], 8
mov qword [rsp + 0x30], 0x20
mov qword [rsp + 0x20], 0x20
call sym.LYRA2Z
mov rcx, qword [rsi]
mov qword [rsp + 0x28], r14
mov r9, r14
mov qword [rsp + 0x48], 8
mov r8d, 0x20
mov rdx, r14
mov qword [rsp + 0x40], 8
mov qword [rsp + 0x38], 8
mov qword [rsp + 0x30], 0x20
mov qword [rsp + 0x20], 0x20
call sym.LYRA2Z
mov rcx, qword [rsi]
mov qword [rsp + 0x28], r13
mov r9, r13
mov qword [rsp + 0x48], 8
mov r8d, 0x20
mov rdx, r13
mov qword [rsp + 0x40], 8
mov qword [rsp + 0x38], 8
mov qword [rsp + 0x30], 0x20
mov qword [rsp + 0x20], 0x20
call sym.LYRA2Z
mov rdx, qword [rsp + 0xb0]
mov rcx, qword [rsi]
mov qword [rsp + 0x48], 8
mov qword [rsp + 0x40], 8
mov r8d, 0x20
mov qword [rsp + 0x28], rdx
mov r9, rdx
mov qword [rsp + 0x38], 8
mov qword [rsp + 0x30], 0x20
mov qword [rsp + 0x20], 0x20
call sym.LYRA2Z
mov rdx, qword [rsp + 0xa8]
mov rcx, qword [rsi]
mov qword [rsp + 0x48], 8
mov qword [rsp + 0x40], 8
mov r8d, 0x20
mov qword [rsp + 0x28], rdx
mov r9, rdx
mov qword [rsp + 0x38], 8
mov qword [rsp + 0x30], 0x20
mov qword [rsp + 0x20], 0x20
call sym.LYRA2Z
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rsi]
mov qword [rsp + 0x48], 8
mov qword [rsp + 0x40], 8
mov r8d, 0x20
mov qword [rsp + 0x28], rdx
mov r9, rdx
mov qword [rsp + 0x38], 8
mov qword [rsp + 0x30], 0x20
mov qword [rsp + 0x20], 0x20
call sym.LYRA2Z
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsi]
mov qword [rsp + 0x48], 8
mov qword [rsp + 0x40], 8
mov r8d, 0x20
mov qword [rsp + 0x28], rdx
mov r9, rdx
mov qword [rsp + 0x38], 8
mov qword [rsp + 0x30], 0x20
mov qword [rsp + 0x20], 0x20
call sym.LYRA2Z
mov rcx, qword [rsi]
mov qword [rsp + 0x28], rbx
mov r9, rbx
mov qword [rsp + 0x48], 8
mov r8d, 0x20
mov rdx, rbx
mov qword [rsp + 0x40], 8
mov qword [rsp + 0x38], 8
mov qword [rsp + 0x30], 0x20
mov qword [rsp + 0x20], 0x20
call sym.LYRA2Z
vmovdqu xmm5, xmmword [r12 + 0x800]
vmovdqu xmm2, xmmword [r12 + 0x7a0]
vmovdqu xmm4, xmmword [r12 + 0x7b0]
vmovdqu xmm3, xmmword [r12 + 0x720]
vmovdqu xmmword [r12 + 0x600], xmm5
vmovdqu xmm5, xmmword [r12 + 0x810]
vmovdqu xmmword [r12 + 0x640], xmm2
vmovdqu xmm2, xmmword [r12 + 0x790]
vmovdqu xmmword [r12 + 0x610], xmm5
vmovdqu xmm5, xmmword [r12 + 0x7c0]
vmovdqu xmmword [r12 + 0x650], xmm4
vmovdqu xmm4, xmmword [r12 + 0x760]
vmovdqu xmmword [r12 + 0x620], xmm5
vmovdqu xmm5, xmmword [r12 + 0x7d0]
vmovdqu xmmword [r12 + 0x670], xmm2
vmovdqu xmm2, xmmword [r12 + 0x740]
vmovdqu xmmword [r12 + 0x630], xmm5
vmovdqu xmm5, xmmword [r12 + 0x780]
vmovdqu xmmword [r12 + 0x680], xmm4
vmovdqu xmm4, xmmword [r12 + 0x750]
vmovdqu xmmword [r12 + 0x660], xmm5
vmovdqu xmm5, xmmword [r12 + 0x770]
vmovdqu xmmword [r12 + 0x6a0], xmm2
vmovdqu xmm2, xmmword [r12 + 0x700]
vmovdqu xmmword [r12 + 0x690], xmm5
vmovdqu xmm5, xmmword [r12 + 0x730]
vmovdqu xmmword [r12 + 0x6b0], xmm4
vmovdqu xmm4, xmmword [r12 + 0x710]
vmovdqu xmmword [r12 + 0x6c0], xmm3
vmovdqu xmmword [r12 + 0x6d0], xmm5
vmovdqu xmmword [r12 + 0x6e0], xmm2
vmovdqu xmmword [r12 + 0x6f0], xmm4
mov rsi, qword [rsp + 0x58]
cmp byte [rsp + 0x87], 0
je 0x1401671a0
nop dword [rax]
mov rcx, rsi
mov rdx, rdi
add rsi, 0x20
call sym.valid_hash
cmp rbx, rsi
jne 0x140167118
vmovdqu ymm3, ymmword [rsp + 0x60]
vpaddd ymm0, ymm3, ymmword [r12 + 0x60]
add ebp, 8
vmovdqu ymmword [r12 + 0x60], ymm0
cmp dword [rsp + 0x80], ebp
jb 0x140167169
mov rdx, qword [0x1403123d0]
mov rax, qword [rsp + 0xc0]
add rax, qword [rdx]
movzx eax, byte [rax]
test al, al
je 0x140166b70
mov esi, dword [rsp + 0xc8]
mov dword [rdi + 0x8c], ebp
mov rax, qword [rsp + 0x980]
sub ebp, esi
mov edi, ebp
mov qword [rax], rdi
xor eax, eax
vzeroupper
add rsp, 0x928
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov eax, ebp
mov dword [rsp + 0xcc], ebp
mov rbp, rsi
mov esi, eax
nop
mov rdx, rdi
mov rcx, rbp
call sym.valid_hash
test al, al
jne 0x1401671d7
add rbp, 0x20
add esi, 1
cmp rbx, rbp
jne 0x1401671b0
mov ebp, dword [rsp + 0xcc]
jmp 0x14016712c
mov dword [rdi + 0x8c], esi
mov r8, qword [rsp + 0x988]
mov rdx, rbp
mov rcx, rdi
call sym.submit_solution
jmp 0x1401671bf