Function at 0x10010ee40
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push r14
push r15
sub rsp, 0xb0
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x30], 0xfffffffffffffffe
mov qword [rbp + 0xa0], rbx
mov qword [rbp + 0xa8], rsi
mov qword [rbp + 0xb0], rdi
mov rax, qword [0x10022f440]
xor rax, rbp
mov qword [rbp + 0x78], rax
mov r14, rcx
call fcn.10006b720
lea rcx, [0x100006520]
call rax
call fcn.100068a00
mov rdi, rax
mov rdx, qword gs:[0x30]
lea rbx, [rdx + rax]
mov rcx, rax
call fcn.10006c530
test eax, eax
jne 0x10010eeba
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rbx, rbx
je 0x10010eecb
mov rcx, qword [rbx + 0xd8]
test rcx, rcx
jne 0x10010ef03
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 0x10010eefc
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, rax
mov rcx, qword [rdi + 0xd8]
mov rax, qword [rcx + 0x3f8]
lea rdx, [0x100061000]
mov qword [rcx + 0x3f8], rdx
mov qword [rbp + 0x10], rax
xor edx, edx
lea rax, [0x100062030]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rcx, [rbp + 0x38]
call fcn.10005b410
nop
xor edi, edi
mov edx, edi
mov dword [rbp], edx
mov esi, 0x1000
mov dword [rbp + 4], esi
test edx, edx
jne 0x10010ef90
cmp esi, 0x400
jb 0x10010efeb
mov rbx, qword gs:[8]
call fcn.10006bd80
sub rbx, rax
mov esi, dword [rbp + 4]
lea ecx, [rsi + 0x4000]
add rcx, 0x10000
lea rax, [rbp + 0x18]
sub rax, rbx
mov edx, edi
cmp rax, rcx
setae dl
mov dword [rbp], edx
shr esi, 1
jmp 0x10010ef46
mov eax, esi
lea rcx, [rax + 0xf]
cmp rcx, rax
ja 0x10010efa5
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.10005f3c0
sub rsp, rcx
lea r15, [rsp + 0x30]
call fcn.10006b6f0
mov r9d, esi
mov r8, r15
mov edx, dword [r14 + 0x98]
lea rcx, [r14 + 0x18]
call rax
mov dword [rbp], eax
test eax, eax
je 0x10010efeb
call fcn.10006b720
mov rdx, r15
lea rcx, [0x100006580]
call rax
jmp 0x10010f00e
mov dword [rbp + 8], edi
cmp edi, dword [r14 + 0x98]
jae 0x10010f00e
call fcn.10006b720
mov rdx, qword [r14 + rdi*8 + 0x18]
lea rcx, [0x100006590]
call rax
inc edi
jmp 0x10010efeb
lea rcx, [rbp + 0x38]
call fcn.10005b4f0
nop
call fcn.100068a00
mov rdi, rax
mov rcx, qword gs:[0x30]
lea rbx, [rcx + rax]
mov rcx, rax
call fcn.10006c530
test eax, eax
jne 0x10010f044
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rbx, rbx
je 0x10010f055
mov rax, qword [rbx + 0xd8]
test rax, rax
jne 0x10010f08d
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 0x10010f086
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, rax
mov rax, qword [rdi + 0xd8]
cmp dword [rax + 0x204], 0
je 0x10010f09c
call fcn.1000618f0
nop
call fcn.100068a00
mov rdi, rax
mov rbx, qword gs:[0x30]
add rbx, rax
mov rcx, rax
call fcn.10006c530
test eax, eax
jne 0x10010f0c7
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rbx, rbx
je 0x10010f0d8
mov rcx, qword [rbx + 0xd8]
test rcx, rcx
jne 0x10010f10f
call fcn.100063d30
call fcn.100068a00
mov rdi, rax
mov rbx, qword gs:[0x30]
add rbx, rax
mov rcx, rax
call fcn.10006c530
test eax, eax
jne 0x10010f108
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
mov rcx, qword [rbx + 0xd8]
mov rax, qword [rbp + 0x10]
mov qword [rcx + 0x3f8], rax
mov rcx, qword [rbp + 0x78]
xor rcx, rbp
call fcn.10005f420
mov rbx, qword [rbp + 0xa0]
mov rsi, qword [rbp + 0xa8]
mov rdi, qword [rbp + 0xb0]
lea rsp, [rbp + 0x80]
pop r15
pop r14
pop rbp
ret