Function at 0x180208690
Capabilities:
Get thread local storage value

Disassembly:
mov r11, rsp
push rbx
push r14
sub rsp, 0x208
mov edx, dword [rcx + 0xc]
xor r14d, r14d
lea rax, [r11 - 0xf8]
mov qword [r11 - 0x118], rax
mov qword [r11 - 0x30], r13
lea rax, [rsp + 0x40]
mov r13d, 1
mov qword [r11 - 0x38], r15
mov qword [r11 - 0x110], 0x18
mov qword [r11 - 0x108], r14
mov byte [r11 - 0x100], r14b
mov qword [rsp + 0x20], rax
mov r15, rcx
mov byte [rsp + 0x220], 0
mov byte [rsp + 0x119], 1
mov qword [rsp + 0x28], 0x18
mov qword [rsp + 0x30], r14
mov byte [rsp + 0x38], r14b
mov byte [rsp + 0x39], 1
mov dword [rcx + 0xd02c], r13d
mov qword [rcx + 0xd030], 0xffffffffffffffff
mov ebx, r14d
test edx, edx
je 0x180208732
mov rax, qword [rcx + 0xce58]
mov rcx, qword [rax]
jmp 0x180208735
mov rcx, r14
mov qword [rsp + 0x230], rbp
mov qword [rsp + 0x200], rsi
mov qword [rsp + 0x1f8], rdi
mov qword [rsp + 0x1f0], r12
test edx, edx
je 0x1802088e8
nop dword [rax]
mov rax, qword [rcx + 0x10]
test al, 2
je 0x1802088bc
test al, 0x20
je 0x1802088bc
bt rax, 0x15
jb 0x1802088bc
mov r13, qword [rcx + 0x30]
test r13, r13
je 0x1802088bc
nop dword [rax]
mov rax, qword [r13 + 0x48]
cmp byte [r13 + 0x71], r14b
je 0x180208836
mov rcx, qword [rax + 0x78]
test rcx, rcx
je 0x180208910
cmp qword [rcx + 0x10], 1
jne 0x180208910
mov rbp, qword [rsp + 0x110]
or rax, 0xffffffffffffffff
sub rax, rbp
cmp rax, 1
jae 0x1802087d2
mov edi, 0x80070216
jmp 0x18020882c
mov rsi, qword [rsp + 0x110]
inc rsi
cmp rsi, qword [rsp + 0x108]
jbe 0x18020880e
cmp byte [rsp + 0x119], r14b
jne 0x1802087f8
mov edi, 0x8007000e
jmp 0x180208819
lea rcx, [rsp + 0x100]
mov rdx, rsi
call fcn.1800c4d70
mov edi, eax
test eax, eax
jne 0x180208819
mov qword [rsp + 0x110], rsi
mov edi, r14d
test edi, edi
jne 0x18020882c
mov rax, qword [rsp + 0x100]
mov edi, r14d
mov qword [rax + rbp*8], r13
test edi, edi
js 0x180208b8c
jmp 0x1802088af
mov rcx, qword [rax + 0x78]
test rcx, rcx
je 0x1802088af
cmp qword [rcx + 0x10], 1
jne 0x1802088af
mov r12, qword [rsp + 0x30]
or rax, 0xffffffffffffffff
sub rax, r12
cmp rax, 1
jae 0x18020885f
mov edi, 0x80070216
jmp 0x1802088a7
mov rsi, qword [rsp + 0x30]
inc rsi
cmp rsi, qword [rsp + 0x28]
jbe 0x18020888f
cmp byte [rsp + 0x39], r14b
jne 0x18020887c
mov edi, 0x8007000e
jmp 0x180208897
lea rcx, [rsp + 0x20]
mov rdx, rsi
call fcn.1800c4d70
mov edi, eax
test eax, eax
jne 0x180208897
mov qword [rsp + 0x30], rsi
mov edi, r14d
test edi, edi
jne 0x1802088a7
mov rax, qword [rsp + 0x20]
mov edi, r14d
mov qword [rax + r12*8], r13
test edi, edi
js 0x180208b8c
mov r13, qword [r13]
test r13, r13
jne 0x180208790
mov eax, dword [r15 + 0xc]
inc ebx
cmp ebx, eax
jb 0x1802088cd
mov rcx, r14
mov ebx, eax
jmp 0x1802088d8
mov rax, qword [r15 + 0xce58]
mov rcx, qword [rax + rbx*8]
cmp ebx, dword [r15 + 0xc]
jb 0x180208760
mov r13d, 1
mov r12, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x110]
mov rbx, qword [rsp + 0x100]
or rax, 0xffffffffffffffff
sub rax, r12
cmp rax, rbp
jae 0x18020891a
mov edi, 0x80070216
jmp 0x18020895e
mov edi, 1
jmp 0x180208b8c
mov rcx, qword [rsp + 0x110]
mov rsi, qword [rsp + 0x30]
add rsi, rcx
cmp rsi, qword [rsp + 0x28]
jbe 0x180208952
cmp byte [rsp + 0x39], r14b
jne 0x18020893f
mov edi, 0x8007000e
jmp 0x18020895a
lea rcx, [rsp + 0x20]
mov rdx, rsi
call fcn.1800c4d70
mov edi, eax
test eax, eax
jne 0x18020895a
mov qword [rsp + 0x30], rsi
mov edi, r14d
test edi, edi
je 0x180208968
test edi, edi
js 0x180208b8c
jmp 0x180208995
mov rax, qword [rsp + 0x20]
lea rcx, [rax + r12*8]
test rbp, rbp
je 0x180208995
nop word [rax + rax]
mov rax, qword [rbx]
add rcx, 8
add rbx, 8
sub rbp, 1
mov qword [rcx - 8], rax
jne 0x180208980
cmp qword [rsp + 0x30], 1
jne 0x1802089a5
mov edi, r13d
jmp 0x180208b8c
mov eax, dword [r15 + 0x60c]
inc dword [r15 + 0x608]
mov qword [rsp + 0x228], 0xffffffffffffffff
and eax, 0xff000000
cmp eax, 0xb000000
jne 0x180208a16
mov eax, dword [r15 + 0xd228]
test al, al
js 0x1802089da
xor al, al
jmp 0x180208a1d
bt eax, 8
jb 0x1802089ea
movzx eax, byte [r15 + 0x600]
jmp 0x180208a1d
mov edx, r14d
lea rcx, [rsp + 0x228]
mov rax, qword [rcx]
cmp rax, 0xffffffffffffffff
je 0x180208a3b
mov eax, dword [rax + 0x98]
bt rax, 0xf
jb 0x180208a3b
inc edx
add rcx, 8
cmp edx, 1
jb 0x1802089f5
mov al, byte [r15 + 0x600]
cmp qword [rsp + 0x110], 1
je 0x180208a3f
inc dword [r15 + 0x604]
test al, al
je 0x180208a3f
mov edi, r13d
jmp 0x180208b8c
xor al, al
jmp 0x180208a1d
mov edx, 0x26
mov rcx, r15
call fcn.1801dddc0
mov edi, eax
test eax, eax
js 0x180208b8c
mov r8d, dword [rsp + 0x110]
mov rdx, qword [rsp + 0x100]
lea rcx, [0x18019cd00]
mov r9, r15
call fcn.1801a7da0
mov r8d, dword [rsp + 0x30]
mov rdx, qword [rsp + 0x20]
lea rcx, [0x18019cd00]
mov r9, r15
call fcn.1801a7da0
mov r13d, dword [rsp + 0x110]
mov ebp, dword [rsp + 0x30]
mov r12d, r14d
test r13d, r13d
je 0x180208b47
nop word [rax + rax]
mov ecx, r12d
cmp rcx, qword [rsp + 0x110]
jae 0x180208acb
mov rax, qword [rsp + 0x100]
lea rdx, [rax + rcx*8]
jmp 0x180208ace
mov rdx, r14
mov rsi, qword [rdx]
mov ebx, r14d
test ebp, ebp
je 0x180208b31
nop dword [rax + rax]
mov ecx, ebx
cmp rcx, qword [rsp + 0x30]
jae 0x180208af4
mov rax, qword [rsp + 0x20]
lea rdx, [rax + rcx*8]
jmp 0x180208af7
mov rdx, r14
mov rdx, qword [rdx]
cmp rsi, rdx
je 0x180208b2b
mov r8, rsi
mov rcx, r15
call fcn.180208400
mov edi, eax
test eax, eax
js 0x180208b8c
mov eax, dword [rsp + 0x220]
test edi, edi
mov ecx, 1
movzx eax, al
cmove eax, ecx
mov dword [rsp + 0x220], eax
inc ebx
cmp ebx, ebp
jb 0x180208ae0
cmp dword [r15 + 0xd02c], 1
ja 0x180208b47
inc r12d
cmp r12d, r13d
jb 0x180208ab0
mov rcx, qword [r15 + 0xd030]
cmp rcx, 0xffffffffffffffff
je 0x180208b6f
mov r9d, dword [r15 + 0xd02c]
xor r8d, r8d
mov rdx, r15
dec r9d
call fcn.18019adb0
mov edi, eax
test eax, eax
js 0x180208b8c
mov rcx, r15
call fcn.1801ddd20
mov edi, eax
test eax, eax
js 0x180208b8c
mov edi, r14d
cmp byte [rsp + 0x220], dil
sete dil
mov r15, qword [rsp + 0x1e0]
mov r13, qword [rsp + 0x1e8]
mov r12, qword [rsp + 0x1f0]
mov rsi, qword [rsp + 0x200]
mov rbp, qword [rsp + 0x230]
mov qword [rsp + 0x30], r14
cmp byte [rsp + 0x38], r14b
je 0x180208bf2
mov rbx, qword [rsp + 0x20]
test rbx, rbx
je 0x180208bed
mov ecx, dword [0x18025e63c]
test ecx, ecx
jns 0x180208bd9
mov rax, r14
jmp 0x180208bdf
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rcx, qword [rax]
mov r8, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov byte [rsp + 0x38], r14b
mov qword [rsp + 0x20], r14
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x110], r14
cmp byte [rsp + 0x118], r14b
je 0x180208c3c
mov rbx, qword [rsp + 0x100]
test rbx, rbx
je 0x180208c3c
mov ecx, dword [0x18025e63c]
test ecx, ecx
js 0x180208c2e
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov r14, rax
mov rcx, qword [r14]
mov r8, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, edi
mov rdi, qword [rsp + 0x1f8]
add rsp, 0x208
pop r14
pop rbx
ret