Function at 0x1400d5a50
Capabilities:
Hash data using sha256

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
sub rsp, 0x20
xor r9d, r9d
mov rbp, rdx
mov ebx, r8d
lea edx, [r9 + 0x16]
mov r8d, 0x100
mov rsi, rcx
call fcn.1400d5970
mov r9, qword [rsi + 0x30]
xor r12d, r12d
mov word [r9], r12w
mov r8, qword [rsi + 0x30]
mov rdi, rax
inc word [r8]
movsxd rdx, dword [rax + 0xc]
mov rcx, qword [rax]
mov byte [rdx + rcx], 1
add dword [rax + 0xc], 4
movsxd rcx, dword [rax + 0xc]
mov rax, qword [rax]
mov byte [rcx + rax], r12b
inc dword [rdi + 0xc]
movsxd rcx, dword [rdi + 0xc]
mov rax, qword [rdi]
mov byte [rcx + rax], r12b
inc dword [rdi + 0xc]
movsxd rcx, dword [rdi + 0xc]
mov rax, qword [rdi]
mov byte [rcx + rax], r12b
inc dword [rdi + 0xc]
movsxd rcx, dword [rdi + 0xc]
mov rax, qword [rdi]
mov byte [rcx + rax], r12b
inc dword [rdi + 0xc]
movsxd rcx, dword [rdi + 0xc]
mov rax, qword [rdi]
mov byte [rcx + rax], r12b
add dword [rdi + 0xc], 4
movsxd rcx, dword [rdi + 0xc]
mov rax, qword [rdi]
mov byte [rcx + rax], 0xfe
inc dword [rdi + 0xc]
movsxd rcx, dword [rdi + 0xc]
mov rax, qword [rdi]
mov byte [rcx + rax], 0xfd
inc dword [rdi + 0xc]
test ebx, ebx
jne 0x1400d5b24
mov rcx, qword [rsi + 0x30]
lea edx, [rbx + 0x20]
add rcx, 0xb4
call fcn.14000df40
mov rdx, qword [rsi + 0x30]
movsxd r8, dword [rdi + 0xc]
mov rcx, qword [rdi]
mov rax, qword [rdx + 0xb4]
mov qword [r8 + rcx], rax
mov rax, qword [rdx + 0xbc]
mov qword [r8 + rcx + 8], rax
mov rax, qword [rdx + 0xc4]
mov qword [r8 + rcx + 0x10], rax
mov rax, qword [rdx + 0xcc]
mov qword [r8 + rcx + 0x18], rax
add dword [rdi + 0xc], 0x20
movsxd rcx, dword [rdi + 0xc]
mov rax, qword [rdi]
mov byte [rcx + rax], r12b
inc dword [rdi + 0xc]
movsxd rcx, dword [rdi + 0xc]
mov rax, qword [rdi]
mov byte [rcx + rax], bl
inc dword [rdi + 0xc]
test ebx, ebx
je 0x1400d5b96
movsxd rcx, dword [rdi + 0xc]
mov r8, rbx
mov rdx, rbp
add rcx, qword [rdi]
call fcn.1401e75a0
add dword [rdi + 0xc], ebx
movsxd rcx, dword [rdi + 0xc]
mov rax, qword [rdi]
mov edx, 0x300c02b
mov byte [rcx + rax], r12b
inc dword [rdi + 0xc]
movsxd rcx, dword [rdi + 0xc]
mov rax, qword [rdi]
mov byte [rcx + rax], 4
inc dword [rdi + 0xc]
mov rax, qword [rsi + 0x38]
cmp dword [rax], 0x3fa
mov rax, qword [rdi]
mov ecx, 0x300cca9
cmove edx, ecx
movsxd rcx, dword [rdi + 0xc]
sar edx, 8
mov byte [rcx + rax], dl
inc dword [rdi + 0xc]
mov rax, qword [rsi + 0x38]
cmp dword [rax], 0x3fa
mov rax, qword [rdi]
mov edx, 0x2b
mov ecx, 0xa9
cmove edx, ecx
movsxd rcx, dword [rdi + 0xc]
mov byte [rcx + rax], dl
inc dword [rdi + 0xc]
movsxd rcx, dword [rdi + 0xc]
mov rax, qword [rdi]
mov byte [rcx + rax], r12b
inc dword [rdi + 0xc]
movsxd rcx, dword [rdi + 0xc]
mov rax, qword [rdi]
mov byte [rcx + rax], 0xff
inc dword [rdi + 0xc]
movsxd rcx, dword [rdi + 0xc]
mov rax, qword [rdi]
mov byte [rcx + rax], 1
inc dword [rdi + 0xc]
movsxd rcx, dword [rdi + 0xc]
mov rax, qword [rdi]
mov byte [rcx + rax], r12b
inc dword [rdi + 0xc]
movsxd r8, dword [rdi + 0xc]
mov rdx, qword [rdi]
mov byte [r8 + rdx + 2], r12b
mov byte [r8 + rdx + 3], reloc.WS2_32.dll_socket
mov byte [r8 + rdx + 4], r12b
mov byte [r8 + rdx + 5], r12b
mov byte [r8 + rdx + 6], r12b
mov byte [r8 + rdx + 7], reloc.WS2_32.dll_inet_addr
mov byte [r8 + rdx + 8], r12b
mov byte [r8 + rdx + 9], 2
mov byte [r8 + rdx + 0xa], 1
mov byte [r8 + rdx + 0xb], r12b
mov byte [r8 + rdx + 0xc], r12b
mov byte [r8 + rdx + 0xd], 0xa
mov byte [r8 + rdx + 0xe], r12b
mov byte [r8 + rdx + 0xf], 4
mov byte [r8 + rdx + 0x10], r12b
mov byte [r8 + rdx + 0x11], 2
mov rax, qword [rsi + 0x30]
mov ecx, dword [rax + 0xf4]
sar ecx, 8
mov byte [r8 + rdx + 0x12], cl
mov rax, qword [rsi + 0x30]
movzx ecx, byte [rax + 0xf4]
mov byte [r8 + rdx + 0x13], cl
mov byte [r8 + rdx + 0x14], r12b
mov byte [r8 + rdx + 0x15], reloc.WS2_32.dll_listen
mov byte [r8 + rdx + 0x16], r12b
mov byte [r8 + rdx + 0x17], 4
mov byte [r8 + rdx + 0x18], r12b
mov byte [r8 + rdx + 0x19], 2
mov byte [r8 + rdx + 0x1a], 4
mov byte [r8 + rdx + 0x1b], 3
movsxd rcx, dword [rdi + 0xc]
mov rax, qword [rdi]
mov byte [rcx + rax], r12b
inc dword [rdi + 0xc]
movsxd rcx, dword [rdi + 0xc]
mov rax, qword [rdi]
mov byte [rcx + rax], 0x1a
add dword [rdi + 0xc], 0x1b
mov r9d, dword [rdi + 0xc]
mov rax, qword [rdi]
mov dword [rdi + 0xc], reloc.WS2_32.dll_ntohl
add r9d, 0xffffffe7
mov edx, r9d
mov r8d, r9d
sar edx, 8
sar r8d, 0x10
mov byte [rax + 0xe], r8b
inc dword [rdi + 0xc]
movsxd rcx, dword [rdi + 0xc]
mov rax, qword [rdi]
mov byte [rcx + rax], dl
inc dword [rdi + 0xc]
movsxd rcx, dword [rdi + 0xc]
mov rax, qword [rdi]
mov byte [rcx + rax], r9b
add dword [rdi + 0xc], 6
movsxd rcx, dword [rdi + 0xc]
mov rax, qword [rdi]
mov byte [rcx + rax], r8b
inc dword [rdi + 0xc]
movsxd rcx, dword [rdi + 0xc]
mov rax, qword [rdi]
mov byte [rcx + rax], dl
movsxd rcx, dword [rdi + 0xc]
mov rax, qword [rdi]
mov byte [rcx + rax + 1], r9b
mov rdx, qword [rdi]
lea ecx, [r9 + 0x19]
mov dword [rdi + 0xc], ecx
add ecx, 0xfffffff3
mov eax, ecx
sar eax, 8
mov byte [rdx + 0xb], al
mov byte [rdx + 0xc], cl
mov eax, dword [rdi + 0xc]
mov dword [rdi + 0xc], r12d
mov dword [rdi + 8], eax
mov rbx, qword [rsi + 0x30]
xor edx, edx
lea rcx, [rbx + 0x10]
lea r8d, [rdx + 0x70]
call fcn.1401e6750
mov dword [rbx + 0x10], 0x6a09e667
mov dword [rbx + 0x14], 0xbb67ae85
mov dword [rbx + 0x18], 0x3c6ef372
mov dword [rbx + 0x1c], 0xa54ff53a
mov dword [rbx + 0x20], 0x510e527f
mov dword [rbx + 0x24], 0x9b05688c
mov dword [rbx + 0x28], 0x1f83d9ab
mov dword [rbx + 0x2c], 0x5be0cd19
mov dword [rbx + 0x7c], 0x20
mov eax, dword [rdi + 8]
mov rdx, qword [rdi]
mov rcx, qword [rsi + 0x30]
sub eax, 0xd
add rdx, 0xd
movsxd r8, eax
add rcx, 0x10
call fcn.140011000
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rax, rdi
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r12
ret