Function at 0x1400a63b0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x70]
sub rsp, 0x170
mov rdi, r9
mov r14, r8
mov r12, rdx
xor r13d, r13d
lea rbx, [rcx - 0x140]
test rcx, rcx
cmove rbx, r13
mov r15, qword [rbp + 0xd8]
mov rsi, qword [r15]
cmp rsi, qword [rcx]
je 0x1400a6444
mov rsi, qword [r8 + 8]
mov ebx, 0xffffffff
test rsi, rsi
je 0x1400a6437
mov eax, ebx
lock xadd dword [rsi + 8], eax
cmp eax, 1
jne 0x1400a6437
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax]
mov eax, ebx
lock xadd dword [rsi + 0xc], eax
cmp eax, 1
jne 0x1400a6437
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov rcx, rdi
call fcn.1400e0200
jmp 0x1400a6a0d
lea rdx, [rbp + 0xd0]
mov rcx, rsi
call fcn.14011b650
mov qword [rbp - 0x30], rbx
movups xmm0, xmmword [r12]
movups xmmword [rbp - 0x28], xmm0
mov rax, qword [r14]
mov qword [rbp - 0x18], rax
mov rax, qword [r14 + 8]
mov qword [rbp - 0x10], rax
mov qword [r14], r13
mov qword [r14 + 8], r13
mov rax, qword [rdi]
mov qword [rbp - 8], rax
mov rax, qword [rdi + 8]
mov qword [rbp], rax
mov rax, qword [rdi + 0x10]
mov qword [rbp + 8], rax
mov qword [rdi + 8], r13
mov qword [rdi + 0x10], r13
mov rax, qword [rdi + 0x18]
mov qword [rbp + 0x10], rax
mov rax, qword [rdi + 0x20]
mov qword [rdi + 0x20], r13
mov qword [rbp + 0x18], rax
mov byte [rbp + 0x20], 0
movzx eax, byte [rdi + 0x30]
mov byte [rbp + 0x28], al
movzx eax, byte [rdi + 0x38]
mov byte [rbp + 0x30], al
mov byte [rdi + 0x38], 0
movzx eax, byte [rdi + 0x40]
mov byte [rbp + 0x38], al
mov rax, qword [rdi + 0x48]
mov qword [rbp + 0x40], rax
mov rax, qword [rdi + 0x50]
mov qword [rbp + 0x48], rax
mov rax, qword [rdi + 0x58]
mov qword [rbp + 0x50], rax
mov qword [rdi + 0x50], r13
mov qword [rdi + 0x58], r13
movzx eax, byte [rdi + 0x60]
mov byte [rbp + 0x58], al
mov byte [rdi + 0x60], 0
mov byte [rdi + 0x40], 0
mov rax, qword [r15]
mov qword [rbp + 0x60], rax
mov rax, qword [r15 + 8]
mov qword [rbp + 0x68], rax
mov qword [r15], r13
mov qword [r15 + 8], r13
mov r13, qword [rsi]
lea rax, [rbp - 0x30]
mov qword [rsp + 0x30], rax
mov ecx, dword [0x1403509d8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400a652e
mov rdx, qword [rax + 8]
jmp 0x1400a6530
xor edx, edx
mov r9d, 8
mov r8d, pe_nt_image_headers64
movzx ecx, byte [rbp + 0xd8]
call fcn.1400aa650
mov rbx, rax
mov qword [rsp + 0x38], rax
xor ecx, ecx
mov qword [rax + 0x20], rcx
lea rax, [0x140115c00]
mov qword [rbx + 0x28], rax
mov qword [rbx], rcx
mov qword [rbx + 8], rcx
mov qword [rbx + 0x10], rcx
mov qword [rbx + 0x18], rcx
mov dword [rbx + 0x30], ecx
mov dword [rbx + 0x38], ecx
lea rax, [0x1403275b8]
mov qword [rbx + 0x40], rax
mov qword [rbx + 0x48], rcx
lea rcx, [rbx + 0x50]
lea rdx, [rbp - 0x30]
call fcn.1400d20d0
lea rcx, [rbx + 0xf0]
lea r9, [rsi + 0x40]
xor r8d, r8d
xor edx, edx
call fcn.1400d4c90
mov qword [rsp + 0x40], rbx
mov byte [rsi + 0x10], 1
lea r9, [rsi + 0x18]
lea rdx, [r13 + 0x28]
mov qword [rsp + 0x20], rbx
lea r8, [rsi + 8]
mov rcx, qword [r13 + 0x58]
call fcn.1400cfd10
nop
mov ebx, 0xffffffff
mov rsi, qword [rbp + 0x68]
test rsi, rsi
je 0x1400a6602
mov eax, ebx
lock xadd dword [rsi + 8], eax
cmp eax, 1
jne 0x1400a6602
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax]
mov eax, ebx
lock xadd dword [rsi + 0xc], eax
cmp eax, 1
jne 0x1400a6602
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + reloc.WS2_32.dll_htonl]
lea rcx, [rbp - 8]
call fcn.1400e0200
mov rsi, qword [rbp - 0x10]
test rsi, rsi
je 0x1400a663e
mov eax, ebx
lock xadd dword [rsi + 8], eax
cmp eax, 1
jne 0x1400a663e
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax]
mov eax, ebx
lock xadd dword [rsi + 0xc], eax
cmp eax, 1
jne 0x1400a663e
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov rsi, qword [r14 + 8]
test rsi, rsi
je 0x1400a6671
mov eax, ebx
lock xadd dword [rsi + 8], eax
cmp eax, 1
jne 0x1400a6671
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax]
mov eax, ebx
lock xadd dword [rsi + 0xc], eax
cmp eax, 1
jne 0x1400a6671
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + reloc.WS2_32.dll_htonl]
nop
xor esi, esi
cmp byte [rdi + 0x40], sil
je 0x1400a66ba
mov byte [rdi + 0x40], sil
mov rax, qword [rdi + 0x48]
mov qword [rsp + 0x30], rax
mov rax, qword [rdi + 0x50]
mov qword [rsp + 0x38], rax
mov rax, qword [rdi + 0x58]
mov qword [rsp + 0x40], rax
mov qword [rdi + 0x50], rsi
mov qword [rdi + 0x58], rsi
movzx eax, byte [rdi + 0x60]
mov byte [rsp + 0x48], al
mov byte [rdi + 0x60], sil
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.1400f39b0
nop
movzx edx, byte [rdi + 0x60]
test dl, dl
je 0x1400a66fb
mov rax, qword [rdi + 0x48]
lea rcx, [rax + 0x58]
mov qword [rsp + 0x30], rax
mov rax, qword [rdi + 0x50]
mov qword [rsp + 0x38], rax
mov rax, qword [rdi + 0x58]
mov qword [rsp + 0x40], rax
mov qword [rdi + 0x50], rsi
mov qword [rdi + 0x58], rsi
mov byte [rsp + 0x48], dl
mov byte [rdi + 0x60], 0
lea rdx, [rsp + 0x30]
call fcn.1400c9ba0
mov rsi, qword [rdi + 0x58]
test rsi, rsi
je 0x1400a672e
mov eax, ebx
lock xadd dword [rsi + 8], eax
cmp eax, 1
jne 0x1400a672e
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax]
mov eax, ebx
lock xadd dword [rsi + 0xc], eax
cmp eax, 1
jne 0x1400a672e
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + reloc.WS2_32.dll_htonl]
nop
cmp byte [rdi + 0x38], 0
je 0x1400a67dd
mov byte [rdi + 0x38], 0
mov rax, qword [rdi + 0x18]
movzx r12d, byte [rax + 0x950]
nop
mov rsi, qword [rdi + 0x20]
test rsi, rsi
je 0x1400a6a95
movzx ecx, byte [rdi + 0x28]
test cl, cl
je 0x1400a677c
cmp byte [rsi + 0xb8], 0
jne 0x1400a6a95
test cl, cl
je 0x1400a677c
cmp byte [rsi + 0xb8], 0
jne 0x1400a6a95
lea r14, [rsi + 0x20]
mov qword [rsp + 0x50], r14
mov rcx, r14
call fcn.1401abddc
test eax, eax
jne 0x1400a6a63
mov eax, dword [r14 + 0x4c]
cmp eax, 0x7fffffff
je 0x1400a6a6e
mov byte [rsp + 0x58], 1
cmp byte [rsi + 0xc1], 0
jne 0x1400a6a7f
mov byte [rsi + 0xc], r12b
mov rax, qword [rsi]
xor r8d, r8d
lea rdx, [rsp + 0x50]
mov rcx, rsi
call qword [rax + 0x28]
cmp byte [rsp + 0x58], 0
je 0x1400a67dd
mov rcx, qword [rsp + 0x50]
call fcn.1401abde4
nop
mov rax, qword [rdi + 0x20]
test rax, rax
je 0x1400a69a1
cmp byte [rdi + 0x28], 0
je 0x1400a67fd
cmp byte [rax + 0xb8], 0
jne 0x1400a69a1
cmp dword [rax + 0xbc], 0
jne 0x1400a69a1
mov dword [rsp + 0x60], 1
lea rax, [0x140327ec8]
mov qword [rsp + 0x68], rax
lea r12, vtable.std::exception.0
mov qword [rbp - 0x80], r12
xorps xmm0, xmm0
movups xmmword [rbp - 0x78], xmm0
lea rax, [0x1401f6f75]
mov qword [rsp + 0x30], rax
mov byte [rsp + 0x38], 1
lea rdx, [rbp - 0x78]
lea rcx, [rsp + 0x30]
call fcn.1401b029c
lea rsi, vtable.std::future_error.0
mov qword [rbp - 0x80], rsi
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [rbp - 0x68], xmm0
mov qword [rbp - 0x58], r12
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x78]
call fcn.1401b029c
mov qword [rbp - 0x58], rsi
movups xmm0, xmmword [rbp - 0x68]
movups xmmword [rbp - 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x30], xmm1
lea rcx, [rsp + 0x30]
call fcn.1401ad37c
lea r8, [0x1403189a0]
lea rdx, [rbp - 0x58]
lea rcx, [rsp + 0x30]
call fcn.1401ad350
mov qword [rbp - 0x58], r12
lea rcx, [rbp - 0x50]
call fcn.1401b032c
mov rsi, qword [rdi + 0x20]
test rsi, rsi
je 0x1400a6a58
cmp byte [rdi + 0x28], 0
je 0x1400a68dc
cmp byte [rsi + 0xb8], 0
jne 0x1400a6a58
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x60], xmm0
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x60]
call fcn.1401ad328
lea r14, [rsi + 0x20]
mov qword [rsp + 0x70], r14
mov rcx, r14
call fcn.1401abddc
test eax, eax
jne 0x1400a6a8a
mov eax, dword [r14 + 0x4c]
cmp eax, 0x7fffffff
je 0x1400a6aa0
mov byte [rsp + 0x78], 1
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x50]
call fcn.1401ad328
cmp byte [rsi + 0xc1], 0
jne 0x1400a6ab1
lea rcx, [rsi + 0x10]
lea rdx, [rsp + 0x50]
call fcn.1401ad320
mov rax, qword [rsi]
xor r8d, r8d
lea rdx, [rsp + 0x70]
mov rcx, rsi
call qword [rax + 0x28]
lea rcx, [rsp + 0x50]
call fcn.1401ad408
cmp byte [rsp + 0x78], 0
je 0x1400a6980
mov rcx, qword [rsp + 0x70]
call fcn.1401abde4
lea rcx, [rsp + 0x60]
call fcn.1401ad408
lea rcx, [rsp + 0x30]
call fcn.1401ad408
mov qword [rbp - 0x80], r12
lea rcx, [rbp - 0x78]
call fcn.1401b032c
mov rcx, qword [rdi + 0x20]
test rcx, rcx
je 0x1400a69da
mov eax, ebx
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400a69da
mov r8, qword [rcx + 0xc8]
test r8, r8
je 0x1400a69cf
mov rax, qword [r8]
mov rdx, rcx
mov rcx, r8
call qword [rax]
jmp 0x1400a69da
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
nop
mov rdi, qword [rdi + 0x10]
test rdi, rdi
je 0x1400a6a0d
mov eax, ebx
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x1400a6a0d
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
mov eax, ebx
lock xadd dword [rdi + 0xc], eax
cmp eax, 1
jne 0x1400a6a0d
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov rdi, qword [r15 + 8]
test rdi, rdi
je 0x1400a6a3d
mov eax, ebx
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x1400a6a3d
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
lock xadd dword [rdi + 0xc], ebx
cmp ebx, 1
jne 0x1400a6a3d
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.WS2_32.dll_htonl]
mov rbx, qword [rsp + 0x1b8]
add rsp, 0x170
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov ecx, 4
call fcn.140109f20
nop
mov ecx, 5
call fcn.1401ac1a8
int3
dec eax
mov dword [r14 + 0x4c], eax
mov ecx, 6
call fcn.1401ac1a8
int3
mov ecx, 3
call fcn.140109f20
nop
mov ecx, 5
call fcn.1401ac1a8
nop
mov ecx, 4
call fcn.140109f20
nop
dec eax
mov dword [r14 + 0x4c], eax
mov ecx, 6
call fcn.1401ac1a8
int3
mov ecx, 3
call fcn.140109f20
int3