Function at 0x1000e6a20
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rcx
push r12
push r15
sub rsp, 0x48
mov rax, qword [r8]
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x38], rsi
mov r15, rcx
mov rcx, r8
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x20], r14
mov rsi, r9
mov r12, rdx
call qword [rax + reloc.WS2_32.dll_htonl]
mov rcx, r15
call fcn.100117e70
mov rcx, rax
mov r8, qword [rax]
call qword [rreloc.WS2_32.dll_htonl + 8]
mov rax, qword [r15 + 0x40]
lea rcx, [r15 + 0x40]
call qword [rax + 0x28]
lea rcx, [r15 + 0x640]
mov rdx, r12
call fcn.1000e46f0
mov edi, dword [rsp + 0x80]
test dil, 2
je 0x1000e6c56
xor ebp, ebp
mov r14d, ebp
test rsi, rsi
je 0x1000e6c8c
mov qword [rsp + 0x28], r13
call fcn.100068a00
mov rbx, qword gs:[0x30]
mov rcx, rax
mov rdi, rax
add rbx, rax
call fcn.10006c530
test eax, eax
jne 0x1000e6ad3
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rbx, rbx
je 0x1000e6ae4
mov r15, qword [rbx + 0xd8]
test r15, r15
jne 0x1000e6b1b
call fcn.100063d30
call fcn.100068a00
mov r15, qword gs:[0x30]
mov rcx, rax
mov rbx, rax
add r15, rax
call fcn.10006c530
test eax, eax
jne 0x1000e6b14
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov r15, rax
mov r15, qword [r15 + 0xd8]
lea rcx, [r15 + 0x300]
call fcn.100065090
mov eax, dword [rsi + 0x40]
mov ecx, eax
xor ecx, 1
and ecx, eax
mov dword [rsi + 0x40], ecx
mov rdi, qword [r15 + 0x3a0]
mov rbx, qword [r15 + 0x2e8]
call fcn.10011b7d0
test eax, eax
je 0x1000e6b5d
lea rcx, [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov r11, qword [rsp + 0x68]
jmp 0x1000e6b65
mov r11, qword [0x7ffe0008]
cmp r11, rbx
jb 0x1000e6b6f
sub r11, rbx
jmp 0x1000e6b72
mov r11, rbp
lea rax, [r11 + rdi]
mov qword [rsi + 8], rax
cmp qword [r15 + 0x308], rbp
jne 0x1000e6b88
mov rax, rbp
jmp 0x1000e6bb2
rdtsc
shl rdx, 0x20
or rax, rdx
mov rcx, rax
mov rax, qword [r15 + 0x310]
cmp rcx, rax
jbe 0x1000e6ba5
sub rcx, rax
jmp 0x1000e6ba8
mov rcx, rbp
mov rax, qword [r15 + 0x318]
add rax, rcx
mov qword [rsi + 0x10], rax
mov rax, qword [r15 + 0xc8]
mov qword [rsi + 0x28], r15
mov qword [rsi + 0x18], rax
call fcn.100068a00
mov rbx, qword gs:[0x30]
mov rcx, rax
mov rdi, rax
add rbx, rax
call fcn.10006c530
mov r13, qword [rsp + 0x28]
test eax, eax
jne 0x1000e6bf5
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rbx, rbx
je 0x1000e6c06
mov rcx, qword [rbx + 0xd8]
test rcx, rcx
jne 0x1000e6c3d
call fcn.100063d30
call fcn.100068a00
mov rbx, qword gs:[0x30]
mov rcx, rax
mov rdi, rax
add rbx, rax
call fcn.10006c530
test eax, eax
jne 0x1000e6c36
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
mov rcx, qword [rbx + 0xd8]
mov eax, dword [rcx + 0x88]
mov r15, qword [rsp + 0x60]
mov dword [rsi + 4], eax
mov eax, dword [rcx + 0x8c]
mov dword [rsi + 0x20], eax
jmp 0x1000e6c8c
test rsi, rsi
je 0x1000e6c60
mov r14d, dword [rsi]
jmp 0x1000e6c6f
lea rcx, [r15 + 0x640]
call fcn.100117d60
mov r14d, eax
test dil, 1
mov ecx, r14d
mov ebp, 0
mov eax, 0x10
cmovne ecx, ebp
cmp r14d, eax
mov ebp, ecx
cmovb r14d, eax
mov ecx, dword [rsp + 0x88]
mov rdi, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x70]
mov eax, 1
mov dword [r12 + 0x60], ebp
mov rbp, qword [rsp + 0x40]
shl rax, cl
cmp dword [rsp + 0x90], 0
mov dword [r12 + 0x64], r14d
mov r14, qword [rsp + 0x20]
mov qword [r12 + 0x20], rax
jne 0x1000e6cd6
mov dword [r12 + 0x18], 2
lea rcx, [r15 + 0x940]
mov edx, 1
add rsp, 0x48
pop r15
pop r12
jmp fcn.100092f60