Function at 0x14024cab0
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
push rdi
sub rsp, 0x80
mov rax, qword [0x14042d950]
xor rax, rsp
mov qword [rsp + 0x78], rax
xor ebx, ebx
lea rax, [r11 - 0x28]
mov edi, ecx
mov qword [r11 - 0x48], rax
lea rax, [r11 - 0x30]
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionExplorerAutoplayHandlers
mov qword [r11 - 0x50], rax
mov qword [r11 - 0x58], rbx
xor r9d, r9d
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x60], ebx
mov qword [r11 - 0x30], rbx
mov dword [rsp + 0x20], ebx
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x14024cc02
call fcn.140049470
lea rcx, [0x140c48fc0]
xor edx, edx
mov r8d, 0x80
mov rbp, rax
call sub.ntdll.dll_memset
lea edx, [rbx + 0x5c]
lea rcx, [0x140375218]
call qword [sym.imp.ntdll.dll_strrchr]
test rax, rax
mov rdi, rax
je 0x14024cbe7
xor eax, eax
lea rdx, [0x140375300]
lea rcx, [rsp + 0x68]
mov r8d, Ordinal_599
mov byte [rsp + 0x68], bl
mov qword [rsp + 0x69], rax
mov word [rsp + 0x71], ax
mov byte [rsp + 0x73], al
call qword [sym.imp.ntdll.dll_sprintf]
lea rdx, [rdi + 1]
lea rcx, [0x140c48fc0]
sub rcx, rdx
nop
nop
nop
nop
movzx eax, byte [rdx]
add rdx, 1
test al, al
mov byte [rcx + rdx - 1], al
jne 0x14024cba0
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [0x140c48fc0]
repne scasb al, byte [rdi]
xor ecx, ecx
lea rdx, [rsp + 0x68]
nop
nop
nop
movzx eax, byte [rdx + rcx]
add rcx, 1
test al, al
mov byte [rdi + rcx - 2], al
jne 0x14024cbd0
lea rbx, [0x140c48fc0]
mov rax, qword [rbp]
lea rdx, str._s:_Failed_to_open_registry_key_in_SetAutoPlayHandle.
mov r8, rbx
mov rcx, rbp
call qword [rax + 0x10]
xor eax, eax
jmp 0x14024cd34
mov rcx, qword [rsp + 0x58]
mov eax, 1
test edi, edi
cmovne eax, ebx
lea rdx, str.DisableAutoplay
mov r9d, 4
mov dword [rsp + 0x50], eax
lea rax, [rsp + 0x50]
xor r8d, r8d
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x58]
mov edi, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
je 0x14024cd2f
call fcn.140049470
lea rcx, [0x140c48fc0]
xor edx, edx
mov r8d, 0x80
mov rbp, rax
call sub.ntdll.dll_memset
lea rcx, str..ProgressDlg.cpp
mov edx, 0x5c
call qword [sym.imp.ntdll.dll_strrchr]
test rax, rax
mov rdi, rax
je 0x14024cd17
xor eax, eax
lea rdx, [0x140375300]
lea rcx, [rsp + 0x68]
mov r8d, reloc.MFC80U.DLL_Ordinal_618
mov byte [rsp + 0x68], bl
mov qword [rsp + 0x69], rax
mov word [rsp + 0x71], ax
mov byte [rsp + 0x73], al
call qword [sym.imp.ntdll.dll_sprintf]
lea rdx, [rdi + 1]
lea rcx, [0x140c48fc0]
sub rcx, rdx
nop
nop
nop
movzx eax, byte [rdx]
add rdx, 1
test al, al
mov byte [rcx + rdx - 1], al
jne 0x14024ccd0
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [0x140c48fc0]
repne scasb al, byte [rdi]
xor ecx, ecx
lea rdx, [rsp + 0x68]
nop
nop
nop
movzx eax, byte [rdx + rcx]
add rcx, 1
test al, al
mov byte [rdi + rcx - 2], al
jne 0x14024cd00
lea rbx, [0x140c48fc0]
mov rax, qword [rbp]
lea rdx, str._s:_Set_key_value_failed_in_SetAutoPlayHandle.
mov r8, rbx
mov rcx, rbp
call qword [rax + 0x10]
xor eax, eax
jmp 0x14024cd34
mov eax, 1
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140161080
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret