Function at 0x140016320
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xb0]
sub rsp, 0x1c0
mov qword [rbp + 0xa0], 0xfffffffffffffffe
mov qword [rsp + 0x208], rbx
mov r12d, r9d
mov r15, r8
mov r13, rdx
mov rsi, rcx
xor edi, edi
mov r14d, edi
lea ecx, [rdi + 2]
call fcn.1400a82f0
mov qword [rbp + 0x10], rax
mov word [rax], di
lea ecx, [rdi + 2]
call fcn.1400a82f0
mov qword [rbp - 0x80], rax
mov word [rax], di
lea ecx, [rdi + 2]
call fcn.1400a82f0
mov rbx, rax
mov qword [rbp + 0x80], rax
mov word [rax], di
lea ecx, [rdi + 2]
call fcn.1400a82f0
mov qword [rbp - 0x78], rax
mov word [rax], di
lea ecx, [rdi + 2]
call fcn.1400a82f0
mov qword [rbp - 8], rax
mov word [rax], di
lea ecx, [rdi + 2]
call fcn.1400a82f0
mov qword [rbp + 8], rax
mov word [rax], di
lea ecx, [rdi + 2]
call fcn.1400a82f0
mov qword [rbp], rax
mov word [rax], di
cmp r12d, 0xffffffff
jne 0x1400165a5
lea rcx, [0x1400d1428]
call fcn.1400a8238
mov qword [rbp - 0x70], rax
lea rcx, [0x1400d1428]
call fcn.1400a8238
mov qword [rbp - 0x30], rax
lea rcx, [0x1400d1428]
call fcn.1400a8238
mov qword [rbp - 0x28], rax
lea rcx, [0x1400d1428]
call fcn.1400a8238
mov qword [rbp - 0x38], rax
lea rcx, [0x1400d1428]
call fcn.1400a8238
mov qword [rbp - 0x58], rax
lea rcx, [0x1400d1428]
call fcn.1400a8238
mov qword [rbp - 0x60], rax
lea rcx, [0x1400d1428]
call fcn.1400a8238
mov qword [rbp - 0x68], rax
lea rcx, [0x1400d1428]
test r15, r15
cmovne rcx, r15
call fcn.1400a8238
mov qword [rbp - 0x50], rax
lea rcx, [0x1400d1428]
call fcn.1400a8238
mov qword [rbp - 0x40], rax
lea rcx, [0x1400d1428]
test r15, r15
cmovne rcx, r15
call fcn.1400a8238
mov qword [rbp - 0x48], rax
lea r9, [rbp - 0x68]
lea r8, [rbp - 0x50]
mov rdx, r13
lea rcx, [rbp - 0x20]
call fcn.140009060
mov rdi, rax
lea r9, [rbp - 0x40]
lea r8, [rbp - 0x48]
mov rdx, r13
lea rcx, [rbp - 0x10]
call fcn.140009060
nop
movzx ecx, byte [rbp + 0x110]
mov dword [rsp + 0x80], r12d
xor r8d, r8d
mov qword [rsp + 0x78], r8
mov qword [rsp + 0x70], r8
lea rdx, [rbp - 0x70]
mov qword [rsp + 0x68], rdx
mov dword [rsp + 0x60], ecx
mov qword [rsp + 0x58], r8
lea rcx, [rbp - 0x30]
mov qword [rsp + 0x50], rcx
lea rcx, [rbp - 0x28]
mov qword [rsp + 0x48], rcx
lea rcx, [rbp - 0x38]
mov qword [rsp + 0x40], rcx
lea rcx, [rbp - 0x58]
mov qword [rsp + 0x38], rcx
lea rcx, [rbp - 0x60]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rax
xor r9d, r9d
or r8d, r12d
xor edx, edx
mov rcx, rsi
call fcn.140004870
mov r12d, eax
mov rcx, qword [rbp - 0x10]
call fcn.1400a82b0
nop
mov rcx, qword [rbp - 0x20]
call fcn.1400a82b0
nop
mov rcx, qword [rbp - 0x48]
call fcn.1400a82b0
nop
mov rcx, qword [rbp - 0x40]
call fcn.1400a82b0
nop
mov rcx, qword [rbp - 0x50]
call fcn.1400a82b0
nop
mov rcx, qword [rbp - 0x68]
call fcn.1400a82b0
nop
mov rcx, qword [rbp - 0x60]
call fcn.1400a82b0
nop
mov rcx, qword [rbp - 0x58]
call fcn.1400a82b0
nop
mov rcx, qword [rbp - 0x38]
call fcn.1400a82b0
nop
mov rcx, qword [rbp - 0x28]
call fcn.1400a82b0
nop
mov rcx, qword [rbp - 0x30]
call fcn.1400a82b0
nop
mov rcx, qword [rbp - 0x70]
call fcn.1400a82b0
mov ecx, dword [0x1401252dc]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
or eax, 0x20019
lea rcx, [rbp - 0x18]
mov qword [rsp + 0x20], rcx
mov r9d, eax
xor r8d, r8d
mov rdx, r15
mov rcx, r13
call fcn.1400075c0
test eax, eax
jne 0x140016b17
lea r8, [rbp - 0x80]
xor edx, edx
mov rcx, qword [rbp - 0x18]
call fcn.1400136a0
test eax, eax
jne 0x140016b0c
xor ebx, ebx
nop dword [rax]
nop word [rax + rax]
mov rdi, qword [rbp - 0x80]
mov ecx, dword [0x1401252dc]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
or eax, 0x20019
lea rcx, [rbp + 0x38]
mov qword [rsp + 0x20], rcx
mov r9d, eax
xor r8d, r8d
mov rdx, rdi
mov rcx, qword [rbp - 0x18]
call fcn.1400075c0
test eax, eax
jne 0x140016aea
lea rax, [rbp + 0x10]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.Source
mov rcx, qword [rbp + 0x38]
call fcn.1400138b0
test eax, eax
jne 0x140016ae0
lea ecx, [rax + 2]
call fcn.1400a82f0
mov qword [rbp + 0x40], rax
mov word [rax], bx
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x48], xmm0
mov qword [rbp + 0x58], rbx
lea rdx, [rbp + 0x40]
mov rcx, qword [rbp + 0x10]
call fcn.140007b90
test al, al
je 0x140016a95
xor r9d, r9d
lea r8, [rbp + 0x40]
mov rdx, rsi
lea rcx, [rbp + 0x88]
call fcn.1400058f0
mov rdi, qword [rbp - 0x78]
mov rcx, qword [rax]
call fcn.1400a8238
mov qword [rbp - 0x78], rax
mov rcx, rdi
call fcn.1400a82b0
mov rcx, qword [rbp + 0x88]
call fcn.1400a82b0
lea r9, [rbp + 8]
lea r8, [rbp - 8]
mov rdx, qword [rbp - 0x78]
mov rcx, rsi
call fcn.1400058e0
mov dword [rbp + 0x108], eax
lea rcx, [0x1400d1428]
test r15, r15
cmovne rcx, r15
call fcn.1400a8238
mov qword [rbp - 0x28], rax
lea rcx, [0x1400d1428]
call fcn.1400a8238
mov qword [rbp - 0x30], rax
lea rcx, [0x1400d1428]
test r15, r15
cmovne rcx, r15
call fcn.1400a8238
mov qword [rbp - 0x70], rax
lea r9, [rbp - 0x80]
lea r8, [rbp - 0x28]
mov rdx, r13
lea rcx, [rbp + 0x60]
call fcn.140009060
mov rdi, rax
lea r9, [rbp - 0x30]
lea r8, [rbp - 0x70]
mov rdx, r13
lea rcx, [rbp + 0x90]
call fcn.140009060
nop
lea rcx, [rbp + 0x68]
mov qword [rsp + 0x38], rcx
lea rcx, [rbp]
mov qword [rsp + 0x30], rcx
lea rcx, [rbp - 8]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp - 0x78]
mov qword [rsp + 0x20], rcx
mov r9, rdi
mov r8, rax
lea rdx, [rbp - 0x80]
mov rcx, rsi
call fcn.140004500
movzx edi, al
mov rcx, qword [rbp + 0x90]
call fcn.1400a82b0
nop
mov rcx, qword [rbp + 0x60]
call fcn.1400a82b0
nop
mov rcx, qword [rbp - 0x70]
call fcn.1400a82b0
nop
mov rcx, qword [rbp - 0x30]
call fcn.1400a82b0
nop
mov rcx, qword [rbp - 0x28]
call fcn.1400a82b0
test dil, dil
je 0x140016a95
cmp r12d, 0xffffffff
jne 0x14001699c
lea rcx, [0x1400d1428]
call fcn.1400a8238
mov qword [rbp + 0x20], rax
lea rcx, [0x1400d1428]
call fcn.1400a8238
mov qword [rbp + 0x18], rax
lea rcx, [0x1400d1428]
call fcn.1400a8238
mov qword [rbp + 0x28], rax
lea rcx, [0x1400d1428]
call fcn.1400a8238
mov qword [rbp - 0x48], rax
lea rcx, [0x1400d1428]
call fcn.1400a8238
mov qword [rbp - 0x40], rax
lea rcx, [0x1400d1428]
call fcn.1400a8238
mov qword [rbp - 0x50], rax
lea rcx, [0x1400d1428]
call fcn.1400a8238
mov qword [rbp - 0x68], rax
lea rcx, [0x1400d1428]
test r15, r15
cmovne rcx, r15
call fcn.1400a8238
mov qword [rbp - 0x60], rax
lea rcx, [0x1400d1428]
call fcn.1400a8238
mov qword [rbp - 0x58], rax
lea rcx, [0x1400d1428]
test r15, r15
cmovne rcx, r15
call fcn.1400a8238
mov qword [rbp - 0x38], rax
lea r9, [rbp - 0x68]
lea r8, [rbp - 0x60]
mov rdx, r13
lea rcx, [rbp + 0x98]
call fcn.140009060
mov rdi, rax
lea r9, [rbp - 0x58]
lea r8, [rbp - 0x38]
mov rdx, r13
lea rcx, [rbp + 0x78]
call fcn.140009060
nop
movzx ecx, byte [rbp + 0x110]
mov dword [rsp + 0x80], r12d
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x70], rbx
lea rdx, [rbp + 0x20]
mov qword [rsp + 0x68], rdx
mov dword [rsp + 0x60], ecx
mov qword [rsp + 0x58], rbx
lea rcx, [rbp + 0x18]
mov qword [rsp + 0x50], rcx
lea rcx, [rbp + 0x28]
mov qword [rsp + 0x48], rcx
lea rcx, [rbp - 0x48]
mov qword [rsp + 0x40], rcx
lea rcx, [rbp - 0x40]
mov qword [rsp + 0x38], rcx
lea rcx, [rbp - 0x50]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rax
xor r9d, r9d
or r8d, r12d
xor edx, edx
mov rcx, rsi
call fcn.140004870
mov r12d, eax
mov rcx, qword [rbp + 0x78]
call fcn.1400a82b0
nop
mov rcx, qword [rbp + 0x98]
call fcn.1400a82b0
nop
mov rcx, qword [rbp - 0x38]
call fcn.1400a82b0
nop
mov rcx, qword [rbp - 0x58]
call fcn.1400a82b0
nop
mov rcx, qword [rbp - 0x60]
call fcn.1400a82b0
nop
mov rcx, qword [rbp - 0x68]
call fcn.1400a82b0
nop
mov rcx, qword [rbp - 0x50]
call fcn.1400a82b0
nop
mov rcx, qword [rbp - 0x40]
call fcn.1400a82b0
nop
mov rcx, qword [rbp - 0x48]
call fcn.1400a82b0
nop
mov rcx, qword [rbp + 0x28]
call fcn.1400a82b0
nop
mov rcx, qword [rbp + 0x18]
call fcn.1400a82b0
nop
mov rcx, qword [rbp + 0x20]
call fcn.1400a82b0
lea rcx, [0x1400d1428]
call fcn.1400a8238
mov qword [rbp - 0x10], rax
lea rcx, [0x1400d1428]
call fcn.1400a8238
mov qword [rbp - 0x20], rax
lea rcx, [0x1400d1428]
test r15, r15
cmovne rcx, r15
call fcn.1400a8238
mov qword [rbp + 0x30], rax
lea r9, [rbp - 0x80]
lea r8, [rbp + 0x30]
mov rdx, r13
lea rcx, [rbp + 0x70]
call fcn.140009060
nop
movzx ecx, byte [rbp + 0x110]
mov dword [rsp + 0x80], 0xffffffff
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x70], rbx
lea rdx, [rbp - 0x10]
mov qword [rsp + 0x68], rdx
mov dword [rsp + 0x60], ecx
mov rcx, qword [rbp + 0x68]
mov qword [rsp + 0x58], rcx
lea rcx, [rbp - 0x20]
mov qword [rsp + 0x50], rcx
lea rcx, [rbp]
mov qword [rsp + 0x48], rcx
lea rcx, [rbp + 8]
mov qword [rsp + 0x40], rcx
lea rcx, [rbp - 8]
mov qword [rsp + 0x38], rcx
lea rcx, [rbp - 0x78]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
mov r9d, 3
mov r8d, r12d
mov edx, dword [rbp + 0x108]
mov rcx, rsi
call fcn.140004870
nop
mov rcx, qword [rbp + 0x70]
call fcn.1400a82b0
nop
mov rcx, qword [rbp + 0x30]
call fcn.1400a82b0
nop
mov rcx, qword [rbp - 0x20]
call fcn.1400a82b0
nop
mov rcx, qword [rbp - 0x10]
call fcn.1400a82b0
nop
mov rdi, qword [rbp + 0x48]
test rdi, rdi
je 0x140016ad7
mov rsi, qword [rbp + 0x50]
cmp rdi, rsi
je 0x140016abc
mov rcx, qword [rdi]
call fcn.1400a82b0
add rdi, 8
cmp rdi, rsi
jne 0x140016aa7
mov rdi, qword [rbp + 0x48]
mov rcx, rdi
call fcn.1400a7cb8
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x48], xmm0
mov qword [rbp + 0x58], rbx
mov rsi, qword [rbp + 0xf0]
mov rcx, qword [rbp + 0x40]
call fcn.1400a82b0
mov rcx, qword [rbp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc r14d
lea r8, [rbp - 0x80]
mov edx, r14d
mov rcx, qword [rbp - 0x18]
call fcn.1400136a0
test eax, eax
je 0x140016600
mov rbx, qword [rbp + 0x80]
mov rcx, qword [rbp - 0x18]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rcx, qword [rbp]
call fcn.1400a82b0
nop
mov rcx, qword [rbp + 8]
call fcn.1400a82b0
nop
mov rcx, qword [rbp - 8]
call fcn.1400a82b0
nop
mov rcx, qword [rbp - 0x78]
call fcn.1400a82b0
nop
mov rcx, rbx
call fcn.1400a82b0
nop
mov rcx, qword [rbp - 0x80]
call fcn.1400a82b0
nop
mov rcx, qword [rbp + 0x10]
call fcn.1400a82b0
mov eax, r12d
mov rbx, qword [rsp + 0x208]
add rsp, 0x1c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp