Function at 0x1800123f0
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 - 0x150]
sub rsp, 0x250
mov rax, qword [0x1800a0040]
xor rax, rsp
mov qword [rbp + 0x140], rax
mov r13, r9
mov dword [rsp + 0x60], r8d
mov qword [rsp + 0x40], rdx
mov r12, rcx
mov qword [rbp + 0x28], r9
mov r15, qword [rbp + 0x1b0]
mov qword [rbp + 0x30], r15
mov rax, qword [r9 + 8]
test rax, rax
je 0x18001244c
lock inc dword [rax + 8]
mov rbx, qword [r9]
mov qword [rsp + 0x48], rbx
mov rdi, qword [r9 + 8]
mov qword [rsp + 0x50], rdi
mov rsi, qword [r9 + 0x10]
mov qword [rsp + 0x58], rsi
mov r14, qword [rcx + 0x20]
test r14, r14
je 0x180012494
nop
lea rcx, [rsp + 0x48]
call fcn.180012fa0
sub r14, 1
jne 0x180012470
mov rsi, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x48]
mov r8d, dword [rsp + 0x60]
mov dword [r12 + 0x28], r8d
mov ecx, r8d
movabs rdx, 0x2aaaaaaaaaaaaaab
xor r8d, r8d
lea r14d, [r8 - 1]
cmp ecx, 1
jne 0x180012555
test rdi, rdi
je 0x1800124ce
lock inc dword [rdi + 8]
mov rsi, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x48]
mov qword [rbp - 0x60], rbx
mov qword [rbp - 0x58], rdi
mov qword [rbp - 0x50], rsi
mov rax, qword [r13 + 8]
test rax, rax
je 0x1800124f6
lock inc dword [rax + 8]
mov rsi, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x48]
mov rax, qword [r13]
mov qword [rbp - 0x48], rax
mov rax, qword [r13 + 8]
mov qword [rbp - 0x40], rax
mov rax, qword [r13 + 0x10]
mov qword [rbp - 0x38], rax
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x48]
call fcn.180013110
mov qword [r12 + 0x20], rax
test rbx, rbx
jne 0x18001252a
cmp qword [r15], rbx
je 0x18001253d
cmp rbx, qword [r15]
jne 0x1800128cc
cmp rsi, qword [r15 + 0x10]
jne 0x1800128cc
cmp dword [rsp + 0x60], 0
jne 0x1800127ad
xor r8d, r8d
movabs rdx, 0x2aaaaaaaaaaaaaab
test rbx, rbx
jne 0x180012563
cmp qword [r15], rbx
je 0x180012628
cmp rbx, qword [r15]
jne 0x180012572
cmp rsi, qword [r15 + 0x10]
je 0x180012628
mov rax, qword [r12]
cmp qword [rax + 8], 0xffffffffffffffff
je 0x180012619
mov rax, qword [rsp + 0x40]
cmp dword [rax], 0
je 0x180012632
inc rsi
mov qword [rsp + 0x58], rsi
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 rsi, rdx
jne 0x18001260f
mov rbx, r8
mov qword [rsp + 0x48], rbx
mov rsi, rdi
mov rdi, r8
mov qword [rsp + 0x50], r8
test rsi, rsi
je 0x180012607
mov eax, r14d
lock xadd dword [rsi + 8], eax
cmp eax, 1
jne 0x1800125fd
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax]
mov eax, r14d
lock xadd dword [rsi + 0xc], eax
cmp eax, 1
jne 0x1800125fa
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + reloc.WS2_32.dll_htonl]
xor r8d, r8d
mov rbx, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
mov rsi, r8
mov qword [rsp + 0x58], r8
inc qword [r12 + 0x20]
jmp 0x1800124b6
mov edx, 0x3e3
mov rcx, qword [rsp + 0x40]
call fcn.18000f540
mov rax, qword [rsp + 0x40]
cmp dword [rax], 0
jne 0x18001267b
test rbx, rbx
jne 0x18001263c
cmp qword [r15], rbx
je 0x18001267b
cmp rbx, qword [r15]
jne 0x180012647
cmp rsi, qword [r15 + 0x10]
je 0x18001267b
lea rax, [rsi + rsi*2]
shl rax, 5
add rax, qword [rbx]
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x118], xmm0
movsd xmm1, qword [rax + 0x10]
movsd qword [rbp + 0x128], xmm1
mov eax, dword [rax + 0x18]
mov dword [rbp + 0x130], eax
lea rcx, [rbp + 0x118]
jmp 0x1800126a0
xorps xmm0, xmm0
movdqu xmmword [rbp + 0xb0], xmm0
xor edx, edx
mov dword [rbp + 0xc0], edx
mov qword [rbp + 0xa8], 2
lea rcx, [rbp + 0xa8]
mov rax, qword [r12 + 0x40]
mov qword [rbp + 0x70], rax
mov rax, qword [rsp + 0x40]
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x78], xmm0
movups xmm1, xmmword [rcx]
movups xmmword [rbp + 0x88], xmm1
movsd xmm0, qword [rcx + 0x10]
movsd qword [rbp + 0x98], xmm0
mov eax, dword [rcx + 0x18]
mov dword [rbp + 0xa0], eax
mov rsi, qword [r12 + 0x30]
mov rbx, qword [r12 + 0x38]
mov ecx, dword [0x1800a4950]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x180012702
cmp qword [rax], rbx
je 0x18001278f
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x1800126f0
lea rax, [rbp + 0x70]
mov qword [rbp + 0x38], rax
lea rdx, [rbp + 0x70]
mov ecx, 0x78
call fcn.1800072d0
mov r8, rax
xor edx, edx
mov qword [rax + 0x20], rdx
lea rax, [0x180014da0]
mov qword [r8 + 0x28], rax
mov qword [r8], rdx
mov qword [r8 + 8], rdx
mov qword [r8 + 0x10], rdx
mov qword [r8 + 0x18], rdx
mov dword [r8 + 0x30], edx
mov rcx, qword [rbp + 0x70]
mov qword [r8 + 0x38], rcx
movups xmm0, xmmword [rbp + 0x78]
movups xmmword [r8 + 0x40], xmm0
movups xmm0, xmmword [rbp + 0x88]
movups xmmword [r8 + 0x50], xmm0
movsd xmm1, qword [rbp + 0x98]
movsd qword [r8 + 0x60], xmm1
mov eax, dword [rbp + 0xa0]
mov dword [r8 + 0x68], eax
mov qword [rbp + 0x48], rdx
mov qword [rbp + 0x40], rdx
lea rdx, [r12 + 0x38]
mov rcx, rsi
call fcn.18000b150
nop
jmp 0x1800129da
cmp qword [rax + 8], 0
je 0x180012702
lea rdx, [rbp + 0x70]
lea rcx, [rbp + 0x70]
call fcn.180015390
nop
jmp 0x1800129da
mov edx, 3
mov rbx, qword [rsp + 0x40]
mov rcx, rbx
call fcn.18000f5d0
mov rax, qword [r12]
mov qword [rbp - 0x30], rax
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x28], xmm0
mov rax, qword [r12 + 0x10]
test rax, rax
je 0x1800127e2
lock inc dword [rax + 8]
mov rdi, qword [rsp + 0x50]
mov rax, qword [r12 + 8]
mov qword [rbp - 0x28], rax
mov rax, qword [r12 + 0x10]
mov qword [rbp - 0x20], rax
mov rax, qword [r12 + 0x18]
mov qword [rbp - 0x18], rax
mov rax, qword [r12 + 0x20]
mov qword [rbp - 0x10], rax
mov eax, dword [r12 + 0x28]
mov dword [rbp - 8], eax
movups xmm0, xmmword [r12 + 0x30]
movups xmmword [rbp], xmm0
mov rax, qword [r12 + 0x40]
mov qword [rbp + 0x10], rax
movups xmm0, xmmword [rbx]
movups xmmword [rbp + 0x18], xmm0
mov rbx, qword [r12]
mov rcx, qword [rbx + 0x78]
mov qword [rbp + 0xf8], rcx
mov rax, qword [rbx + 0x88]
mov qword [rbp + 0x108], rax
mov rax, qword [rcx + 8]
lea rdx, [rbx + 0x68]
lea rcx, [rbp + 0xe8]
call rax
nop
mov rax, qword [rbx + 0x90]
mov qword [rbp + 0x110], rax
lea rdx, [rbp - 0x30]
lea rcx, [rbp + 0xe8]
call fcn.180012ab0
nop
mov rax, qword [rbp + 0xf8]
mov rdx, qword [rax]
lea rcx, [rbp + 0xe8]
call rdx
nop
mov rbx, qword [rbp - 0x20]
test rbx, rbx
je 0x1800129da
mov eax, r14d
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1800128c2
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r14d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1800128c2
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
mov rdi, qword [rsp + 0x50]
jmp 0x1800129da
mov r8, qword [r12]
mov rcx, qword [r8]
add rcx, 0x28
add r8, 8
mov r9, qword [rsp + 0x40]
lea rdx, [rbp + 0x50]
call fcn.18000a680
mov rcx, qword [r12]
mov qword [rsp + 0x40], rcx
lea rax, [rsi + rsi*2]
shl rax, 5
add rax, qword [rbx]
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xc8], xmm0
movsd xmm1, qword [rax + 0x10]
movsd qword [rbp + 0xd8], xmm1
mov eax, dword [rax + 0x18]
mov dword [rbp + 0xe0], eax
xor edx, edx
mov dword [rsp + 0x70], edx
lea rax, [0x1800a0df8]
mov qword [rsp + 0x78], rax
lea rsi, [rcx + 8]
cmp qword [rsi], 0xffffffffffffffff
jne 0x1800129bb
mov ebx, 0x17
mov eax, 2
cmp word [rbp + 0xc8], ax
cmove ebx, eax
mov rcx, qword [rcx]
add rcx, 0x28
lea rax, [rsp + 0x70]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 6
mov dword [rsp + 0x20], 1
mov r9d, ebx
mov r8, rsi
lea rdx, [rbp + 0x60]
call fcn.18000a760
cmp dword [rax], 0
jne 0x1800129b6
mov dword [rsi + 0x38], ebx
mov byte [rsi + 0x3c], 0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x78], xmm1
xor ecx, ecx
mov dword [rbp - 0x68], ecx
mov qword [rbp - 0x80], 2
movups xmm0, xmmword [rbp - 0x80]
movups xmmword [rsi + 0x40], xmm0
unpckhpd xmm1, xmm1
movsd qword [rsi + 0x50], xmm1
mov dword [rsi + 0x58], ecx
mov rcx, qword [rsp + 0x40]
mov qword [rsp + 0x40], rcx
lea r9, [rsp + 0x70]
lea r8, [rbp + 0xc8]
mov rdx, r12
lea rcx, [rsp + 0x40]
call fcn.1800132e0
nop
test rdi, rdi
je 0x180012a12
mov eax, r14d
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x180012a12
mov rbx, qword [rsp + 0x50]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r14d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x180012a12
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov rbx, qword [r13 + 8]
test rbx, rbx
je 0x180012a47
mov eax, r14d
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x180012a47
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r14d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x180012a47
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 0x180012a7a
mov eax, r14d
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x180012a7a
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], r14d
cmp r14d, 1
jne 0x180012a7a
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.180050570
mov rbx, qword [rsp + 0x2a0]
add rsp, 0x250
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret