Function at 0x18000f7b0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x120]
sub rsp, 0x220
mov rax, qword [0x18009e010]
xor rax, rsp
mov qword [rbp + 0x118], rax
mov r13, r9
mov dword [rsp + 0x38], r8d
mov qword [rsp + 0x30], rdx
mov r12, rcx
mov qword [rbp], r9
mov r15, qword [rbp + 0x180]
mov qword [rbp + 8], r15
mov rdi, qword [r9 + 8]
test rdi, rdi
je 0x18000f810
lock inc dword [rdi + 8]
mov rdi, qword [r9 + 8]
mov rbx, qword [r9]
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rdi
mov r14, qword [r9 + 0x10]
mov qword [rsp + 0x50], r14
mov rsi, qword [rcx + 0x20]
test rsi, rsi
je 0x18000f854
nop
lea rcx, [rsp + 0x40]
call fcn.180010320
sub rsi, 1
jne 0x18000f830
mov r14, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
mov r8d, dword [rsp + 0x38]
mov dword [r12 + 0x28], r8d
mov ecx, r8d
movabs rdx, 0x2aaaaaaaaaaaaaab
xor r8d, r8d
lea esi, [r8 - 1]
cmp ecx, 1
jne 0x18000f917
test rdi, rdi
je 0x18000f88e
lock inc dword [rdi + 8]
mov r14, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
mov qword [rsp + 0x78], rbx
mov qword [rbp - 0x80], rdi
mov qword [rbp - 0x78], r14
mov rcx, qword [r13 + 8]
test rcx, rcx
je 0x18000f8bb
lock inc dword [rcx + 8]
mov rcx, qword [r13 + 8]
mov r14, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
mov rax, qword [r13]
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], rcx
mov rax, qword [r13 + 0x10]
mov qword [rbp - 0x60], rax
lea rdx, [rsp + 0x78]
lea rcx, [rbp - 0x70]
call fcn.180010680
mov qword [r12 + 0x20], rax
test rbx, rbx
jne 0x18000f8ec
cmp qword [r15], rbx
je 0x18000f8ff
cmp rbx, qword [r15]
jne 0x18000fc93
cmp r14, qword [r15 + 0x10]
jne 0x18000fc93
cmp dword [rsp + 0x38], 0
jne 0x18000fb74
xor r8d, r8d
movabs rdx, 0x2aaaaaaaaaaaaaab
test rbx, rbx
jne 0x18000f925
cmp qword [r15], rbx
je 0x18000f9fc
cmp rbx, qword [r15]
jne 0x18000f934
cmp r14, qword [r15 + 0x10]
je 0x18000f9fc
mov rax, qword [r12]
cmp qword [rax + 8], 0xffffffffffffffff
je 0x18000f9db
mov rax, qword [rsp + 0x30]
cmp dword [rax], 0
je 0x18000fa06
inc r14
mov qword [rsp + 0x50], r14
mov rcx, qword [rbx + 8]
sub rcx, qword [rbx]
mov rax, rdx
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp r14, rdx
jne 0x18000f9d1
mov rbx, r8
mov qword [rsp + 0x40], rbx
mov r14, rdi
mov rdi, r8
mov qword [rsp + 0x48], r8
test r14, r14
je 0x18000f9c9
mov eax, esi
lock xadd dword [r14 + 8], eax
cmp eax, 1
jne 0x18000f9bf
mov rax, qword [r14]
mov rcx, r14
call qword [rax]
mov eax, esi
lock xadd dword [r14 + 0xc], eax
cmp eax, 1
jne 0x18000f9bc
mov rax, qword [r14]
mov rcx, r14
call qword [rax + reloc.WS2_32.dll_htonl]
xor r8d, r8d
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
mov r14, r8
mov qword [rsp + 0x50], r8
inc qword [r12 + 0x20]
jmp 0x18000f876
call fcn.180003050
mov dword [rsp + 0x58], 0x3e3
mov qword [rsp + 0x60], rax
movups xmm0, xmmword [rsp + 0x58]
mov rax, qword [rsp + 0x30]
movups xmmword [rax], xmm0
jmp 0x18000fa01
mov rax, qword [rsp + 0x30]
cmp dword [rax], 0
jne 0x18000fa4f
test rbx, rbx
jne 0x18000fa10
cmp qword [r15], rbx
je 0x18000fa4f
cmp rbx, qword [r15]
jne 0x18000fa1b
cmp r14, qword [r15 + 0x10]
je 0x18000fa4f
lea rax, [r14 + r14*2]
shl rax, 5
add rax, qword [rbx]
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xf0], xmm0
movsd xmm1, qword [rax + 0x10]
movsd qword [rbp + 0x100], xmm1
mov eax, dword [rax + 0x18]
mov dword [rbp + 0x108], eax
lea rcx, [rbp + 0xf0]
jmp 0x18000fa74
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x88], xmm0
xor eax, eax
mov dword [rbp + 0x98], eax
mov qword [rbp + 0x80], 2
lea rcx, [rbp + 0x80]
mov rax, qword [r12 + 0x40]
mov qword [rbp + 0x48], rax
mov rax, qword [rsp + 0x30]
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x50], xmm0
movups xmm1, xmmword [rcx]
movups xmmword [rbp + 0x60], xmm1
movsd xmm0, qword [rcx + 0x10]
movsd qword [rbp + 0x70], xmm0
mov eax, dword [rcx + 0x18]
mov dword [rbp + 0x78], eax
mov r14, qword [r12 + 0x30]
mov rbx, qword [r12 + 0x38]
mov ecx, dword [0x1800a2b60]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x18000fad2
nop dword [rax + rax]
cmp qword [rax], rbx
je 0x18000fb56
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x18000fac0
lea rax, [rbp + 0x48]
mov qword [rbp + 0x10], rax
lea rdx, [rbp + 0x48]
mov ecx, 0x78
call fcn.180005020
mov r8, rax
xor ecx, ecx
mov qword [rax + 0x20], rcx
lea rax, [0x180012180]
mov qword [r8 + 0x28], rax
mov qword [r8], rcx
mov qword [r8 + 8], rcx
mov qword [r8 + 0x10], rcx
mov qword [r8 + 0x18], rcx
mov dword [r8 + 0x30], ecx
mov rax, qword [rbp + 0x48]
mov qword [r8 + 0x38], rax
movups xmm0, xmmword [rbp + 0x50]
movups xmmword [r8 + 0x40], xmm0
movups xmm0, xmmword [rbp + 0x60]
movups xmmword [r8 + 0x50], xmm0
movsd xmm1, qword [rbp + 0x70]
movsd qword [r8 + 0x60], xmm1
mov eax, dword [rbp + 0x78]
mov dword [r8 + 0x68], eax
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x18], rcx
lea rdx, [r12 + 0x38]
mov rcx, r14
call fcn.180008740
nop
jmp 0x18000fd57
cmp qword [rax + 8], 0
je 0x18000fad2
lea rdx, [rbp + 0x48]
lea rcx, [rbp + 0x48]
call fcn.1800129d0
nop
jmp 0x18000fd57
call fcn.180003270
mov dword [rsp + 0x58], 3
mov qword [rsp + 0x60], rax
mov rbx, qword [r12]
mov qword [rbp - 0x58], rbx
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x50], xmm0
mov rcx, qword [r12 + 0x10]
test rcx, rcx
je 0x18000fbb2
lock inc dword [rcx + 8]
mov rcx, qword [r12 + 0x10]
mov rbx, qword [r12]
mov rdi, qword [rsp + 0x48]
mov rax, qword [r12 + 8]
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], rcx
mov rax, qword [r12 + 0x18]
mov qword [rbp - 0x40], rax
mov rax, qword [r12 + 0x20]
mov qword [rbp - 0x38], rax
mov eax, dword [r12 + 0x28]
mov dword [rbp - 0x30], eax
movups xmm0, xmmword [r12 + 0x30]
movups xmmword [rbp - 0x28], xmm0
mov rax, qword [r12 + 0x40]
mov qword [rbp - 0x18], rax
movups xmm0, xmmword [rsp + 0x58]
movups xmmword [rbp - 0x10], xmm0
mov rcx, qword [rbx + 0x78]
mov qword [rbp + 0xd0], rcx
mov rax, qword [rbx + 0x88]
mov qword [rbp + 0xe0], rax
mov rax, qword [rcx + 8]
lea rdx, [rbx + 0x68]
lea rcx, [rbp + 0xc0]
call rax
nop
mov rax, qword [rbx + 0x90]
mov qword [rbp + 0xe8], rax
lea rdx, [rbp - 0x58]
lea rcx, [rbp + 0xc0]
call fcn.18000fe20
nop
mov rax, qword [rbp + 0xd0]
mov rdx, qword [rax]
lea rcx, [rbp + 0xc0]
call rdx
nop
mov rbx, qword [rbp - 0x48]
test rbx, rbx
je 0x18000fd57
mov eax, esi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x18000fc89
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x18000fc89
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
mov rdi, qword [rsp + 0x48]
jmp 0x18000fd57
mov r8, qword [r12]
mov rcx, qword [r8]
add rcx, 0x28
add r8, 8
mov r9, qword [rsp + 0x30]
lea rdx, [rbp + 0x28]
call fcn.180007f10
mov r10, qword [r12]
mov qword [rsp + 0x30], r10
lea rax, [r14 + r14*2]
shl rax, 5
add rax, qword [rbx]
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xa0], xmm0
movsd xmm1, qword [rax + 0x10]
movsd qword [rbp + 0xb0], xmm1
mov eax, dword [rax + 0x18]
mov dword [rbp + 0xb8], eax
xor eax, eax
mov dword [rsp + 0x68], eax
lea rax, [0x18009ed88]
mov qword [rsp + 0x70], rax
lea r8, [r10 + 8]
cmp qword [r8], 0xffffffffffffffff
jne 0x18000fd38
mov eax, 0x17
mov ecx, 2
cmp word [rbp + 0xa0], cx
cmove eax, ecx
mov dword [rsp + 0x38], eax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x38]
lea rdx, [rbp + 0x38]
mov rcx, qword [r10]
call fcn.1800103d0
mov r10, qword [rsp + 0x30]
mov qword [rsp + 0x30], r10
lea r9, [rsp + 0x68]
lea r8, [rbp + 0xa0]
mov rdx, r12
lea rcx, [rsp + 0x30]
call fcn.180010840
nop
test rdi, rdi
je 0x18000fd8d
mov eax, esi
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x18000fd8d
mov rbx, qword [rsp + 0x48]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x18000fd8d
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov rbx, qword [r13 + 8]
test rbx, rbx
je 0x18000fdc0
mov eax, esi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x18000fdc0
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x18000fdc0
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov rbx, qword [r15 + 8]
test rbx, rbx
je 0x18000fdf0
mov eax, esi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x18000fdf0
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], esi
cmp esi, 1
jne 0x18000fdf0
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
mov rcx, qword [rbp + 0x118]
xor rcx, rsp
call fcn.180049ee0
mov rbx, qword [rsp + 0x270]
add rsp, 0x220
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret