Function at 0x1400e8bd0
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, 0x150
mov rbx, rdx
mov r14, rcx
xor edi, edi
mov rax, qword [rcx + 8]
test al, 1
jne 0x1400e8c32
and rax, 0xfffffffffffffffc
mov rax, qword [rax + 0x10]
lea rsi, [rax + 0x28]
test rax, rax
cmove rsi, rdi
mov ecx, dword [0x1403509d8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400e8c32
nop
cmp qword [rax], rsi
je 0x1400e8d5e
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x1400e8c20
mov rdx, qword [r14]
mov esi, 1
xchg dword [rdx + 0x408], esi
test esi, esi
je 0x1400e8c51
mov ecx, 0xc0
call fcn.1401ae1f0
mov rdx, rax
mov qword [rdx + 0x20], rdi
lea rax, [0x140111ef0]
mov qword [rdx + 0x28], rax
mov qword [rdx], rdi
mov qword [rdx + 8], rdi
mov qword [rdx + 0x10], rdi
mov qword [rdx + 0x18], rdi
mov dword [rdx + 0x30], edi
mov rcx, qword [rbx]
mov qword [rdx + 0x38], rcx
mov rax, qword [rbx + 8]
mov qword [rdx + 0x40], rax
mov rax, qword [rbx + 0x10]
mov qword [rdx + 0x48], rax
movups xmm0, xmmword [rbx + 0x18]
movups xmmword [rdx + 0x50], xmm0
mov qword [rdx + 0x60], rdi
mov qword [rdx + 0x68], rdi
mov rax, qword [rbx + 0x28]
mov qword [rdx + 0x60], rax
mov rax, qword [rbx + 0x30]
mov qword [rdx + 0x68], rax
mov qword [rbx + 0x28], rdi
mov qword [rbx + 0x30], rdi
mov rax, qword [rbx + 0x38]
mov qword [rdx + 0x70], rax
mov qword [rdx + 0x78], rdi
mov qword [rdx + 0x80], rdi
mov rax, qword [rbx + 0x40]
mov qword [rdx + 0x78], rax
mov rax, qword [rbx + 0x48]
mov qword [rdx + 0x80], rax
mov qword [rbx + 0x40], rdi
mov qword [rbx + 0x48], rdi
mov rax, qword [rbx + 0x50]
mov qword [rdx + 0x88], rax
mov rax, qword [rbx + 0x58]
mov qword [rbx + 0x58], rdi
mov qword [rdx + 0x90], rax
mov byte [rdx + 0x98], dil
movzx eax, byte [rbx + 0x68]
mov byte [rdx + 0xa0], al
movzx eax, byte [rbx + 0x70]
mov byte [rdx + 0xa8], al
mov byte [rbx + 0x70], dil
movzx eax, byte [rbx + 0x78]
mov byte [rdx + 0xb0], al
mov byte [rbx + 0x78], dil
mov rax, qword [r14]
mov qword [rdx + 0xb8], 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 + 0x150]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
cmp qword [rax + 8], rdi
je 0x1400e8c32
mov rax, qword [rbx]
mov qword [rsp + 0x70], rax
mov rax, qword [rbx + 8]
mov qword [rsp + 0x78], rax
mov rax, qword [rbx + 0x10]
mov qword [rsp + 0x80], rax
movups xmm0, xmmword [rbx + 0x18]
movups xmmword [rsp + 0x88], xmm0
mov rax, qword [rbx + 0x28]
mov qword [rsp + 0x98], rax
mov rax, qword [rbx + 0x30]
mov qword [rsp + 0xa0], rax
mov qword [rbx + 0x28], rdi
mov qword [rbx + 0x30], rdi
mov rax, qword [rbx + 0x38]
mov qword [rsp + 0xa8], rax
mov rax, qword [rbx + 0x40]
mov qword [rsp + 0xb0], rax
mov rax, qword [rbx + 0x48]
mov qword [rsp + 0xb8], rax
mov qword [rbx + 0x40], rdi
mov qword [rbx + 0x48], rdi
mov rax, qword [rbx + 0x50]
mov qword [rsp + 0xc0], rax
mov rax, qword [rbx + 0x58]
mov qword [rbx + 0x58], rdi
mov qword [rsp + 0xc8], rax
mov byte [rsp + 0xd0], dil
movzx eax, byte [rbx + 0x68]
mov byte [rsp + 0xd8], al
movzx eax, byte [rbx + 0x70]
mov byte [rsp + 0xe0], al
mov byte [rbx + 0x70], dil
movzx eax, byte [rbx + 0x78]
mov byte [rsp + 0xe8], al
mov byte [rbx + 0x78], dil
nop
lea rcx, [rsp + 0x78]
call fcn.1400f25f0
nop
nop
cmp byte [rsp + 0xe8], 0
je 0x1400e8e6f
mov byte [rsp + 0xe8], 0
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rdi
mov byte [rsp + 0x58], 0
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0xa8]
call fcn.1400f39b0
nop
cmp byte [rsp + 0xe0], 0
je 0x1400e8f34
mov byte [rsp + 0xe0], 0
mov rax, qword [rsp + 0xc0]
movzx r14d, byte [rax + 0x950]
nop
mov rbx, qword [rsp + 0xc8]
test rbx, rbx
je 0x1400e92bb
movzx edi, byte [rsp + 0xd0]
test dil, dil
je 0x1400e8ed3
cmp byte [rbx + 0xb8], 0
jne 0x1400e92bb
test dil, dil
je 0x1400e8ed3
cmp byte [rbx + 0xb8], 0
jne 0x1400e92bb
lea rsi, [rbx + 0x20]
mov qword [rsp + 0x20], rsi
mov rcx, rsi
call fcn.1401abddc
test eax, eax
jne 0x1400e9295
mov eax, dword [rsi + 0x4c]
cmp eax, 0x7fffffff
je 0x1400e92a0
mov byte [rsp + 0x28], 1
cmp byte [rbx + 0xc1], 0
jne 0x1400e92b0
mov byte [rbx + 0xc], r14b
mov rax, qword [rbx]
xor r8d, r8d
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [rax + 0x28]
cmp byte [rsp + 0x28], 0
je 0x1400e8f44
mov rcx, qword [rsp + 0x20]
call fcn.1401abde4
jmp 0x1400e8f44
movzx edi, byte [rsp + 0xd0]
mov rbx, qword [rsp + 0xc8]
test rbx, rbx
je 0x1400e9153
test dil, dil
je 0x1400e8f5f
cmp byte [rbx + 0xb8], 0
jne 0x1400e9153
test rbx, rbx
je 0x1400e8f71
cmp dword [rbx + 0xbc], 0
je 0x1400e8f71
mov al, 1
jmp 0x1400e8f73
xor al, al
test al, al
jne 0x1400e9153
mov esi, 1
mov dword [rsp + 0x30], esi
lea rax, [0x140327ec8]
mov qword [rsp + 0x38], rax
lea r15, vtable.std::exception.0
mov qword [rsp + 0xf0], r15
xorps xmm0, xmm0
movups xmmword [rsp + 0xf8], xmm0
lea rax, [0x1401f6f75]
mov qword [rsp + 0x40], rax
mov byte [rsp + 0x48], sil
lea rdx, [rsp + 0xf8]
lea rcx, [rsp + 0x40]
call fcn.1401b029c
lea r14, vtable.std::future_error.0
mov qword [rsp + 0xf0], r14
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rsp + 0x108], xmm0
mov qword [rsp + 0x118], r15
xorps xmm0, xmm0
movups xmmword [rsp + 0x120], xmm0
lea rdx, [rsp + 0x120]
lea rcx, [rsp + 0xf8]
call fcn.1401b029c
mov qword [rsp + 0x118], r14
movups xmm0, xmmword [rsp + 0x108]
movups xmmword [rsp + 0x130], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
lea rcx, [rsp + 0x40]
call fcn.1401ad37c
lea r8, [0x1403189a0]
lea rdx, [rsp + 0x118]
lea rcx, [rsp + 0x40]
call fcn.1401ad350
mov qword [rsp + 0x118], r15
lea rcx, [rsp + 0x120]
call fcn.1401b032c
test rbx, rbx
je 0x1400e92ec
test dil, dil
je 0x1400e9085
cmp byte [rbx + 0xb8], 0
jne 0x1400e92ec
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x30]
call fcn.1401ad328
lea rdi, [rbx + 0x20]
mov qword [rsp + 0x60], rdi
mov rcx, rdi
call fcn.1401abddc
test eax, eax
jne 0x1400e92c6
mov eax, dword [rdi + 0x4c]
cmp eax, 0x7fffffff
je 0x1400e92d1
mov byte [rsp + 0x68], sil
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x20], xmm0
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x20]
call fcn.1401ad328
cmp byte [rbx + 0xc1], 0
jne 0x1400e92e1
lea rcx, [rbx + 0x10]
lea rdx, [rsp + 0x20]
call fcn.1401ad320
mov rax, qword [rbx]
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, rbx
call qword [rax + 0x28]
lea rcx, [rsp + 0x20]
call fcn.1401ad408
cmp byte [rsp + 0x68], 0
je 0x1400e9128
mov rcx, qword [rsp + 0x60]
call fcn.1401abde4
lea rcx, [rsp + 0x30]
call fcn.1401ad408
lea rcx, [rsp + 0x40]
call fcn.1401ad408
mov qword [rsp + 0xf0], r15
lea rcx, [rsp + 0xf8]
call fcn.1401b032c
jmp 0x1400e9158
mov esi, 1
mov edi, 0xffffffff
test rbx, rbx
je 0x1400e9197
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1400e9197
mov rcx, qword [rsp + 0xc8]
mov r8, qword [rcx + 0xc8]
test r8, r8
je 0x1400e918f
mov rax, qword [r8]
mov rdx, rcx
mov rcx, r8
call qword [rax]
jmp 0x1400e9197
mov rax, qword [rcx]
mov edx, esi
call qword [rax]
nop
mov rcx, qword [rsp + 0xb8]
test rcx, rcx
je 0x1400e91db
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400e91db
mov rbx, qword [rsp + 0xb8]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1400e91db
mov rcx, qword [rsp + 0xb8]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov rcx, qword [rsp + 0xa0]
test rcx, rcx
je 0x1400e921c
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400e921c
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 0x1400e921c
mov rcx, qword [rsp + 0xa0]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
jmp 0x1400e8d45
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
int3