Function at 0x140089d20
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x100]
sub rsp, 0x200
mov rax, qword [0x14032aa00]
xor rax, rsp
mov qword [rbp + 0xf0], rax
mov rbx, rdx
mov rdi, rcx
xor esi, esi
cmp qword [rcx + 0x20], rsi
je 0x140089d79
mov rcx, qword [rcx + 0x18]
mov qword [rbp + 0x38], rcx
mov rax, qword [rdi + 0x28]
mov qword [rbp + 0x48], rax
mov rax, qword [rcx + 8]
mov rdx, rdi
lea rcx, [rbp + 0x20]
call rax
jmp 0x140089d85
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x38], xmm0
mov qword [rbp + 0x48], rsi
mov rcx, qword [rdi + 0x30]
mov qword [rbp + 0x50], rcx
mov rax, qword [rbx]
mov qword [rbp + 0x58], rax
mov rax, qword [rbx + 8]
mov qword [rbp + 0x60], rax
mov rax, qword [rbx + 0x10]
mov qword [rbp + 0x68], rax
mov rax, qword [rbx + 0x18]
mov qword [rbp + 0x70], rax
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], rsi
mov rax, qword [rbx + 0x20]
mov qword [rbp + 0x78], rax
mov rax, qword [rbx + 0x28]
mov qword [rbp + 0x80], rax
mov qword [rbx + 0x20], rsi
mov qword [rbx + 0x28], rsi
mov rax, qword [rbx + 0x30]
mov qword [rbp + 0x88], rax
mov rax, qword [rbx + 0x38]
mov qword [rbp + 0x90], rax
mov rax, qword [rbx + 0x40]
mov qword [rbp + 0x98], rax
mov qword [rbx + 0x38], rsi
mov qword [rbx + 0x40], rsi
movzx eax, byte [rbx + 0x48]
mov byte [rbp + 0xa0], al
mov byte [rbx + 0x48], 0
movups xmm0, xmmword [rbx + 0x50]
movups xmmword [rbp + 0xa8], xmm0
cmp qword [rbp + 0x40], 0
je 0x14008a0b2
mov rbx, qword [rcx + 0x58]
mov rax, qword [rbp + 0x38]
mov rdx, qword [rax + 0x18]
lea rcx, [rbp + 0x20]
call rdx
lea r8, [rsp + 0x20]
mov rdx, rax
lea rcx, [rsp + 0x50]
call rbx
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0xb8]
call fcn.1400d7820
mov rax, qword [rbp - 0x80]
mov qword [rbp + 0xe8], rax
lea rax, [0x14020a7c0]
mov qword [rbp - 0x80], rax
cmp qword [rsp + 0x70], 0
je 0x140089e7c
mov rax, qword [rsp + 0x68]
mov rdx, qword [rax]
lea rcx, [rsp + 0x50]
call rdx
nop
cmp qword [rdi + 0x20], 0
je 0x14008a0c8
mov rcx, qword [rdi + 0x28]
mov rax, qword [rcx + 0x18]
test rax, rax
je 0x140089ec3
lea rcx, [0x1400b91d0]
mov qword [rsp + 0x30], rcx
lea rcx, [rbp + 0x58]
mov qword [rsp + 0x38], rcx
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
lea rdx, [rsp + 0x30]
mov rcx, rdi
call rax
jmp 0x140089f65
mov r15, qword [rcx + 0x10]
lea rdx, [rbp + 0x58]
lea rcx, [rbp - 0x78]
call fcn.1400d63b0
mov r14, rax
mov qword [rsp + 0x30], rax
mov ecx, dword [0x1403509d8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140089ef1
mov rsi, qword [rax + 8]
mov r9d, 8
mov r8d, 0xa8
mov rdx, rsi
movzx ecx, byte [rsp + 0x20]
call fcn.1400aa770
mov rbx, rax
lea rcx, [rax + 8]
mov rdx, r14
call fcn.1400d63b0
lea rax, [0x1400b91e0]
mov qword [rbx], rax
mov qword [rsp + 0x20], rbx
lea rcx, [r14 + 0x60]
cmp qword [rcx + 0x20], 0
je 0x140089f3d
mov rax, qword [rcx + 0x18]
mov rdx, qword [rax]
call rdx
nop
lea rcx, [r14 + 8]
call fcn.1400dcc80
nop
lea rdx, [rsp + 0x20]
mov rcx, rdi
call r15
nop
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x140089f65
mov rax, qword [rcx]
xor edx, edx
call rax
nop
cmp qword [rbp + 0xd8], 0
je 0x140089f83
mov rax, qword [rbp + 0xd0]
mov rdx, qword [rax]
lea rcx, [rbp + 0xb8]
call rdx
nop
movzx edx, byte [rbp + 0xa0]
test dl, dl
je 0x140089fd6
mov rax, qword [rbp + 0x88]
lea rcx, [rax + 0x58]
mov qword [rsp + 0x30], rax
mov rax, qword [rbp + 0x90]
mov qword [rsp + 0x38], rax
mov rax, qword [rbp + 0x98]
mov qword [rsp + 0x40], rax
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x90], xmm0
mov byte [rsp + 0x48], dl
mov byte [rbp + 0xa0], 0
lea rdx, [rsp + 0x30]
call fcn.1400c9ba0
mov edi, 0xffffffff
mov rbx, qword [rbp + 0x98]
test rbx, rbx
je 0x14008a011
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14008a011
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14008a011
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov rbx, qword [rbp + 0x80]
test rbx, rbx
je 0x14008a046
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14008a046
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14008a046
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
mov rbx, qword [rbp + 0x70]
test rbx, rbx
je 0x14008a077
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14008a077
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x14008a077
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
nop
cmp qword [rbp + 0x40], 0
je 0x14008a08c
mov rax, qword [rbp + 0x38]
mov rdx, qword [rax]
lea rcx, [rbp + 0x20]
call rdx
nop
mov rcx, qword [rbp + 0xf0]
xor rcx, rsp
call fcn.1401ae6a0
mov rbx, qword [rsp + 0x240]
add rsp, 0x200
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
lea rcx, [rsp + 0x30]
call fcn.1400d7910
nop
lea rcx, [rsp + 0x30]
call fcn.1400d01d0
nop
lea rcx, [rsp + 0x30]
call fcn.1400d7910
nop
lea rcx, [rsp + 0x30]
call fcn.1400d01d0
int3