Function at 0x14003d6e0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x80
mov rax, qword [0x140162800]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov r15, r9
mov rbp, r8
mov r14, rdx
mov rsi, rcx
mov rbx, qword [rsp + 0xe0]
mov r12, qword [rsp + 0xe8]
mov ecx, dword [0x14016685c]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
xor r13d, r13d
test rax, rax
je 0x14003d73c
mov rdx, qword [rax + 8]
jmp 0x14003d73f
mov rdx, r13
mov r9d, 8
mov r8d, 0x200
movzx ecx, byte [rsp + 0x40]
call fcn.14003d520
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, [0x140067f60]
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, r12
xor r8d, r8d
xor edx, edx
call fcn.140045070
mov qword [rsp + 0x68], 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 0x14003d854
xor r9d, r9d
mov r8d, 0x2719
mov rdx, rdi
mov rcx, qword [rsi + 0x30]
call fcn.140074b10
jmp 0x14003d952
cmp rcx, 0xffffffffffffffff
je 0x14003d874
xor r9d, r9d
mov r8d, 1
mov rdx, rdi
mov rcx, qword [rsi + 0x30]
call fcn.140074b10
jmp 0x14003d952
mov qword [rsp + 0x48], r13
lea rbp, [0x1401627b0]
mov qword [rsp + 0x50], rbp
lea r9, [rsp + 0x48]
mov edx, 1
mov r8d, 6
mov ecx, r10d
call fcn.14007c410
mov rbx, rax
mov rcx, qword [rdi + 0x48]
cmp rcx, 0xffffffffffffffff
je 0x14003d8cb
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x60], rbp
mov byte [rsp + 0x40], 0
lea r9, [rsp + 0x58]
mov r8b, 1
lea rdx, [rsp + 0x40]
call fcn.140065110
mov qword [rdi + 0x48], rbx
xor r9d, r9d
cmp rbx, 0xffffffffffffffff
jne 0x14003d8eb
lea r8, [rsp + 0x48]
mov rdx, rdi
mov rcx, qword [rsi + 0x30]
call fcn.140074a70
jmp 0x14003d952
mov dword [rsp + 0x70], r13d
mov qword [rsp + 0x38], rdi
lea rax, [rsp + 0x70]
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.MSWSOCK.dll_AcceptEx
mov ebx, eax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
test ebx, ebx
jne 0x14003d945
cmp eax, 0x3e5
je 0x14003d945
xor r9d, r9d
mov r8d, eax
mov rdx, rdi
mov rcx, qword [rsi + 0x30]
call fcn.140074b10
jmp 0x14003d952
mov rdx, rdi
mov rcx, qword [rsi + 0x30]
call fcn.140074df0
nop
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400873d0
mov rbx, qword [rsp + 0xd0]
add rsp, 0x80
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret