Function at 0x100067da0
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 0x100067e1a
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rbx, rbx
je 0x100067e2b
mov rcx, qword [rbx + 0xd8]
test rcx, rcx
jne 0x100067e63
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 0x100067e5c
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 0x100067ef0
cmp esi, 0x400
jb 0x100067f4b
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 0x100067ea6
mov eax, esi
lea rcx, [rax + 0xf]
cmp rcx, rax
ja 0x100067f05
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 + 0x158]
lea rcx, [r14 + 0x18]
call rax
mov dword [rbp], eax
test eax, eax
je 0x100067f4b
call fcn.10006b720
mov rdx, r15
lea rcx, [0x100006580]
call rax
jmp 0x100067f6e
mov dword [rbp + 8], edi
cmp edi, dword [r14 + 0x158]
jae 0x100067f6e
call fcn.10006b720
mov rdx, qword [r14 + rdi*8 + 0x18]
lea rcx, [0x100006590]
call rax
inc edi
jmp 0x100067f4b
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 0x100067fa4
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rbx, rbx
je 0x100067fb5
mov rax, qword [rbx + 0xd8]
test rax, rax
jne 0x100067fed
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 0x100067fe6
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, rax
mov rax, qword [rdi + 0xd8]
cmp dword [rax + 0x204], 0
je 0x100067ffc
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 0x100068027
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rbx, rbx
je 0x100068038
mov rcx, qword [rbx + 0xd8]
test rcx, rcx
jne 0x10006806f
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 0x100068068
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