Function at 0x140036830
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, [0x140197bf0]
mov qword [rcx], rax
cmp qword [rcx + 0x18], 0
je 0x140036887
mov rax, qword [rdi + 0x10]
mov rbx, qword [rax]
cmp rbx, rax
jne 0x140036875
call fcn.14011ef50
mov dl, 1
mov rcx, qword [rbx + 0x18]
call fcn.140033330
cmp qword [rdi + 0x18], 0
jne 0x140036864
cmp qword [rdi + 0xc0], 0
je 0x1400368bb
mov rax, qword [rdi + 0xb8]
mov rbx, qword [rax]
cmp rbx, rax
jne 0x1400368a5
call fcn.14011ef50
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 0x140036891
mov rdx, qword [rdi + 0x160]
mov rax, qword [0x14023b488]
mov ecx, dword [rax]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
lea rcx, [rdi + 0x138]
call fcn.1400862c0
nop
lea rcx, [rdi + 0xf8]
call fcn.1400886d0
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.1400364f0
mov rcx, qword [rbx + 8]
call fcn.14011e950
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.1400364f0
mov rcx, qword [rbx + 8]
call fcn.14011e950
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.1400364f0
mov rcx, qword [rbx + 8]
call fcn.14011e950
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.1400364f0
mov rcx, qword [rbx + 8]
call fcn.14011e950
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.1400364f0
mov rcx, qword [rbx + 8]
call fcn.14011e950
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.1400364f0
mov rcx, qword [rbx + 8]
call fcn.14011e950
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.1400364f0
mov rcx, qword [rbx + 8]
call fcn.14011e950
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.1400364f0
mov rcx, qword [rbx + 8]
call fcn.14011e950
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.1400364f0
mov rcx, qword [rbx + 8]
call fcn.14011e950
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.1400364f0
mov rcx, qword [rbx + 8]
call fcn.14011e950
mov qword [rbx + 8], rsi
mov qword [rbx + 0x10], rsi
lea rax, [0x14018fef8]
mov qword [rdi], rax
mov rbx, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret