Function at 0x1401bbe30
Capabilities:
Hash data using sha256
Resolve function by parsing pe exports

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]
mov esi, dword [r9]
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 rbx, [r10 + 0x140]
movzx eax, byte [rdx]
lea rdx, [rcx + 0x40]
mov qword [rsp + 0x2c0], r8
mov rcx, rbx
lea r8, [0x1402f5e40]
mov r13, r10
mov qword [rsp + 0x2c8], r9
mov byte [rsp + 0x7b], al
lea rdi, [r13 + 0x80]
lea rbp, [r13 + 0x100]
call sym.sha256_x86_sha_transform_le
mov qword [rsp + 0x60], rdi
mov r9, rbx
mov r8, rbp
mov edx, dword [r15 + 0x88]
mov rcx, qword [r15 + 0x80]
vpxor xmm6, xmm6, xmm6
lea rax, [r13 + 0xc0]
lea rdi, [r13 + 0x120]
mov qword [rsp + 0x68], rax
lea rbx, [0x1402f5e40]
mov dword [r13 + 0xc8], edx
mov dword [r13 + 0x88], edx
mov rdx, qword [0x1402f5e60]
mov qword [r13 + 0xc0], rcx
mov qword [r13 + 0x80], rcx
mov rcx, rdi
mov qword [r13 + 0x8c], rdx
mov qword [r13 + 0xcc], rdx
mov rdx, rax
mov qword [r13 + 0xf4], 0
mov qword [r13 + 0xb4], 0
mov dword [r13 + 0xbc], 0x480
mov dword [r13 + 0xfc], 0x480
vmovdqu xmmword [r13 + 0xd4], xmm6
vmovdqu xmmword [r13 + 0xe4], xmm6
vmovdqu xmmword [r13 + 0x94], xmm6
vmovdqu xmmword [r13 + 0xa4], xmm6
call sym.sha256_x86_sha_prehash_3rounds
movsxd rax, esi
mov dword [r13 + 0x20], 0x80000000
lea rsi, [r13 + 0x40]
shl rax, 7
mov dword [r13 + 0x60], 0x80000000
mov qword [rsp + 0x70], rax
lea rax, [r13 + 0x160]
mov qword [rsp + 0x48], rax
lea rax, [r13 + 0x180]
mov qword [r13 + 0x74], 0
mov qword [r13 + 0x34], 0
mov dword [r13 + 0x3c], 0x280
mov dword [r13 + 0x7c], 0x280
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x7c], r12d
vmovdqu xmmword [r13 + 0x64], xmm6
vmovdqu xmmword [r13 + 0x24], xmm6
jmp 0x1401bc02c
mov eax, dword [r13 + 0x17c]
bswap eax
cmp edx, eax
jae 0x1401bc138
mov eax, dword [rsp + 0x5c]
add r14d, 2
cmp r14d, eax
jae 0x1401bc1bb
mov rcx, qword [0x1403123d0]
mov rax, qword [rsp + 0x70]
add rax, qword [rcx]
movzx eax, byte [rax]
test al, al
jne 0x1401bc1bb
lea r12d, [r14 + 1]
mov r9, qword [rsp + 0x60]
mov rdx, r13
mov rcx, rsi
mov dword [r13 + 0xcc], r14d
mov r8, qword [rsp + 0x68]
mov dword [r13 + 0x8c], r12d
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
call sym.sha256_x86_x2sha_final_rounds
mov qword [rsp + 0x28], rbx
mov r9, r13
mov r8, rsi
mov qword [rsp + 0x20], rbx
mov rdx, r13
mov rcx, rsi
call sym.sha256_x86_x2sha_transform_le
mov qword [rsp + 0x28], rbx
mov r9, r13
mov r8, rsi
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x20], rbx
call sym.sha256_x86_x2sha_transform_le
mov eax, dword [r13 + 0x19c]
mov edx, dword [r15 + 0x1c]
bswap eax
cmp edx, eax
jb 0x1401bbff0
vmovdqu xmm1, xmmword [0x1402f5e70]
mov rcx, qword [rsp + 0x50]
mov rdx, r15
vmovdqu xmm2, xmmword [r13 + 0x180]
vmovdqu xmm3, xmmword [r13 + 0x190]
vpshufb xmm0, xmm2, xmm1
vmovdqu xmmword [r13 + 0x180], xmm0
vpshufb xmm0, xmm3, xmm1
vmovdqu xmmword [r13 + 0x190], xmm0
call sym.valid_hash
test al, al
je 0x1401bc120
cmp byte [rsp + 0x7b], 0
jne 0x1401bc120
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 [r13 + 0x17c]
mov edx, dword [r15 + 0x1c]
bswap eax
cmp edx, eax
jb 0x1401bc001
nop dword [rax]
vmovdqu xmm1, xmmword [0x1402f5e70]
mov rcx, qword [rsp + 0x48]
mov rdx, r15
vmovdqu xmm4, xmmword [r13 + 0x160]
vmovdqu xmm5, xmmword [r13 + 0x170]
vpshufb xmm0, xmm4, xmm1
vmovdqu xmmword [r13 + 0x160], xmm0
vpshufb xmm0, xmm5, xmm1
vmovdqu xmmword [r13 + 0x170], xmm0
call sym.valid_hash
test al, al
je 0x1401bc001
cmp byte [rsp + 0x7b], 0
jne 0x1401bc001
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 0x1401bc012
mov r12d, dword [rsp + 0x7c]
mov r11d, r14d
mov rax, qword [rsp + 0x2c0]
mov dword [r15 + 0x8c], r14d
sub r11d, r12d
mov edi, r11d
mov qword [rax], rdi
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