Function at 0x14007fb40
Capabilities:
Get thread local storage value
Receive data
Receive data on socket

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x90
mov r12d, r9d
mov r13, r8
mov r14, rdx
mov rbp, rcx
mov r15, qword [rsp + 0xe0]
mov qword [rsp + 0x78], r15
mov ecx, dword [0x14013af08]
call qword [sym.imp.kernel32.dll_TlsGetValue]
test rax, rax
je 0x14007fb8f
mov rdx, qword [rax + 8]
jmp 0x14007fb91
xor edx, edx
mov r9d, 8
mov r8d, 0xa8
movzx ecx, byte [rsp + 0xe0]
call fcn.14007f670
mov rbx, rax
mov rax, qword [r14 + 0x18]
xor r8d, r8d
mov esi, r8d
mov ecx, r8d
test rax, rax
je 0x14007fbca
mov rcx, qword [r14 + 0x10]
mov rsi, rax
lock inc dword [rax + 0xc]
movzx eax, byte [r14 + 8]
mov qword [rbx + 0x20], r8
lea rdx, [0x1400a9110]
mov qword [rbx + 0x28], rdx
mov qword [rbx], r8
mov qword [rbx + 8], r8
mov qword [rbx + 0x10], r8
mov qword [rbx + 0x18], r8
mov dword [rbx + 0x30], r8d
mov byte [rbx + 0x38], al
mov qword [rbx + 0x40], r8
mov qword [rbx + 0x48], r8
test rsi, rsi
je 0x14007fc0d
mov qword [rbx + 0x40], rcx
mov qword [rbx + 0x48], rsi
lock inc dword [rsi + 0xc]
movups xmm0, xmmword [r13]
movups xmmword [rbx + 0x50], xmm0
mov qword [rbx + 0x60], r8
mov qword [rbx + 0x68], r8
mov rax, qword [r15]
mov qword [rbx + 0x60], rax
mov rax, qword [r15 + 8]
mov qword [rbx + 0x68], rax
mov qword [r15], r8
mov qword [r15 + 8], r8
lea rcx, [rbx + 0x70]
mov r9, qword [rsp + 0xe8]
xor edx, edx
call fcn.14008a830
test rsi, rsi
je 0x14007fc64
mov eax, 0xffffffff
lock xadd dword [rsi + 0xc], eax
cmp eax, 1
jne 0x14007fc64
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 8]
movups xmm0, xmmword [r13]
movups xmmword [rsp + 0x50], xmm0
movq qword [rsp + 0x68], xmm0
movq xmm0, qword [r13 + 8]
movd dword [rsp + 0x60], xmm0
mov rax, qword [r13 + 8]
mov qword [rsp + 0x70], rax
test byte [r14 + 8], 0x10
je 0x14007fcb7
test rax, rax
jne 0x14007fcb7
mov rax, qword [rbp + 8]
lock inc dword [rax + 0x30]
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
mov rcx, qword [rbp + 8]
call fcn.1400b5580
xor r14d, r14d
jmp 0x14007fd7a
lea rdi, [rbp + 8]
mov rax, qword [rdi]
lock inc dword [rax + 0x30]
mov rcx, qword [r14]
cmp rcx, 0xffffffffffffffff
jne 0x14007fce7
xor r9d, r9d
mov r8d, 0x2719
mov rdx, rbx
mov rcx, qword [rdi]
call fcn.1400b5580
xor r14d, r14d
jmp 0x14007fd7a
xor r14d, r14d
mov dword [rsp + 0xe0], r14d
mov dword [rsp + 0xc0], r12d
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], rbx
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0xe0]
lea r8d, [r14 + 1]
lea rdx, [rsp + 0x60]
call qword [sym.imp.ws2_32.dll_WSARecv]
mov esi, eax
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
cmp eax, 0x40
jne 0x14007fd3c
mov eax, 0x2746
jmp 0x14007fd4c
cmp eax, 0x4d2
jne 0x14007fd4c
mov eax, 0x274d
lea rdi, [rbp + 8]
test esi, esi
je 0x14007fd6f
cmp eax, 0x3e5
je 0x14007fd6f
mov r9d, dword [rsp + 0xe0]
mov r8d, eax
mov rdx, rbx
mov rcx, qword [rdi]
call fcn.1400b5580
jmp 0x14007fd7a
mov rdx, rbx
mov rcx, qword [rdi]
call fcn.1400b5870
mov qword [rsp + 0x88], r14
mov qword [rsp + 0x80], r14
lea rcx, [rsp + 0x78]
call fcn.1400bab50
nop
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret