Function at 0x18001a910
Capabilities:
Hash data using sha256

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x18]
sub rsp, 0x118
mov rax, qword [0x1800ac030]
xor rax, rsp
mov qword [rbp + 8], rax
test r8d, r8d
mov r15d, 0
mov rsi, rdx
mov edx, 1
mov r14d, r15d
mov r12d, r8d
cmove r12d, edx
mov rbx, rcx
mov r13d, r15d
test r12b, 0x1f
mov eax, r12d
lea edi, [rdx + 0x36]
setne r14b
shr eax, 5
add r14d, eax
mov rax, qword [r9]
mov qword [rbp - 0x30], rax
mov rax, qword [r9 + 8]
mov qword [rbp - 0x28], rax
mov rax, qword [r9 + 0x10]
mov qword [rbp - 0x20], rax
mov rax, qword [r9 + 0x18]
mov qword [rbp - 0x18], rax
mov rax, qword [r9 + 0x20]
mov qword [rbp - 0x10], rax
mov rax, qword [r9 + 0x28]
mov qword [rbp - 8], rax
mov eax, dword [r9 + 0x30]
mov dword [rbp], eax
movzx eax, word [r9 + 0x34]
mov word [rbp + 4], ax
movzx eax, byte [r9 + 0x36]
mov byte [rbp + 6], al
test r14d, r14d
jle 0x18001ab20
nop dword [rax]
xor eax, eax
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
mov rax, qword [rbp - 0x30]
mov qword [rbp - 0x40], r15
mov qword [rsp + 0x70], rax
mov rax, qword [rbp - 0x28]
mov dword [rsp + 0x50], 0x6a09e667
mov qword [rsp + 0x78], rax
mov rax, qword [rbp - 0x20]
mov dword [rsp + 0x54], 0xbb67ae85
mov qword [rbp - 0x80], rax
mov rax, qword [rbp - 0x18]
mov dword [rsp + 0x58], 0x3c6ef372
mov qword [rbp - 0x78], rax
mov rax, qword [rbp - 0x10]
mov dword [rsp + 0x5c], 0xa54ff53a
mov qword [rbp - 0x70], rax
mov rax, qword [rbp - 8]
mov dword [rsp + 0x60], 0x510e527f
mov qword [rbp - 0x68], rax
mov eax, dword [rbp]
mov dword [rsp + 0x64], 0x9b05688c
mov dword [rbp - 0x60], eax
movzx eax, word [rbp + 4]
mov dword [rsp + 0x68], 0x1f83d9ab
mov word [rbp - 0x5c], ax
movzx eax, byte [rbp + 6]
mov dword [rsp + 0x6c], 0x5be0cd19
mov qword [rbp - 0x4c], rdi
mov dword [rbp - 0x50], edi
mov byte [rbp - 0x5a], al
call fcn.18001eac0
mov edx, eax
mov dword [rsp + 0x20], eax
test eax, eax
jne 0x18001ab14
cmp dword [rbx], 1
mov rcx, qword [rsp + 0x28]
jbe 0x18001aaac
cmp ecx, dword [rbx + 4]
jne 0x18001aaac
cmp byte [rbx + 0x76], 1
je 0x18001ab57
cmp r13d, r14d
jne 0x18001aaa6
inc r14d
mov byte [rbx + 0x76], 1
jmp 0x18001aab3
mov byte [rbx + 0x76], r15b
mov dword [rbx + 4], ecx
test rsi, rsi
je 0x18001ab14
test r12d, r12d
je 0x18001ab14
cmp r12d, 0x20
jb 0x18001aafd
mov rax, qword [rsp + 0x30]
mov qword [rsi], rcx
add r12d, 0xffffffe0
mov qword [rsi + 8], rax
mov rax, qword [rsp + 0x38]
add rsi, 0x20
mov qword [rsi - 0x10], rax
mov rax, qword [rsp + 0x40]
mov qword [rsi - 8], rax
mov eax, gethostname
nop
inc byte [rbp + rax - 0x30]
jne 0x18001ab14
dec rax
jns 0x18001aaf0
jmp 0x18001ab14
lea rdx, [rsp + 0x28]
mov r8d, r12d
mov rcx, rsi
call fcn.180033ff0
mov edx, dword [rsp + 0x20]
mov r12d, r15d
inc r13d
cmp r13d, r14d
jl 0x18001a9c0
lea rcx, [rbp - 0x30]
mov byte [rcx], r15b
inc rcx
dec edi
jne 0x18001ab24
test edx, edx
setne r15b
mov eax, r15d
mov rcx, qword [rbp + 8]
xor rcx, rsp
call fcn.1800334b0
add rsp, 0x118
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov eax, 3
jmp 0x18001ab37