Function at 0x140029e00
Capabilities:
Set thread local storage value

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x60
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x80], rsi
mov rdi, rcx
lea rax, [0x140065a40]
mov qword [rcx], rax
cmp qword [rcx + 0x18], 0
je 0x140029e57
mov rax, qword [rdi + 0x10]
mov rbx, qword [rax]
cmp rbx, rax
jne 0x140029e45
call fcn.1400356b0
mov dl, 1
mov rcx, qword [rbx + 0x18]
call fcn.14002d180
cmp qword [rdi + 0x18], 0
jne 0x140029e34
cmp qword [rdi + 0xc0], 0
je 0x140029e8b
mov rax, qword [rdi + 0xb8]
mov rbx, qword [rax]
cmp rbx, rax
jne 0x140029e75
call fcn.1400356b0
mov rcx, qword [rbx + 0x18]
mov rax, qword [rcx]
xor edx, edx
call qword [rax + reloc.WS2_32.dll_htonl]
cmp qword [rdi + 0xc0], 0
jne 0x140029e61
mov rdx, qword [rdi + 0x160]
mov rax, qword [0x140080598]
mov ecx, dword [rax]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
lea rcx, [rdi + 0x138]
call fcn.14005a9e0
nop
lea rcx, [rdi + 0xf8]
call fcn.14005a330
nop
lea rbx, [rdi + 0xe0]
mov rax, qword [rbx + 8]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbx
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
mov rax, qword [rax]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbx
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.1400059f0
mov rcx, qword [rbx + 8]
call fcn.140034ee0
xor esi, esi
mov qword [rbx + 8], rsi
mov qword [rbx + 0x10], rsi
lea rbx, [rdi + 0xc8]
mov rax, qword [rbx + 8]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbx
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
mov rax, qword [rax]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbx
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.1400059f0
mov rcx, qword [rbx + 8]
call fcn.140034ee0
mov qword [rbx + 8], rsi
mov qword [rbx + 0x10], rsi
lea rbx, [rdi + 0xb0]
mov rax, qword [rbx + 8]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbx
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
mov rax, qword [rax]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbx
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.1400059f0
mov rcx, qword [rbx + 8]
call fcn.140034ee0
mov qword [rbx + 8], rsi
mov qword [rbx + 0x10], rsi
lea rbx, [rdi + 0x98]
mov rax, qword [rbx + 8]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbx
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
mov rax, qword [rax]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbx
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.1400059f0
mov rcx, qword [rbx + 8]
call fcn.140034ee0
mov qword [rbx + 8], rsi
mov qword [rbx + 0x10], rsi
lea rbx, [rdi + 0x80]
mov rax, qword [rbx + 8]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbx
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
mov rax, qword [rax]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbx
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.1400059f0
mov rcx, qword [rbx + 8]
call fcn.140034ee0
mov qword [rbx + 8], rsi
mov qword [rbx + 0x10], rsi
lea rbx, [rdi + 0x68]
mov rax, qword [rbx + 8]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbx
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
mov rax, qword [rax]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbx
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.1400059f0
mov rcx, qword [rbx + 8]
call fcn.140034ee0
mov qword [rbx + 8], rsi
mov qword [rbx + 0x10], rsi
lea rbx, [rdi + 0x50]
mov rax, qword [rbx + 8]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbx
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
mov rax, qword [rax]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbx
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.1400059f0
mov rcx, qword [rbx + 8]
call fcn.140034ee0
mov qword [rbx + 8], rsi
mov qword [rbx + 0x10], rsi
lea rbx, [rdi + 0x38]
mov rax, qword [rbx + 8]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbx
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
mov rax, qword [rax]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbx
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.1400059f0
mov rcx, qword [rbx + 8]
call fcn.140034ee0
mov qword [rbx + 8], rsi
mov qword [rbx + 0x10], rsi
lea rbx, [rdi + 0x20]
mov rax, qword [rbx + 8]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbx
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
mov rax, qword [rax]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbx
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.1400059f0
mov rcx, qword [rbx + 8]
call fcn.140034ee0
mov qword [rbx + 8], rsi
mov qword [rbx + 0x10], rsi
lea rbx, [rdi + 8]
mov rax, qword [rbx + 8]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbx
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
mov rax, qword [rax]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbx
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.1400059f0
mov rcx, qword [rbx + 8]
call fcn.140034ee0
mov qword [rbx + 8], rsi
mov qword [rbx + 0x10], rsi
lea rax, [0x1400656a8]
mov qword [rdi], rax
mov rbx, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret