Function at 0x140001130
Capabilities:
Hash data using sha512
Receive data
Receive data on socket

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xc8]
sub rsp, 0x1c8
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov rax, qword [0x14005c018]
xor rax, rsp
mov qword [rbp + 0xb0], rax
mov rdi, r9
mov qword [rsp + 0x48], r8
mov qword [rsp + 0x40], rdx
mov r12, rcx
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
xor esi, esi
mov r15d, esi
mov qword [rsp + 0x60], rsi
mov r13d, esi
mov qword [rsp + 0x70], rsi
mov dword [rsp + 0x78], 8
mov qword [rbp - 0x80], rsi
mov dword [rsp + 0x58], esi
xor r9d, r9d
lea r8d, [rsi + 4]
lea rdx, [rsp + 0x58]
call qword [sym.imp.WS2_32.dll_recv]
cmp eax, 4
jne 0x140001503
mov ebx, dword [rsp + 0x58]
mov r14d, ebx
mov eax, ebx
and eax, 7
je 0x1400011d5
sub r14, rax
add r14, 8
test r14, r14
jne 0x1400011df
mov r14, rsi
jmp 0x140001220
lea r8, [r14 + 8]
mov edx, 8
mov rcx, qword [0x1400600f8]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r15, rax
mov qword [rsp + 0x60], rax
test rax, rax
je 0x140001503
mov r13, r14
mov qword [rsp + 0x70], r14
mov r14, rax
mov ebx, dword [rsp + 0x58]
nop word [rax + rax]
xor r9d, r9d
mov r8d, ebx
mov rdx, r14
mov rcx, r12
call qword [sym.imp.WS2_32.dll_recv]
test eax, eax
jle 0x1400014f9
movsxd rcx, eax
add r14, rcx
sub ebx, eax
test ebx, ebx
jg 0x140001220
jne 0x1400014f9
mov eax, dword [rsp + 0x58]
mov r14, rsi
cmp rax, r13
cmovbe r14, rax
mov qword [rsp + 0x68], r14
mov rbx, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 0x10
jb 0x14000126d
mov rdi, qword [rdi]
xor edx, edx
mov r8d, 0xd8
lea rcx, [rbp - 0x70]
call fcn.14002f8c0
mov rcx, rsi
lea rdx, [0x140050d10]
nop dword [rax + rax]
movzx eax, byte [rcx + rdx]
mov byte [rbp + rcx + 0x10], al
inc rcx
cmp rcx, 0x40
jb 0x140001290
mov qword [rbp + 0x50], rsi
mov qword [rbp + 0x58], rsi
mov eax, esi
mov dword [rbp + 0x60], eax
test ebx, ebx
jle 0x140001316
test eax, eax
jne 0x1400012e2
cmp ebx, 0x80
jb 0x1400012de
nop
mov rdx, rdi
lea rcx, [rbp - 0x70]
call fcn.1400033d0
sub rdi, 0xffffffffffffff80
add ebx, 0xffffff80
cmp ebx, 0x80
jae 0x1400012c0
mov eax, dword [rbp + 0x60]
test ebx, ebx
je 0x140001316
movsxd rcx, eax
movzx eax, byte [rdi]
mov byte [rbp + rcx - 0x70], al
inc rdi
dec ebx
mov eax, dword [rbp + 0x60]
inc eax
mov dword [rbp + 0x60], eax
cmp eax, 0x80
jne 0x140001312
lea rdx, [rbp - 0x70]
lea rcx, [rbp - 0x70]
call fcn.1400033d0
mov eax, esi
mov dword [rbp + 0x60], eax
test ebx, ebx
jg 0x1400012b2
lea rcx, [rbp - 0x70]
call fcn.140003890
mov rcx, rsi
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rbp + rcx - 0x70]
mov byte [rbp + rcx + 0x70], al
inc rcx
cmp rcx, 0x40
jb 0x140001330
movzx eax, byte [rbp + 0x70]
and eax, 0x3f
test r14, r14
je 0x140001379
movzx r9d, byte [rbp + rax + 0x70]
mov ecx, r9d
and ecx, 7
mov rdx, r15
mov r8, r14
movzx eax, byte [rdx]
cmp al, r9b
jbe 0x14000136c
rol al, cl
jmp 0x14000136e
ror al, cl
mov byte [rdx], al
inc rdx
sub r8, 1
jne 0x140001360
cmp dword [r15], 0xbe03882a
je 0x140001399
mov r8, r15
xor edx, edx
mov rcx, qword [0x1400600f8]
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x140001503
mov r8, qword [rsp + 0x40]
test r8, r8
je 0x140001542
cmp r14, 4
jb 0x140001528
mov rcx, rsi
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rcx + r15]
mov byte [rcx + r8], al
inc rcx
cmp rcx, 4
jb 0x1400013c0
mov qword [rbp - 0x80], 4
lea rdx, [r8 + 4]
test rdx, rdx
je 0x140001558
cmp r14, 5
jb 0x1400015ce
mov rcx, rsi
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rcx + r15 + 4]
mov byte [rcx + rdx], al
inc rcx
cmp rcx, 1
jb 0x140001400
mov qword [rbp - 0x80], 5
lea rdx, [r8 + 5]
test rdx, rdx
je 0x14000156e
cmp r14, 6
jb 0x1400015b4
mov rcx, rsi
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rcx + r15 + 5]
mov byte [rcx + rdx], al
inc rcx
cmp rcx, 1
jb 0x140001440
mov qword [rbp - 0x80], 6
movzx eax, byte [rdx]
add r8, 6
je 0x140001584
mov edx, eax
lea r9, [rax + 6]
cmp r9, r14
ja 0x14000159a
mov rcx, rsi
test al, al
je 0x140001492
nop dword [rax]
movzx eax, byte [rcx + r15 + 6]
mov byte [rcx + r8], al
inc rcx
cmp rcx, rdx
jb 0x140001480
cmp r9, r14
je 0x1400014e3
sub r14, r9
lea rbx, [r9 + r15]
test rbx, rbx
je 0x1400014e3
test r14, r14
je 0x1400014e3
mov rdx, r14
mov rdi, qword [rsp + 0x48]
mov rcx, rdi
call fcn.140004390
test eax, eax
je 0x1400014e3
mov rcx, qword [rdi]
test r14, r14
je 0x1400014df
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rsi + rbx]
mov byte [rsi + rcx], al
inc rsi
cmp rsi, r14
jb 0x1400014d0
mov qword [rdi + 8], r14
mov r8, r15
xor edx, edx
mov rcx, qword [0x1400600f8]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov al, 1
jmp 0x140001505
test r15, r15
je 0x140001503
jmp 0x140001382
xor al, al
mov rcx, qword [rbp + 0xb0]
xor rcx, rsp
call fcn.1400111c0
add rsp, 0x1c8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov dword [rsp + 0x3c], 1
lea rdx, [0x14005a7d0]
lea rcx, [rsp + 0x3c]
call fcn.14002f3c0
int3
mov dword [rsp + 0x20], esi
lea rdx, [0x14005a7d0]
lea rcx, [rsp + 0x20]
call fcn.14002f3c0
int3
mov dword [rsp + 0x24], esi
lea rdx, [0x14005a7d0]
lea rcx, [rsp + 0x24]
call fcn.14002f3c0
int3
mov dword [rsp + 0x28], esi
lea rdx, [0x14005a7d0]
lea rcx, [rsp + 0x28]
call fcn.14002f3c0
int3
mov dword [rsp + 0x2c], esi
lea rdx, [0x14005a7d0]
lea rcx, [rsp + 0x2c]
call fcn.14002f3c0
int3
mov dword [rsp + 0x30], 1
lea rdx, [0x14005a7d0]
lea rcx, [rsp + 0x30]
call fcn.14002f3c0
int3
mov dword [rsp + 0x34], 1
lea rdx, [0x14005a7d0]
lea rcx, [rsp + 0x34]
call fcn.14002f3c0
int3
mov dword [rsp + 0x38], 1
lea rdx, [0x14005a7d0]
lea rcx, [rsp + 0x38]
call fcn.14002f3c0
int3