Function at 0x140089030
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, 0x80
mov r12d, r9d
mov r15, r8
mov r14, rdx
mov rbp, rcx
mov ecx, dword [0x140146128]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
xor r13d, r13d
test rax, rax
je 0x140089075
mov rdx, qword [rax + 8]
jmp 0x140089078
mov rdx, r13
mov r9d, 8
mov r8d, 0xa8
movzx ecx, byte [rsp + 0xd0]
call fcn.140088b70
mov rbx, rax
mov rax, qword [r14 + 0x18]
mov rsi, r13
mov rcx, r13
test rax, rax
je 0x1400890ae
mov rcx, qword [r14 + 0x10]
mov rsi, rax
lock inc dword [rax + 0xc]
movzx eax, byte [r14 + 8]
mov qword [rbx + 0x20], r13
lea rdx, [0x1400aaa50]
mov qword [rbx + 0x28], rdx
mov qword [rbx], r13
mov qword [rbx + 8], r13
mov qword [rbx + 0x10], r13
mov qword [rbx + 0x18], r13
mov dword [rbx + 0x30], r13d
mov byte [rbx + 0x38], al
mov qword [rbx + 0x40], r13
mov qword [rbx + 0x48], r13
test rsi, rsi
je 0x1400890f1
mov qword [rbx + 0x40], rcx
mov qword [rbx + 0x48], rsi
lock inc dword [rsi + 0xc]
movups xmm0, xmmword [r15]
movups xmmword [rbx + 0x50], xmm0
mov qword [rbx + 0x60], r13
mov qword [rbx + 0x68], r13
mov rcx, qword [rsp + 0xd0]
mov rax, qword [rcx]
mov qword [rbx + 0x60], rax
mov rax, qword [rcx + 8]
mov qword [rbx + 0x68], rax
mov qword [rcx], r13
mov qword [rcx + 8], r13
lea rcx, [rbx + 0x70]
mov r9, qword [rsp + 0xd8]
xor r8d, r8d
xor edx, edx
call fcn.140093d10
test rsi, rsi
je 0x140089152
mov eax, 0xffffffff
lock xadd dword [rsi + 0xc], eax
cmp eax, 1
jne 0x140089152
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + reloc.WSOCK32.dll_htonl]
movups xmm0, xmmword [r15]
movups xmmword [rsp + 0x40], xmm0
movq qword [rsp + 0x58], xmm0
movq xmm0, qword [r15 + 8]
movd dword [rsp + 0x50], xmm0
mov rax, qword [r15 + 8]
mov qword [rsp + 0x60], rax
test byte [r14 + 8], 0x10
je 0x1400891a1
test rax, rax
jne 0x1400891a1
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.1400b6e10
jmp 0x140089261
lea rdi, [rbp + 8]
mov rax, qword [rdi]
lock inc dword [rax + 0x30]
mov rcx, qword [r14]
cmp rcx, 0xffffffffffffffff
jne 0x1400891ce
xor r9d, r9d
mov r8d, 0x2719
mov rdx, rbx
mov rcx, qword [rdi]
call fcn.1400b6e10
jmp 0x140089261
mov dword [rsp + 0xd0], r13d
mov dword [rsp + 0xb0], r12d
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], rbx
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0xd0]
mov r8d, 1
lea rdx, [rsp + 0x50]
call qword [sym.imp.WS2_32.dll_WSARecv]
mov esi, eax
call qword [sym.imp.WSOCK32.dll_WSAGetLastError]
cmp eax, 0x40
jne 0x140089222
mov eax, 0x2746
jmp 0x140089232
cmp eax, 0x4d2
jne 0x140089232
mov eax, 0x274d
lea rdi, [rbp + 8]
test esi, esi
je 0x140089255
cmp eax, 0x3e5
je 0x140089255
mov r9d, dword [rsp + 0xd0]
mov r8d, eax
mov rdx, rbx
mov rcx, qword [rdi]
call fcn.1400b6e10
jmp 0x140089261
mov rdx, rbx
mov rcx, qword [rdi]
call fcn.1400b7110
nop
lea r11, [rsp + 0x80]
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