Function at 0x180029a80
Capabilities:
Hash data using sha256

Disassembly:
mov r11, rsp
push rsi
sub rsp, 0xf0
mov rax, qword [0x180055010]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov qword [r11 - 0x10], rbp
mov esi, 3
mov ebp, dword [rcx]
mov qword [r11 - 0x18], rdi
mov rdi, rcx
cmp ebp, 0xf4240
je 0x18002a01b
mov qword [r11 + 0x20], rbx
lea rbx, [rcx + 8]
mov r9, rbx
mov byte [rsp + 0x20], sil
call fcn.180029870
mov esi, eax
test eax, eax
jne 0x18002a013
lea r8d, [rax + 1]
mov qword [rsp + 0xd0], r15
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x3c], 0x6a09e667
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x40], 0xbb67ae85
mov dword [rsp + 0x44], 0x3c6ef372
mov dword [rsp + 0x48], 0xa54ff53a
mov dword [rsp + 0x4c], 0x510e527f
mov dword [rsp + 0x50], 0x9b05688c
mov dword [rsp + 0x54], 0x1f83d9ab
mov dword [rsp + 0x58], 0x5be0cd19
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x38], eax
call fcn.18002cf90
test eax, eax
jne 0x18002a004
lea r8d, [rsi + 0x37]
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.18002cf90
test eax, eax
jne 0x18002a004
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x30]
call fcn.18002d200
test eax, eax
jne 0x18002a004
mov r9d, 0x36
mov qword [rsp + 0xd8], r14
mov r11d, r9d
lea r14, [rsp + 0xbd]
movzx r10d, si
lea r15d, [rsi + 2]
nop word [rax + rax]
movzx ecx, byte [r14 + 2]
movzx r8d, byte [r14 + 1]
movsxd rdx, r11d
dec r11d
movzx eax, byte [rdx + rbx]
add cx, ax
add r10w, cx
movsxd rcx, r11d
mov byte [rdx + rbx], r10b
dec r11d
movzx edx, byte [r14 - 1]
shr r10w, 8
movzx eax, byte [rcx + rbx]
add r8w, r10w
add r8w, ax
movzx eax, byte [r14]
mov byte [rcx + rbx], r8b
shr r8w, 8
add r8w, ax
movsxd rcx, r11d
dec r11d
movzx eax, byte [rcx + rbx]
add r8w, ax
mov byte [rcx + rbx], r8b
shr r8w, 8
add dx, r8w
movsxd rcx, r11d
movzx r8d, byte [r14 - 2]
dec r11d
movzx eax, byte [rcx + rbx]
add dx, ax
mov byte [rcx + rbx], dl
shr dx, 8
add r8w, dx
movsxd rcx, r11d
movzx edx, byte [r14 - 3]
dec r11d
movzx eax, byte [rcx + rbx]
add r8w, ax
mov byte [rcx + rbx], r8b
shr r8w, 8
add dx, r8w
movsxd rcx, r11d
movzx r8d, byte [r14 - 4]
dec r11d
movzx eax, byte [rcx + rbx]
add dx, ax
mov byte [rcx + rbx], dl
shr dx, 8
add r8w, dx
movsxd rcx, r11d
movzx edx, byte [r14 - 5]
dec r11d
movzx eax, byte [rcx + rbx]
add r8w, ax
mov byte [rcx + rbx], r8b
shr r8w, 8
add dx, r8w
movsxd rcx, r11d
movzx r8d, byte [r14 - 6]
dec r11d
movzx eax, byte [rcx + rbx]
add dx, ax
mov byte [rcx + rbx], dl
movsxd rcx, r11d
dec r11d
shr dx, 8
add r8w, dx
movzx edx, byte [r14 - 7]
movzx eax, byte [rcx + rbx]
add r8w, ax
mov byte [rcx + rbx], r8b
movsxd rcx, r11d
shr r8w, 8
add dx, r8w
movzx r8d, byte [r14 - 8]
movzx eax, byte [rcx + rbx]
add dx, ax
dec r11d
mov byte [rcx + rbx], dl
movsxd rcx, r11d
movzx eax, byte [rcx + rbx]
dec r11d
movzx r10d, byte [r14 - 0xd]
lea r14, [r14 - 0x10]
shr dx, 8
add r8w, dx
movzx edx, byte [r14 + 7]
add r8w, ax
mov byte [rcx + rbx], r8b
shr r8w, 8
add dx, r8w
movsxd rcx, r11d
movzx r8d, byte [r14 + 6]
dec r11d
movzx eax, byte [rcx + rbx]
add dx, ax
mov byte [rcx + rbx], dl
movsxd rcx, r11d
dec r11d
shr dx, 8
add r8w, dx
movzx edx, byte [r14 + 5]
movzx eax, byte [rcx + rbx]
add r8w, ax
mov byte [rcx + rbx], r8b
movsxd rcx, r11d
dec r11d
shr r8w, 8
add dx, r8w
movzx r8d, byte [r14 + 4]
movzx eax, byte [rcx + rbx]
add dx, ax
mov byte [rcx + rbx], dl
movsxd rcx, r11d
dec r11d
shr dx, 8
add r8w, dx
movzx eax, byte [rcx + rbx]
add r8w, ax
mov byte [rcx + rbx], r8b
movsxd rcx, r11d
dec r11d
shr r8w, 8
add r10w, r8w
movzx eax, byte [rcx + rbx]
add r10w, ax
mov byte [rcx + rbx], r10b
shr r10w, 8
sub r15, 1
jne 0x180029ba0
mov r14, qword [rsp + 0xd8]
test r10w, r10w
je 0x180029dcd
movsxd rcx, r11d
add rcx, rbx
nop
cmp rcx, rbx
js 0x180029dcd
movzx eax, byte [rcx]
add r10w, ax
mov byte [rcx], r10b
dec rcx
shr r10w, 8
test r10w, r10w
jne 0x180029db0
movzx eax, si
lea r10, [rdi + 0x74]
mov r11d, 5
nop word [rax + rax]
movzx edx, byte [r10 + 1]
movsxd r8, r9d
dec r9d
movzx ecx, byte [r8 + rbx]
add dx, cx
add ax, dx
movsxd rdx, r9d
mov byte [r8 + rbx], al
dec r9d
movzx ecx, byte [r10]
shr ax, 8
add ax, cx
movzx ecx, byte [rdx + rbx]
add ax, cx
movsxd rcx, r9d
mov byte [rdx + rbx], al
dec r9d
movzx edx, byte [r10 - 1]
shr ax, 8
add dx, ax
movzx eax, byte [rcx + rbx]
add dx, ax
mov byte [rcx + rbx], dl
movzx r8d, byte [r10 - 2]
shr dx, 8
add r8w, dx
movsxd rcx, r9d
dec r9d
movzx eax, byte [rcx + rbx]
add r8w, ax
mov byte [rcx + rbx], r8b
movzx edx, byte [r10 - 3]
shr r8w, 8
add dx, r8w
movsxd rcx, r9d
dec r9d
movzx eax, byte [rcx + rbx]
add dx, ax
mov byte [rcx + rbx], dl
movzx r8d, byte [r10 - 4]
shr dx, 8
add r8w, dx
movsxd rcx, r9d
dec r9d
movzx eax, byte [rcx + rbx]
add r8w, ax
mov byte [rcx + rbx], r8b
movzx edx, byte [r10 - 5]
shr r8w, 8
add dx, r8w
movsxd rcx, r9d
dec r9d
movzx eax, byte [rcx + rbx]
add dx, ax
mov byte [rcx + rbx], dl
movzx r8d, byte [r10 - 6]
shr dx, 8
add r8w, dx
movsxd rcx, r9d
dec r9d
movzx eax, byte [rcx + rbx]
add r8w, ax
mov byte [rcx + rbx], r8b
movzx edx, byte [r10 - 7]
movsxd rcx, r9d
dec r9d
shr r8w, 8
add dx, r8w
movzx eax, byte [rcx + rbx]
add dx, ax
mov byte [rcx + rbx], dl
movzx r8d, byte [r10 - 8]
movsxd rcx, r9d
shr dx, 8
add r8w, dx
movzx eax, byte [rcx + rbx]
add r8w, ax
dec r9d
mov byte [rcx + rbx], r8b
movzx eax, byte [r10 - 9]
movsxd rdx, r9d
movzx ecx, byte [rdx + rbx]
lea r10, [r10 - 0xb]
shr r8w, 8
dec r9d
add ax, r8w
add ax, cx
mov byte [rdx + rbx], al
shr ax, 8
sub r11, 1
jne 0x180029de0
test ax, ax
je 0x180029f5b
movsxd rdx, r9d
add rdx, rbx
cmp rdx, rbx
js 0x180029f5b
movzx ecx, byte [rdx]
add ax, cx
mov byte [rdx], al
dec rdx
shr ax, 8
test ax, ax
jne 0x180029f42
movzx eax, byte [rdi + 0x3e]
mov r8d, ebp
ror r8d, 8
rol ebp, 8
and r8d, 0xff00ff00
and ebp, 0xff00ff
or r8d, ebp
mov ecx, r8d
shr ecx, 0x18
add cx, ax
mov eax, r8d
mov byte [rdi + 0x3e], cl
shr cx, 8
shr eax, 0x10
movzx edx, al
movzx eax, byte [rdi + 0x3d]
add dx, cx
add dx, ax
mov eax, r8d
shr eax, 8
mov byte [rdi + 0x3d], dl
movzx ecx, al
movzx eax, byte [rdi + 0x3c]
shr dx, 8
add cx, dx
add cx, ax
movzx eax, r8b
mov byte [rdi + 0x3c], cl
shr cx, 8
add cx, ax
movzx eax, byte [rdi + 0x3b]
add cx, ax
mov byte [rdi + 0x3b], cl
shr cx, 8
test cx, cx
je 0x18002a009
mov r8, 0xfffffffffffffff8
lea rdx, [rdi + 0x3a]
sub r8, rdi
lea rax, [r8 + rdx]
test rax, rax
js 0x18002a009
movzx eax, byte [rdx]
add cx, ax
mov byte [rdx], cl
dec rdx
shr cx, 8
test cx, cx
jne 0x180029fe5
jmp 0x18002a009
mov esi, 2
inc dword [rdi]
mov r15, qword [rsp + 0xd0]
mov rbx, qword [rsp + 0x118]
mov rdi, qword [rsp + 0xe0]
lea rcx, [rsp + 0xa0]
mov rbp, qword [rsp + 0xe8]
mov eax, 0x20
nop dword [rax + rax]
mov byte [rcx], 0
lea rcx, [rcx + 1]
add eax, 0xffffffff
jne 0x18002a040
mov eax, esi
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.18002d8d0
add rsp, 0xf0
pop rsi
ret