Function at 0x14002e010
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x440]
sub rsp, 0x540
mov rax, qword [0x1402cf480]
xor rax, rsp
mov qword [rbp + 0x438], rax
mov r14, rcx
xor r12d, r12d
mov ecx, 0x240
call fcn.1401fb140
mov rdi, rax
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x58], rax
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], r12
mov rbx, qword [r14 + 0xa8]
sub rbx, qword [r14 + 0xa0]
sar rbx, 4
test rbx, rbx
je 0x14002e143
movabs rax, 0xfffffffffffffff
cmp rbx, rax
ja 0x14002e9b1
shl rbx, 4
cmp rbx, 0x1000
jb 0x14002e0d6
lea rcx, [rbx + 0x27]
cmp rcx, rbx
jbe 0x14002e9b7
call fcn.1401fb140
test rax, rax
je 0x14002e0cf
lea rcx, [rax + 0x27]
and rcx, 0xffffffffffffffe0
mov qword [rcx - 8], rax
jmp 0x14002e0eb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rbx, rbx
je 0x14002e0e8
mov rcx, rbx
call fcn.1401fb140
mov rcx, rax
jmp 0x14002e0eb
mov rcx, r12
mov qword [rbp - 0x80], rcx
mov qword [rbp - 0x78], rcx
lea rax, [rcx + rbx]
mov qword [rbp - 0x70], rax
mov r8, qword [r14 + 0xa8]
mov rdx, qword [r14 + 0xa0]
cmp rdx, r8
je 0x14002e13f
nop
mov qword [rcx], r12
mov qword [rcx + 8], r12
mov rax, qword [rdx + 8]
test rax, rax
je 0x14002e124
lock inc dword [rax + 8]
mov rax, qword [rdx]
mov qword [rcx], rax
mov rax, qword [rdx + 8]
mov qword [rcx + 8], rax
add rcx, 0x10
add rdx, 0x10
cmp rdx, r8
jne 0x14002e110
mov qword [rbp - 0x78], rcx
mov eax, dword [r14 + 0xb8]
mov dword [rbp - 0x68], eax
mov eax, dword [r14 + 0xbc]
mov dword [rbp - 0x64], eax
mov eax, dword [r14 + 0xc0]
mov dword [rbp - 0x60], eax
mov eax, dword [r14 + 0xc4]
mov dword [rbp - 0x5c], eax
movzx eax, byte [r14 + 0xc8]
mov byte [rbp - 0x58], al
mov eax, dword [r14 + 0xcc]
mov dword [rbp - 0x54], eax
lea rdx, [r14 + 0xd0]
lea rcx, [rbp - 0x50]
call fcn.140032a90
mov eax, dword [r14 + 0xf0]
mov dword [rbp - 0x30], eax
mov eax, dword [r14 + 0xf4]
mov dword [rbp - 0x2c], eax
mov eax, dword [r14 + 0xf8]
mov dword [rbp - 0x28], eax
lea rdx, [rbp - 0x80]
mov rcx, rdi
call fcn.14005d990
nop
cmp dword [r14 + 0x7c], 1
je 0x14002e5d8
mov rdi, qword [r14 + 0xa0]
mov r15, qword [r14 + 0xa8]
cmp rdi, r15
je 0x14002e5d8
nop dword [rax]
mov rax, qword [rdi + 8]
test rax, rax
je 0x14002e1ed
lock inc dword [rax + 8]
mov rbx, qword [rdi]
mov qword [rsp + 0x60], rbx
mov rsi, qword [rdi + 8]
mov qword [rsp + 0x68], rsi
movzx ecx, word [rbx + 0x1c2]
lea r9, [rbp + 0x435]
nop dword [rax]
dec r9
mov eax, 0xcccccccd
mul ecx
mov r8d, edx
shr r8d, 3
movzx eax, r8b
shl al, 2
lea edx, [rax + r8]
add dl, dl
sub cl, dl
add cl, 0x30
mov byte [r9], cl
mov ecx, r8d
test r8d, r8d
jne 0x14002e210
xorps xmm0, xmm0
movups xmmword [rbp + 0x280], xmm0
mov qword [rbp + 0x290], r12
mov qword [rbp + 0x298], r12
lea rax, [rbp + 0x435]
cmp r9, rax
jne 0x14002e27d
mov qword [rbp + 0x290], r12
mov qword [rbp + 0x298], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x280], r8b
jmp 0x14002e297
lea r8, [rbp + 0x435]
sub r8, r9
mov rdx, r9
lea rcx, [rbp + 0x280]
call fcn.14003a5d0
nop
lea rdx, [rbx + 0xc0]
lea rcx, [rbp + 0x260]
call fcn.140032a90
nop
mov rdx, qword [rbp + 0x270]
mov r8, qword [rbp + 0x278]
mov rax, r8
sub rax, rdx
lea rcx, [rbp + 0x260]
cmp rax, 1
jb 0x14002e2fb
lea rax, [rdx + 1]
mov qword [rbp + 0x270], rax
cmp r8, 0xf
cmova rcx, qword [rbp + 0x260]
movzx eax, word [0x14028b7e0]
mov byte [rcx + rdx], al
mov byte [rcx + rdx + 1], 0
lea rax, [rbp + 0x260]
jmp 0x14002e317
mov qword [rsp + 0x20], 1
lea r9, [0x14028b7e0]
xor r8d, r8d
lea edx, [r8 + 1]
call fcn.14003ae10
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x2c0], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x2d0], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r9, [rbp + 0x280]
lea r8, [rbp + 0x2c0]
lea rcx, [rbp + 0x2a0]
call fcn.14003e020
nop
lea rdx, str.e_94m_i
lea rcx, [rbp + 0x70]
call fcn.14008dbb0
nop
lea rdx, str.Configured_pool
lea rcx, [rbp + 0x80]
call fcn.140035180
lea rdx, [rbp + 0x2a0]
cmp qword [rbp + 0x2b8], 0xf
cmova rdx, qword [rbp + 0x2a0]
mov r8, qword [rbp + 0x2b0]
lea rcx, [rbp + 0x80]
call fcn.14003f210
nop
lea rdx, [rbp + 0x2e0]
lea rcx, [rbp + 0x88]
call fcn.140033df0
lea rcx, [rbp + 0x2e0]
call fcn.14008df10
mov rdx, qword [rbp + 0x2f8]
cmp rdx, 0xf
jbe 0x14002e405
inc rdx
mov rcx, qword [rbp + 0x2e0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002e400
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002e6e4
call fcn.1401fb494
mov qword [rbp + 0x2f0], r12
mov qword [rbp + 0x2f8], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x2e0], 0
lea rcx, [rbp + 0x70]
call fcn.140004870
nop
mov rdx, qword [rbp + 0x2b8]
cmp rdx, 0xf
jbe 0x14002e469
inc rdx
mov rcx, qword [rbp + 0x2a0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002e464
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002e6eb
call fcn.1401fb494
mov qword [rbp + 0x2b0], r12
mov qword [rbp + 0x2b8], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x2a0], 0
mov rdx, qword [rbp + 0x2d8]
cmp rdx, 0xf
jbe 0x14002e4c3
inc rdx
mov rcx, qword [rbp + 0x2c0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002e4be
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002e6f2
call fcn.1401fb494
mov qword [rbp + 0x2d0], r12
mov qword [rbp + 0x2d8], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x2c0], 0
mov rdx, qword [rbp + 0x278]
cmp rdx, 0xf
jbe 0x14002e51d
inc rdx
mov rcx, qword [rbp + 0x260]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002e518
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002e6f9
call fcn.1401fb494
mov qword [rbp + 0x270], r12
mov qword [rbp + 0x278], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x260], 0
mov rdx, qword [rbp + 0x298]
cmp rdx, 0xf
jbe 0x14002e577
inc rdx
mov rcx, qword [rbp + 0x280]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002e572
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002e700
call fcn.1401fb494
mov qword [rbp + 0x290], r12
mov qword [rbp + 0x298], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x280], 0
test rsi, rsi
je 0x14002e5cb
mov eax, 0xffffffff
lock xadd dword [rsi + 8], eax
cmp eax, 1
jne 0x14002e5cb
mov rbx, qword [rsp + 0x68]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, 0xffffffff
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14002e5cb
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
add rdi, 0x10
cmp rdi, r15
jne 0x14002e1e0
lea rax, [rbp + 0x30]
mov qword [rsp + 0x58], rax
lea rdx, [r14 + 0x208]
lea rcx, [rbp + 0x30]
call fcn.140032a90
mov rbx, rax
lea rdx, [r14 + 0x1e0]
lea rcx, [rbp + 0x50]
call fcn.140032a90
nop
mov r9, rbx
mov r8d, dword [r14 + 0x200]
mov rdx, rax
lea rcx, [rbp + 0x320]
call fcn.140099370
nop
cmp dword [r14 + 0x200], 0
je 0x14002e635
lea rcx, [rbp + 0x320]
call fcn.1400994b0
mov rax, qword [0x1402da540]
mov byte [rax + 0x60], 1
mov byte [rax + 0x62], 1
lock inc dword [rax + 0x88]
lea rcx, [0x14005ffc0]
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x40], rax
movups xmm0, xmmword [rax + 0x160]
movups xmmword [rbp - 0x20], xmm0
movups xmm1, xmmword [rsp + 0x38]
movups xmmword [rbp - 0x10], xmm1
mov ecx, dword [0x1402daed4]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
lea rdx, [rbp - 0x10]
mov ecx, 0x58
call fcn.140021fa0
mov qword [rax + 0x20], r12
lea rcx, [0x1400583e0]
mov qword [rax + 0x28], rcx
mov qword [rax], r12
mov qword [rax + 8], r12
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], r12
mov dword [rax + 0x30], r12d
movups xmm0, xmmword [rbp - 0x20]
movups xmmword [rax + 0x38], xmm0
movups xmm1, xmmword [rbp - 0x10]
movups xmmword [rax + 0x48], xmm1
mov rcx, qword [0x1402da978]
lock inc dword [rcx + 0x30]
mov rdx, rax
call fcn.140022b10
movsxd rcx, dword [r14 + 0x168]
test rcx, rcx
js 0x14002e707
imul rax, rcx, 0xf4240
jmp 0x14002e718
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rax, rcx
neg rax
cmovs rax, rcx
imul rax, rax, 0xfffffffffff0bdc0
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x30]
lea rcx, [r14 + 0x18]
call fcn.14002f4c0
lea rax, [0x140027580]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], r14
movups xmm0, xmmword [r14 + 0x58]
movups xmmword [rbp], xmm0
movups xmm1, xmmword [rsp + 0x38]
movups xmmword [rbp + 0x10], xmm1
lea rdx, [rbp]
lea rcx, [r14 + 0x18]
call fcn.1400378b0
lea rbx, [r14 + 0x170]
mov qword [rsp + 0x70], rbx
mov byte [rsp + 0x78], 0
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x14002e785
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov eax, dword [rbx + 0x4c]
cmp eax, 0x7fffffff
jne 0x14002e7a0
dec eax
mov dword [rbx + 0x4c], eax
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov byte [rsp + 0x78], 1
cmp byte [0x1402da521], 0
je 0x14002e7c9
nop
mov rdx, rbx
lea rcx, [0x1402daa30]
call qword [sym.imp.MSVCP140.dll__Cnd_wait]
cmp byte [0x1402da521], 0
jne 0x14002e7b0
movzx eax, byte [rbp + 0x360]
test al, al
je 0x14002e874
movzx eax, byte [rbp + 0x360]
test al, al
je 0x14002e874
mov dword [rsp + 0x48], r12d
call fcn.1400b35b0
mov qword [rsp + 0x50], rax
mov rcx, qword [rbp + 0x390]
add rcx, 0x28
lea r9, [rsp + 0x48]
lea r8, [rbp + 0x398]
lea rdx, [rbp + 0x20]
call fcn.14006ace0
lea rax, [fcn.140015200]
cmp dword [rsp + 0x48], 0
cmove rax, r12
test rax, rax
jne 0x14002e99f
lea rcx, [rbp + 0x390]
call fcn.1400794c0
lea rcx, [rbp + 0x328]
call fcn.1400214e0
mov byte [rbp + 0x360], 0
mov rcx, qword [rbp + 0x408]
mov rdx, qword [rbp + 0x410]
cmp rcx, rdx
je 0x14002e874
call fcn.14003a6e0
mov rax, qword [rbp + 0x408]
mov qword [rbp + 0x410], rax
mov rax, qword [0x1402da540]
movzx ecx, byte [rax + 0x60]
nop
test cl, cl
je 0x14002e890
mov rcx, qword [0x1402da540]
call fcn.14005f840
lea rdx, str.e_94m_i
lea rcx, [rbp + 0x168]
call fcn.14008dbb0
nop
lea rdx, str.Terminated_
lea rcx, [rbp + 0x178]
call fcn.140035180
nop
lea rdx, [rbp + 0x300]
lea rcx, [rbp + 0x180]
call fcn.140033df0
lea rcx, [rbp + 0x300]
call fcn.14008df10
mov rdx, qword [rbp + 0x318]
cmp rdx, 0xf
jbe 0x14002e91b
inc rdx
mov rcx, qword [rbp + 0x300]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002e916
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002e916
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401fb494
lea rcx, [rbp + 0x168]
call fcn.140004870
nop
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
nop
lea rcx, [rbp + 0x408]
call fcn.14002f250
lea rcx, [rbp + 0x390]
call fcn.140033140
lea rcx, [rbp + 0x368]
call fcn.140033f30
lea rcx, [rbp + 0x340]
call fcn.140033f30
cmp dword [rbp + 0x330], 0
je 0x14002e974
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
mov rcx, qword [rbp + 0x438]
xor rcx, rsp
call fcn.1401fb000
lea r11, [rsp + 0x540]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
lea rdx, str.cancel
lea rcx, [rsp + 0x48]
call fcn.140021d20
nop
call fcn.140033c50
int3
call fcn.140003cb0
int3