Function at 0x1001277c0
Capabilities:
Get thread local storage value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0xc0
mov qword [rax - 0x50], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov r14, r8
mov r15, rdx
mov rsi, rcx
xor r12d, r12d
mov dword [rsp + 0x30], r12d
xor edx, edx
lea rax, [fcn.100062040]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rcx, [rsp + 0x38]
call fcn.10005b410
nop
mov rcx, qword [rsi + 0x40]
mov rax, qword [rcx]
call qword [rax + 0x18]
test eax, eax
je 0x100127834
lea rcx, [rsp + 0x38]
call fcn.10005b4f0
mov eax, 0x80131014
jmp 0x100127aee
mov rdx, r14
mov rcx, qword [rsi + 0x40]
call fcn.100126b90
mov qword [r15], rax
test rax, rax
je 0x100127859
lea rcx, [rsp + 0x38]
call fcn.10005b4f0
xor eax, eax
jmp 0x100127aee
lea rdi, [0x10023fca0]
mov qword [rsp + 0x90], rdi
mov dword [rsp + 0x58], 0x80000c2
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x78], r12
lea r8, [rsp + 0x58]
or edx, 0xffffffff
mov rcx, rdi
call fcn.10005b250
nop
mov rdx, r14
mov rcx, qword [rsi + 0x40]
call fcn.100126b90
mov qword [r15], rax
test rax, rax
je 0x1001278c3
mov rcx, rdi
call fcn.10005b360
nop
lea rcx, [rsp + 0x38]
call fcn.10005b4f0
xor eax, eax
jmp 0x100127aee
mov qword [rsp + 0x108], r12
nop dword [rax + rax]
mov rbx, qword [0x100246640]
test rbx, rbx
jne 0x1001278e6
mov ecx, 0x80004003
call fcn.10005fb00
mov rcx, qword [rsp + 0x108]
test rcx, rcx
je 0x1001278f9
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rsp + 0x108], r12
mov rax, qword [rsi + 0x40]
mov r10, qword [rbx]
lea rcx, [rsp + 0x108]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], r14
mov r9, qword [rax + 0xe8]
mov r8, qword [rax + 0xe0]
mov edx, dword [rax + 0x9c]
mov rcx, rbx
call qword [r10 + 0x50]
mov ebx, eax
mov dword [rsp + 0x30], eax
test eax, eax
jns 0x100127989
mov r9d, eax
lea r8, [0x100035050]
mov edx, 1
mov rcx, qword [0x10029b218]
call fcn.100156ed0
nop
mov rcx, qword [rsp + 0x108]
test rcx, rcx
je 0x10012796f
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, rdi
call fcn.10005b360
nop
lea rcx, [rsp + 0x38]
call fcn.10005b4f0
mov eax, ebx
jmp 0x100127aee
mov rcx, qword [rsp + 0x108]
test rcx, rcx
sete al
test al, al
je 0x1001279b8
lea r8, [0x1000350a0]
mov edx, 2
mov rcx, qword [0x10029b218]
call fcn.100156ed0
jmp 0x1001278d0
test rcx, rcx
jne 0x1001279c7
mov ecx, 0x80004003
call fcn.10005fb00
mov rax, qword [rcx]
mov r8, r15
lea rdx, [0x100034308]
call qword [rax]
mov ebx, eax
mov dword [rsp + 0x30], eax
test eax, eax
js 0x100127a1f
mov rdx, qword [r15]
test rdx, rdx
je 0x100127a1f
mov r8d, dword [r14]
mov rcx, qword [rsi + 0x40]
call fcn.100124780
nop
mov rcx, qword [rsp + 0x108]
test rcx, rcx
je 0x100127a09
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, rdi
call fcn.10005b360
nop
lea rcx, [rsp + 0x38]
call fcn.10005b4f0
nop
jmp 0x100127a69
mov r9d, eax
lea r8, [0x100035050]
mov edx, 1
mov rcx, qword [0x10029b218]
call fcn.100156ed0
nop
mov rcx, qword [rsp + 0x108]
test rcx, rcx
je 0x100127a4f
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, rdi
call fcn.10005b360
nop
lea rcx, [rsp + 0x38]
call fcn.10005b4f0
mov eax, ebx
jmp 0x100127aee
call fcn.100068a00
mov rdi, rax
mov rbx, qword gs:[0x30]
add rbx, rax
mov rcx, rax
call fcn.10006c530
test eax, eax
jne 0x100127a94
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rbx, rbx
je 0x100127aa5
mov rax, qword [rbx + 0xd8]
test rax, rax
jne 0x100127adc
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 0x100127ad5
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
mov rax, qword [rbx + 0xd8]
cmp dword [rax + 0x204], 0
je 0x100127aea
call fcn.1000618f0
mov eax, dword [rsp + 0x30]
mov rbx, qword [rsp + 0xf8]
add rsp, 0xc0
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret