Function at 0x14015dcf0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0x100
mov r13, rdx
mov rdi, rcx
xor r14d, r14d
lea rbx, [rcx + 0x120]
mov qword [rbp - 0x29], rbx
mov byte [rbp - 0x21], r14b
mov rcx, rbx
call fcn.14025a74c
test eax, eax
jne 0x14015e47d
mov eax, dword [rbx + 0x4c]
cmp eax, 0x7fffffff
je 0x14015e488
mov byte [rbp - 0x21], 1
lea rbx, [rdi + 0x1e0]
mov qword [rbp - 0x39], rbx
mov byte [rbp - 0x31], r14b
mov rcx, rbx
call fcn.14025a74c
test eax, eax
jne 0x14015e498
mov eax, dword [rbx + 0x4c]
cmp eax, 0x7fffffff
je 0x14015e4a3
mov byte [rbp - 0x31], 1
lea rbx, [rdi + 0x340]
mov qword [rbp - 0x49], rbx
mov byte [rbp - 0x41], r14b
mov rcx, rbx
call fcn.14025a74c
test eax, eax
jne 0x14015e4b3
mov eax, dword [rbx + 0x4c]
cmp eax, 0x7fffffff
je 0x14015e4be
mov byte [rbp - 0x41], 1
lea rax, [fcn.140063630]
cmp dword [r13], r14d
cmove rax, r14
mov rsi, qword [rdi + 0x1d0]
test rsi, rsi
je 0x14015e02d
test rax, rax
je 0x14015e06b
movabs r9, 0x7fffffffffffffff
mov rax, qword [rsi]
mov qword [rdi + 0x1d0], rax
test rax, rax
jne 0x14015ddf8
mov qword [rdi + 0x1d8], r14
mov qword [rsi], r14
mov r8, qword [rdi + 0x3b0]
test r8, r8
je 0x14015e00f
cmp qword [rdi + 0x2d8], 0
je 0x14015e00f
mov rdx, qword [rdi + 0x3a8]
mov rcx, qword [rdi + 0x3a0]
dec rcx
mov rax, rdx
shr rax, 2
and rcx, rax
and edx, 3
mov rax, qword [rdi + 0x398]
mov rcx, qword [rax + rcx*8]
mov r12d, dword [rcx + rdx*4]
lea rax, [r8 - 1]
mov qword [rdi + 0x3b0], rax
test rax, rax
jne 0x14015de5f
mov qword [rdi + 0x3a8], r14
jmp 0x14015de66
inc qword [rdi + 0x3a8]
mov rcx, qword [rdi + 0x2c8]
dec rcx
and rcx, qword [rdi + 0x2d0]
mov rax, qword [rdi + 0x2c0]
mov r15, qword [rax + rcx*8]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r14
mov rbx, qword [r15 + 8]
sub rbx, qword [r15]
je 0x14015df13
cmp rbx, r9
ja 0x14015e4d4
cmp rbx, 0x1000
jb 0x14015ded4
lea rcx, [rbx + 0x27]
cmp rcx, rbx
jbe 0x14015e4ce
call fcn.1402802bc
test rax, rax
je 0x14015e4e0
lea r14, [rax + 0x27]
and r14, 0xffffffffffffffe0
mov qword [r14 - 8], rax
jmp 0x14015dedf
mov rcx, rbx
call fcn.1402802bc
mov r14, rax
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], r14
lea rcx, [r14 + rbx]
mov qword [rsp + 0x40], rcx
mov rbx, qword [r15 + 8]
mov rdx, qword [r15]
sub rbx, rdx
mov r8, rbx
mov rcx, r14
call fcn.140282ac0
lea rax, [rbx + r14]
mov qword [rsp + 0x38], rax
xor r14d, r14d
mov rcx, qword [rdi + 0x2c8]
dec rcx
and rcx, qword [rdi + 0x2d0]
mov rax, qword [rdi + 0x2c0]
mov rbx, qword [rax + rcx*8]
mov rcx, qword [rbx]
test rcx, rcx
je 0x14015df73
mov rdx, qword [rbx + 0x10]
sub rdx, rcx
cmp rdx, 0x1000
jb 0x14015df63
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14015e4da
mov rcx, r8
call fcn.140280300
mov qword [rbx], r14
mov qword [rbx + 8], r14
mov qword [rbx + 0x10], r14
sub qword [rdi + 0x2d8], 1
jne 0x14015df86
mov qword [rdi + 0x2d0], r14
jmp 0x14015df8d
inc qword [rdi + 0x2d0]
mov rax, qword [rsi + 0x10]
test rax, rax
je 0x14015dfa5
lea rdx, [rsp + 0x30]
mov rcx, rsi
call rax
mov rbx, rax
jmp 0x14015dfa8
mov rbx, r14
mov rax, qword [rsi + 0x18]
test rax, rax
je 0x14015dfb4
mov dword [rax], r12d
mov dword [rbp - 0x19], r14d
call fcn.14018e9e0
mov qword [rbp - 0x11], rax
mov r9, rbx
lea r8, [rbp - 0x19]
xor edx, edx
mov rcx, rsi
call qword [rsi + reloc.WS2_32.dll_htonl]
nop
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14015e01d
mov rdx, qword [rsp + 0x40]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14015e008
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14015e4e0
call fcn.140280300
jmp 0x14015e01d
xor r9d, r9d
mov r8, r13
xor edx, edx
mov rcx, rsi
call qword [rsi + reloc.WS2_32.dll_htonl]
mov rsi, qword [rdi + 0x1d0]
test rsi, rsi
jne 0x14015ddd8
mov rcx, qword [rbp - 0x49]
call fcn.14025a770
nop
mov rcx, qword [rbp - 0x39]
call fcn.14025a770
nop
mov rcx, qword [rbp - 0x29]
call fcn.14025a770
lea r11, [rsp + 0x100]
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
cmp qword [rdi + 0x3b0], 0
je 0x14015e02d
cmp qword [rdi + 0x2d8], 0
je 0x14015e02d
mov rax, qword [rsi]
mov qword [rdi + 0x1d0], rax
test rax, rax
jne 0x14015e095
mov qword [rdi + 0x1d8], r14
mov qword [rsi], r14
mov rdx, qword [rdi + 0x3a8]
mov rcx, qword [rdi + 0x3a0]
dec rcx
mov rax, rdx
shr rax, 2
and rcx, rax
and edx, 3
mov rax, qword [rdi + 0x398]
mov rcx, qword [rax + rcx*8]
mov r13d, dword [rcx + rdx*4]
sub qword [rdi + 0x3b0], 1
jne 0x14015e0d8
mov qword [rdi + 0x3a8], r14
jmp 0x14015e0df
inc qword [rdi + 0x3a8]
mov rcx, qword [rdi + 0x2c8]
dec rcx
and rcx, qword [rdi + 0x2d0]
mov rax, qword [rdi + 0x2c0]
mov r15, qword [rax + rcx*8]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
mov qword [rbp - 0x71], r14
mov rbx, qword [r15 + 8]
sub rbx, qword [r15]
je 0x14015e196
movabs rax, 0x7fffffffffffffff
cmp rbx, rax
ja 0x14015e4e6
cmp rbx, 0x1000
jb 0x14015e15a
lea rcx, [rbx + 0x27]
cmp rcx, rbx
jbe 0x14015e4ec
call fcn.1402802bc
test rax, rax
je 0x14015e471
lea r14, [rax + 0x27]
and r14, 0xffffffffffffffe0
mov qword [r14 - 8], rax
jmp 0x14015e165
mov rcx, rbx
call fcn.1402802bc
mov r14, rax
mov qword [rsp + 0x48], r14
mov qword [rbp - 0x79], r14
lea rcx, [r14 + rbx]
mov qword [rbp - 0x71], rcx
mov rbx, qword [r15 + 8]
mov rdx, qword [r15]
sub rbx, rdx
mov r8, rbx
mov rcx, r14
call fcn.140282ac0
lea rax, [r14 + rbx]
mov qword [rbp - 0x79], rax
xor r14d, r14d
lea rcx, [rdi + 0x2b8]
call fcn.14015d920
mov rax, qword [rsi + 0x10]
test rax, rax
je 0x14015e1ba
lea rdx, [rsp + 0x48]
mov rcx, rsi
call rax
mov rdx, rax
jmp 0x14015e1bd
mov rdx, r14
mov rax, qword [rsi + 0x18]
test rax, rax
je 0x14015e1c9
mov dword [rax], r13d
mov rax, qword [rdi + 0x18]
mov rcx, qword [rax]
mov rax, qword [rcx + 0x28]
mov qword [rbp - 9], rsi
mov qword [rbp - 1], rdx
mov rbx, qword [rax + 0x10]
lea rdx, [rbp - 9]
mov ecx, 0x48
call fcn.140062870
mov qword [rax + 0x20], r14
lea rcx, [0x140136610]
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 - 9]
movups xmmword [rax + 0x38], xmm0
lock inc dword [rbx + 0x30]
mov rdx, rax
mov rcx, rbx
call fcn.140064ee0
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x20], xmm0
mov rdx, qword [rdi + 8]
test rdx, rdx
je 0x14015e477
mov eax, dword [rdx + 8]
test eax, eax
je 0x14015e477
nop dword [rax]
lea ecx, [rax + 1]
lock cmpxchg dword [rdx + 8], ecx
je 0x14015e264
test eax, eax
je 0x14015e477
jmp 0x14015e250
mov r8, qword [rdi]
mov qword [rsp + 0x20], r8
mov rdx, qword [rdi + 8]
mov rbx, rdx
mov qword [rsp + 0x28], rdx
mov qword [rbp + 0xf], rdi
test rdx, rdx
je 0x14015e28f
lock inc dword [rdx + 8]
mov rbx, qword [rsp + 0x28]
mov r8, qword [rsp + 0x20]
mov qword [rbp + 0x17], r8
mov qword [rbp + 0x1f], rbx
mov rax, qword [rdi + 0x18]
mov rcx, qword [rax]
mov rax, qword [rcx + 0x28]
mov qword [rbp - 0x69], rdi
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x61], xmm0
test rdx, rdx
je 0x14015e2c1
lock inc dword [rdx + 8]
mov rbx, qword [rsp + 0x28]
mov r8, qword [rsp + 0x20]
mov qword [rbp - 0x61], r8
mov qword [rbp - 0x59], rbx
mov rdi, qword [rax + 0x10]
mov ecx, dword [0x1403e78ac]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14015e2f2
nop
cmp qword [rax], rdi
je 0x14015e3d8
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x14015e2e0
lea rdx, [rbp - 0x69]
mov ecx, 0x50
call fcn.140062870
mov rdx, rax
mov qword [rax + 0x20], r14
lea rax, [0x14013f120]
mov qword [rdx + 0x28], rax
mov qword [rdx], r14
mov qword [rdx + 8], r14
mov qword [rdx + 0x10], 0
mov qword [rdx + 0x18], r14
mov dword [rdx + 0x30], r14d
mov rcx, qword [rbp - 0x69]
mov qword [rdx + 0x38], rcx
mov qword [rdx + 0x40], r14
mov qword [rdx + 0x48], r14
mov rax, qword [rbp - 0x61]
mov qword [rdx + 0x40], rax
mov rax, qword [rbp - 0x59]
mov qword [rdx + 0x48], rax
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x61], xmm0
lock inc dword [rdi + 0x30]
mov rcx, rdi
call fcn.140064ee0
mov rbx, qword [rsp + 0x28]
mov esi, 0xffffffff
mov rdi, qword [rbp - 0x59]
test rdi, rdi
je 0x14015e39e
mov eax, esi
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x14015e399
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
mov eax, esi
lock xadd dword [rdi + 0xc], eax
cmp eax, 1
jne 0x14015e399
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.WS2_32.dll_htonl]
mov rbx, qword [rsp + 0x28]
test rbx, rbx
je 0x14015e3fd
mov eax, esi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14015e3f8
mov rbx, qword [rsp + 0x28]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14015e3f8
mov rbx, qword [rsp + 0x28]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
jmp 0x14015e3fd
cmp qword [rax + 8], 0
je 0x14015e2f2
nop
lea rdx, [rbp - 0x69]
lea rcx, [rbp - 0x69]
call fcn.14009bd70
nop
nop
jmp 0x14015e362
mov rbx, qword [rsp + 0x28]
test rbx, rbx
je 0x14015e431
mov eax, esi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14015e431
mov rbx, qword [rsp + 0x28]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], esi
cmp esi, 1
jne 0x14015e431
mov rcx, qword [rsp + 0x28]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14015e02d
mov rdx, qword [rbp - 0x71]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14015e467
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14015e471
call fcn.140280300
jmp 0x14015e02d
call fcn.1402874fc
nop
call fcn.140091610
nop
mov ecx, 5
call fcn.14025a9e4
int3
dec eax
mov dword [rbx + 0x4c], eax
mov ecx, 6
call fcn.14025a9e4
nop
mov ecx, 5
call fcn.14025a9e4
int3
dec eax
mov dword [rbx + 0x4c], eax
mov ecx, 6
call fcn.14025a9e4
nop
mov ecx, 5
call fcn.14025a9e4
int3
dec eax
mov dword [rbx + 0x4c], eax
mov ecx, 6
call fcn.14025a9e4
nop
call fcn.140061e10
int3
call fcn.140058f50
nop
call fcn.1402874fc
nop
call fcn.1402874fc
int3
call fcn.140058f50
int3
call fcn.140061e10
int3