Function at 0x1400c2e30
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rsi
mov qword [rsp + 8], rcx
push rdi
push r14
push r15
sub rsp, 0x110
mov rdi, rdx
mov r14, rcx
xor ebx, ebx
mov rax, qword [rcx + 8]
test al, 1
jne 0x1400c2e92
and rax, 0xfffffffffffffffc
mov rax, qword [rax + 0x10]
lea rsi, [rax + 0x28]
test rax, rax
cmove rsi, rbx
mov ecx, dword [0x1403509d8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400c2e92
nop
cmp qword [rax], rsi
je 0x1400c2f6c
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x1400c2e80
mov rdx, qword [r14]
mov esi, 1
xchg dword [rdx + 0x408], esi
test esi, esi
je 0x1400c2eb1
mov ecx, 0x90
call fcn.1401ae1f0
mov rdx, rax
mov qword [rdx + 0x20], rbx
lea rax, [0x140111a20]
mov qword [rdx + 0x28], rax
mov qword [rdx], rbx
mov qword [rdx + 8], rbx
mov qword [rdx + 0x10], rbx
mov qword [rdx + 0x18], rbx
mov dword [rdx + 0x30], ebx
mov rcx, qword [rdi]
mov qword [rdx + 0x38], rcx
mov rax, qword [rdi + 8]
mov qword [rdx + 0x40], rax
mov rax, qword [rdi + 0x10]
mov qword [rdx + 0x48], rax
mov qword [rdx + 0x50], rbx
mov qword [rdx + 0x58], rbx
mov rax, qword [rdi + 0x18]
mov qword [rdx + 0x50], rax
mov rax, qword [rdi + 0x20]
mov qword [rdx + 0x58], rax
mov qword [rdi + 0x18], rbx
mov qword [rdi + 0x20], rbx
mov rax, qword [rdi + 0x28]
mov qword [rdx + 0x60], rax
mov rax, qword [rdi + 0x30]
mov qword [rdi + 0x30], rbx
mov qword [rdx + 0x68], rax
mov byte [rdx + 0x70], bl
movzx eax, byte [rdi + 0x40]
mov byte [rdx + 0x78], al
movzx eax, byte [rdi + 0x48]
mov byte [rdx + 0x80], al
mov byte [rdi + 0x48], bl
mov rax, qword [r14]
mov qword [rdx + 0x88], rax
mov rax, qword [r14 + 8]
and rax, 0xfffffffffffffffc
mov rcx, qword [rax + 0x10]
lock inc dword [rcx + 0x30]
call fcn.1401257a0
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
cmp qword [rax + 8], rbx
je 0x1400c2e92
mov rax, qword [rdi]
mov qword [rsp + 0x80], rax
mov rax, qword [rdi + 8]
mov qword [rsp + 0x88], rax
mov rax, qword [rdi + 0x10]
mov qword [rsp + 0x90], rax
mov rax, qword [rdi + 0x18]
mov qword [rsp + 0x98], rax
mov rax, qword [rdi + 0x20]
mov qword [rsp + 0xa0], rax
mov qword [rdi + 0x18], rbx
mov qword [rdi + 0x20], rbx
mov rax, qword [rdi + 0x28]
mov qword [rsp + 0xa8], rax
mov rax, qword [rdi + 0x30]
mov qword [rdi + 0x30], rbx
mov qword [rsp + 0xb0], rax
mov byte [rsp + 0xb8], bl
movzx eax, byte [rdi + 0x40]
mov byte [rsp + 0xc0], al
movzx eax, byte [rdi + 0x48]
mov byte [rsp + 0xc8], al
mov byte [rdi + 0x48], bl
nop
lea rcx, [rsp + 0x88]
call fcn.1400f1ff0
nop
nop
cmp byte [rsp + 0xc8], 0
je 0x1400c30ca
mov byte [rsp + 0xc8], 0
mov rax, qword [rsp + 0xa8]
movzx r14d, byte [rax + 0x950]
nop
mov rbx, qword [rsp + 0xb0]
test rbx, rbx
je 0x1400c355e
movzx edi, byte [rsp + 0xb8]
test dil, dil
je 0x1400c3069
cmp byte [rbx + 0xb8], 0
jne 0x1400c355e
test dil, dil
je 0x1400c3069
cmp byte [rbx + 0xb8], 0
jne 0x1400c355e
lea rsi, [rbx + 0x20]
mov qword [rsp + 0x40], rsi
mov rcx, rsi
call fcn.1401abddc
test eax, eax
jne 0x1400c3538
mov eax, dword [rsi + 0x4c]
cmp eax, 0x7fffffff
je 0x1400c3543
mov byte [rsp + 0x48], 1
cmp byte [rbx + 0xc1], 0
jne 0x1400c3553
mov byte [rbx + 0xc], r14b
mov rax, qword [rbx]
xor r8d, r8d
lea rdx, [rsp + 0x40]
mov rcx, rbx
call qword [rax + 0x28]
cmp byte [rsp + 0x48], 0
je 0x1400c30da
mov rcx, qword [rsp + 0x40]
call fcn.1401abde4
jmp 0x1400c30da
movzx edi, byte [rsp + 0xb8]
mov rbx, qword [rsp + 0xb0]
test rbx, rbx
je 0x1400c32dd
test dil, dil
je 0x1400c30f5
cmp byte [rbx + 0xb8], 0
jne 0x1400c32dd
test rbx, rbx
je 0x1400c3107
cmp dword [rbx + 0xbc], 0
je 0x1400c3107
mov al, 1
jmp 0x1400c3109
xor al, al
test al, al
jne 0x1400c32dd
mov esi, 1
mov dword [rsp + 0x30], esi
lea rax, [0x140327ec8]
mov qword [rsp + 0x38], rax
lea r14, vtable.std::exception.0
mov qword [rsp + 0x50], r14
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
lea rax, [0x1401f6f75]
mov qword [rsp + 0x20], rax
mov byte [rsp + 0x28], sil
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x20]
call fcn.1401b029c
lea r15, vtable.std::future_error.0
mov qword [rsp + 0x50], r15
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0xd0], r14
xorps xmm0, xmm0
movups xmmword [rsp + 0xd8], xmm0
lea rdx, [rsp + 0xd8]
lea rcx, [rsp + 0x58]
call fcn.1401b029c
mov qword [rsp + 0xd0], r15
movups xmm0, xmmword [rsp + 0x68]
movups xmmword [rsp + 0xe8], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x20], xmm1
lea rcx, [rsp + 0x20]
call fcn.1401ad37c
lea r8, [0x1403189a0]
lea rdx, [rsp + 0xd0]
lea rcx, [rsp + 0x20]
call fcn.1401ad350
mov qword [rsp + 0xd0], r14
lea rcx, [rsp + 0xd8]
call fcn.1401b032c
test rbx, rbx
je 0x1400c358f
test dil, dil
je 0x1400c3206
cmp byte [rbx + 0xb8], 0
jne 0x1400c358f
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
call fcn.1401ad328
lea rdi, [rbx + 0x20]
mov qword [rsp + 0xf8], rdi
mov rcx, rdi
call fcn.1401abddc
test eax, eax
jne 0x1400c3569
mov eax, dword [rdi + 0x4c]
cmp eax, 0x7fffffff
je 0x1400c3574
mov byte [rsp + 0x100], sil
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x40]
call fcn.1401ad328
cmp byte [rbx + 0xc1], 0
jne 0x1400c3584
lea rcx, [rbx + 0x10]
lea rdx, [rsp + 0x40]
call fcn.1401ad320
mov rax, qword [rbx]
xor r8d, r8d
lea rdx, [rsp + 0xf8]
mov rcx, rbx
call qword [rax + 0x28]
lea rcx, [rsp + 0x40]
call fcn.1401ad408
cmp byte [rsp + 0x100], 0
je 0x1400c32b8
mov rcx, qword [rsp + 0xf8]
call fcn.1401abde4
lea rcx, [rsp + 0x30]
call fcn.1401ad408
lea rcx, [rsp + 0x20]
call fcn.1401ad408
mov qword [rsp + 0x50], r14
lea rcx, [rsp + 0x58]
call fcn.1401b032c
jmp 0x1400c32e2
mov esi, 1
mov edi, 0xffffffff
test rbx, rbx
je 0x1400c3321
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1400c3321
mov rcx, qword [rsp + 0xb0]
mov r8, qword [rcx + 0xc8]
test r8, r8
je 0x1400c3319
mov rax, qword [r8]
mov rdx, rcx
mov rcx, r8
call qword [rax]
jmp 0x1400c3321
mov rax, qword [rcx]
mov edx, esi
call qword [rax]
nop
mov rcx, qword [rsp + 0xa0]
test rcx, rcx
je 0x1400c3362
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400c3362
mov rbx, qword [rsp + 0xa0]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x1400c3362
mov rcx, qword [rsp + 0xa0]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
jmp 0x1400c2f53
mov ecx, 5
call fcn.1401ac1a8
int3
dec eax
mov dword [rsi + 0x4c], eax
mov ecx, 6
call fcn.1401ac1a8
int3
mov ecx, 3
call fcn.140109f20
int3
mov ecx, 4
call fcn.140109f20
nop
mov ecx, 5
call fcn.1401ac1a8
int3
dec eax
mov dword [rdi + 0x4c], eax
mov ecx, 6
call fcn.1401ac1a8
int3
mov ecx, 3
call fcn.140109f20
int3
mov ecx, 4
call fcn.140109f20
nop
mov ecx, 4
call fcn.140109f20
nop
mov ecx, 4
call fcn.140109f20
int3