Function at 0x140012860
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x90]
sub rsp, 0x1a0
mov r13, r9
mov rsi, r8
mov r14, rdx
mov rbx, rcx
mov ecx, 2
call fcn.140059d40
mov qword [rbp + 0x28], rax
xor r12d, r12d
mov word [rax], r12w
lea ecx, [r12 + 2]
call fcn.140059d40
mov qword [rbp - 0x30], rax
mov word [rax], r12w
lea ecx, [r12 + 2]
call fcn.140059d40
mov qword [rbp - 0x20], rax
mov word [rax], r12w
lea ecx, [r12 + 2]
call fcn.140059d40
mov qword [rbp + 0x20], rax
mov word [rax], r12w
lea ecx, [r12 + 2]
call fcn.140059d40
mov qword [rbp + 0x18], rax
mov word [rax], r12w
mov r15d, dword [rbp + 0xf0]
cmp r15d, 0xffffffff
jne 0x140012b52
mov qword [rbp - 0x38], r12
lea rcx, [0x14007a7c4]
call fcn.140059d48
mov qword [rbp - 0x38], rax
xor ecx, ecx
call fcn.140059d2c
nop
mov qword [rbp - 0x40], r12
lea rcx, [0x14007a7c4]
call fcn.140059d48
mov qword [rbp - 0x40], rax
xor ecx, ecx
call fcn.140059d2c
nop
mov qword [rbp - 0x48], r12
lea rcx, [0x14007a7c4]
call fcn.140059d48
mov qword [rbp - 0x48], rax
xor ecx, ecx
call fcn.140059d2c
nop
mov qword [rbp - 0x80], r12
lea rcx, [0x14007a7c4]
call fcn.140059d48
mov qword [rbp - 0x80], rax
xor ecx, ecx
call fcn.140059d2c
nop
mov qword [rbp - 0x50], r12
lea rcx, [0x14007a7c4]
call fcn.140059d48
mov qword [rbp - 0x50], rax
xor ecx, ecx
call fcn.140059d2c
nop
mov qword [rbp - 0x58], r12
lea rcx, [0x14007a7c4]
call fcn.140059d48
mov qword [rbp - 0x58], rax
xor ecx, ecx
call fcn.140059d2c
nop
mov qword [rbp - 0x60], r12
lea rdi, [0x14007a7c4]
test r13, r13
cmovne rdi, r13
mov rcx, rdi
call fcn.140059d48
mov qword [rbp - 0x60], rax
xor ecx, ecx
call fcn.140059d2c
nop
mov qword [rbp - 0x68], r12
lea rbx, [0x14007a7c4]
test rsi, rsi
cmovne rbx, rsi
mov rcx, rbx
call fcn.140059d48
mov qword [rbp - 0x68], rax
xor ecx, ecx
call fcn.140059d2c
nop
lea r9, [rbp - 0x60]
lea r8, [rbp - 0x68]
mov rdx, r14
lea rcx, [rbp - 0x28]
call fcn.14001f610
mov rsi, rax
mov qword [rbp - 0x70], r12
mov rcx, rdi
call fcn.140059d48
mov qword [rbp - 0x70], rax
xor ecx, ecx
call fcn.140059d2c
nop
mov qword [rbp - 0x78], r12
mov rcx, rbx
call fcn.140059d48
mov qword [rbp - 0x78], rax
xor ecx, ecx
call fcn.140059d2c
nop
lea r9, [rbp - 0x70]
lea r8, [rbp - 0x78]
mov rdx, r14
lea rcx, [rbp - 0x18]
call fcn.14001f610
nop
movzx ecx, byte [rbp + 0xf8]
mov dword [rsp + 0x80], r15d
mov qword [rsp + 0x78], r12
mov qword [rsp + 0x70], r12
lea rdx, [rbp - 0x38]
mov qword [rsp + 0x68], rdx
mov dword [rsp + 0x60], ecx
mov qword [rsp + 0x58], r12
lea rcx, [rbp - 0x40]
mov qword [rsp + 0x50], rcx
lea rcx, [rbp - 0x48]
mov qword [rsp + 0x48], rcx
lea rcx, [rbp - 0x80]
mov qword [rsp + 0x40], rcx
lea rcx, [rbp - 0x50]
mov qword [rsp + 0x38], rcx
lea rcx, [rbp - 0x58]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor edx, edx
mov r8d, r15d
mov rbx, qword [rbp + 0xd0]
mov rcx, rbx
call fcn.140014980
mov r15d, eax
mov rcx, qword [rbp - 0x18]
call fcn.140059d2c
nop
mov rcx, qword [rbp - 0x78]
call fcn.140059d2c
nop
mov rcx, qword [rbp - 0x70]
call fcn.140059d2c
nop
mov rcx, qword [rbp - 0x28]
call fcn.140059d2c
nop
mov rcx, qword [rbp - 0x68]
call fcn.140059d2c
nop
mov rcx, qword [rbp - 0x60]
call fcn.140059d2c
nop
mov rcx, qword [rbp - 0x58]
call fcn.140059d2c
nop
mov rcx, qword [rbp - 0x50]
call fcn.140059d2c
nop
mov rcx, qword [rbp - 0x80]
call fcn.140059d2c
nop
mov rcx, qword [rbp - 0x48]
call fcn.140059d2c
nop
mov rcx, qword [rbp - 0x40]
call fcn.140059d2c
nop
mov rcx, qword [rbp - 0x38]
call fcn.140059d2c
mov rsi, qword [rbp + 0xe0]
mov ecx, dword [0x1400a555c]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
or eax, 0x20019
lea rcx, [rbp + 0x30]
mov qword [rsp + 0x20], rcx
mov r9d, eax
xor r8d, r8d
mov rdx, rsi
mov rcx, r14
call fcn.14001d250
test eax, eax
jne 0x140013237
lea rax, [rbp + 0x28]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rdx, r13
mov rcx, qword [rbp + 0x30]
call fcn.14002d4d0
test eax, eax
jne 0x14001322c
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x38], xmm0
mov qword [rbp + 0x48], r12
lea edx, [rax + 0x2c]
lea r9d, [rax + 0x20]
lea r8, [rbp + 0x38]
mov rcx, qword [rbp + 0x28]
call fcn.14001e160
mov rdi, r12
mov r14, qword [rbp + 0x40]
mov rax, r14
mov rcx, qword [rbp + 0x38]
sub rax, rcx
sar rax, 5
test rax, rax
je 0x140013153
lea r12, [0x14007a7c4]
test r13, r13
cmovne r12, r13
lea r13, [0x14007a7c4]
test rsi, rsi
cmovne r13, rsi
xor esi, esi
nop dword [rax]
nop dword [rax + rax]
lea rax, [rsi + rcx]
mov qword [rbp - 0x18], rax
xor r9d, r9d
mov r8, rax
mov rdx, rbx
lea rcx, [rbp + 0x50]
call fcn.140018960
mov rdx, qword [rax]
mov rbx, qword [rbp - 0x30]
lea rcx, [0x14007a7c4]
test rdx, rdx
cmovne rcx, rdx
call fcn.140059d48
mov qword [rbp - 0x30], rax
mov rcx, rbx
call fcn.140059d2c
mov rcx, qword [rbp + 0x50]
call fcn.140059d2c
lea r9, [rbp + 0x20]
lea r8, [rbp - 0x20]
mov rdx, qword [rbp - 0x30]
mov rcx, qword [rbp + 0xd0]
call fcn.1400185f0
mov dword [rbp + 0xf0], eax
xor ebx, ebx
mov qword [rbp - 0x80], rbx
mov rcx, r12
call fcn.140059d48
mov qword [rbp - 0x80], rax
xor ecx, ecx
call fcn.140059d2c
nop
mov qword [rbp - 0x48], rbx
mov rcx, r13
call fcn.140059d48
mov qword [rbp - 0x48], rax
xor ecx, ecx
call fcn.140059d2c
nop
lea r9, [rbp - 0x80]
lea r8, [rbp - 0x48]
mov r14, qword [rbp + 0xd8]
mov rdx, r14
lea rcx, [rbp + 0x60]
call fcn.14001f610
mov rbx, rax
mov qword [rbp - 0x40], 0
mov rcx, r12
call fcn.140059d48
mov qword [rbp - 0x40], rax
xor ecx, ecx
call fcn.140059d2c
nop
mov qword [rbp - 0x38], 0
mov rcx, r13
call fcn.140059d48
mov qword [rbp - 0x38], rax
xor ecx, ecx
call fcn.140059d2c
nop
lea r9, [rbp - 0x40]
lea r8, [rbp - 0x38]
mov rdx, r14
lea rcx, [rbp + 0x58]
call fcn.14001f610
nop
lea rcx, [rbp + 0x78]
mov qword [rsp + 0x38], rcx
lea rcx, [rbp + 0x18]
mov qword [rsp + 0x30], rcx
lea rcx, [rbp - 0x20]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp - 0x30]
mov qword [rsp + 0x20], rcx
mov r9, qword [rbp - 0x18]
mov r8, rbx
mov rdx, rax
mov rcx, qword [rbp + 0xd0]
call fcn.140014330
movzx ebx, al
mov rcx, qword [rbp + 0x58]
call fcn.140059d2c
nop
mov rcx, qword [rbp - 0x38]
call fcn.140059d2c
nop
mov rcx, qword [rbp - 0x40]
call fcn.140059d2c
nop
mov rcx, qword [rbp + 0x60]
call fcn.140059d2c
nop
mov rcx, qword [rbp - 0x48]
call fcn.140059d2c
nop
mov rcx, qword [rbp - 0x80]
call fcn.140059d2c
test bl, bl
je 0x140013127
cmp r15d, 0xffffffff
jne 0x140012fcd
xor r15d, r15d
mov qword [rbp - 0x80], r15
lea rcx, [0x14007a7c4]
call fcn.140059d48
mov qword [rbp - 0x80], rax
xor ecx, ecx
call fcn.140059d2c
nop
mov qword [rbp], r15
lea rcx, [0x14007a7c4]
call fcn.140059d48
mov qword [rbp], rax
xor ecx, ecx
call fcn.140059d2c
nop
mov qword [rbp - 8], r15
lea rcx, [0x14007a7c4]
call fcn.140059d48
mov qword [rbp - 8], rax
xor ecx, ecx
call fcn.140059d2c
nop
mov qword [rbp - 0x10], r15
lea rcx, [0x14007a7c4]
call fcn.140059d48
mov qword [rbp - 0x10], rax
xor ecx, ecx
call fcn.140059d2c
nop
mov qword [rbp - 0x78], r15
lea rcx, [0x14007a7c4]
call fcn.140059d48
mov qword [rbp - 0x78], rax
xor ecx, ecx
call fcn.140059d2c
nop
mov qword [rbp - 0x70], r15
lea rcx, [0x14007a7c4]
call fcn.140059d48
mov qword [rbp - 0x70], rax
xor ecx, ecx
call fcn.140059d2c
nop
mov qword [rbp - 0x68], r15
mov rcx, r12
call fcn.140059d48
mov qword [rbp - 0x68], rax
xor ecx, ecx
call fcn.140059d2c
nop
mov qword [rbp - 0x60], r15
mov rcx, r13
call fcn.140059d48
mov qword [rbp - 0x60], rax
xor ecx, ecx
call fcn.140059d2c
nop
lea r9, [rbp - 0x68]
lea r8, [rbp - 0x60]
mov rdx, r14
lea rcx, [rbp + 0x70]
call fcn.14001f610
mov rbx, rax
mov qword [rbp - 0x58], r15
mov rcx, r12
call fcn.140059d48
mov qword [rbp - 0x58], rax
xor ecx, ecx
call fcn.140059d2c
nop
mov qword [rbp - 0x50], r15
mov rcx, r13
call fcn.140059d48
mov qword [rbp - 0x50], rax
xor ecx, ecx
call fcn.140059d2c
nop
lea r9, [rbp - 0x58]
lea r8, [rbp - 0x50]
mov rdx, r14
lea rcx, [rbp + 0x68]
call fcn.14001f610
nop
movzx r14d, byte [rbp + 0xf8]
mov dword [rsp + 0x80], 0xffffffff
mov qword [rsp + 0x78], r15
mov qword [rsp + 0x70], r15
lea rcx, [rbp - 0x80]
mov qword [rsp + 0x68], rcx
mov dword [rsp + 0x60], r14d
mov qword [rsp + 0x58], r15
lea rcx, [rbp]
mov qword [rsp + 0x50], rcx
lea rcx, [rbp - 8]
mov qword [rsp + 0x48], rcx
lea rcx, [rbp - 0x10]
mov qword [rsp + 0x40], rcx
lea rcx, [rbp - 0x78]
mov qword [rsp + 0x38], rcx
lea rcx, [rbp - 0x70]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor edx, edx
lea r8d, [r15 - 1]
mov rcx, qword [rbp + 0xd0]
call fcn.140014980
mov r15d, eax
mov rcx, qword [rbp + 0x68]
call fcn.140059d2c
nop
mov rcx, qword [rbp - 0x50]
call fcn.140059d2c
nop
mov rcx, qword [rbp - 0x58]
call fcn.140059d2c
nop
mov rcx, qword [rbp + 0x70]
call fcn.140059d2c
nop
mov rcx, qword [rbp - 0x60]
call fcn.140059d2c
nop
mov rcx, qword [rbp - 0x68]
call fcn.140059d2c
nop
mov rcx, qword [rbp - 0x70]
call fcn.140059d2c
nop
mov rcx, qword [rbp - 0x78]
call fcn.140059d2c
nop
mov rcx, qword [rbp - 0x10]
call fcn.140059d2c
nop
mov rcx, qword [rbp - 8]
call fcn.140059d2c
nop
mov rcx, qword [rbp]
call fcn.140059d2c
nop
mov rcx, qword [rbp - 0x80]
call fcn.140059d2c
jmp 0x140012fd5
movzx r14d, byte [rbp + 0xf8]
mov qword [rbp - 0x80], 0
lea rcx, [0x14007a7c4]
call fcn.140059d48
mov qword [rbp - 0x80], rax
xor ecx, ecx
call fcn.140059d2c
nop
mov rbx, qword [rbp + 0x78]
mov qword [rbp - 0x28], 0
lea rcx, [0x14007a7c4]
call fcn.140059d48
mov qword [rbp - 0x28], rax
xor ecx, ecx
call fcn.140059d2c
nop
mov qword [rbp + 0x10], 0
mov rcx, r12
call fcn.140059d48
mov qword [rbp + 0x10], rax
xor ecx, ecx
call fcn.140059d2c
nop
mov qword [rbp + 8], 0
mov rcx, r13
call fcn.140059d48
mov qword [rbp + 8], rax
xor ecx, ecx
call fcn.140059d2c
nop
lea r9, [rbp + 0x10]
lea r8, [rbp + 8]
mov rdx, qword [rbp + 0xd8]
lea rcx, [rbp + 0x80]
call fcn.14001f610
nop
mov dword [rsp + 0x80], 0xffffffff
xor ecx, ecx
mov qword [rsp + 0x78], rcx
mov qword [rsp + 0x70], rcx
lea rcx, [rbp - 0x80]
mov qword [rsp + 0x68], rcx
mov dword [rsp + 0x60], r14d
mov qword [rsp + 0x58], rbx
lea rcx, [rbp - 0x28]
mov qword [rsp + 0x50], rcx
lea rcx, [rbp + 0x18]
mov qword [rsp + 0x48], rcx
lea rcx, [rbp + 0x20]
mov qword [rsp + 0x40], rcx
lea rcx, [rbp - 0x20]
mov qword [rsp + 0x38], rcx
lea rcx, [rbp - 0x30]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rbp - 0x18]
mov qword [rsp + 0x20], rax
mov r9d, 5
mov r8d, r15d
mov edx, dword [rbp + 0xf0]
mov rbx, qword [rbp + 0xd0]
mov rcx, rbx
call fcn.140014980
nop
mov rcx, qword [rbp + 0x80]
call fcn.140059d2c
nop
mov rcx, qword [rbp + 8]
call fcn.140059d2c
nop
mov rcx, qword [rbp + 0x10]
call fcn.140059d2c
nop
mov rcx, qword [rbp - 0x28]
call fcn.140059d2c
nop
mov rcx, qword [rbp - 0x80]
call fcn.140059d2c
jmp 0x14001312e
mov rbx, qword [rbp + 0xd0]
inc rdi
add rsi, 0x20
mov r14, qword [rbp + 0x40]
mov rax, r14
mov rcx, qword [rbp + 0x38]
sub rax, rcx
sar rax, 5
cmp rdi, rax
jb 0x140012c10
xor r12d, r12d
test rcx, rcx
je 0x14001322c
cmp rcx, r14
je 0x1400131fb
lea rdi, [rcx + 8]
nop dword [rax]
mov rbx, qword [rdi]
test rbx, rbx
je 0x1400131dd
mov rsi, qword [rdi + 8]
cmp rbx, rsi
je 0x140013192
mov rcx, qword [rbx]
call fcn.140059d2c
add rbx, 8
cmp rbx, rsi
jne 0x140013181
mov rcx, qword [rdi]
mov rax, qword [rdi + 0x10]
sub rax, rcx
sar rax, 3
lea rdx, [rax*8]
cmp rdx, 0x1000
jb 0x1400131cd
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140013286
mov rcx, r8
call fcn.14004bd8c
mov qword [rdi], r12
mov qword [rdi + 8], r12
mov qword [rdi + 0x10], r12
mov rcx, qword [rdi - 8]
call fcn.140059d2c
add rdi, 0x20
lea rax, [rdi - 8]
cmp rax, r14
jne 0x140013170
mov rcx, qword [rbp + 0x38]
mov rdx, qword [rbp + 0x48]
sub rdx, rcx
and rdx, 0xffffffffffffffe0
mov rax, rcx
cmp rdx, 0x1000
jb 0x140013227
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140013286
call fcn.14004bd8c
mov rcx, qword [rbp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rcx, qword [rbp + 0x18]
call fcn.140059d2c
nop
mov rcx, qword [rbp + 0x20]
call fcn.140059d2c
nop
mov rcx, qword [rbp - 0x20]
call fcn.140059d2c
nop
mov rcx, qword [rbp - 0x30]
call fcn.140059d2c
nop
mov rcx, qword [rbp + 0x28]
call fcn.140059d2c
mov eax, r15d
mov rbx, qword [rsp + 0x1f8]
add rsp, 0x1a0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.14005a178
nop
int3