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

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x680]
sub rsp, 0x790
mov qword [rbp + 0xc8], 0xfffffffffffffffe
mov qword [rsp + 0x7e0], rbx
mov rax, qword [0x1401222f0]
xor rax, rsp
mov qword [rbp + 0x670], rax
mov r12, rdx
mov qword [rbp + 0x38], rdx
mov r13, rcx
mov qword [rbp + 0xa0], rcx
mov qword [rbp + 0xa8], rdx
xor ebx, ebx
mov dword [rbp - 0x28], ebx
lea ecx, [rbx + 2]
call fcn.1400a82f0
mov qword [rbp - 0x70], rax
mov word [rax], bx
lea ecx, [rbx + 2]
call fcn.1400a82f0
mov rdi, rax
mov qword [rbp + 0xd0], rax
mov word [rax], bx
lea ecx, [rbx + 2]
call fcn.1400a82f0
mov rsi, rax
mov qword [rbp + 0xc0], rax
mov word [rax], bx
lea ecx, [rbx + 2]
call fcn.1400a82f0
mov qword [rbp - 0x58], rax
mov word [rax], bx
lea ecx, [rbx + 2]
call fcn.1400a82f0
mov qword [rbp - 0x10], rax
mov word [rax], bx
lea ecx, [rbx + 2]
call fcn.1400a82f0
mov qword [rbp - 8], rax
mov word [rax], bx
lea ecx, [rbx + 2]
call fcn.1400a82f0
mov r14, rax
mov qword [rbp + 0xd8], rax
mov word [rax], bx
lea ecx, [rbx + 2]
call fcn.1400a82f0
mov r15, rax
mov qword [rbp + 0xb0], rax
mov word [rax], bx
lea rcx, [0x1400d1428]
call fcn.1400a8238
mov qword [rbp - 0x20], rax
lea rcx, [0x1400d1428]
call fcn.1400a8238
mov qword [rbp - 0x30], 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 - 0x38], rax
lea rcx, [0x1400d1428]
call fcn.1400a8238
mov qword [rbp - 0x48], rax
lea rcx, [0x1400d1428]
call fcn.1400a8238
mov qword [rbp - 0x80], rax
lea rcx, [0x1400d1428]
call fcn.1400a8238
mov qword [rbp - 0x60], rax
lea r9, [rbp - 0x80]
mov r8, r12
mov rdx, 0xffffffff80000002
lea rcx, [rbp - 0x18]
call fcn.140009060
mov rbx, rax
lea r9, [rbp - 0x60]
mov r8, r12
mov rdx, 0xffffffff80000002
lea rcx, [rbp]
call fcn.140009060
nop
mov dword [rsp + 0x80], 0xffffffff
xor edx, edx
mov qword [rsp + 0x78], rdx
mov qword [rsp + 0x70], rdx
lea rcx, [rbp - 0x20]
mov qword [rsp + 0x68], rcx
mov dword [rsp + 0x60], 1
mov qword [rsp + 0x58], rdx
lea rcx, [rbp - 0x30]
mov qword [rsp + 0x50], rcx
lea rcx, [rbp - 0x40]
mov qword [rsp + 0x48], rcx
lea rcx, [rbp - 0x50]
mov qword [rsp + 0x40], rcx
lea rcx, [rbp - 0x38]
mov qword [rsp + 0x38], rcx
lea rcx, [rbp - 0x48]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rax
xor r9d, r9d
or r8d, 0xffffffff
mov rcx, r13
call fcn.140004870
mov dword [rbp - 0x68], eax
mov rcx, qword [rbp]
call fcn.1400a82b0
nop
mov rcx, qword [rbp - 0x18]
call fcn.1400a82b0
nop
mov rcx, qword [rbp - 0x60]
call fcn.1400a82b0
nop
mov rcx, qword [rbp - 0x80]
call fcn.1400a82b0
nop
mov rcx, qword [rbp - 0x48]
call fcn.1400a82b0
nop
mov rcx, qword [rbp - 0x38]
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 - 0x30]
call fcn.1400a82b0
nop
mov rcx, qword [rbp - 0x20]
call fcn.1400a82b0
lea rax, [rbp + 8]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, qword [r12]
mov rcx, qword [0x140119a10]
call fcn.1400075c0
test eax, eax
jne 0x140028972
lea ecx, [rax + 2]
call fcn.1400a82f0
mov qword [rbp - 0x78], rax
xor ecx, ecx
mov word [rax], cx
xor edx, edx
lea r8, [rbp - 0x78]
mov rcx, qword [rbp + 8]
call fcn.1400136a0
test eax, eax
jne 0x14002895d
mov rbx, qword [rbp - 0x78]
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, rbx
mov rcx, qword [rbp + 8]
call fcn.1400075c0
test eax, eax
jne 0x140028943
mov dword [rbp + 0x10], 0x378
lea rax, [rbp + 0x10]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0xe0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.PackedCatalogItem
mov rcx, qword [rbp + 0x18]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140028939
lea ecx, [rax + 0x18]
call fcn.1400a8e40
mov rbx, rax
mov qword [rbp - 0x48], rax
test rax, rax
je 0x14002840e
xor eax, eax
mov qword [rbx + 8], rax
mov dword [rbx + 0x10], 1
lea rcx, [rbp + 0xe0]
call fcn.1400a6ce0
mov qword [rbx], rax
jmp 0x140028411
mov rbx, rax
test rbx, rbx
je 0x140028952
mov rax, qword [rbx]
lea rcx, [0x1400d1428]
test rax, rax
cmovne rcx, rax
call fcn.1400a8238
mov qword [rbp - 0x60], rax
mov rcx, rbx
call fcn.140009910
mov ecx, 2
call fcn.1400a82f0
mov qword [rbp + 0x40], rax
xor ecx, ecx
mov word [rax], cx
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x48], xmm0
mov qword [rbp + 0x58], rcx
lea rdx, [rbp + 0x40]
mov rcx, qword [rbp - 0x60]
call fcn.140007b90
xor r9d, r9d
lea r8, [rbp + 0x40]
mov rdx, r13
lea rcx, [rbp + 0x98]
call fcn.1400058f0
mov rbx, qword [rbp - 0x70]
mov rcx, qword [rax]
call fcn.1400a8238
mov qword [rbp - 0x70], rax
mov rcx, rbx
call fcn.1400a82b0
mov rcx, qword [rbp + 0x98]
call fcn.1400a82b0
lea r9, [rbp - 0x10]
lea r8, [rbp - 0x58]
mov rdx, qword [rbp - 0x70]
mov rcx, r13
call fcn.1400058e0
mov dword [rbp - 0x48], eax
mov rcx, qword [rbp - 0x78]
call fcn.1400a8238
mov qword [rbp - 0x80], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.ProtocolName
mov rcx, qword [rbp + 0x18]
call fcn.1400138b0
test eax, eax
jne 0x1400285dc
mov rcx, qword [rbp - 0x80]
cmp word [rcx], 0x40
jne 0x1400285dc
call fcn.1400a8238
mov r13, rax
mov qword [rbp + 0xb8], rax
xor ebx, ebx
mov r12d, ebx
lea edx, [rbx + 0x2c]
mov rcx, rax
call fcn.1400a9720
test rax, rax
je 0x140028540
lea edx, [rbx + 0x2c]
mov rcx, r13
call fcn.1400a9720
mov word [rax], bx
lea rcx, [rax + 2]
call fcn.1400ab1a4
cdq
mov r12d, eax
xor r12d, edx
sub r12d, edx
lea rdx, [r13 + 2]
lea rcx, [rbp + 0x88]
call fcn.140013270
mov rcx, qword [rax]
call fcn.1400a8238
mov rbx, rax
mov rcx, r13
call fcn.1400a82b0
mov rcx, qword [rbp + 0x88]
call fcn.1400a82b0
xor edx, edx
lea r8d, [rdx + 2]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov r13, rax
test rax, rax
je 0x1400285c9
mov r9d, 0x104
lea r8, [rbp + 0x460]
mov edx, r12d
mov rcx, rax
call qword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
je 0x1400285bf
mov r12, qword [rbp - 0x80]
lea rcx, [rbp + 0x460]
call fcn.1400a8238
mov qword [rbp - 0x80], rax
mov rcx, r12
call fcn.1400a82b0
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
mov rcx, rbx
call fcn.1400a82b0
mov r12, qword [rbp + 0x38]
mov r13, qword [rbp + 0xa0]
lea rcx, [0x1400d1428]
call fcn.1400a8238
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x78]
mov r8, r12
mov rdx, 0xffffffff80000002
lea rcx, [rbp + 0x60]
call fcn.140009060
mov rbx, rax
lea r9, [rbp - 0x20]
mov r8, r12
mov rdx, 0xffffffff80000002
lea rcx, [rbp + 0x78]
call fcn.140009060
nop
lea rcx, [rbp + 0x80]
mov qword [rsp + 0x38], rcx
lea rcx, [rbp - 8]
mov qword [rsp + 0x30], rcx
lea rcx, [rbp - 0x58]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp - 0x70]
mov qword [rsp + 0x20], rcx
mov r9, rbx
mov r8, rax
lea rdx, [rbp - 0x78]
mov rcx, r13
call fcn.140004500
movzx ebx, al
mov rcx, qword [rbp + 0x78]
call fcn.1400a82b0
nop
mov rcx, qword [rbp + 0x60]
call fcn.1400a82b0
nop
mov rcx, qword [rbp - 0x20]
call fcn.1400a82b0
test bl, bl
je 0x1400288db
cmp dword [rbp - 0x68], 0xffffffff
jne 0x140028814
lea rcx, [0x1400d1428]
call fcn.1400a8238
mov qword [rbp - 0x18], rax
lea rcx, [0x1400d1428]
call fcn.1400a8238
mov qword [rbp + 0x30], rax
lea rcx, [0x1400d1428]
call fcn.1400a8238
mov qword [rbp + 0x20], 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 - 0x50], rax
lea rcx, [0x1400d1428]
call fcn.1400a8238
mov qword [rbp - 0x40], rax
lea rcx, [0x1400d1428]
call fcn.1400a8238
mov qword [rbp - 0x30], rax
lea r9, [rbp - 0x40]
mov r8, r12
mov rdx, 0xffffffff80000002
lea rcx, [rbp + 0x70]
call fcn.140009060
mov rbx, rax
lea r9, [rbp - 0x30]
mov r8, r12
mov rdx, 0xffffffff80000002
lea rcx, [rbp + 0x68]
call fcn.140009060
nop
mov dword [rsp + 0x80], 0xffffffff
xor edx, edx
mov qword [rsp + 0x78], rdx
mov qword [rsp + 0x70], rdx
lea rcx, [rbp - 0x18]
mov qword [rsp + 0x68], rcx
mov dword [rsp + 0x60], 1
mov qword [rsp + 0x58], rdx
lea rcx, [rbp + 0x30]
mov qword [rsp + 0x50], rcx
lea rcx, [rbp + 0x20]
mov qword [rsp + 0x48], rcx
lea rcx, [rbp + 0x28]
mov qword [rsp + 0x40], rcx
lea rcx, [rbp - 0x38]
mov qword [rsp + 0x38], rcx
lea rcx, [rbp - 0x50]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rax
xor r9d, r9d
or r8d, 0xffffffff
mov rcx, r13
call fcn.140004870
mov dword [rbp - 0x68], eax
mov rcx, qword [rbp + 0x68]
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 - 0x40]
call fcn.1400a82b0
nop
mov rcx, qword [rbp - 0x50]
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 + 0x20]
call fcn.1400a82b0
nop
mov rcx, qword [rbp + 0x30]
call fcn.1400a82b0
nop
mov rcx, qword [rbp - 0x18]
call fcn.1400a82b0
lea rcx, [0x1400d1428]
call fcn.1400a8238
mov qword [rbp], rax
lea r9, [rbp - 0x78]
mov r8, r12
mov rdx, 0xffffffff80000002
lea rcx, [rbp + 0x90]
call fcn.140009060
nop
mov dword [rsp + 0x80], 0xffffffff
xor ecx, ecx
mov qword [rsp + 0x78], rcx
mov qword [rsp + 0x70], rcx
lea rcx, [rbp]
mov qword [rsp + 0x68], rcx
mov dword [rsp + 0x60], 1
mov rcx, qword [rbp + 0x80]
mov qword [rsp + 0x58], rcx
lea rcx, [rbp - 0x60]
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 - 0x58]
mov qword [rsp + 0x38], rcx
lea rcx, [rbp - 0x70]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
mov r9d, ntohs
mov r8d, dword [rbp - 0x68]
mov edx, dword [rbp - 0x48]
mov rcx, r13
call fcn.140004870
nop
mov rcx, qword [rbp + 0x90]
call fcn.1400a82b0
nop
mov rcx, qword [rbp]
call fcn.1400a82b0
nop
mov rcx, qword [rbp - 0x80]
call fcn.1400a82b0
nop
mov rbx, qword [rbp + 0x48]
test rbx, rbx
je 0x140028926
mov r12, qword [rbp + 0x50]
cmp rbx, r12
je 0x14002890c
mov rcx, qword [rbx]
call fcn.1400a82b0
invalid
invalid