Function at 0x1000e6d00
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push r12
sub rsp, 0x48
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], rbp
mov rsi, rdx
mov r12, rcx
mov qword [rsp + 0x78], rdi
xor edx, edx
mov rcx, rsi
mov qword [rsp + 0x38], r14
mov rbp, r9
mov qword [rsp + 0x30], r15
mov rbx, r8
call fcn.100119100
xor r14d, r14d
cmp dword [rsi + 0x88], 2
mov rdx, rsi
mov edi, r14d
sete dil
test edi, edi
je 0x1000e6d5e
lea rcx, [r12 + 0x7a0]
call fcn.1000e7a20
jmp 0x1000e6d6c
mov r8d, 1
mov rcx, r12
call fcn.1000e65a0
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
mov r9, qword [r12 + 0x610]
mov r8, qword [rsp + 0x80]
mov rdx, rbp
mov rcx, rsi
mov qword [rsp + 0x20], rbx
call fcn.1000e7e90
test edi, edi
jne 0x1000e6da7
xor r8d, r8d
mov rdx, rsi
mov rcx, r12
call fcn.1000e65a0
lea rcx, [r12 + 0x640]
mov rdx, rsi
call fcn.1000e46f0
mov edi, dword [rsp + 0x90]
test dil, 2
je 0x1000e6f8a
mov rbp, qword [rsp + 0x88]
mov r15d, r14d
test rbp, rbp
je 0x1000e6fc6
mov qword [rsp + 0x40], 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 0x1000e6e0c
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rbx, rbx
je 0x1000e6e1d
mov r13, qword [rbx + 0xd8]
test r13, r13
jne 0x1000e6e54
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 0x1000e6e4d
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
mov r13, qword [rbx + 0xd8]
lea rcx, [r13 + 0x300]
call fcn.100065090
mov eax, dword [rbp + 0x40]
mov ecx, eax
xor ecx, 1
and ecx, eax
mov dword [rbp + 0x40], ecx
mov rdi, qword [r13 + 0x3a0]
mov rbx, qword [r13 + 0x2e8]
call fcn.10011b7d0
test eax, eax
je 0x1000e6e96
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov r11, qword [rsp + 0x60]
jmp 0x1000e6e9e
mov r11, qword [0x7ffe0008]
cmp r11, rbx
jb 0x1000e6ea8
sub r11, rbx
jmp 0x1000e6eab
mov r11, r14
lea rax, [r11 + rdi]
mov qword [rbp + 8], rax
cmp qword [r13 + 0x308], r14
jne 0x1000e6ec1
mov rax, r14
jmp 0x1000e6eeb
rdtsc
shl rdx, 0x20
or rax, rdx
mov rcx, rax
mov rax, qword [r13 + 0x310]
cmp rcx, rax
jbe 0x1000e6ede
sub rcx, rax
jmp 0x1000e6ee1
mov rcx, r14
mov rax, qword [r13 + 0x318]
add rax, rcx
mov qword [rbp + 0x10], rax
mov rax, qword [r13 + 0xc8]
mov qword [rbp + 0x28], r13
mov qword [rbp + 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 + 0x40]
test eax, eax
jne 0x1000e6f2e
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rbx, rbx
je 0x1000e6f3f
mov rcx, qword [rbx + 0xd8]
test rcx, rcx
jne 0x1000e6f76
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 0x1000e6f6f
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
mov rcx, qword [rbx + 0xd8]
mov eax, dword [rcx + 0x88]
mov dword [rbp + 4], eax
mov eax, dword [rcx + 0x8c]
mov dword [rbp + 0x20], eax
jmp 0x1000e6fc6
mov rax, qword [rsp + 0x88]
test rax, rax
je 0x1000e6f9c
mov r15d, dword [rax]
jmp 0x1000e6fac
lea rcx, [r12 + 0x640]
call fcn.100117d60
mov r15d, eax
test dil, 1
mov ecx, r15d
mov eax, 0x10
cmovne ecx, r14d
cmp r15d, eax
cmovb r15d, eax
mov r14d, ecx
mov ecx, dword [rsp + 0x98]
mov rdi, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x68]
mov eax, 1
mov dword [rsi + 0x60], r14d
mov r14, qword [rsp + 0x38]
shl rax, cl
cmp dword [rsp + 0xa0], 0
mov dword [rsi + 0x64], r15d
mov r15, qword [rsp + 0x30]
mov qword [rsi + 0x20], rax
jne 0x1000e700b
mov dword [rsi + 0x18], 2
lea rcx, [r12 + 0x940]
mov edx, 1
add rsp, 0x48
pop r12
pop rsi
jmp fcn.100092f60