Function at 0x1000e0ff0
Capabilities:
Get thread local storage value

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], r9
mov qword [rax + 0x18], r8
mov dword [rax + 0x10], edx
mov qword [rax + 8], rcx
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xf0
mov qword [rax - 0x80], 0xfffffffffffffffe
mov r15, rcx
call fcn.100068a00
mov rdi, rax
mov r10, qword gs:[0x30]
lea rbx, [r10 + rax]
mov rcx, rax
call fcn.10006c530
test eax, eax
jne 0x1000e104b
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rbx, rbx
je 0x1000e105c
mov rax, qword [rbx + 0xd8]
test rax, rax
jne 0x1000e1094
call fcn.100063d30
call fcn.100068a00
mov rbx, rax
mov rcx, qword gs:[0x30]
lea rdi, [rcx + rax]
mov rcx, rax
call fcn.10006c530
test eax, eax
jne 0x1000e108d
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, rax
mov rax, qword [rdi + 0xd8]
mov rax, qword [rax + 0x210]
mov qword [rsp + 0x60], rax
xor edi, edi
mov r14d, edi
lea rsi, [r15 + 0x180]
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x50], rdi
mov dword [rsp + 0x58], edi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x48], rsi
mov rcx, rsi
call fcn.1000de720
mov qword [rsp + 0x38], rax
mov rcx, rsi
call fcn.1000de7d0
mov qword [rsp + 0x40], rax
or r12d, 0xffffffff
mov r13d, r12d
nop word [rax + rax]
mov rbx, rdi
test r14, r14
jne 0x1000e1102
mov rbx, qword [rsp + 0x38]
jmp 0x1000e120c
mov rax, qword [rsp + 0x38]
test rax, rax
je 0x1000e120c
cmp rax, qword [rsp + 0x40]
je 0x1000e11da
call fcn.100064800
mov edx, eax
xor eax, eax
lock cmpxchg dword [rsi + 0x10], edx
mov ecx, edi
sete cl
test ecx, ecx
jne 0x1000e113b
lea rcx, [rsi + 0x10]
call fcn.100057bf0
mov rbx, qword [r14 + 0x10]
cmp rbx, qword [rsp + 0x48]
je 0x1000e1151
test rbx, rbx
je 0x1000e1151
add rbx, 0xfffffffffffffff8
jmp 0x1000e1154
mov rbx, rdi
test rbx, rbx
je 0x1000e11ab
nop dword [rax]
mov ecx, dword [rbx + 0x18]
test ecx, ecx
je 0x1000e118d
nop word [rax + rax]
lea edx, [rcx + 1]
mov eax, ecx
lock cmpxchg dword [rbx + 0x18], edx
cmp ecx, eax
je 0x1000e1189
pause
mov ecx, dword [rbx + 0x18]
test ecx, ecx
jne 0x1000e1170
jmp 0x1000e118d
test edx, edx
jne 0x1000e11ab
mov rbx, qword [rbx + 0x10]
cmp rbx, qword [rsp + 0x48]
je 0x1000e11a3
test rbx, rbx
je 0x1000e11a3
add rbx, 0xfffffffffffffff8
jmp 0x1000e11a6
mov rbx, rdi
test rbx, rbx
jne 0x1000e1160
mov dword [rsi + 0x10], edi
mov qword [rsp + 0x38], rbx
mov eax, r12d
lock xadd dword [r14 + 0x18], eax
dec eax
jne 0x1000e120c
cmp qword [r14 + 0x10], 0
je 0x1000e11d2
lea rcx, [r14 + 8]
call fcn.1000de880
jmp 0x1000e120c
mov rcx, r14
mov rax, qword [r14]
jmp 0x1000e1209
mov rcx, qword [rsp + 0x38]
mov qword [rsp + 0x38], rdi
add rcx, 8
mov eax, r12d
lock xadd dword [rcx + 0x10], eax
dec eax
jne 0x1000e120c
cmp qword [rcx + 8], 0
je 0x1000e1202
call fcn.1000de880
jmp 0x1000e120c
add rcx, 0xfffffffffffffff8
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov r14, rbx
mov qword [rsp + 0x68], rbx
test rbx, rbx
je 0x1000e13e1
inc r13d
mov dword [rsp + 0x30], r13d
cmp r13d, 0x10
je 0x1000e13e1
call qword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, dword [r15 + 0x10]
jbe 0x1000e1288
mov dword [rsp + 0x70], 0x400069
mov qword [rsp + 0x78], rdi
mov qword [rsp + 0x88], rdi
mov qword [rsp + 0x80], rdi
mov qword [rsp + 0x90], rdi
lea rdx, [rsp + 0x70]
mov ecx, dword [r15 + 0x160]
call fcn.100058870
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [0x100282c54]
add edx, eax
cmp edx, eax
cmovb edx, edi
mov dword [r15 + 0x10], edx
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 0x1a0]
mov qword [r15 + 0x18], rax
lock inc dword [r15 + 0x14]
or dword [r15 + 0x14c], 2
xor edx, edx
lea rax, [fcn.100062040]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rcx, [rsp + 0xb0]
call fcn.10005b410
nop
movsxd r8, r13d
lea rax, [r8 + r8*2]
lea rdx, [rax*8]
mov r11, qword [rbx]
mov r10, qword [rsp + 0x150]
add r10, rdx
mov rax, qword [rsp + 0x148]
lea r9, [rax + r8*8]
mov r8, qword [rsp + 0x140]
add r8, rdx
mov eax, dword [rsp + 0x158]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r10
mov edx, dword [rsp + 0x138]
mov rcx, rbx
call qword [r11]
nop
lea rcx, [rsp + 0xb0]
call fcn.10005b4f0
nop
jmp 0x1000e1341
call fcn.100068a00
mov rsi, rax
mov rbx, qword gs:[0x30]
add rbx, rax
mov rcx, rax
call fcn.10006c530
test eax, eax
jne 0x1000e136c
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rbx, rbx
je 0x1000e137d
mov rax, qword [rbx + 0xd8]
test rax, rax
jne 0x1000e13b4
call fcn.100063d30
call fcn.100068a00
mov rsi, rax
mov rbx, qword gs:[0x30]
add rbx, rax
mov rcx, rax
call fcn.10006c530
test eax, eax
jne 0x1000e13ad
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
mov rax, qword [rbx + 0xd8]
cmp dword [rax + 0x204], 0
je 0x1000e13c2
call fcn.1000618f0
mov eax, dword [r15 + 0x14c]
mov ecx, eax
xor ecx, 2
and ecx, eax
mov dword [r15 + 0x14c], ecx
mov rsi, qword [rsp + 0x48]
jmp 0x1000e10f0
mov rax, qword [rsp + 0x38]
test rax, rax
je 0x1000e1418
lea rcx, [rax + 8]
mov eax, r12d
lock xadd dword [rcx + 0x10], eax
dec eax
jne 0x1000e1413
cmp qword [rcx + 8], 0
je 0x1000e1409
call fcn.1000de880
jmp 0x1000e1413
add rcx, 0xfffffffffffffff8
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov qword [rsp + 0x38], rdi
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1000e144e
add rcx, 8
lock xadd dword [rcx + 0x10], r12d
dec r12d
jne 0x1000e1449
cmp qword [rcx + 8], 0
je 0x1000e143f
call fcn.1000de880
jmp 0x1000e1449
add rcx, 0xfffffffffffffff8
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov qword [rsp + 0x40], rdi
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x1000e146a
mov edx, dword [rsp + 0x58]
call fcn.1001047d0
mov qword [rsp + 0x50], rdi
mov dword [rsp + 0x58], edi
lea eax, [r13 + 1]
mov qword [rsp + 0x48], rdi
add rsp, 0xf0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret