Function at 0x180002ee0
Capabilities:
Delete registry value

Disassembly:
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x270
mov rax, qword [0x180028018]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov dword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov byte [rsp + 0x150], 0
lea rax, [rsp + 0x151]
mov rdi, rax
xor eax, eax
mov ecx, 0xff
rep stosb byte [rdi], al
mov byte [rsp + 0x50], 0
lea rax, [rsp + 0x51]
mov rdi, rax
xor eax, eax
mov ecx, 0xff
rep stosb byte [rdi], al
mov dword [rsp + 0x250], 1
cmp dword [rsp + 0x280], 4
jge 0x180002f67
lea rcx, [0x1800219d0]
call fcn.180001c70
lea rdx, str.LIST
mov rax, qword [rsp + 0x288]
mov rcx, qword [rax + 0x18]
call fcn.180009e20
test eax, eax
jne 0x180002fc7
cmp dword [rsp + 0x280], 4
jge 0x180002f99
lea rcx, str.Invalid_number_of_arguments._n
call fcn.180001c70
mov rax, qword [rsp + 0x288]
mov rdx, qword [rax + 0x10]
lea rcx, str.Launch_permission_list_for_AppID__s:_n_n
call fcn.18000e7f8
mov rax, qword [rsp + 0x288]
mov rcx, qword [rax + 0x10]
call fcn.18000d190
jmp 0x1800032e8
lea rdx, str.DEFAULT
mov rax, qword [rsp + 0x288]
mov rcx, qword [rax + 0x18]
call fcn.180009e20
test eax, eax
jne 0x1800030fe
mov rax, qword [rsp + 0x288]
mov rax, qword [rax + 0x10]
movsx eax, byte [rax]
cmp eax, 0x7b
jne 0x18000300c
lea rax, [0x18002120c]
mov qword [rsp + 0x258], rax
jmp 0x18000301b
lea rax, [0x180021a48]
mov qword [rsp + 0x258], rax
mov rax, qword [rsp + 0x288]
mov r9, qword [rax + 0x10]
mov r8, qword [rsp + 0x258]
mov edx, 0x100
lea rcx, [rsp + 0x150]
call fcn.18000ef40
lea r9, [rsp + 0x150]
lea r8, [0x180021a50]
mov edx, 0x100
lea rcx, [rsp + 0x50]
call fcn.18000ef40
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
lea rdx, [rsp + 0x50]
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
je 0x1800030a6
cmp dword [rsp + 0x38], 2
je 0x1800030a6
mov edx, dword [rsp + 0x38]
lea rcx, [0x180021a60]
call fcn.180001f70
lea rdx, [0x180021a88]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
je 0x1800030da
cmp dword [rsp + 0x38], 2
je 0x1800030da
mov edx, dword [rsp + 0x38]
lea rcx, str.ERROR:_Cannot_delete_LaunchPermission_value.
call fcn.180001f70
cmp qword [rsp + 0x30], 0
je 0x1800030ed
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, str.Successfully_set_the_Application_Launch_to_the_machine_default._n
call fcn.18000e7f8
jmp 0x1800032e8
cmp dword [rsp + 0x280], 5
jge 0x180003114
lea rcx, [0x180021b18]
call fcn.180001c70
lea rdx, [0x18002126c]
mov rax, qword [rsp + 0x288]
mov rcx, qword [rax + 0x18]
call fcn.180009e20
test eax, eax
jne 0x180003258
cmp dword [rsp + 0x280], 6
jge 0x18000314a
lea rcx, [0x180021b38]
call fcn.180001c70
cmp dword [rsp + 0x280], 7
jne 0x180003175
mov r8d, 0x10
lea rdx, [rsp + 0x250]
mov rax, qword [rsp + 0x288]
mov rcx, qword [rax + 0x30]
call fcn.180002000
jmp 0x18000318a
call fcn.18000cf30
test eax, eax
jne 0x18000318a
lea rcx, str.WARNING:_Default_access_flags_designated_on_a_system_with_an_enhanced_security_model._n
call fcn.18000e7f8
lea rdx, str.PERMIT
mov rax, qword [rsp + 0x288]
mov rcx, qword [rax + 0x28]
call fcn.180009e20
test eax, eax
jne 0x1800031e0
mov eax, dword [rsp + 0x250]
mov dword [rsp + 0x20], eax
mov r9d, 1
mov r8d, 1
mov rax, qword [rsp + 0x288]
mov rdx, qword [rax + 0x20]
mov rax, qword [rsp + 0x288]
mov rcx, qword [rax + 0x10]
call fcn.18000d9f0
mov dword [rsp + 0x38], eax
jmp 0x18000323f
lea rdx, str.DENY
mov rax, qword [rsp + 0x288]
mov rcx, qword [rax + 0x28]
call fcn.180009e20
test eax, eax
jne 0x180003233
mov eax, dword [rsp + 0x250]
mov dword [rsp + 0x20], eax
xor r9d, r9d
mov r8d, 1
mov rax, qword [rsp + 0x288]
mov rdx, qword [rax + 0x20]
mov rax, qword [rsp + 0x288]
mov rcx, qword [rax + 0x10]
call fcn.18000d9f0
mov dword [rsp + 0x38], eax
jmp 0x18000323f
lea rcx, str.You_can_only_set_a_users_permissions_to__permit__or__deny_._n_n
call fcn.180001c70
cmp dword [rsp + 0x38], 0
je 0x180003256
mov edx, dword [rsp + 0x38]
lea rcx, str.ERROR:_Cannot_add_user_to_application_launch_ACL.
call fcn.180001f70
jmp 0x1800032cb
lea rdx, str.REMOVE
mov rax, qword [rsp + 0x288]
mov rcx, qword [rax + 0x18]
call fcn.180009e20
test eax, eax
jne 0x1800032bf
mov eax, dword [rsp + 0x250]
mov dword [rsp + 0x20], eax
xor r9d, r9d
xor r8d, r8d
mov rax, qword [rsp + 0x288]
mov rdx, qword [rax + 0x20]
mov rax, qword [rsp + 0x288]
mov rcx, qword [rax + 0x10]
call fcn.18000d9f0
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
je 0x1800032bd
mov edx, dword [rsp + 0x38]
lea rcx, str.ERROR:_Cannot_remove_user_from_application_launch_ACL.
call fcn.180001f70
jmp 0x1800032cb
lea rcx, str.You_can_only__set__or__remove__a_user.
call fcn.180001c70
lea rcx, str.Successfully_set_the_Application_Launch_ACL._n
call fcn.18000e7f8
mov rax, qword [rsp + 0x288]
mov rcx, qword [rax + 0x10]
call fcn.18000d190
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.18000ddd0
add rsp, 0x270
pop rdi
ret