Function at 0x140088d30
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 [0x140145f08]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
xor r13d, r13d
test rax, rax
je 0x140088d7f
mov rdx, qword [rax + 8]
jmp 0x140088d82
mov rdx, r13
mov r9d, 8
mov r8d, 0x200
movzx ecx, byte [rsp + 0xc0]
call fcn.140088ae0
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, [0x1400b3d30]
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.140093ca0
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 0x140088e9f
xor r9d, r9d
mov r8d, 0x2719
mov rdx, rdi
mov rcx, qword [rsi + 0x30]
call fcn.1400c0680
jmp 0x140088f7c
cmp rcx, 0xffffffffffffffff
je 0x140088ebd
xor r9d, r9d
lea r8d, [r9 + 1]
mov rdx, rdi
mov rcx, qword [rsi + 0x30]
call fcn.1400c0680
jmp 0x140088f7c
mov dword [rsp + 0x40], r13d
lea rax, [0x1401405e8]
mov qword [rsp + 0x48], rax
lea r9, [rsp + 0x40]
mov edx, 1
lea r8d, [rdx + 5]
mov ecx, r10d
call fcn.1400ca730
mov rbx, rax
lea rcx, [rdi + 0x48]
call fcn.1400c5e30
mov qword [rdi + 0x48], rbx
xor r9d, r9d
cmp rbx, 0xffffffffffffffff
jne 0x140088f10
lea r8, [rsp + 0x40]
mov rdx, rdi
mov rcx, qword [rsi + 0x30]
call fcn.1400c05e0
jmp 0x140088f7c
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 0x140088f70
cmp eax, 0x3e5
je 0x140088f70
xor r9d, r9d
mov r8d, eax
mov rdx, rdi
mov rcx, qword [rsi + 0x30]
call fcn.1400c0680
jmp 0x140088f7c
mov rdx, rdi
mov rcx, qword [rsi + 0x30]
call fcn.1400c0970
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x58], r13
lea rcx, [rsp + 0x50]
call fcn.1400c5b50
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