Function at 0x140011760
Capabilities:
Hash data using sha1
Hash data using sha256

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
lea rbp, [rsp - 0x40]
sub rsp, 0x140
mov rax, qword [0x1400522c0]
xor rax, rsp
mov qword [rbp + 0x30], rax
mov rbx, qword [rbp + 0x70]
test edx, edx
je 0x14001179a
sub edx, 1
je 0x14001189f
cmp edx, 1
jne 0x140011a73
movaps xmm0, xmmword [0x140046c50]
test r8b, r8b
jne 0x140011926
mov rax, qword [r9]
lea rdx, [rbp - 0x50]
movaps xmm1, xmmword [0x140046c60]
lea rcx, [rsp + 0x30]
bswap rax
mov qword [rbp - 0x37], rax
mov rax, qword [r9 + 8]
bswap rax
mov qword [rbp - 0x3f], rax
mov rax, qword [r9 + 0x10]
bswap rax
mov qword [rbp - 0x47], rax
mov rax, qword [r9 + 0x18]
bswap rax
mov qword [rbp - 0x4f], rax
mov rax, qword [r9 + 0x28]
bswap rax
mov qword [rbp - 0x17], rax
mov rax, qword [r9 + 0x30]
bswap rax
mov qword [rbp - 0x1f], rax
mov rax, qword [r9 + 0x38]
bswap rax
mov qword [rbp - 0x27], rax
mov rax, qword [r9 + 0x40]
bswap rax
mov qword [rbp - 0x2f], rax
mov eax, dword [0x140046c80]
mov dword [rbp + 0x21], eax
movzx eax, word [0x140046c84]
mov word [rbp + 0x25], ax
movzx eax, byte [0x140046c86]
mov byte [rbp + 0x27], al
mov rax, qword [0x140046be8]
movups xmmword [rbp - 0xf], xmm0
mov qword [rbp + 0x28], rax
movaps xmm0, xmmword [0x140046c70]
mov byte [rbp - 0x50], 4
movups xmmword [rbp + 1], xmm1
mov dword [rsp + 0x30], 0x6a09e667
movups xmmword [rbp + 0x11], xmm0
mov dword [rsp + 0x34], 0xbb67ae85
mov dword [rsp + 0x38], 0x3c6ef372
mov dword [rsp + 0x3c], 0xa54ff53a
mov dword [rsp + 0x40], 0x510e527f
mov dword [rsp + 0x44], 0x9b05688c
mov dword [rsp + 0x48], 0x1f83d9ab
mov dword [rsp + 0x4c], 0x5be0cd19
call fcn.14000bfd0
lea rdx, [rbp - 0x10]
jmp 0x1400119ce
lea rax, [rsp + 0x32]
mov word [rsp + 0x30], 0x1400
xor edx, edx
mov qword [rsp + 0x20], rax
call fcn.140011760
mov eax, dword [rsp + 0x40]
lea rdx, [rsp + 0x70]
movaps xmm0, xmmword [rsp + 0x30]
xor ecx, ecx
mov ecx, socket
mov dword [rbp - 0x20], eax
movzx eax, word [rsp + 0x44]
mov qword [rbp + 0x10], rcx
lea rcx, [rbp - 0x50]
mov dword [rbp - 0x50], 0x6a09e667
mov dword [rbp - 0x4c], 0xbb67ae85
mov dword [rbp - 0x48], 0x3c6ef372
mov dword [rbp - 0x44], 0xa54ff53a
mov dword [rbp - 0x40], 0x510e527f
mov dword [rbp - 0x3c], 0x9b05688c
mov dword [rbp - 0x38], 0x1f83d9ab
mov dword [rbp - 0x34], 0x5be0cd19
movaps xmmword [rbp - 0x30], xmm0
mov word [rbp - 0x1c], ax
call fcn.14000e3f0
jmp 0x140011a24
movzx eax, byte [r9 + 0x28]
lea rdx, [rbp - 0x50]
and al, 1
mov dword [rsp + 0x30], 0x6a09e667
or al, 2
mov dword [rsp + 0x34], 0xbb67ae85
mov byte [rbp - 0x50], al
mov rax, qword [r9]
bswap rax
mov qword [rbp - 0x37], rax
mov rax, qword [r9 + 8]
bswap rax
mov qword [rbp - 0x3f], rax
mov rax, qword [r9 + 0x10]
bswap rax
mov qword [rbp - 0x47], rax
mov rax, qword [r9 + 0x18]
bswap rax
mov qword [rbp - 0x4f], rax
mov eax, dword [0x140046c60]
mov dword [rbp - 0x1f], eax
movzx eax, word [0x140046c64]
mov word [rbp - 0x1b], ax
movzx eax, byte [0x140046c66]
mov byte [rbp - 0x19], al
mov rax, qword [0x140046c40]
mov qword [rbp - 0x18], rax
mov dword [rsp + 0x38], 0x3c6ef372
mov dword [rsp + 0x3c], 0xa54ff53a
mov dword [rsp + 0x40], 0x510e527f
mov dword [rsp + 0x44], 0x9b05688c
mov dword [rsp + 0x48], 0x1f83d9ab
mov dword [rsp + 0x4c], 0x5be0cd19
movups xmmword [rbp - 0x2f], xmm0
lea rcx, [rsp + 0x30]
call fcn.14000bfd0
mov eax, dword [rsp + 0x30]
bswap eax
mov dword [rsp + 0x70], eax
mov eax, dword [rsp + 0x34]
bswap eax
mov dword [rsp + 0x74], eax
mov eax, dword [rsp + 0x38]
bswap eax
mov dword [rsp + 0x78], eax
mov eax, dword [rsp + 0x3c]
bswap eax
mov dword [rsp + 0x7c], eax
mov eax, dword [rsp + 0x40]
bswap eax
mov dword [rbp - 0x80], eax
mov eax, dword [rsp + 0x44]
bswap eax
mov dword [rbp - 0x7c], eax
mov eax, dword [rsp + 0x48]
bswap eax
mov dword [rbp - 0x78], eax
mov eax, dword [rsp + 0x4c]
bswap eax
mov dword [rbp - 0x74], eax
mov dword [rbx], 0x67452301
lea rdx, [rsp + 0x70]
mov dword [rbx + 4], 0xefcdab89
mov rcx, rbx
mov dword [rbx + 8], 0x98badcfe
mov dword [rbx + 0xc], 0x10325476
mov dword [rbx + 0x10], 0xc3d2e1f0
movaps xmm0, xmmword [0x140046b60]
movaps xmmword [rbp - 0x70], xmm0
movsd xmm0, qword [0x140046b70]
movsd qword [rbp - 0x60], xmm0
mov qword [rbp - 0x58], 0x100
call fcn.140007fa0
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.140035770
mov rbx, qword [rsp + 0x158]
add rsp, 0x140
pop rbp
ret