Function at 0x1400876f0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x70
mov r15, r9
mov rbp, r8
mov r14, rdx
mov rsi, rcx
mov rbx, qword [rsp + 0xc0]
mov qword [rsp + 0x50], rbx
mov ecx, dword [0x140143f10]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
xor r13d, r13d
test rax, rax
je 0x14008773f
mov rdx, qword [rax + 8]
jmp 0x140087742
mov rdx, r13
mov r9d, 8
mov r8d, 0x200
movzx ecx, byte [rsp + 0xc0]
call fcn.1400874a0
mov rdi, rax
movzx edx, byte [r14 + 8]
shr dl, 2
and dl, 1
mov rcx, qword [r14]
mov qword [rax + 0x20], r13
lea rax, [0x1400a8650]
mov qword [rdi + 0x28], rax
mov qword [rdi], r13
mov qword [rdi + 8], r13
mov qword [rdi + 0x10], r13
mov qword [rdi + 0x18], r13
mov dword [rdi + 0x30], r13d
lea rax, [rsi + 0x28]
mov qword [rdi + 0x38], rax
mov qword [rdi + 0x40], rcx
mov qword [rdi + 0x48], 0xffffffffffffffff
mov qword [rdi + 0x50], rbp
mov eax, dword [r14 + 0x38]
mov dword [rdi + 0x58], eax
mov qword [rdi + 0x60], r15
mov byte [rdi + 0x188], dl
mov qword [rdi + 0x190], r13
mov qword [rdi + 0x198], r13
mov rax, qword [rbx]
mov qword [rdi + 0x1a0], rax
mov qword [rdi + 0x1a8], r13
mov qword [rdi + 0x1b0], r13
mov rax, qword [rbx + 8]
mov qword [rdi + 0x1a8], rax
mov rax, qword [rbx + 0x10]
mov qword [rdi + 0x1b0], rax
mov qword [rbx + 8], r13
mov qword [rbx + 0x10], r13
mov rax, qword [rbx + 0x18]
mov qword [rdi + 0x1b8], rax
movzx eax, word [rbx + 0x20]
mov word [rdi + 0x1c0], ax
lea rcx, [rdi + 0x1c8]
mov r9, qword [rsp + 0xc8]
xor r8d, r8d
xor edx, edx
call fcn.140092660
mov qword [rsp + 0x60], rdi
mov r10d, dword [r14 + 0x38]
mov rcx, qword [rbp + 8]
mov rax, qword [rsi + 0x30]
lock inc dword [rax + 0x30]
cmp qword [r14], 0xffffffffffffffff
jne 0x14008785f
xor r9d, r9d
mov r8d, 0x2719
mov rdx, rdi
mov rcx, qword [rsi + 0x30]
call fcn.1400b5030
jmp 0x14008793c
cmp rcx, 0xffffffffffffffff
je 0x14008787d
xor r9d, r9d
lea r8d, [r9 + 1]
mov rdx, rdi
mov rcx, qword [rsi + 0x30]
call fcn.1400b5030
jmp 0x14008793c
mov dword [rsp + 0x40], r13d
lea rax, [0x14013e5e8]
mov qword [rsp + 0x48], rax
lea r9, [rsp + 0x40]
mov edx, 1
lea r8d, [rdx + 5]
mov ecx, r10d
call fcn.1400befc0
mov rbx, rax
lea rcx, [rdi + 0x48]
call fcn.1400ba6c0
mov qword [rdi + 0x48], rbx
xor r9d, r9d
cmp rbx, 0xffffffffffffffff
jne 0x1400878d0
lea r8, [rsp + 0x40]
mov rdx, rdi
mov rcx, qword [rsi + 0x30]
call fcn.1400b4f90
jmp 0x14008793c
mov dword [rsp + 0xc0], r13d
mov qword [rsp + 0x38], rdi
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x90
mov dword [rsp + 0x20], 0x90
lea r8, [rdi + 0x68]
mov rdx, rbx
mov rcx, qword [r14]
call sub.WSOCK32.dll_AcceptEx
mov ebx, eax
call qword [sym.imp.WSOCK32.dll_WSAGetLastError]
test ebx, ebx
jne 0x140087930
cmp eax, 0x3e5
je 0x140087930
xor r9d, r9d
mov r8d, eax
mov rdx, rdi
mov rcx, qword [rsi + 0x30]
call fcn.1400b5030
jmp 0x14008793c
mov rdx, rdi
mov rcx, qword [rsi + 0x30]
call fcn.1400b5320
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x58], r13
lea rcx, [rsp + 0x50]
call fcn.1400ba3e0
nop
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret