Function at 0x14014fd20
Capabilities:
Get thread local storage value

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], r9
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x70
mov rsi, r8
mov r14, rdx
mov rbx, rcx
mov rdi, qword [r8]
lea rdx, [rax + 0x20]
lea rcx, [rdi + 0x20]
call fcn.14011b650
lea rax, [rbx - 0x48]
xor r12d, r12d
test rbx, rbx
cmove rax, r12
mov qword [rsp + 0x48], rax
mov rax, qword [r14]
mov qword [rsp + 0x50], rax
mov rax, qword [r14 + 8]
mov qword [rsp + 0x58], rax
mov qword [r14], r12
mov qword [r14 + 8], r12
mov rax, qword [rsi]
mov qword [rsp + 0x60], rax
mov rax, qword [rsi + 8]
mov qword [rsp + 0x68], rax
mov qword [rsi], r12
mov qword [rsi + 8], r12
mov rbp, qword [rdi + 0x20]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
mov ecx, dword [0x1403509d8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14014fdbe
mov rdx, qword [rax + 8]
jmp 0x14014fdc1
mov rdx, r12
mov r9d, 8
mov r8d, 0xb0
movzx ecx, byte [rsp + 0xc0]
call fcn.1400aa650
mov rbx, rax
mov qword [rsp + 0x38], rax
mov qword [rax + 0x20], r12
lea rax, [0x140153cd0]
mov qword [rbx + 0x28], rax
mov qword [rbx], r12
mov qword [rbx + 8], r12
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], r12
mov dword [rbx + 0x30], r12d
mov dword [rbx + 0x38], r12d
lea rax, [0x1403275b8]
mov qword [rbx + 0x40], rax
mov qword [rbx + 0x48], r12
mov rax, qword [rsp + 0x48]
mov qword [rbx + 0x50], rax
mov qword [rbx + 0x58], r12
mov qword [rbx + 0x60], r12
mov rax, qword [rsp + 0x50]
mov qword [rbx + 0x58], rax
mov rax, qword [rsp + 0x58]
mov qword [rbx + 0x60], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
mov qword [rbx + 0x68], r12
mov qword [rbx + 0x70], r12
mov rax, qword [rsp + 0x60]
mov qword [rbx + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rbx + 0x70], rax
movdqu xmmword [rsp + 0x60], xmm0
lea rcx, [rbx + 0x78]
lea r9, [rdi + 0x60]
xor r8d, r8d
xor edx, edx
call fcn.1400d4c90
mov qword [rsp + 0x40], rbx
mov byte [rdi + 0x30], 1
lea r9, [rdi + 0x38]
lea rdx, [rbp + 0x28]
mov qword [rsp + 0x20], rbx
lea r8, [rdi + 0x28]
mov rcx, qword [rbp + 0x58]
call fcn.1400cfd10
nop
mov ebx, 0xffffffff
mov rdi, qword [rsp + 0x68]
test rdi, rdi
je 0x14014fed1
mov eax, ebx
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x14014fed1
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
mov eax, ebx
lock xadd dword [rdi + 0xc], eax
cmp eax, 1
jne 0x14014fed1
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.WS2_32.dll_htonl]
mov rdi, qword [rsp + 0x58]
test rdi, rdi
je 0x14014ff05
mov eax, ebx
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x14014ff05
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
mov eax, ebx
lock xadd dword [rdi + 0xc], eax
cmp eax, 1
jne 0x14014ff05
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov rdi, qword [r14 + 8]
test rdi, rdi
je 0x14014ff38
mov eax, ebx
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x14014ff38
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
mov eax, ebx
lock xadd dword [rdi + 0xc], eax
cmp eax, 1
jne 0x14014ff38
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov rdi, qword [rsi + 8]
test rdi, rdi
je 0x14014ff68
mov eax, ebx
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x14014ff68
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
lock xadd dword [rdi + 0xc], ebx
cmp ebx, 1
jne 0x14014ff68
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.WS2_32.dll_htonl]
add rsp, 0x70
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret