Function at 0x1400c9650
Capabilities:
Hash data using sha256
Hash data using sha384
Hash data using sha512

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x118
vmovdqa xmmword [rsp + 0x100], xmm6
mov edi, r8d
mov rbx, rdx
mov rsi, rcx
mov ebp, 0xffffff53
cmp r9d, 6
je 0x1400c97c2
cmp r9d, 5
je 0x1400c9bc7
cmp r9d, 4
jne 0x1400c9fd2
vmovaps ymm0, ymmword [0x140176340]
vmovups ymmword [rsp + 0x20], ymm0
mov qword [rsp + 0x80], 0
mov dword [rsp + 0x88], 0
mov qword [rsp + 0x90], 0
test rbx, rbx
jne 0x1400c96d2
test edi, edi
jne 0x1400c9fd2
test rbx, rbx
jne 0x1400c96df
test edi, edi
je 0x1400c979e
mov dword [rsp + 0x84], edi
lea r14, [rsp + 0x40]
cmp edi, 0x40
jb 0x1400c9782
vmovdqa xmm6, xmmword [0x1401761b0]
lea r15, [rsp + 0x20]
nop word cs:[rax + rax]
vmovups ymm0, ymmword [rbx]
vmovups ymm1, ymmword [rbx + 0x20]
vmovups ymmword [r14 + 0x20], ymm1
vmovups ymmword [r14], ymm0
add rbx, 0x40
add edi, 0xffffffc0
vmovdqa xmm0, xmmword [rsp + 0x40]
vmovdqa xmm1, xmmword [rsp + 0x50]
vmovdqa xmm2, xmmword [rsp + 0x60]
vmovdqa xmm3, xmmword [rsp + 0x70]
vpshufb xmm1, xmm1, xmm6
vpshufb xmm0, xmm0, xmm6
vinsertf128 ymm0, ymm0, xmm1, 1
vmovups ymmword [rsp + 0x40], ymm0
vpshufb xmm0, xmm3, xmm6
vpshufb xmm1, xmm2, xmm6
vinsertf128 ymm0, ymm1, xmm0, 1
vmovups ymmword [rsp + 0x60], ymm0
mov rcx, r15
mov rdx, r14
vzeroupper
call fcn.14009b3f0
cmp edi, 0x3f
ja 0x1400c9710
test edi, edi
je 0x1400c979e
mov r8d, edi
mov rcx, r14
mov rdx, rbx
vzeroupper
call fcn.14016e4a0
mov dword [rsp + 0x80], edi
lea rcx, [rsp + 0x20]
mov rdx, rsi
vzeroupper
call fcn.14009b8c0
mov ebp, eax
test eax, eax
jne 0x1400c9fd2
mov ebp, 0x20
jmp 0x1400c9fd2
mov qword [rsp + 0xf8], 0
vmovaps ymm0, ymmword [0x140176460]
vmovups ymmword [rsp + 0x20], ymm0
vmovaps ymm0, ymmword [0x140176480]
vmovups ymmword [rsp + 0x40], ymm0
mov dword [rsp + 0xe0], 0
vxorps xmm0, xmm0, xmm0
vmovups xmmword [rsp + 0xe8], xmm0
test rbx, rbx
jne 0x1400c980f
test edi, edi
jne 0x1400c9fd2
lea r14, [rsp + 0x60]
test edi, edi
je 0x1400c9944
mov eax, edi
mov qword [rsp + 0xe8], rax
cmp edi, 0x80
jb 0x1400c992c
vmovdqa xmm6, xmmword [0x140176140]
lea r15, [rsp + 0x20]
nop
vmovups ymm0, ymmword [rbx]
vmovups ymm1, ymmword [rbx + 0x20]
vmovups ymm2, ymmword [rbx + 0x40]
vmovups ymm3, ymmword [rbx + 0x60]
vmovups ymmword [r14 + 0x60], ymm3
vmovups ymmword [r14 + 0x40], ymm2
vmovups ymmword [r14 + 0x20], ymm1
vmovups ymmword [r14], ymm0
sub rbx, 0xffffffffffffff80
vmovdqa xmm0, xmmword [rsp + 0x60]
vmovdqa xmm1, xmmword [rsp + 0x70]
vmovdqa xmm2, xmmword [rsp + 0x80]
vmovdqa xmm3, xmmword [rsp + 0x90]
vpshufb xmm1, xmm1, xmm6
vpshufb xmm0, xmm0, xmm6
vinsertf128 ymm0, ymm0, xmm1, 1
vmovups ymmword [rsp + 0x60], ymm0
vpshufb xmm0, xmm3, xmm6
vpshufb xmm1, xmm2, xmm6
vinsertf128 ymm0, ymm1, xmm0, 1
vmovups ymmword [rsp + 0x80], ymm0
vmovdqa xmm0, xmmword [rsp + 0xb0]
vpshufb xmm0, xmm0, xmm6
vmovdqa xmm1, xmmword [rsp + 0xa0]
vpshufb xmm1, xmm1, xmm6
vinsertf128 ymm0, ymm1, xmm0, 1
vmovups ymmword [rsp + 0xa0], ymm0
vmovdqa xmm0, xmmword [rsp + 0xd0]
vpshufb xmm0, xmm0, xmm6
vmovdqa xmm1, xmmword [rsp + 0xc0]
vpshufb xmm1, xmm1, xmm6
vinsertf128 ymm0, ymm1, xmm0, 1
vmovups ymmword [rsp + 0xc0], ymm0
add edi, 0xffffff80
mov rcx, r15
vzeroupper
call fcn.14009bd10
cmp edi, 0x7f
ja 0x1400c9840
test edi, edi
je 0x1400c9944
mov r8d, edi
mov rcx, r14
mov rdx, rbx
vzeroupper
call fcn.14016e4a0
mov dword [rsp + 0xe0], edi
test rsi, rsi
je 0x1400c9fd2
mov eax, dword [rsp + 0xe0]
mov ebp, 0xffffff40
cmp rax, 0x7f
ja 0x1400c9fd2
lea ecx, [rax + 1]
mov dword [rsp + 0xe0], ecx
mov byte [rsp + rax + 0x60], 0x80
mov edi, dword [rsp + 0xe0]
cmp rdi, 0x71
jb 0x1400c9a6c
mov rcx, rdi
add rcx, r14
mov r8d, 0x80
sub r8d, edi
xor edi, edi
xor edx, edx
vzeroupper
call fcn.14016e0e0
mov dword [rsp + 0xe0], 0x80
vmovdqa xmm0, xmmword [0x140176140]
vmovdqa xmm1, xmmword [rsp + 0x60]
vmovdqa xmm2, xmmword [rsp + 0x70]
vmovdqa xmm3, xmmword [rsp + 0x80]
vmovdqa xmm4, xmmword [rsp + 0x90]
vpshufb xmm2, xmm2, xmm0
vpshufb xmm1, xmm1, xmm0
vinsertf128 ymm1, ymm1, xmm2, 1
vmovups ymmword [rsp + 0x60], ymm1
vpshufb xmm1, xmm4, xmm0
vpshufb xmm2, xmm3, xmm0
vinsertf128 ymm1, ymm2, xmm1, 1
vmovups ymmword [rsp + 0x80], ymm1
vmovdqa xmm1, xmmword [rsp + 0xb0]
vpshufb xmm1, xmm1, xmm0
vmovdqa xmm2, xmmword [rsp + 0xa0]
vpshufb xmm2, xmm2, xmm0
vinsertf128 ymm1, ymm2, xmm1, 1
vmovups ymmword [rsp + 0xa0], ymm1
vmovdqa xmm1, xmmword [rsp + 0xd0]
vpshufb xmm1, xmm1, xmm0
vmovdqa xmm2, xmmword [rsp + 0xc0]
vpshufb xmm0, xmm2, xmm0
vinsertf128 ymm0, ymm0, xmm1, 1
vmovups ymmword [rsp + 0xc0], ymm0
lea rcx, [rsp + 0x20]
vzeroupper
call fcn.14009bd10
mov dword [rsp + 0xe0], 0
mov eax, edi
add r14, rax
mov r8d, WSACleanup
sub r8d, edi
mov rcx, r14
xor edx, edx
vzeroupper
call fcn.14016e0e0
mov rax, qword [rsp + 0xe8]
mov rcx, qword [rsp + 0xf0]
shld rcx, rax, 3
mov qword [rsp + 0xf0], rcx
shl rax, 3
mov qword [rsp + 0xe8], rax
vmovdqa xmm0, xmmword [rsp + 0x60]
vmovdqa xmm1, xmmword [rsp + 0x70]
vmovdqa xmm2, xmmword [rsp + 0x80]
vmovdqa xmm3, xmmword [rsp + 0x90]
vmovdqa xmm6, xmmword [0x140176140]
vpshufb xmm1, xmm1, xmm6
vpshufb xmm0, xmm0, xmm6
vinsertf128 ymm0, ymm0, xmm1, 1
vmovups ymmword [rsp + 0x60], ymm0
vpshufb xmm0, xmm3, xmm6
vpshufb xmm1, xmm2, xmm6
vinsertf128 ymm0, ymm1, xmm0, 1
vmovups ymmword [rsp + 0x80], ymm0
vmovdqa xmm0, xmmword [rsp + 0xb0]
vpshufb xmm0, xmm0, xmm6
vmovdqa xmm1, xmmword [rsp + 0xa0]
vpshufb xmm1, xmm1, xmm6
vinsertf128 ymm0, ymm1, xmm0, 1
vmovups ymmword [rsp + 0xa0], ymm0
vmovdqa xmm0, xmmword [rsp + 0xc0]
vpshufb xmm0, xmm0, xmm6
vmovdqa xmmword [rsp + 0xc0], xmm0
mov qword [rsp + 0xd0], rcx
mov qword [rsp + 0xd8], rax
lea rcx, [rsp + 0x20]
vzeroupper
call fcn.14009bd10
vmovdqa xmm0, xmmword [rsp + 0x20]
vmovdqa xmm1, xmmword [rsp + 0x30]
vmovdqa xmm2, xmmword [rsp + 0x40]
vmovdqa xmm3, xmmword [rsp + 0x50]
vpshufb xmm1, xmm1, xmm6
vpshufb xmm0, xmm0, xmm6
vinsertf128 ymm0, ymm0, xmm1, 1
vmovups ymmword [rsp + 0x20], ymm0
vpshufb xmm0, xmm3, xmm6
vpshufb xmm1, xmm2, xmm6
vinsertf128 ymm0, ymm1, xmm0, 1
vmovups ymmword [rsp + 0x40], ymm0
vmovups ymm0, ymmword [rsp + 0x40]
vmovups ymmword [rsi + 0x20], ymm0
vmovups ymm0, ymmword [rsp + 0x20]
vmovups ymmword [rsi], ymm0
mov ebp, 0x40
jmp 0x1400c9fd2
mov qword [rsp + 0xf8], 0
vmovaps ymm0, ymmword [0x1401764a0]
vmovups ymmword [rsp + 0x20], ymm0
vmovaps ymm0, ymmword [0x1401764c0]
vmovups ymmword [rsp + 0x40], ymm0
mov dword [rsp + 0xe0], 0
vxorps xmm0, xmm0, xmm0
vmovups xmmword [rsp + 0xe8], xmm0
test rbx, rbx
jne 0x1400c9c14
test edi, edi
jne 0x1400c9fd2
lea r14, [rsp + 0x60]
test edi, edi
je 0x1400c9d54
mov eax, edi
mov qword [rsp + 0xe8], rax
cmp edi, 0x80
jb 0x1400c9d3c
vmovdqa xmm6, xmmword [0x140176140]
lea r15, [rsp + 0x20]
nop word cs:[rax + rax]
vmovups ymm0, ymmword [rbx]
vmovups ymm1, ymmword [rbx + 0x20]
vmovups ymm2, ymmword [rbx + 0x40]
vmovups ymm3, ymmword [rbx + 0x60]
vmovups ymmword [r14 + 0x60], ymm3
vmovups ymmword [r14 + 0x40], ymm2
vmovups ymmword [r14 + 0x20], ymm1
vmovups ymmword [r14], ymm0
sub rbx, 0xffffffffffffff80
vmovdqa xmm0, xmmword [rsp + 0x60]
vmovdqa xmm1, xmmword [rsp + 0x70]
vmovdqa xmm2, xmmword [rsp + 0x80]
vmovdqa xmm3, xmmword [rsp + 0x90]
vpshufb xmm1, xmm1, xmm6
vpshufb xmm0, xmm0, xmm6
vinsertf128 ymm0, ymm0, xmm1, 1
vmovups ymmword [rsp + 0x60], ymm0
vpshufb xmm0, xmm3, xmm6
vpshufb xmm1, xmm2, xmm6
vinsertf128 ymm0, ymm1, xmm0, 1
vmovups ymmword [rsp + 0x80], ymm0
vmovdqa xmm0, xmmword [rsp + 0xb0]
vpshufb xmm0, xmm0, xmm6
vmovdqa xmm1, xmmword [rsp + 0xa0]
vpshufb xmm1, xmm1, xmm6
vinsertf128 ymm0, ymm1, xmm0, 1
vmovups ymmword [rsp + 0xa0], ymm0
vmovdqa xmm0, xmmword [rsp + 0xd0]
vpshufb xmm0, xmm0, xmm6
vmovdqa xmm1, xmmword [rsp + 0xc0]
vpshufb xmm1, xmm1, xmm6
vinsertf128 ymm0, ymm1, xmm0, 1
vmovups ymmword [rsp + 0xc0], ymm0
add edi, 0xffffff80
mov rcx, r15
vzeroupper
call fcn.14009bd10
cmp edi, 0x7f
ja 0x1400c9c50
test edi, edi
je 0x1400c9d54
mov r8d, edi
mov rcx, r14
mov rdx, rbx
vzeroupper
call fcn.14016e4a0
mov dword [rsp + 0xe0], edi
test rsi, rsi
je 0x1400c9fd2
mov eax, dword [rsp + 0xe0]
mov ebp, 0xffffff40
cmp rax, 0x7f
ja 0x1400c9fd2
lea ecx, [rax + 1]
mov dword [rsp + 0xe0], ecx
mov byte [rsp + rax + 0x60], 0x80
mov edi, dword [rsp + 0xe0]
cmp rdi, 0x71
jb 0x1400c9e7c
mov rcx, rdi
add rcx, r14
mov r8d, 0x80
sub r8d, edi
xor edi, edi
xor edx, edx
vzeroupper
call fcn.14016e0e0
mov dword [rsp + 0xe0], 0x80
vmovdqa xmm0, xmmword [0x140176140]
vmovdqa xmm1, xmmword [rsp + 0x60]
vmovdqa xmm2, xmmword [rsp + 0x70]
vmovdqa xmm3, xmmword [rsp + 0x80]
vmovdqa xmm4, xmmword [rsp + 0x90]
vpshufb xmm2, xmm2, xmm0
vpshufb xmm1, xmm1, xmm0
vinsertf128 ymm1, ymm1, xmm2, 1
vmovups ymmword [rsp + 0x60], ymm1
vpshufb xmm1, xmm4, xmm0
vpshufb xmm2, xmm3, xmm0
vinsertf128 ymm1, ymm2, xmm1, 1
vmovups ymmword [rsp + 0x80], ymm1
vmovdqa xmm1, xmmword [rsp + 0xb0]
vpshufb xmm1, xmm1, xmm0
vmovdqa xmm2, xmmword [rsp + 0xa0]
vpshufb xmm2, xmm2, xmm0
vinsertf128 ymm1, ymm2, xmm1, 1
vmovups ymmword [rsp + 0xa0], ymm1
vmovdqa xmm1, xmmword [rsp + 0xd0]
vpshufb xmm1, xmm1, xmm0
vmovdqa xmm2, xmmword [rsp + 0xc0]
vpshufb xmm0, xmm2, xmm0
vinsertf128 ymm0, ymm0, xmm1, 1
vmovups ymmword [rsp + 0xc0], ymm0
lea rcx, [rsp + 0x20]
vzeroupper
call fcn.14009bd10
mov dword [rsp + 0xe0], 0
mov eax, edi
add r14, rax
mov r8d, WSACleanup
sub r8d, edi
mov rcx, r14
xor edx, edx
vzeroupper
call fcn.14016e0e0
mov rax, qword [rsp + 0xe8]
mov rcx, qword [rsp + 0xf0]
shld rcx, rax, 3
mov qword [rsp + 0xf0], rcx
shl rax, 3
mov qword [rsp + 0xe8], rax
vmovdqa xmm0, xmmword [rsp + 0x60]
vmovdqa xmm1, xmmword [rsp + 0x70]
vmovdqa xmm2, xmmword [rsp + 0x80]
vmovdqa xmm3, xmmword [rsp + 0x90]
vmovdqa xmm6, xmmword [0x140176140]
vpshufb xmm1, xmm1, xmm6
vpshufb xmm0, xmm0, xmm6
vinsertf128 ymm0, ymm0, xmm1, 1
vmovups ymmword [rsp + 0x60], ymm0
vpshufb xmm0, xmm3, xmm6
vpshufb xmm1, xmm2, xmm6
vinsertf128 ymm0, ymm1, xmm0, 1
vmovups ymmword [rsp + 0x80], ymm0
vmovdqa xmm0, xmmword [rsp + 0xb0]
vpshufb xmm0, xmm0, xmm6
vmovdqa xmm1, xmmword [rsp + 0xa0]
vpshufb xmm1, xmm1, xmm6
vinsertf128 ymm0, ymm1, xmm0, 1
vmovups ymmword [rsp + 0xa0], ymm0
vmovdqa xmm0, xmmword [rsp + 0xc0]
vpshufb xmm0, xmm0, xmm6
vmovdqa xmmword [rsp + 0xc0], xmm0
mov qword [rsp + 0xd0], rcx
mov qword [rsp + 0xd8], rax
lea rcx, [rsp + 0x20]
vzeroupper
call fcn.14009bd10
vmovdqa xmm0, xmmword [rsp + 0x20]
vmovdqa xmm1, xmmword [rsp + 0x30]
vmovdqa xmm2, xmmword [rsp + 0x40]
vmovdqa xmm3, xmmword [rsp + 0x50]
vpshufb xmm1, xmm1, xmm6
vpshufb xmm0, xmm0, xmm6
vinsertf128 ymm0, ymm0, xmm1, 1
vmovups ymmword [rsp + 0x20], ymm0
vpshufb xmm0, xmm3, xmm6
vpshufb xmm1, xmm2, xmm6
vinsertf128 ymm0, ymm1, xmm0, 1
vmovups ymmword [rsp + 0x40], ymm0
vmovups ymm0, ymmword [rsp + 0x30]
vmovups ymmword [rsi + 0x10], ymm0
vmovups ymm0, ymmword [rsp + 0x20]
vmovups ymmword [rsi], ymm0
mov ebp, gethostbyname
mov eax, ebp
vmovaps xmm6, xmmword [rsp + 0x100]
add rsp, 0x118
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
vzeroupper
ret