Function at 0x14001d558
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x590
mov qword [r11 - 0x508], 0xfffffffffffffffe
mov qword [r11 + 0x18], rbx
mov rax, qword [0x140076010]
xor rax, rsp
mov qword [rsp + 0x580], rax
mov r15, rdx
mov rsi, rcx
lea rdx, str.EnsureApplicationGuardContainer
lea rcx, [r11 - 0x428]
call fcn.140007214
lea rdx, [rsp + 0x190]
lea rcx, [rsp + 0x110]
call fcn.14001d084
mov rax, qword [rsp + 0x1a8]
mov r14d, 0x1000
cmp rax, 8
jb 0x14001d604
lea rax, [rax*2 + 2]
mov rcx, qword [rsp + 0x190]
mov rdx, rcx
cmp rax, r14
jb 0x14001d5fd
mov rcx, qword [rcx - 8]
sub rdx, rcx
lea rax, [rdx - 8]
cmp rax, 0x1f
jbe 0x14001d5fd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
movdqa xmm0, xmmword [0x1400646c0]
movdqu xmmword [rsp + 0x1a0], xmm0
xor r12d, r12d
mov word [rsp + 0x190], r12w
lea edx, [r12 + 1]
lea ecx, [rdx + 0x47]
call qword [sym.imp.Mso20Win32Client.dll_Ordinal_378]
mov rbx, rax
test rax, rax
jne 0x14001d63e
call qword [sym.imp.Mso20Win32Client.dll_Ordinal_1135]
nop
mov qword [rsp + 0xa8], rbx
or qword [rax + 8], 0xffffffffffffffff
lea rax, [0x14004a590]
mov qword [rbx], rax
lea rdi, [rbx + 0x10]
lea rax, [0x14004a598]
mov qword [rdi], rax
mov dword [rdi + 8], r12d
lea rax, [0x14004a580]
mov qword [rbx], rax
lea rax, [0x14004a588]
mov qword [rdi], rax
lea rcx, [rbx + 0x20]
lea rdx, [rsp + 0x110]
call fcn.14000ced8
mov dword [rbx + 0x40], 0x79
mov qword [rbx + 8], r12
mov qword [rsp + 0xb8], rbx
mov dword [rsp + 0xc0], 0x93
mov ecx, 1
lock add dword [rbx + 0x18], ecx
lea rax, [0x14004a598]
mov qword [rsp + 0x130], rax
mov dword [rsp + 0x138], r12d
lea rax, [0x14004a5a0]
mov qword [rsp + 0x130], rax
mov qword [rsp + 0x158], r12
movdqa xmm0, xmmword [0x1400646c0]
movdqa xmmword [rsp + 0x170], xmm0
mov word [rsp + 0x160], r12w
mov dword [rsp + 0x180], 0x8b
mov dword [rsp + 0x140], Ordinal_26
mov dword [rsp + 0x150], r12d
mov qword [rsp + 0x148], r12
lea rdx, [rsp + 0x130]
mov rcx, rbx
call fcn.14001d340
test al, al
je 0x14001e148
mov rcx, rbx
call fcn.14001d3f0
lea rdx, str.SoftwareMicrosoftClickToRun
lea rcx, [rsp + 0xd0]
call fcn.140007214
nop
lea rdx, str.KnownContainerId
lea rcx, [rsp + 0xf0]
call fcn.140007214
nop
mov qword [rsp + 0x70], r12
lea rdx, [rsp + 0xd0]
cmp qword [rsp + 0xe8], 8
cmovae rdx, qword [rsp + 0xd0]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 0x20119
xor r8d, r8d
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14001daa2
lea rdx, [rsp + 0xf0]
cmp qword [rsp + 0x108], 8
cmovae rdx, qword [rsp + 0xf0]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x5c]
xor r8d, r8d
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, 1
cmp eax, 2
je 0x14001daa7
mov eax, dword [rsp + 0x5c]
dec eax
cmp eax, ebx
ja 0x14001daa7
mov rax, rsi
cmp qword [rsi + 0x18], 8
jb 0x14001d817
mov rax, qword [rsi]
mov qword [rsi + 0x10], r12
mov word [rax], r12w
mov edx, dword [rsp + 0x58]
shr rdx, 1
sub rdx, rbx
mov rcx, rsi
call fcn.140018194
mov rax, rsi
cmp qword [rsi + 0x18], 8
jb 0x14001d83e
mov rax, qword [rsi]
lea rdx, [rsp + 0xf0]
cmp qword [rsp + 0x108], 8
cmovae rdx, qword [rsp + 0xf0]
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x5c]
xor r8d, r8d
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
movzx ebx, r12b
test eax, eax
mov ecx, 1
cmove ebx, ecx
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test bl, bl
je 0x14001daa2
mov qword [rsp + 0x60], r12
lea rdx, [rsp + 0x68]
call fcn.140009050
nop
mov rdx, rsi
lea rcx, [rsp + 0x60]
call fcn.140021e70
test al, al
je 0x14001da5b
mov rdx, r15
mov rcx, rsi
call fcn.140015b4c
lea r9, str.Returned_existing_container
mov edx, 0x3b0
mov ecx, 0x30303030
mov r8d, 0x32
call qword [sym.imp.Mso20Win32Client.dll_Ordinal_1254]
nop
cmp qword [rsp + 0x68], r12
je 0x14001d8fb
lea rcx, [rsp + 0x68]
call fcn.140002c60
nop
cmp qword [rsp + 0x60], r12
je 0x14001d90d
lea rcx, [rsp + 0x60]
call fcn.140002c60
nop
mov rax, qword [rsp + 0x108]
cmp rax, 8
jb 0x14001d952
lea rax, [rax*2 + 2]
mov rcx, qword [rsp + 0xf0]
mov rdx, rcx
cmp rax, r14
jb 0x14001d94b
mov rcx, qword [rcx - 8]
sub rdx, rcx
lea rax, [rdx - 8]
cmp rax, 0x1f
jbe 0x14001d94b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
movdqa xmm0, xmmword [0x1400646c0]
movdqa xmmword [rsp + 0x100], xmm0
mov word [rsp + 0xf0], r12w
mov rax, qword [rsp + 0xe8]
cmp rax, 8
jb 0x14001d9b1
lea rax, [rax*2 + 2]
mov rcx, qword [rsp + 0xd0]
mov rdx, rcx
cmp rax, r14
jb 0x14001d9aa
mov rcx, qword [rcx - 8]
sub rdx, rcx
lea rax, [rdx - 8]
cmp rax, 0x1f
jbe 0x14001d9aa
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
movdqa xmm0, xmmword [0x1400646c0]
movdqa xmmword [rsp + 0xe0], xmm0
mov word [rsp + 0xd0], r12w
lea rcx, [rsp + 0x158]
call fcn.14001cf88
lea rax, [0x14004a598]
mov qword [rsp + 0x130], rax
or eax, 0xffffffff
lock xadd dword [rdi + 8], eax
mov ebx, 1
cmp eax, ebx
jne 0x14001da0f
test rdi, rdi
je 0x14001da0f
mov rax, qword [rdi]
mov edx, ebx
mov rcx, rdi
mov rax, qword [rax]
call qword [case.0x140044c3e.0]
nop
mov rax, qword [rsp + 0x128]
cmp rax, 8
jb 0x14001da54
lea rax, [rax*2 + 2]
mov rcx, qword [rsp + 0x110]
mov rdx, rcx
cmp rax, r14
jb 0x14001da4d
mov rcx, qword [rcx - 8]
sub rdx, rcx
lea rax, [rdx - 8]
cmp rax, 0x1f
jbe 0x14001da4d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
mov eax, ebx
jmp 0x14001e120
mov rax, rsi
cmp qword [rsi + 0x18], 8
jb 0x14001da68
mov rax, qword [rsi]
mov qword [rsi + 0x10], r12
mov word [rax], r12w
cmp qword [rsp + 0x68], r12
je 0x14001da90
lea rcx, [rsp + 0x68]
call fcn.140002c60
nop
nop dword [rax]
nop word [rax + rax]
cmp qword [rsp + 0x60], r12
je 0x14001daa2
lea rcx, [rsp + 0x60]
call fcn.140002c60
nop
mov ebx, 1
mov qword [rsp + 0x90], r12
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x98], xmm0
lea rcx, [rsp + 0x90]
call fcn.14001e45c
lea rcx, [rsp + 0x78]
call fcn.14001edd8
nop
mov qword [rsp + 0x40], r12
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
lea rcx, [rsp + 0x40]
call fcn.14001e1ac
mov rdx, r15
lea rcx, [rsp + 0x30]
call fcn.1400217d0
nop
lea rcx, [rsp + 0x30]
call fcn.140021890
test al, al
jne 0x14001dcb1
cmp qword [rsp + 0x38], r12
je 0x14001db20
lea rcx, [rsp + 0x38]
call fcn.140002c60
nop
nop dword [rax]
cmp qword [rsp + 0x30], r12
je 0x14001db32
lea rcx, [rsp + 0x30]
call fcn.140002c60
nop
mov rbx, qword [rsp + 0x40]
test rbx, rbx
je 0x14001db90
mov rsi, rbx
cmp rbx, qword [rsp + 0x48]
je 0x14001db59
mov rcx, rsi
call fcn.1400108d8
add rsi, 0x40
cmp rsi, qword [rsp + 0x48]
jne 0x14001db46
mov rax, qword [rsp + 0x50]
sub rax, rbx
and rax, 0xffffffffffffffc0
mov rcx, rbx
cmp rax, r14
jb 0x14001db85
mov rbx, qword [rbx - 8]
sub rcx, rbx
lea rax, [rcx - 8]
cmp rax, 0x1f
jbe 0x14001db85
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
nop
mov rdx, qword [rsp + 0x78]
test rdx, rdx
je 0x14001dbf2
mov r8, qword [rsp + 0x80]
call fcn.14001f168
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x78]
sub rax, rcx
and rax, 0xffffffffffffffe0
mov rdx, rcx
cmp rax, r14
jb 0x14001dbdb
mov rcx, qword [rcx - 8]
sub rdx, rcx
lea rax, [rdx - 8]
cmp rax, 0x1f
jbe 0x14001dbdb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x78], xmm0
mov qword [rsp + 0x88], r12
mov rdx, qword [rsp + 0x90]
test rdx, rdx
je 0x14001dc4a
mov r8, qword [rsp + 0x98]
call fcn.14001f168
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x90]
sub rax, rcx
and rax, 0xffffffffffffffe0
mov rdx, rcx
cmp rax, r14
jb 0x14001dc43
mov rcx, qword [rcx - 8]
sub rdx, rcx
lea rax, [rdx - 8]
cmp rax, 0x1f
jbe 0x14001dc43
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
lea rcx, [rsp + 0xd0]
call fcn.1400108d8
lea rcx, [rsp + 0x158]
call fcn.14001cf88
lea rax, [0x14004a598]
mov qword [rsp + 0x130], rax
or eax, 0xffffffff
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x14001dc9a
test rdi, rdi
je 0x14001dc9a
mov rcx, qword [rdi]
mov rax, qword [rcx]
mov edx, 1
mov rcx, rdi
call qword [case.0x140044c3e.0]
nop
lea rcx, [rsp + 0x110]
call fcn.140003dc0
mov eax, 2
jmp 0x14001e120
lea rdx, [rsp + 0x1b0]
lea rcx, [rsp + 0x30]
call fcn.140021f40
mov rdx, r15
mov rcx, rax
call fcn.140015b4c
lea rcx, [rsp + 0x1b0]
call fcn.140003dc0
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x30]
call fcn.1400223e0
test al, al
jne 0x14001ddf4
cmp qword [rsp + 0x38], r12
je 0x14001dd07
lea rcx, [rsp + 0x38]
call fcn.140002c60
nop
cmp qword [rsp + 0x30], r12
je 0x14001dd19
lea rcx, [rsp + 0x30]
call fcn.140002c60
nop
mov rbx, qword [rsp + 0x40]
test rbx, rbx
je 0x14001dd76
mov rsi, rbx
cmp rbx, qword [rsp + 0x48]
je 0x14001dd40
mov rcx, rsi
call fcn.1400108d8
add rsi, 0x40
cmp rsi, qword [rsp + 0x48]
jne 0x14001dd2d
mov rax, qword [rsp + 0x50]
sub rax, rbx
and rax, 0xffffffffffffffc0
mov rcx, rbx
cmp rax, r14
jb 0x14001dd6c
mov rbx, qword [rbx - 8]
sub rcx, rbx
lea rax, [rcx - 8]
cmp rax, 0x1f
jbe 0x14001dd6c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
lea rcx, [rsp + 0x78]
call fcn.14001efd0
lea rcx, [rsp + 0x90]
call fcn.14001efd0
lea rcx, [rsp + 0xd0]
call fcn.1400108d8
lea rcx, [rsp + 0x158]
call fcn.14001cf88
lea rax, [0x14004a598]
mov qword [rsp + 0x130], rax
or eax, 0xffffffff
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x14001dddd
test rdi, rdi
je 0x14001dddd
mov rax, qword [rdi]
mov edx, 1
mov rcx, rdi
mov rax, qword [rax]
call qword [case.0x140044c3e.0]
nop
lea rcx, [rsp + 0x110]
call fcn.140003dc0
mov eax, 3
jmp 0x14001e120
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x30]
call fcn.1400221b0
test al, al
jne 0x14001df0b
cmp qword [rsp + 0x38], r12
je 0x14001de1d
lea rcx, [rsp + 0x38]
call fcn.140002c60
nop
cmp qword [rsp + 0x30], r12
je 0x14001de30
lea rcx, [rsp + 0x30]
call fcn.140002c60
nop
nop
mov rbx, qword [rsp + 0x40]
test rbx, rbx
je 0x14001de8d
mov rsi, rbx
cmp rbx, qword [rsp + 0x48]
je 0x14001de57
mov rcx, rsi
call fcn.1400108d8
add rsi, 0x40
cmp rsi, qword [rsp + 0x48]
jne 0x14001de44
mov rax, qword [rsp + 0x50]
sub rax, rbx
and rax, 0xffffffffffffffc0
mov rcx, rbx
cmp rax, r14
jb 0x14001de83
mov rbx, qword [rbx - 8]
sub rcx, rbx
lea rax, [rcx - 8]
cmp rax, 0x1f
jbe 0x14001de83
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
lea rcx, [rsp + 0x78]
call fcn.14001efd0
lea rcx, [rsp + 0x90]
call fcn.14001efd0
lea rcx, [rsp + 0xd0]
call fcn.1400108d8
lea rcx, [rsp + 0x158]
call fcn.14001cf88
lea rax, [0x14004a598]
mov qword [rsp + 0x130], rax
or eax, 0xffffffff
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x14001def4
test rdi, rdi
je 0x14001def4
mov rax, qword [rdi]
mov edx, 1
mov rcx, rdi
mov rax, qword [rax]
call qword [case.0x140044c3e.0]
nop
lea rcx, [rsp + 0x110]
call fcn.140003dc0
mov eax, 3
jmp 0x14001e120
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x30]
call fcn.140022a50
test al, al
jne 0x14001e021
cmp qword [rsp + 0x38], r12
je 0x14001df34
lea rcx, [rsp + 0x38]
call fcn.140002c60
nop
cmp qword [rsp + 0x30], r12
je 0x14001df46
lea rcx, [rsp + 0x30]
call fcn.140002c60
nop
mov rbx, qword [rsp + 0x40]
test rbx, rbx
je 0x14001dfa3
mov rsi, rbx
cmp rbx, qword [rsp + 0x48]
je 0x14001df6d
mov rcx, rsi
call fcn.1400108d8
add rsi, 0x40
cmp rsi, qword [rsp + 0x48]
jne 0x14001df5a
mov rax, qword [rsp + 0x50]
sub rax, rbx
and rax, 0xffffffffffffffc0
mov rcx, rbx
cmp rax, r14
jb 0x14001df99
mov rbx, qword [rbx - 8]
sub rcx, rbx
lea rax, [rcx - 8]
cmp rax, 0x1f
jbe 0x14001df99
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
lea rcx, [rsp + 0x78]
call fcn.14001efd0
lea rcx, [rsp + 0x90]
call fcn.14001efd0
lea rcx, [rsp + 0xd0]
call fcn.1400108d8
lea rcx, [rsp + 0x158]
call fcn.14001cf88
lea rax, [0x14004a598]
mov qword [rsp + 0x130], rax
or eax, 0xffffffff
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x14001e00a
test rdi, rdi
je 0x14001e00a
mov rax, qword [rdi]
mov edx, 1
mov rcx, rdi
mov rax, qword [rax]
call qword [case.0x140044c3e.0]
nop
lea rcx, [rsp + 0x110]
call fcn.140003dc0
mov eax, 4
jmp 0x14001e120
lea rdx, [rsp + 0x1d0]
lea rcx, [rsp + 0x30]
call fcn.140021f40
mov rdx, rax
mov rcx, rsi
call fcn.14000ce4c
lea rcx, [rsp + 0x1d0]
call fcn.140003dc0
mov rdx, rsi
lea rcx, [rsp + 0xd0]
call fcn.1400211a8
lea r9, str.Created_container
mov edx, 0x3b0
mov ecx, 0x30303030
mov r8d, 0x32
call qword [sym.imp.Mso20Win32Client.dll_Ordinal_1254]
cmp qword [rsp + 0x38], r12
je 0x14001e08a
lea rcx, [rsp + 0x38]
call fcn.140002c60
nop
cmp qword [rsp + 0x30], r12
je 0x14001e09c
lea rcx, [rsp + 0x30]
call fcn.140002c60
nop
lea rcx, [rsp + 0x40]
call fcn.14000e58c
lea rcx, [rsp + 0x78]
call fcn.14001efd0
lea rcx, [rsp + 0x90]
call fcn.14001efd0
lea rcx, [rsp + 0xd0]
call fcn.1400108d8
lea rcx, [rsp + 0x158]
call fcn.14001cf88
lea rax, [0x14004a598]
mov qword [rsp + 0x130], rax
or eax, 0xffffffff
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x14001e10a
test rdi, rdi
je 0x14001e10a
mov rax, qword [rdi]
mov edx, ebx
mov rcx, rdi
mov rax, qword [rax]
call qword [case.0x140044c3e.0]
nop
lea rcx, [rsp + 0x110]
call fcn.140003dc0
xor eax, eax
jmp 0x14001e120
mov rcx, qword [rsp + 0x580]
xor rcx, rsp
call fcn.1400443a0
mov rbx, qword [rsp + 0x5d0]
add rsp, 0x590
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rcx, [rsp + 0x1f0]
call fcn.14001f600
lea rdx, [0x140064df0]
lea rcx, [rsp + 0x1f0]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
nop
int3