Function at 0x14002f070
Capabilities:
Get thread local storage value

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x478]
sub rsp, 0x550
mov qword [rbp + 0x28], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x140329490]
xor rax, rsp
mov qword [rbp + 0x448], rax
mov r13, rcx
xor r14d, r14d
mov edi, r14d
mov dword [rsp + 0x30], r14d
mov ecx, 0x248
call fcn.140221304
mov rbx, rax
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x38]
mov qword [rsp + 0x50], rax
lea rsi, [r13 + 0xb0]
mov rdx, rsi
lea rcx, [rbp - 0x38]
call fcn.140030430
nop
mov ecx, dword [rsi + 0x18]
mov dword [rbp - 0x20], ecx
mov eax, dword [rsi + 0x1c]
mov dword [rbp - 0x1c], eax
mov eax, dword [rsi + 0x20]
mov dword [rbp - 0x18], eax
mov eax, dword [rsi + 0x24]
mov dword [rbp - 0x14], eax
movzx eax, byte [rsi + 0x28]
mov byte [rbp - 0x10], al
mov eax, dword [rsi + 0x2c]
mov dword [rbp - 0xc], eax
lea rdx, [rsi + 0x30]
lea rcx, [rbp - 8]
call fcn.140032810
mov eax, dword [rsi + 0x50]
mov dword [rbp + 0x18], eax
mov eax, dword [rsi + 0x54]
mov dword [rbp + 0x1c], eax
movss xmm0, dword [rsi + 0x58]
movss dword [rbp + 0x20], xmm0
lea rdx, [rbp - 0x38]
mov rcx, rbx
call fcn.140064660
nop
mov r15d, 1
cmp dword [r13 + 0x8c], r15d
je 0x14002f6b2
mov r14, qword [rsi]
mov r12, qword [rsi + 8]
cmp r14, r12
je 0x14002f6af
mov rsi, qword [r14 + 8]
test rsi, rsi
je 0x14002f179
lock inc dword [rsi + 8]
mov rsi, qword [r14 + 8]
mov edi, dword [rsp + 0x30]
mov rbx, qword [r14]
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], rsi
movzx r8d, word [rbx + 0x1c2]
lea r9, [rbp + 0x445]
nop word [rax + rax]
dec r9
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub r8b, cl
add r8b, 0x30
mov byte [r9], r8b
mov r8d, edx
test edx, edx
jne 0x14002f1a0
mov qword [rbp + 0x2c8], 0
mov qword [rbp + 0x2d0], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x2b8], dl
lea rax, [rbp + 0x445]
cmp r9, rax
je 0x14002f20b
lea r8, [rbp + 0x445]
sub r8, r9
mov rdx, r9
lea rcx, [rbp + 0x2b8]
call fcn.140035b50
or edi, 3
lea rdx, [rbx + 0xc0]
lea rcx, [rbp + 0x2d8]
call fcn.140032810
nop
mov rcx, qword [rbp + 0x2e8]
mov rdx, qword [rbp + 0x2f0]
mov rax, rdx
sub rax, rcx
cmp rax, 1
jb 0x14002f27c
lea rax, [rcx + 1]
mov qword [rbp + 0x2e8], rax
lea rbx, [rbp + 0x2d8]
cmp rdx, 0x10
cmovae rbx, qword [rbp + 0x2d8]
add rbx, rcx
mov r8, r15
lea rdx, [0x1402bc8cc]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 1], 0
lea rax, [rbp + 0x2d8]
jmp 0x14002f29a
mov qword [rsp + 0x20], r15
lea r9, [0x1402bc8cc]
xor r8d, r8d
mov rdx, r15
lea rcx, [rbp + 0x2d8]
call fcn.14003fb90
xor ebx, ebx
mov qword [rbp + 0x2a8], rbx
mov qword [rbp + 0x2b0], rbx
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x298], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x2a8], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], bl
mov rdx, qword [rbp + 0x2b0]
mov rax, rdx
mov r9, qword [rbp + 0x2a8]
sub rax, r9
mov rcx, qword [rbp + 0x2d0]
mov r8, qword [rbp + 0x2c8]
cmp r8, rax
jbe 0x14002f320
mov rax, rcx
sub rax, r8
cmp rax, r9
jb 0x14002f320
lea r8, [rbp + 0x298]
cmp rdx, 0x10
cmovae r8, qword [rbp + 0x298]
lea rcx, [rbp + 0x2b8]
call fcn.140044910
jmp 0x14002f33f
lea rdx, [rbp + 0x2b8]
cmp rcx, 0x10
cmovae rdx, qword [rbp + 0x2b8]
lea rcx, [rbp + 0x298]
call fcn.140035ca0
mov qword [rbp + 0x288], rbx
mov qword [rbp + 0x290], rbx
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x278], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x288], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
or edi, 0x1c
lea rdx, str.e_94m_i
lea rcx, [rbp + 0x88]
call fcn.14009c790
nop
lea rdx, str.Configured_pool
lea rcx, [rbp + 0x98]
call fcn.140037990
lea rdx, [rbp + 0x278]
cmp qword [rbp + 0x290], 0x10
cmovae rdx, qword [rbp + 0x278]
mov r8, qword [rbp + 0x288]
lea rcx, [rbp + 0x98]
call fcn.140045690
nop
mov qword [rbp + 0x308], rbx
mov qword [rbp + 0x310], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x2f8], 0
mov eax, edi
or eax, 0x40
mov dword [rsp + 0x30], eax
mov ecx, dword [rbp + 0x110]
test cl, 2
jne 0x14002f425
mov rax, qword [rbp + 0xe0]
mov r8, qword [rax]
test r8, r8
je 0x14002f425
mov rax, qword [rbp + 0xc0]
mov rdx, qword [rax]
mov qword [rsp + 0x50], r8
cmp r8, qword [rbp + 0x108]
cmovb r8, qword [rbp + 0x108]
sub r8, rdx
jmp 0x14002f453
test cl, 4
jne 0x14002f45f
mov rax, qword [rbp + 0xd8]
mov rcx, qword [rax]
test rcx, rcx
je 0x14002f45f
mov rax, qword [rbp + 0xb8]
mov rdx, qword [rax]
mov rax, qword [rbp + 0xf0]
movsxd r8, dword [rax]
sub r8, rdx
add r8, rcx
lea rcx, [rbp + 0x2f8]
call fcn.140035b50
and edi, 0xffffffbf
or edi, 0x20
mov dword [rsp + 0x30], edi
lea rcx, [rbp + 0x2f8]
call fcn.14009cb90
mov rdx, qword [rbp + 0x310]
cmp rdx, 0x10
jb 0x14002f4b6
inc rdx
mov rcx, qword [rbp + 0x2f8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002f4b1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002f68c
call fcn.1402216cc
mov qword [rbp + 0x308], rbx
mov qword [rbp + 0x310], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x2f8], 0
lea rcx, [rbp + 0x88]
call fcn.140004f70
nop
mov rdx, qword [rbp + 0x290]
cmp rdx, 0x10
jb 0x14002f51d
inc rdx
mov rcx, qword [rbp + 0x278]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002f518
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002f693
call fcn.1402216cc
mov qword [rbp + 0x288], rbx
mov qword [rbp + 0x290], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x278], 0
mov rdx, qword [rbp + 0x2b0]
cmp rdx, 0x10
jb 0x14002f577
inc rdx
mov rcx, qword [rbp + 0x298]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002f572
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002f69a
call fcn.1402216cc
mov qword [rbp + 0x2a8], rbx
mov qword [rbp + 0x2b0], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x298], 0
mov rdx, qword [rbp + 0x2f0]
cmp rdx, 0x10
jb 0x14002f5d1
inc rdx
mov rcx, qword [rbp + 0x2d8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002f5cc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002f6a1
call fcn.1402216cc
mov qword [rbp + 0x2e8], rbx
mov qword [rbp + 0x2f0], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x2d8], 0
mov rdx, qword [rbp + 0x2d0]
cmp rdx, 0x10
jb 0x14002f62b
inc rdx
mov rcx, qword [rbp + 0x2b8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002f626
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002f6a8
call fcn.1402216cc
mov qword [rbp + 0x2c8], rbx
mov qword [rbp + 0x2d0], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x2b8], 0
test rsi, rsi
je 0x14002f683
mov eax, 0xffffffff
lock xadd dword [rsi + 8], eax
cmp eax, 1
jne 0x14002f67f
mov rbx, qword [rsp + 0x40]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, 0xffffffff
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14002f67f
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov edi, dword [rsp + 0x30]
add r14, 0x10
jmp 0x14002f15b
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
xor r14d, r14d
lea rax, [rbp + 0x48]
mov qword [rsp + 0x58], rax
lea rdx, [r13 + 0x220]
lea rcx, [rbp + 0x48]
call fcn.140032810
mov rdi, rax
mov qword [rsp + 0x60], rax
lea rdx, [r13 + 0x1f8]
lea rcx, [rbp + 0x68]
call fcn.140032810
mov rsi, rax
mov qword [rsp + 0x58], rax
mov ebx, dword [r13 + 0x218]
mov dword [rbp + 0x320], r14d
mov qword [rbp + 0x328], r14
mov dword [rbp + 0x330], r14d
mov byte [rbp + 0x338], 0
mov qword [rbp + 0x350], r14
mov qword [rbp + 0x358], r14
movups xmm0, xmmword [rdi]
movaps xmmword [rbp + 0x340], xmm0
movups xmm1, xmmword [rdi + 0x10]
movaps xmmword [rbp + 0x350], xmm1
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdi], 0
mov byte [rbp + 0x360], 0
mov rdx, rax
lea rcx, [rbp + 0x368]
call fcn.140032810
nop
lea rdx, [0x1403378e8]
lea rcx, [rbp + 0x390]
call fcn.1400873b0
nop
lea rcx, [rbp + 0x408]
call fcn.140025560
mov qword [rbp + 0x418], r14
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x420], xmm0
test ebx, ebx
jns 0x14002f795
neg bx
mov eax, r15d
jmp 0x14002f798
mov eax, r14d
mov word [rbp + 0x388], bx
xchg byte [rbp + 0x338], al
mov rcx, rsi
call fcn.140035780
nop
mov rcx, rdi
call fcn.140035780
nop
cmp dword [r13 + 0x218], 0
je 0x14002f7cd
lea rcx, [rbp + 0x320]
call fcn.1400aa0a0
mov rax, qword [0x1403375d8]
mov byte [rax + 0x60], 1
mov byte [rax + 0x62], 1
lock xadd dword [rax + 0x88], r15d
lea rcx, [0x140066fb0]
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x70], rax
movups xmm1, xmmword [rax + 0x188]
movups xmmword [rbp - 0x78], xmm1
movups xmm0, xmmword [rsp + 0x68]
movups xmmword [rbp - 0x68], xmm0
psrldq xmm1, 8
movq rbx, xmm1
mov ecx, dword [0x140338560]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14002f833
cmp qword [rax], rbx
je 0x14002f833
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x14002f825
lea rdx, [rbp - 0x68]
mov ecx, 0x58
call fcn.140022520
mov qword [rax + 0x20], r14
lea rcx, [0x14005f4f0]
mov qword [rax + 0x28], rcx
mov qword [rax], r14
mov qword [rax + 8], r14
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], r14
mov dword [rax + 0x30], r14d
movups xmm0, xmmword [rbp - 0x78]
movups xmmword [rax + 0x38], xmm0
movups xmm1, xmmword [rbp - 0x68]
movups xmmword [rax + 0x48], xmm1
mov rcx, qword [0x1403378f8]
lock inc dword [rcx + 0x30]
mov rdx, rax
call fcn.1400235f0
mov eax, dword [r13 + 0x180]
imul rcx, rax, 0xf4240
mov qword [rsp + 0x48], rcx
lea rdx, [rsp + 0x48]
lea rcx, [r13 + 0x18]
call fcn.140030c10
lea rax, [0x140027ff0]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], r13
movups xmm0, xmmword [r13 + 0x68]
movups xmmword [rbp - 0x58], xmm0
movups xmm1, xmmword [rsp + 0x38]
movups xmmword [rbp - 0x48], xmm1
mov rsi, qword [r13 + 0x18]
lea rax, [rbp - 0x58]
mov qword [rbp + 0x30], rax
lea rdx, [rbp - 0x48]
mov ecx, 0x78
call fcn.140022520
mov qword [rbp + 0x38], rax
lea r8, [r13 + 0x58]
lea rdx, [rbp - 0x58]
mov rcx, rax
call fcn.1400518a0
mov qword [rbp + 0x40], rax
mov byte [r13 + 0x28], 1
lea r9, [r13 + 0x30]
lea rdx, [rsi + 0x28]
mov qword [rsp + 0x20], rax
lea r8, [r13 + 0x20]
mov rcx, qword [rsi + 0x68]
call fcn.140053040
nop
lea rbx, [r13 + 0x188]
mov qword [rsp + 0x78], rbx
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x14002f941
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
mov byte [rbp - 0x80], 1
cmp byte [0x1403375c0], 0
je 0x14002f975
nop
mov rdx, rbx
lea rcx, [0x140337b20]
call qword [sym.imp.MSVCP140.dll__Cnd_wait]
test eax, eax
je 0x14002f96c
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
cmp byte [0x1403375c0], 0
jne 0x14002f950
movzx eax, byte [rbp + 0x360]
test al, al
je 0x14002f98c
lea rcx, [rbp + 0x320]
call fcn.1400aa7f0
mov rax, qword [0x1403375d8]
movzx ecx, byte [rax + 0x60]
test cl, cl
je 0x14002f9a7
mov rcx, qword [0x1403375d8]
call fcn.140066810
lea rdx, str.e_94m_i
lea rcx, [rbp + 0x180]
call fcn.14009c790
nop
lea rdx, str.Terminated_
lea rcx, [rbp + 0x190]
call fcn.140037990
nop
lea rcx, [rbp + 0x180]
call fcn.140030280
nop
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
test eax, eax
je 0x14002f9f4
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
nop
mov rcx, qword [rbp + 0x418]
test rcx, rcx
je 0x14002fa60
mov rdx, qword [rbp + 0x420]
call fcn.14003fdb0
mov rdx, qword [rbp + 0x428]
mov rcx, qword [rbp + 0x418]
sub rdx, rcx
and rdx, 0xfffffffffffffff0
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002fa49
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002fa49
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1402216cc
mov qword [rbp + 0x418], r14
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x420], xmm0
lea rcx, [rbp + 0x390]
call fcn.140034110
lea rcx, [rbp + 0x368]
call fcn.140035780
lea rcx, [rbp + 0x340]
call fcn.140035780
cmp dword [rbp + 0x330], 0
je 0x14002fa94
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
mov rcx, qword [rbp + 0x448]
xor rcx, rsp
call fcn.140220f90
lea r11, [rsp + 0x550]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret