Function at 0x1000d0740
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x20]
sub rsp, 0x120
mov qword [rbp - 0x48], 0xfffffffffffffffe
mov qword [rsp + 0x170], rbx
mov rax, qword [0x10022f440]
xor rax, rsp
mov qword [rbp + 0x10], rax
mov edi, r9d
mov r15, rcx
mov r13, qword [rbp + 0x90]
mov r12, qword [rbp + 0x98]
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x48], r8
mov qword [rsp + 0x50], r13
lea rax, [rsp + 0x60]
mov qword [rsp + 0x68], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x60], rax
xor ebx, ebx
mov dword [rsp + 0x78], ebx
mov dword [rsp + 0x58], ebx
mov dword [rsp + 0x5c], 2
mov qword [rsp + 0x70], rbx
lea edx, [rbx + 1]
lea rcx, [rbp - 0x80]
call fcn.100057f20
nop
mov dword [rbp - 0x40], edi
lea rax, [0x1000d2ba0]
mov qword [rbp - 0x38], rax
lea rax, [rsp + 0x40]
mov qword [rbp - 0x30], rax
mov rax, qword [rbp + 0x80]
mov qword [rbp - 0x28], rax
or rdi, 0xffffffffffffffff
mov qword [rbp - 0x18], rdi
mov qword [rbp - 0x20], rbx
call fcn.100068a00
mov r14, rax
mov rcx, qword gs:[0x30]
lea rsi, [rcx + rax]
mov rcx, rax
call fcn.10006c530
test eax, eax
jne 0x1000d082c
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, rax
test rsi, rsi
je 0x1000d0859
cmp qword [rsi + 0xe8], rsi
jne 0x1000d0859
call fcn.1001672c0
test eax, eax
je 0x1000d0859
call qword [0x1002aaa48]
test eax, eax
je 0x1000d0859
lea rcx, [rbp - 0x10]
call qword [0x1002aab88]
jmp 0x1000d086d
movups xmm0, xmmword [0x1000225d8]
movaps xmmword [rbp - 0x10], xmm0
mov eax, dword [0x1000225e8]
mov dword [rbp], eax
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x30]
xor r8d, r8d
lea rdx, [rbp - 0x40]
mov rcx, r15
call fcn.1000d0c40
mov esi, eax
test eax, eax
jne 0x1000d0b44
mov rax, qword [rsp + 0x30]
mov r14, qword [rax + 0xa0]
mov r15d, dword [rbp + 0x88]
nop word [rax + rax]
mov dword [rbp - 0x70], 0x400115
mov qword [rbp - 0x68], rbx
mov qword [rbp - 0x58], rbx
mov qword [rbp - 0x60], rbx
mov qword [rbp - 0x50], rbx
xor r9d, r9d
lea r8, [rbp - 0x70]
mov edx, r15d
lea rcx, [rsp + 0x58]
call fcn.10005ae60
mov esi, eax
test eax, eax
je 0x1000d0a2b
cmp eax, 0x102
jne 0x1000d0a22
mov rdx, qword [rsp + 0x30]
mov rcx, r14
call fcn.1000db970
test eax, eax
jne 0x1000d08b0
mov rax, qword [rsp + 0x30]
lock xadd dword [rax + 0x20], edi
dec edi
jne 0x1000d0a1d
cmp qword [rax + 0x18], 0
je 0x1000d0928
lea rcx, [rax + 0x10]
call fcn.1000585a0
jmp 0x1000d0a1d
mov rdi, rax
mov eax, dword [rax + 0xb0]
cmp eax, 2
jne 0x1000d0980
mov r14, qword [rdi + 0xa0]
call fcn.100064800
mov edx, eax
xor eax, eax
lock cmpxchg dword [r14 + 0xf80], edx
mov ecx, ebx
sete cl
test ecx, ecx
jne 0x1000d0964
lea rcx, [r14 + 0xf80]
call fcn.100057ac0
mov rcx, qword [rdi + 8]
mov rax, qword [rdi]
mov qword [rax + 8], rcx
mov qword [rcx], rax
mov qword [rdi + 8], rbx
mov qword [rdi], rbx
mov dword [r14 + 0xf80], ebx
call fcn.100058010
test rax, rax
je 0x1000d09a8
cmp qword [rax + 0x1e8], rdi
jne 0x1000d09a8
test rdi, rdi
lea rcx, [rdi - 8]
jne 0x1000d099f
mov rcx, rbx
xor edx, edx
call fcn.100058e50
jmp 0x1000d0a1d
test rdi, rdi
je 0x1000d09b3
add rdi, 0xfffffffffffffff8
jmp 0x1000d09b6
mov rdi, rbx
mov qword [rsp + 0x38], rdi
test rdi, rdi
je 0x1000d0a1d
lea rax, [0x100002a88]
mov qword [rdi], rax
lea rcx, [rdi + 8]
call fcn.100058db0
mov rax, rdi
mov edx, 0x200
and rax, 0xffffffffffffe000
je 0x1000d09ed
cmp word [rax + 4], dx
jne 0x1000d09ed
mov rax, qword [rax + 0x28]
mov rax, qword [rax + 8]
mov rcx, qword [rax + 0x10]
dec rcx
not rcx
and rcx, rdi
je 0x1000d0a0a
cmp word [rcx + 4], dx
jne 0x1000d0a0a
mov rcx, qword [rcx + 0x28]
mov rcx, qword [rcx + 8]
test byte [rcx + 0x28], 8
jne 0x1000d0a1d
mov rax, qword [rcx]
mov rdx, rdi
call qword [rax + 0x28]
mov qword [rsp + 0x30], rbx
mov qword [r13], rbx
jmp 0x1000d0b44
mov esi, ebx
mov rax, qword [rsp + 0x30]
lock xadd dword [rax + 0x20], edi
dec edi
jne 0x1000d0b44
cmp qword [rax + 0x18], rsi
je 0x1000d0a53
lea rcx, [rax + 0x10]
call fcn.1000585a0
jmp 0x1000d0b44
mov rdi, rax
mov eax, dword [rax + 0xb0]
cmp eax, 2
jne 0x1000d0aab
mov r14, qword [rdi + 0xa0]
call fcn.100064800
mov edx, eax
xor eax, eax
lock cmpxchg dword [r14 + 0xf80], edx
mov ecx, ebx
sete cl
test ecx, ecx
jne 0x1000d0a8f
lea rcx, [r14 + 0xf80]
call fcn.100057ac0
mov rcx, qword [rdi + 8]
mov rax, qword [rdi]
mov qword [rax + 8], rcx
mov qword [rcx], rax
mov qword [rdi + 8], rbx
mov qword [rdi], rbx
mov dword [r14 + 0xf80], ebx
call fcn.100058010
test rax, rax
je 0x1000d0ad3
cmp qword [rax + 0x1e8], rdi
jne 0x1000d0ad3
test rdi, rdi
je 0x1000d0ac7
lea rbx, [rdi - 8]
xor edx, edx
mov rcx, rbx
call fcn.100058e50
jmp 0x1000d0b44
test rdi, rdi
je 0x1000d0adc
lea rbx, [rdi - 8]
mov qword [rsp + 0x38], rbx
test rbx, rbx
je 0x1000d0b44
lea rax, [0x100002a88]
mov qword [rbx], rax
lea rcx, [rbx + 8]
call fcn.100058db0
mov rax, rbx
mov edx, 0x200
and rax, 0xffffffffffffe000
je 0x1000d0b13
cmp word [rax + 4], dx
jne 0x1000d0b13
mov rax, qword [rax + 0x28]
mov rax, qword [rax + 8]
mov rcx, qword [rax + 0x10]
dec rcx
not rcx
and rcx, rbx
je 0x1000d0b30
cmp word [rcx + 4], dx
jne 0x1000d0b30
mov rcx, qword [rcx + 0x28]
mov rcx, qword [rcx + 8]
test byte [rcx + 0x28], 8
jne 0x1000d0b44
mov rax, qword [rcx]
mov rdx, rbx
call qword [rax + 0x28]
nop
mov rcx, qword [rbp - 0x78]
mov eax, dword [rbp - 0x80]
not eax
and dword [rcx + 0x220], eax
mov eax, esi
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.10005f420
mov rbx, qword [rsp + 0x170]
add rsp, 0x120
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret