Function at 0x180110fa0
Capabilities:
Get thread local storage value

Disassembly:
mov rax, rsp
push rbx
push r15
sub rsp, 0x78
xor r15d, r15d
lea r8, [0x180034acf]
xor edx, edx
mov rbx, rcx
mov dword [rax - 0x50], 0xffffffff
mov dword [rax - 0x4c], 0xffffffff
mov qword [rax - 0x58], r15
mov dword [rax - 0x48], 0xffffffff
mov dword [rax - 0x44], 0xffffffff
mov dword [rax - 0x40], 0xffffffff
mov dword [rax - 0x3c], r15d
mov qword [rax - 0x38], r15
call fcn.180113f60
test rax, rax
jne 0x180110fff
mov eax, 0x8007000e
add rsp, 0x78
pop r15
pop rbx
ret
mov ecx, dword [0x18025e63c]
test ecx, ecx
jns 0x18011100e
mov rax, r15
jmp 0x180111014
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rcx, qword [rax + 8]
mov edx, 0x30
lea r8d, [rdx - 0x20]
call fcn.180243b70
test rax, rax
je 0x180111051
lea rcx, [0x1800432b0]
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], r15
mov qword [rax + 0x20], r15
mov dword [rax + 0x28], 0xffffffff
mov dword [rax + 8], 1
mov qword [rax], rcx
jmp 0x180111054
mov rax, r15
mov qword [rbx + 0xb8], rax
test rax, rax
je 0x180110ff2
mov qword [rsp + 0x90], rbp
mov qword [rsp + 0x60], r14
mov qword [rsp + 0xa0], rsi
mov qword [rsp + 0xa8], rdi
mov qword [rsp + 0x70], r12
mov r14d, r15d
mov qword [rsp + 0x68], r13
lea rbp, [0x180027578]
cmp byte [rbp + 0x18], r15b
je 0x1801110fb
movsxd rdx, dword [rbp]
cmp edx, 0xf
jge 0x1801110d6
mov rsi, qword [rbx + rdx*8 + 0xc0]
test rsi, rsi
jne 0x180111290
mov rcx, rbx
call fcn.180116fd0
mov rsi, rax
test rax, rax
je 0x1801116d3
movsxd rcx, dword [rbp]
mov qword [rbx + rcx*8 + 0xc0], rax
jmp 0x180111290
mov rcx, rbx
call fcn.180117660
mov rsi, rax
test rax, rax
je 0x1801116d3
movsxd rax, dword [rbp]
mov qword [rbx + rax*8 + 0x138], rsi
jmp 0x180111290
movsxd rax, dword [rbp]
mov r12d, dword [rbp + 0x14]
mov edi, dword [rbp + 0x10]
mov r9, qword [rbx + rax*8 + 0xc0]
mov r13, qword [rbp + 8]
cmp r9, qword [rbx + 0xe0]
jne 0x180111155
test r13, r13
jne 0x180111155
mov rsi, qword [rbx + 0x398]
test rsi, rsi
je 0x18011113b
cmp edi, 1
jne 0x18011113b
cmp r12d, 4
je 0x180111287
mov rsi, qword [rbx + 0x3a0]
test rsi, rsi
je 0x180111155
cmp edi, 4
jne 0x180111155
cmp r12d, edi
je 0x180111287
mov r8, r13
lea rdx, [rsp + 0x30]
mov rcx, rbx
and r8, 0xfffffffffffff3ff
call fcn.180117880
mov rsi, rax
test rax, rax
je 0x18011127d
cmp edi, 1
ja 0x180111187
cmp r12d, 1
jbe 0x180111287
cmp edi, 1
jne 0x1801111ee
mov ecx, dword [0x18025e63c]
test ecx, ecx
jns 0x18011119b
mov rax, r15
jmp 0x1801111a1
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rcx, qword [rax + 8]
mov edx, 0x40
lea r8d, [rdx - 0x30]
call fcn.180243b70
test rax, rax
je 0x18011127d
lea rcx, [0x180043550]
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], r15
mov qword [rax + 0x20], r15
mov dword [rax + 0x28], 0xffffffff
mov qword [rax + 0x30], r15
mov qword [rax], rcx
mov dword [rax + 0x38], r15d
mov dword [rax + 0x3c], r15d
mov dword [rax + 8], 9
jmp 0x18011124a
mov ecx, dword [0x18025e63c]
test ecx, ecx
jns 0x1801111fd
mov rax, r15
jmp 0x180111203
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rcx, qword [rax + 8]
mov edx, 0x40
lea r8d, [rdx - 0x30]
call fcn.180243b70
test rax, rax
je 0x18011127d
lea rcx, [0x1800434e0]
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], r15
mov qword [rax + 0x20], r15
mov dword [rax + 0x28], 0xffffffff
mov dword [rax + 8], 8
mov qword [rax], rcx
mov qword [rax + 0x30], r15
mov dword [rax + 0x38], r15d
mov dword [rax + 0x3c], r15d
and r13d, 0xc00
mov qword [rax + 0x30], rsi
mov dword [rax + 0x38], edi
mov dword [rax + 0x3c], r12d
je 0x18011133c
lea rdx, [rsp + 0x30]
mov r9, rax
mov r8, r13
mov rcx, rbx
call fcn.180117880
mov rsi, rax
test rax, rax
jne 0x180111287
mov byte [rbx + 0x468], 1
mov rsi, r15
test rsi, rsi
je 0x1801116d3
mov r10, qword [rbp - 8]
test r10, r10
je 0x1801112fd
mov r9, qword [rbx + 0x98]
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, r10
lea rdx, [r9 + 0x58]
repne scasb al, byte [rdi]
lea rax, [rsp + 0x98]
not rcx
mov qword [rsp + 0x20], rax
lea r8, [rcx - 1]
lea rcx, [r9 + 0x78]
mov r9, r10
call fcn.180222570
test eax, eax
js 0x1801116d8
mov r8, qword [rsp + 0x98]
lea rdx, [rsp + 0x30]
mov r9, rsi
mov rcx, rbx
mov byte [rsp + 0x20], r15b
call fcn.180113400
test rax, rax
je 0x1801116d3
inc r14d
add rbp, 0x28
cmp r14d, 0x13
jb 0x180111091
mov r9, qword [rbx + 0xe0]
lea rdx, [rsp + 0x30]
xor r8d, r8d
mov rcx, rbx
call fcn.180117880
mov rdi, rax
test rax, rax
je 0x180111399
mov ecx, dword [0x18025e63c]
test ecx, ecx
jns 0x180111344
mov rax, r15
jmp 0x18011134a
mov rsi, rax
jmp 0x180111287
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rcx, qword [rax + 8]
mov edx, 0x40
lea r8d, [rdx - 0x30]
call fcn.180243b70
test rax, rax
je 0x180111399
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], r15
mov qword [rax + 0x20], r15
mov dword [rax + 0x28], 0xffffffff
mov dword [rax + 8], 9
lea r12, [0x180043550]
mov qword [rax], r12
mov qword [rax + 0x30], rdi
mov dword [rax + 0x38], 1
mov dword [rax + 0x3c], 4
jmp 0x1801113aa
mov byte [rbx + 0x468], 1
mov rax, r15
lea r12, [0x180043550]
mov qword [rbx + 0x398], rax
test rax, rax
je 0x1801116d3
mov r9, qword [rbx + 0xe0]
lea rdx, [rsp + 0x30]
xor r8d, r8d
mov rcx, rbx
call fcn.180117880
mov rdi, rax
test rax, rax
je 0x18011143d
mov ecx, dword [0x18025e63c]
test ecx, ecx
jns 0x1801113e8
mov rax, r15
jmp 0x1801113ee
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rcx, qword [rax + 8]
mov edx, 0x40
lea r8d, [rdx - 0x30]
call fcn.180243b70
test rax, rax
je 0x18011143d
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], r15
mov qword [rax + 0x20], r15
mov dword [rax + 0x28], 0xffffffff
mov dword [rax + 8], 8
lea rcx, [0x1800434e0]
mov qword [rax], rcx
mov qword [rax + 0x30], rdi
mov dword [rax + 0x38], 4
mov dword [rax + 0x3c], 4
jmp 0x180111447
mov byte [rbx + 0x468], 1
mov rax, r15
mov qword [rbx + 0x3a0], rax
test rax, rax
je 0x1801116d3
mov r9, qword [rbx + 0x120]
lea rdx, [rsp + 0x30]
mov r8d, 0x400000
mov rcx, rbx
call fcn.180117880
mov qword [rbx + 0x378], rax
test rax, rax
je 0x1801116d3
lea rdx, [rsp + 0x30]
mov r9, rax
xor r8d, r8d
mov rcx, rbx
call fcn.180117880
mov rdi, rax
test rax, rax
je 0x1801114f9
mov ecx, dword [0x18025e63c]
test ecx, ecx
jns 0x1801114ab
mov rax, r15
jmp 0x1801114b1
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rcx, qword [rax + 8]
mov edx, 0x40
lea r8d, [rdx - 0x30]
call fcn.180243b70
test rax, rax
je 0x1801114f9
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], r15
mov qword [rax + 0x20], r15
mov dword [rax + 0x28], 0xffffffff
mov qword [rax], r12
mov dword [rax + 8], 9
mov qword [rax + 0x30], rdi
mov dword [rax + 0x38], 1
mov dword [rax + 0x3c], 2
jmp 0x180111503
mov byte [rbx + 0x468], 1
mov rax, r15
mov qword [rbx + 0x380], rax
test rax, rax
je 0x1801116d3
mov r9, qword [rbx + 0x378]
lea rdx, [rsp + 0x30]
xor r8d, r8d
mov rcx, rbx
call fcn.180117880
mov rdi, rax
test rax, rax
je 0x18011158f
mov ecx, dword [0x18025e63c]
test ecx, ecx
jns 0x180111541
mov rax, r15
jmp 0x180111547
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rcx, qword [rax + 8]
mov edx, 0x40
lea r8d, [rdx - 0x30]
call fcn.180243b70
test rax, rax
je 0x18011158f
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], r15
mov qword [rax + 0x20], r15
mov dword [rax + 0x28], 0xffffffff
mov qword [rax], r12
mov dword [rax + 8], 9
mov qword [rax + 0x30], rdi
mov dword [rax + 0x38], 1
mov dword [rax + 0x3c], 3
jmp 0x180111599
mov byte [rbx + 0x468], 1
mov rax, r15
mov qword [rbx + 0x388], rax
test rax, rax
je 0x1801116d3
mov r9, qword [rbx + 0x378]
lea rdx, [rsp + 0x30]
xor r8d, r8d
mov rcx, rbx
call fcn.180117880
mov rdi, rax
test rax, rax
je 0x180111625
mov ecx, dword [0x18025e63c]
test ecx, ecx
jns 0x1801115d7
mov rax, r15
jmp 0x1801115dd
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rcx, qword [rax + 8]
mov edx, 0x40
lea r8d, [rdx - 0x30]
call fcn.180243b70
test rax, rax
je 0x180111625
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], r15
mov qword [rax + 0x20], r15
mov dword [rax + 0x28], 0xffffffff
mov qword [rax], r12
mov dword [rax + 8], 9
mov qword [rax + 0x30], rdi
mov dword [rax + 0x38], 1
mov dword [rax + 0x3c], 4
jmp 0x18011162f
mov byte [rbx + 0x468], 1
mov rax, r15
mov qword [rbx + 0x390], rax
test rax, rax
je 0x1801116d3
mov rcx, qword [rbx + 0x98]
lea rax, [rbx + 0x3a8]
lea r9, [0x180035e28]
lea rdx, [rcx + 0x58]
mov r8d, 4
add rcx, 0x78
mov qword [rsp + 0x20], rax
call fcn.180222570
test eax, eax
js 0x1801116d8
mov rcx, qword [rbx + 0x98]
lea rax, [rbx + 0x3b0]
lea r9, [0x180041a40]
lea rdx, [rcx + 0x58]
mov r8d, 9
add rcx, 0x78
mov qword [rsp + 0x20], rax
call fcn.180222570
test eax, eax
js 0x1801116d8
mov rcx, qword [rbx + 0x98]
lea rax, [rbx + 0x3b8]
lea r9, [0x180034acf]
lea rdx, [rcx + 0x58]
xor r8d, r8d
add rcx, 0x78
mov qword [rsp + 0x20], rax
call fcn.180222570
test eax, eax
cmovns eax, r15d
jmp 0x1801116d8
mov eax, 0x8007000e
mov r13, qword [rsp + 0x68]
mov r12, qword [rsp + 0x70]
mov rdi, qword [rsp + 0xa8]
mov rsi, qword [rsp + 0xa0]
mov rbp, qword [rsp + 0x90]
mov r14, qword [rsp + 0x60]
add rsp, 0x78
pop r15
pop rbx
ret