Function at 0x14000e520
Capabilities:
Hash data using sha512

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x50]
sub rsp, 0x150
mov r15, rdx
mov r14, rcx
mov qword [rbp + 0x40], rdx
xor r13d, r13d
mov dword [rsp + 0x20], r13d
mov edx, dword [rcx + 0x48]
mov esi, edx
and esi, 0x7f
mov rdi, qword [rcx]
add rdi, rdx
shl rdi, 3
mov eax, 0x80
mov ecx, 0x100
cmp esi, 0x6f
cmova eax, ecx
mov ebx, eax
mov r8d, eax
sub r8d, edx
lea rcx, [r14 + 0x4c]
add rcx, rdx
xor edx, edx
call fcn.140058ad0
mov eax, dword [r14 + 0x48]
mov byte [rax + r14 + 0x4c], 0x80
mov byte [rbx + r14 + 0x4b], dil
mov rax, rdi
shr rax, 8
mov byte [rbx + r14 + 0x4a], al
mov rax, rdi
shr rax, 0x10
mov byte [rbx + r14 + 0x49], al
shr rdi, 0x18
mov byte [rbx + r14 + 0x48], dil
mov r8d, r13d
cmp esi, 0x6f
seta r8b
inc r8
lea rdx, [r14 + 0x4c]
mov rcx, r14
call fcn.14000e9e0
lea rcx, [0x140000000]
lea rax, [rcx + 0x97da8]
mov qword [rsp + 0x40], rax
lea rax, [rcx + 0x97df0]
mov qword [rsp + 0x50], rax
mov qword [rbp - 0x20], r13
mov qword [rbp + 8], r13
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x10], xmm0
mov edi, 8
mov dword [rsp + 0x20], edi
lea rax, vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov qword [rbp - 0x28], rax
mov dword [rbp - 0x2c], 0x80
mov qword [rsp + 0x48], r13
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x28]
call fcn.140011290
nop
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x50], rax
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x10]
mov dword [rsp + rcx + 0x4c], edx
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_iostream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x40], rax
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x20]
mov dword [rsp + rcx + 0x3c], edx
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rsp + rcx + 0x40], rax
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rsp + rcx + 0x3c], edx
lea rcx, [rsp + 0x58]
call fcn.140010fe0
lea rax, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rsp + 0x58], rax
mov qword [rbp - 0x40], r13
mov dword [rbp - 0x38], r13d
lea rbx, [r14 + 8]
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
mov eax, dword [rsp + rcx + 0x68]
and eax, 0xfffff9ff
bts eax, 0xb
mov dword [rsp + rcx + 0x68], eax
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
mov byte [rbp + rcx - 0x58], 0x30
mov edx, recvfrom
lea rcx, [rsp + 0x28]
call fcn.140035ba4
mov rdx, qword [rax + 8]
mov r8, qword [rax]
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x50]
add rcx, rax
call r8
mov rdx, qword [rbx]
lea rcx, [rsp + 0x50]
call fcn.14000f120
lea rbx, [rbx + 8]
sub rdi, 1
jne 0x14000e6c1
movabs rax, 0x6a09e667f3bcc908
mov qword [r14 + 8], rax
movabs rax, 0xbb67ae8584caa73b
mov qword [r14 + 0x10], rax
movabs rax, 0x3c6ef372fe94f82b
mov qword [r14 + 0x18], rax
movabs rax, 0xa54ff53a5f1d36f1
mov qword [r14 + 0x20], rax
movabs rax, 0x510e527fade682d1
mov qword [r14 + 0x28], rax
movabs rax, 0x9b05688c2b3e6c1f
mov qword [r14 + 0x30], rax
movabs rax, 0x1f83d9abfb41bd6b
mov qword [r14 + 0x38], rax
movabs rax, 0x5be0cd19137e2179
mov qword [r14 + 0x40], rax
mov dword [r14 + 0x48], r13d
mov qword [r14], r13
xor edx, edx
mov r8d, 0x100
lea rcx, [r14 + 0x4c]
call fcn.140058ad0
nop
xorps xmm0, xmm0
movups xmmword [r15], xmm0
mov qword [r15 + 0x10], r13
mov qword [r15 + 0x18], recvfrom
mov byte [r15], dil
mov dword [rsp + 0x20], reloc.WS2_32.dll_inet_ntoa
movups xmmword [rsp + 0x28], xmm0
mov ecx, dword [rbp - 0x38]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x14000e803
mov rax, qword [rbp - 0x68]
mov r8, qword [rax]
test r8, r8
je 0x14000e803
mov rax, qword [rsp + 0x78]
mov rdx, qword [rax]
cmp r8, qword [rbp - 0x40]
cmovb r8, qword [rbp - 0x40]
sub r8, rdx
jmp 0x14000e835
test cl, 4
jne 0x14000e82b
mov rax, qword [rbp - 0x70]
mov rcx, qword [rax]
test rcx, rcx
je 0x14000e82b
mov rax, qword [rsp + 0x70]
mov rdx, qword [rax]
mov rax, qword [rbp - 0x58]
movsxd r8, dword [rax]
sub r8, rdx
add r8, rcx
jmp 0x14000e835
mov r8, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
test rdx, rdx
je 0x14000e843
mov rcx, r15
call fcn.140011070
nop
lea rcx, [rsp + 0x40]
call fcn.14000e870
mov rax, r15
mov rbx, qword [rsp + 0x1a0]
add rsp, 0x150
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret