Function at 0x140018900
Capabilities:
Get thread local storage value
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x498]
sub rsp, 0x5a8
mov qword [rbp + 0x58], 0xfffffffffffffffe
mov rax, qword [0x1401222f0]
xor rax, rsp
mov qword [rbp + 0x480], rax
mov dword [rbp - 0x80], r9d
mov r12, r8
mov rsi, rdx
mov qword [rbp + 0x10], rdx
mov rdi, rcx
mov qword [rbp - 0x18], rcx
lea r15, [0x1400d1428]
xor r14d, r14d
cmp r9d, 0xffffffff
jne 0x140018afd
mov rcx, r15
call fcn.1400a8238
mov qword [rbp - 0x70], rax
mov rcx, r15
call fcn.1400a8238
mov qword [rbp - 0x68], rax
mov rcx, r15
call fcn.1400a8238
mov qword [rbp - 0x58], rax
mov rcx, r15
call fcn.1400a8238
mov qword [rbp - 0x60], rax
mov rcx, r15
call fcn.1400a8238
mov qword [rbp - 0x40], rax
mov rcx, r15
call fcn.1400a8238
mov qword [rbp], rax
mov rcx, r15
call fcn.1400a8238
mov qword [rbp - 0x30], rax
mov rcx, r15
test r12, r12
cmovne rcx, r12
call fcn.1400a8238
mov qword [rbp - 0x20], rax
mov rcx, r15
call fcn.1400a8238
mov qword [rbp - 0x10], rax
mov rcx, r15
test r12, r12
cmovne rcx, r12
call fcn.1400a8238
mov qword [rbp - 8], rax
lea r9, [rbp - 0x30]
lea r8, [rbp - 0x20]
mov rdx, rsi
lea rcx, [rbp - 0x78]
call fcn.140009060
mov rbx, rax
lea r9, [rbp - 0x10]
lea r8, [rbp - 8]
mov rdx, rsi
lea rcx, [rbp + 8]
call fcn.140009060
nop
mov dword [rsp + 0x80], 0xffffffff
mov qword [rsp + 0x78], r14
mov qword [rsp + 0x70], r14
lea rcx, [rbp - 0x70]
mov qword [rsp + 0x68], rcx
mov dword [rsp + 0x60], 1
mov qword [rsp + 0x58], r14
lea rcx, [rbp - 0x68]
mov qword [rsp + 0x50], rcx
lea rcx, [rbp - 0x58]
mov qword [rsp + 0x48], rcx
lea rcx, [rbp - 0x60]
mov qword [rsp + 0x40], rcx
lea rcx, [rbp - 0x40]
mov qword [rsp + 0x38], rcx
lea rcx, [rbp]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rax
xor r9d, r9d
or r8d, 0xffffffff
xor edx, edx
mov rcx, rdi
call fcn.140004870
mov dword [rbp - 0x80], eax
mov rcx, qword [rbp + 8]
call fcn.1400a82b0
nop
mov rcx, qword [rbp - 0x78]
call fcn.1400a82b0
nop
mov rcx, qword [rbp - 8]
call fcn.1400a82b0
nop
mov rcx, qword [rbp - 0x10]
call fcn.1400a82b0
nop
mov rcx, qword [rbp - 0x20]
call fcn.1400a82b0
nop
mov rcx, qword [rbp - 0x30]
call fcn.1400a82b0
nop
mov rcx, qword [rbp]
call fcn.1400a82b0
nop
mov rcx, qword [rbp - 0x40]
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 - 0x68]
call fcn.1400a82b0
nop
mov rcx, qword [rbp - 0x70]
call fcn.1400a82b0
mov ecx, 2
call fcn.1400a82f0
mov rdi, rax
mov qword [rbp - 0x38], rax
mov word [rax], r14w
mov qword [rbp + 0x20], r14
mov rcx, r12
call fcn.1400a8238
mov rbx, rax
mov qword [rbp + 8], rax
mov edx, 0x5c
mov rcx, rax
call fcn.1400a9910
mov word [rax], r14w
lea r13, [rax + 2]
cmp byte [rbp + 0x500], 0
je 0x140018b5f
mov rcx, r12
call fcn.1400a8238
mov r14, rax
mov qword [rbp + 0x50], rax
mov rcx, rdi
call fcn.1400a82b0
jmp 0x140018c41
mov rcx, r15
test r13, r13
cmovne rcx, r13
call fcn.1400a8238
mov rsi, rax
mov qword [rbp - 0x48], rax
lea rcx, str.AutorunsDisabled
call fcn.1400a8238
mov rdi, rax
mov qword [rbp - 0x50], rax
mov rcx, r15
test rbx, rbx
cmovne rcx, rbx
call fcn.1400a8238
mov rbx, rax
mov qword [rbp - 0x78], rax
lea r8, [0x1400d1c90]
lea rdx, [rbp - 0x78]
lea rcx, [rbp - 0x60]
call fcn.140022b00
lea r8, [rbp - 0x50]
mov rdx, rax
lea rcx, [rbp - 0x58]
call fcn.14001d560
lea r8, [0x1400d1c90]
mov rdx, rax
lea rcx, [rbp - 0x68]
call fcn.140022b00
lea r8, [rbp - 0x48]
mov rdx, rax
lea rcx, [rbp - 0x70]
call fcn.14001d560
mov rcx, qword [rax]
call fcn.1400a8238
mov r14, rax
mov qword [rbp + 0x50], rax
mov rcx, qword [rbp - 0x38]
call fcn.1400a82b0
mov rcx, qword [rbp - 0x70]
call fcn.1400a82b0
mov rcx, qword [rbp - 0x68]
call fcn.1400a82b0
mov rcx, qword [rbp - 0x58]
call fcn.1400a82b0
mov rcx, qword [rbp - 0x60]
call fcn.1400a82b0
mov rcx, rbx
call fcn.1400a82b0
mov rcx, rdi
call fcn.1400a82b0
mov rcx, rsi
call fcn.1400a82b0
mov rbx, qword [rbp + 8]
mov rsi, qword [rbp + 0x10]
mov ecx, dword [0x1401252dc]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
or eax, 0x20019
lea rcx, [rbp + 0x20]
mov qword [rsp + 0x20], rcx
mov r9d, eax
xor r8d, r8d
mov rdx, r14
mov rcx, rsi
call fcn.1400075c0
test eax, eax
je 0x140018c80
mov rcx, rbx
call fcn.1400a82b0
mov esi, dword [rbp - 0x80]
jmp 0x140019288
mov qword [rbp + 0x18], 0
mov dword [rbp - 0x28], 0x208
lea rax, [rbp - 0x28]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x270]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp + 0x20]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140019271
lea rcx, [rbp + 0x270]
call fcn.1400a8238
mov rbx, rax
mov qword [rbp - 0x78], rax
lea r8, [rbp - 0x78]
lea rdx, str.SoftwareClasses_
lea rcx, [rbp - 0x48]
call fcn.1400161f0
nop
lea r8, str._shellopencommand
mov rdx, rax
lea rcx, [rbp - 0x50]
call fcn.140022b00
nop
mov rdi, qword [rax]
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, rdi
mov rcx, rsi
call fcn.1400075c0
test eax, eax
sete dil
mov rcx, qword [rbp - 0x50]
call fcn.1400a82b0
nop
mov rcx, qword [rbp - 0x48]
call fcn.1400a82b0
nop
mov rcx, rbx
call fcn.1400a82b0
test dil, dil
je 0x140019271
mov dword [rbp - 0x28], 0x208
lea rax, [rbp - 0x28]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp + 0x18]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140019262
xor ebx, ebx
mov ecx, ebx
lea rdx, [rbp + 0x60]
lea r8, str.__1___
nop word [rax + rax]
movzx eax, word [rdx + rcx*2]
inc rcx
cmp ax, word [r8 + rcx*2 - 2]
jne 0x140018dba
cmp rcx, 8
jne 0x140018da0
jmp 0x140019262
mov ecx, 2
call fcn.1400a82f0
mov qword [rbp - 0x20], rax
mov word [rax], bx
mov ecx, 2
call fcn.1400a82f0
mov qword [rbp - 8], rax
mov word [rax], bx
mov ecx, 2
call fcn.1400a82f0
mov qword [rbp - 0x10], rax
mov word [rax], bx
mov ecx, 2
call fcn.1400a82f0
mov qword [rbp + 0x28], rax
mov word [rax], bx
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x30], xmm0
mov qword [rbp + 0x40], rbx
lea rdx, [rbp + 0x28]
lea rcx, [rbp + 0x60]
call fcn.140008100
xor r9d, r9d
lea r8, [rbp + 0x28]
mov rdi, qword [rbp - 0x18]
mov rdx, rdi
lea rcx, [rbp - 0x30]
call fcn.1400058f0
nop
lea r9, [rbp - 8]
lea r8, [rbp - 0x20]
mov rdx, qword [rbp - 0x30]
mov rcx, rdi
call fcn.1400058e0
mov dword [rbp], eax
mov rcx, r15
call fcn.1400a8238
mov qword [rbp - 0x40], rax
mov rcx, r15
test r12, r12
cmovne rcx, r12
call fcn.1400a8238
mov qword [rbp - 0x60], rax
mov rcx, r15
call fcn.1400a8238
mov qword [rbp - 0x58], rax
mov rcx, r15
test r12, r12
cmovne rcx, r12
call fcn.1400a8238
mov qword [rbp - 0x68], rax
mov rcx, r15
test r12, r12
cmovne rcx, r12
call fcn.1400a8238
mov qword [rbp - 0x70], rax
lea r9, [rbp - 0x40]
lea r8, [rbp - 0x60]
mov rdx, rsi
lea rcx, [rbp - 0x78]
call fcn.140009060
mov rbx, rax
lea r9, [rbp - 0x58]
lea r8, [rbp - 0x68]
mov rdx, rsi
lea rcx, [rbp - 0x18]
call fcn.140009060
nop
lea rcx, [rbp + 0x48]
mov qword [rsp + 0x38], rcx
lea rcx, [rbp - 0x10]
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, rbx
mov r8, rax
lea rdx, [rbp - 0x70]
mov rcx, rdi
call fcn.140004500
movzx ebx, al
mov rcx, qword [rbp - 0x18]
call fcn.1400a82b0
nop
mov rcx, qword [rbp - 0x78]
call fcn.1400a82b0
nop
mov rcx, qword [rbp - 0x70]
call fcn.1400a82b0
nop
mov rcx, qword [rbp - 0x68]
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 - 0x40]
call fcn.1400a82b0
mov esi, dword [rbp - 0x80]
test bl, bl
je 0x1400191ee
cmp esi, 0xffffffff
jne 0x1400190c8
mov rcx, r15
call fcn.1400a8238
mov qword [rbp - 0x78], rax
mov rcx, r15
call fcn.1400a8238
mov qword [rbp - 0x50], rax
mov rcx, r15
invalid