Function at 0x1401f4d7c
Capabilities:
Create process on windows
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x520]
sub rsp, 0x620
mov rax, qword [0x140379a08]
xor rax, rsp
mov qword [rbp + 0x510], rax
mov dil, dl
mov ebx, ecx
xor r14d, r14d
mov byte [rsp + 0x40], r14b
mov esi, r14d
mov r9d, ecx
lea r8, str.SoftwareMicrosoftWindowsCurrentVersionExplorerAppKey_d
mov edx, DAD_DragLeave
lea rcx, [rbp - 0x10]
call fcn.14002e4b8
mov qword [rsp + 0x48], r14
mov dword [rsp + 0x44], 0x208
mov word [rbp + 0xf0], r14w
lea rax, [rsp + 0x44]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0xf0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8d, [r14 + 2]
lea rdx, str.ShellExecute
lea rcx, [rbp - 0x10]
call qword [sym.imp.api_ms_win_shcore_registry_l1_1_1.dll_SHRegGetValueFromHKCUHKLM]
nop dword [rax + rax]
test eax, eax
je 0x1401f4f4b
mov dword [rsp + 0x44], 0x104
lea rax, [rsp + 0x44]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x300]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8d, [r14 + 2]
lea rdx, str.Association
lea rcx, [rbp - 0x10]
call qword [sym.imp.api_ms_win_shcore_registry_l1_1_1.dll_SHRegGetValueFromHKCUHKLM]
nop dword [rax + rax]
test eax, eax
jne 0x1401f4e8d
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0xf0]
lea r8, [rsp + 0x40]
mov dl, dil
lea rcx, [rbp + 0x300]
call fcn.1401f6334
jmp 0x1401f4f20
mov dword [rsp + 0x44], 0x104
lea rax, [rsp + 0x44]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x300]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8d, [r9 + 2]
lea rdx, str.RegisteredApp
lea rcx, [rbp - 0x10]
call qword [sym.imp.api_ms_win_shcore_registry_l1_1_1.dll_SHRegGetValueFromHKCUHKLM]
nop dword [rax + rax]
test eax, eax
jne 0x1401f4ef4
lea rdx, [rbp + 0x300]
xor ecx, ecx
call qword [sym.imp.SHLWAPI.dll_SHRunIndirectRegClientCommand]
nop dword [rax + rax]
movzx eax, r14w
mov word [rbp + 0xf0], ax
mov esi, 1
jmp 0x1401f4f52
lea rax, [rsp + 0x48]
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0xf0]
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x300]
lea r8, [rsp + 0x40]
mov dl, dil
mov ecx, ebx
call fcn.1401f796c
cmp byte [rsp + 0x40], r14b
je 0x1401f4f4b
lea rcx, [rbp + 0x300]
call fcn.1401f7784
test eax, eax
js 0x1401f50d5
mov dl, 1
mov ecx, ebx
call fcn.1401f4d7c
mov esi, eax
jmp 0x1401f50d5
movzx eax, word [rbp + 0xf0]
mov rbx, qword [rsp + 0x48]
test rbx, rbx
jne 0x1401f4f65
test ax, ax
je 0x1401f50da
mov edi, r14d
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x58], r14
mov dword [rbp - 0x80], Ordinal_113
xor edx, edx
lea r8d, [rdx + 0x6c]
lea rcx, [rbp - 0x7c]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov dword [rbp - 0x50], 1
mov dword [rbp - 0x7c], 0x400
test rbx, rbx
je 0x1401f4fcd
lea rdx, [rsp + 0x58]
mov rcx, rbx
call qword [sym.imp.api_ms_win_shell_namespace_l1_1_0.dll_SHGetIDListFromObject]
nop dword [rax + rax]
mov edi, eax
test eax, eax
js 0x1401f509d
or dword [rbp - 0x7c], 0xc
mov rcx, qword [rsp + 0x58]
mov qword [rbp - 0x40], rcx
jmp 0x1401f5033
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
nop dword [rax + rax]
lea r9, [rsp + 0x70]
xor r8d, r8d
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0xf0]
call qword [sym.imp.SHELL32.dll_SHEvaluateSystemCommandTemplate]
nop dword [rax + rax]
test eax, eax
jns 0x1401f5021
lea rax, [rbp + 0xf0]
mov qword [rbp - 0x68], rax
mov qword [rbp - 0x60], r14
jmp 0x1401f5037
mov rax, qword [rsp + 0x60]
mov qword [rbp - 0x68], rax
mov rax, qword [rsp + 0x70]
mov qword [rbp - 0x60], rax
test edi, edi
js 0x1401f509d
mov qword [rsp + 0x50], r14
mov dword [rsp + 0x68], 2
lea rcx, [rsp + 0x50]
call fcn.14000bb34
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x50]
call fcn.1401f45e4
test eax, eax
js 0x1401f508e
bts dword [rbp - 0x7c], 0x1b
mov rax, qword [rsp + 0x50]
test rax, rax
je 0x1401f507a
add rax, 0x28
mov qword [rbp - 0x48], rax
jmp 0x1401f507e
mov qword [rbp - 0x48], r14
lea rcx, [rbp - 0x80]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
nop dword [rax + rax]
mov esi, 1
lea rcx, [rsp + 0x50]
call fcn.14000bb34
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x58], r14
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rbx, qword [rsp + 0x48]
test rbx, rbx
je 0x1401f50f0
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 0x10]
call qword [case.0x14006c37f.0]
nop
mov eax, esi
mov rcx, qword [rbp + 0x510]
xor rcx, rsp
call fcn.1400a2260
lea r11, [rsp + 0x620]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret