Function at 0x180015900
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 - 8]
sub rsp, 0x108
mov rax, qword [0x180093030]
xor rax, rsp
mov qword [rbp - 8], rax
mov eax, 1
test r8d, r8d
mov ebx, 0
cmove r8d, eax
mov r15, rdx
mov r14, rcx
test r8b, 0x1f
mov eax, r8d
mov dword [rsp + 0x20], 0
setne bl
shr eax, 5
mov dword [rsp + 0x24], r8d
add ebx, eax
mov rax, qword [r9]
mov r13d, gethostname
mov qword [rbp - 0x40], rax
mov rax, qword [r9 + 8]
mov dword [rsp + 0x28], ebx
mov qword [rbp - 0x38], rax
mov rax, qword [r9 + 0x10]
mov qword [rbp - 0x30], rax
mov rax, qword [r9 + 0x18]
mov qword [rbp - 0x28], rax
mov rax, qword [r9 + 0x20]
mov qword [rbp - 0x20], rax
mov rax, qword [r9 + 0x28]
mov qword [rbp - 0x18], rax
mov eax, dword [r9 + 0x30]
mov dword [rbp - 0x10], eax
movzx eax, word [r9 + 0x34]
mov word [rbp - 0xc], ax
movzx eax, byte [r9 + 0x36]
mov byte [rbp - 0xa], al
test ebx, ebx
jle 0x180015b76
xor eax, eax
mov dword [rsp + 0x50], 0x6a09e667
mov dword [rsp + 0x54], 0xbb67ae85
mov dword [rsp + 0x58], 0x3c6ef372
mov dword [rsp + 0x5c], 0xa54ff53a
mov dword [rsp + 0x60], 0x510e527f
mov qword [rbp - 0x50], rax
mov dword [rbp - 0x48], eax
mov dword [rsp + 0x64], 0x9b05688c
mov dword [rsp + 0x68], 0x1f83d9ab
mov dword [rsp + 0x6c], 0x5be0cd19
mov esi, r13d
lea r12, [rbp - 0x40]
nop word [rax + rax]
mov edi, 0x40
lea rcx, [rsp + rax + 0x70]
mov rdx, r12
sub edi, eax
cmp esi, edi
cmovb edi, esi
mov r8d, edi
mov ebx, edi
call fcn.18002d8c0
mov eax, dword [rbp - 0x50]
add r12, rbx
add eax, edi
sub esi, edi
mov dword [rbp - 0x50], eax
cmp eax, 0x40
jne 0x180015a9c
lea rdx, [rsp + 0x70]
lea r8d, [rax - 0x30]
nop dword [rax]
mov eax, dword [rdx]
add rdx, 4
mov ecx, eax
ror ecx, 8
and ecx, 0xff00ff00
rol eax, 8
and eax, 0xff00ff
or ecx, eax
dec r8
mov dword [rdx - 4], ecx
jne 0x180015a50
lea rcx, [rsp + 0x50]
call fcn.180019cb0
test eax, eax
jne 0x180015bb4
mov ecx, dword [rbp - 0x4c]
mov eax, ecx
add ecx, 0x40
mov dword [rbp - 0x4c], ecx
cmp ecx, eax
jae 0x180015a97
inc dword [rbp - 0x48]
xor eax, eax
mov dword [rbp - 0x50], eax
test esi, esi
jne 0x180015a10
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.18001a470
test eax, eax
jne 0x180015bb4
cmp dword [r14], 1
mov rax, qword [rsp + 0x30]
jbe 0x180015af0
cmp eax, dword [r14 + 4]
jne 0x180015af0
cmp byte [r14 + 0x76], 1
je 0x180015bad
mov ebx, dword [rsp + 0x28]
mov edi, dword [rsp + 0x20]
cmp edi, ebx
jne 0x180015ae9
inc ebx
mov dword [rsp + 0x28], ebx
mov byte [r14 + 0x76], 1
jmp 0x180015b01
mov ebx, dword [rsp + 0x28]
mov edi, dword [rsp + 0x20]
mov byte [r14 + 0x76], 0
mov dword [r14 + 4], eax
test r15, r15
je 0x180015b68
mov r8d, dword [rsp + 0x24]
cmp r8d, 0x20
jb 0x180015b4e
mov qword [r15], rax
mov rax, qword [rsp + 0x38]
add r8d, 0xffffffe0
mov qword [r15 + 8], rax
mov rax, qword [rsp + 0x40]
add r15, 0x20
mov qword [r15 - 0x10], rax
mov rax, qword [rsp + 0x48]
mov dword [rsp + 0x24], r8d
mov qword [r15 - 8], rax
mov eax, gethostname
inc byte [rbp + rax - 0x40]
jne 0x180015b68
dec rax
jns 0x180015b41
jmp 0x180015b68
test r8d, r8d
je 0x180015b68
lea rdx, [rsp + 0x30]
mov rcx, r15
call fcn.18002d8c0
mov dword [rsp + 0x24], 0
inc edi
mov dword [rsp + 0x20], edi
cmp edi, ebx
jl 0x1800159b3
lea rax, [rbp - 0x40]
nop word [rax + rax]
mov byte [rax], 0
inc rax
dec r13d
jne 0x180015b80
xor eax, eax
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.18002cf50
add rsp, 0x108
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov eax, 4
jmp 0x180015b8d
mov eax, 2
jmp 0x180015b8d