Function at 0x14004d9e0
Capabilities:
Create process on windows
Get common file path
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x11f0]
mov eax, 0x12f0
call fcn.14006fdf0
sub rsp, rax
mov rax, qword [0x1400ce568]
xor rax, rsp
mov qword [rbp + 0x11e0], rax
xor r13d, r13d
mov dword [rsp + 0x58], r13d
mov qword [rsp + 0x60], r13
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, [0x1400a3840]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14004daa1
mov dword [rsp + 0x6c], r13d
mov dword [rsp + 0x68], 4
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x6c]
xor r8d, r8d
lea rdx, [0x1400a38a8]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x60], r13
cmp dword [rsp + 0x58], 0x5c615
jae 0x14004db4c
xor r8d, r8d
mov edx, 0x405
lea rcx, [rbp + 0x7d0]
call fcn.1400591e0
mov rbx, rax
xor r8d, r8d
mov edx, 0x403
lea rcx, [rbp - 0x30]
call fcn.1400591e0
mov rdx, rax
mov r9d, 0x40014
mov r8, rbx
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
jne 0x14004db11
mov dword [rsp + 0x28], 5
mov qword [rsp + 0x20], r13
xor r9d, r9d
lea r8, [0x1400a38c0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
call fcn.1400597f0
mov rcx, rax
lea rax, [0x1400a3940]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x472
lea r9, [0x1400a39a0]
lea r8, [0x1400a3a30]
mov edx, 1
call fcn.140059d70
xor al, al
jmp 0x14004dfa9
mov qword [rbp - 0x40], r13
mov qword [rbp - 0x38], 7
mov word [rbp - 0x50], r13w
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r13
mov qword [rbp - 0x80], r13
mov qword [rbp - 0x78], 7
mov word [rsp + 0x70], r13w
mov r8d, 0xd
lea rdx, [0x1400a3a60]
lea rcx, [rsp + 0x70]
call fcn.14000d6c0
nop
lea r8, [rsp + 0x70]
xor edx, edx
lea rcx, [rsp + 0x40]
call fcn.140022d60
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 8
jb 0x14004dbc3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
call fcn.140006f30
mov qword [rbp - 0x80], r13
mov qword [rbp - 0x78], 7
mov word [rsp + 0x70], r13w
mov r8d, 0xc
lea rdx, [0x1400a3a80]
lea rcx, [rsp + 0x70]
call fcn.14000d6c0
nop
mov rdi, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
cmp rdi, rsi
je 0x14004dc22
movups xmm0, xmmword [rsp + 0x70]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rbp - 0x80]
movups xmmword [rdi + 0x10], xmm1
mov edx, 7
mov word [rsp + 0x70], r13w
add rdi, 0x20
mov qword [rsp + 0x48], rdi
jmp 0x14004dc42
lea r8, [rsp + 0x70]
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.140022d60
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x48]
mov rdx, qword [rbp - 0x78]
cmp rdx, 8
jb 0x14004dc5a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
call fcn.140006f30
mov qword [rbp - 0x80], r13
mov qword [rbp - 0x78], 7
mov word [rsp + 0x70], r13w
mov r8d, 0xc
lea rdx, [0x1400a3aa0]
lea rcx, [rsp + 0x70]
call fcn.14000d6c0
nop
cmp rdi, rsi
je 0x14004dcaf
movups xmm0, xmmword [rsp + 0x70]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rbp - 0x80]
movups xmmword [rdi + 0x10], xmm1
mov edx, 7
mov word [rsp + 0x70], r13w
add rdi, 0x20
mov qword [rsp + 0x48], rdi
jmp 0x14004dccf
lea r8, [rsp + 0x70]
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.140022d60
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x48]
mov rdx, qword [rbp - 0x78]
cmp rdx, 8
jb 0x14004dce7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
call fcn.140006f30
mov qword [rbp - 0x80], r13
mov qword [rbp - 0x78], 7
mov word [rsp + 0x70], r13w
mov r8d, 0x10
lea rdx, [0x1400a3ac0]
lea rcx, [rsp + 0x70]
call fcn.14000d6c0
nop
cmp rdi, rsi
je 0x14004dd3c
movups xmm0, xmmword [rsp + 0x70]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rbp - 0x80]
movups xmmword [rdi + 0x10], xmm1
mov edx, 7
mov word [rsp + 0x70], r13w
add rdi, 0x20
mov qword [rsp + 0x48], rdi
jmp 0x14004dd5c
lea r8, [rsp + 0x70]
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.140022d60
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x48]
mov rdx, qword [rbp - 0x78]
cmp rdx, 8
jb 0x14004dd74
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
call fcn.140006f30
mov r8d, 0x58
lea rdx, [0x1400a3af0]
lea rcx, [rbp - 0x50]
call fcn.14000d6c0
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0xfd0]
call fcn.1400725e0
mov edx, 0x104
lea rcx, [rbp + 0xfd0]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov qword [rbp - 0x60], r13
mov edx, 7
mov qword [rbp - 0x58], rdx
mov word [rbp - 0x70], r13w
mov r14d, r13d
mov r15, rdi
mov r12, qword [rsp + 0x40]
sub r15, r12
sar r15, 5
test r15d, r15d
jle 0x14004df39
mov rbx, r12
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x30]
call fcn.1400725e0
mov r9, rbx
cmp qword [rbx + 0x18], 8
jb 0x14004ddfe
mov r9, qword [rbx]
lea r8, [rbp + 0xfd0]
lea rdx, [0x1400a1a00]
lea rcx, [rbp - 0x30]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rdx, [rbp + 0x7d0]
lea rcx, [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp rax, 0xffffffffffffffff
jne 0x14004de62
cmp qword [rbp - 0x60], 0
je 0x14004de48
lea r8d, [rax + 3]
lea rdx, [0x1400a2348]
lea rcx, [rbp - 0x70]
call fcn.14000edd0
mov rdx, rbx
cmp qword [rbx + 0x18], 8
jb 0x14004de55
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
lea rcx, [rbp - 0x70]
call fcn.14000edd0
inc r14d
add rbx, 0x20
cmp r14d, r15d
jl 0x14004dde0
cmp qword [rbp - 0x60], 0
je 0x14004df35
xor r8d, r8d
mov edx, 0x405
lea rcx, [rbp + 0x7d0]
call fcn.1400591e0
mov rbx, rax
xor r8d, r8d
mov edx, 0x404
lea rcx, [rbp - 0x30]
call fcn.1400591e0
mov rdx, rax
mov r9d, 0x40014
mov r8, rbx
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
jne 0x14004dee6
lea r8, [rbp - 0x50]
cmp qword [rbp - 0x38], 8
cmovae r8, qword [rbp - 0x50]
mov dword [rsp + 0x28], 5
mov qword [rsp + 0x20], r13
xor r9d, r9d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
lea rbx, [rbp - 0x70]
cmp qword [rbp - 0x58], 8
cmovae rbx, qword [rbp - 0x70]
call fcn.1400597f0
mov rcx, rax
mov qword [rsp + 0x30], rbx
lea rax, [0x1400a3bb0]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x4bb
lea r9, [0x1400a39a0]
lea r8, [0x1400a3a30]
mov edx, 1
call fcn.140059d70
xor bl, bl
mov rdx, qword [rbp - 0x58]
jmp 0x14004df3b
mov rdx, qword [rbp - 0x58]
mov bl, 1
cmp rdx, 8
jb 0x14004df52
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
call fcn.140006f30
mov qword [rbp - 0x60], r13
mov qword [rbp - 0x58], 7
mov word [rbp - 0x70], r13w
test r12, r12
je 0x14004df8b
lea r8, [rsp + 0x40]
mov rdx, rdi
mov rcx, r12
call fcn.140022260
sub rsi, r12
and rsi, 0xffffffffffffffe0
mov rdx, rsi
mov rcx, r12
call fcn.140006f30
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, 8
jb 0x14004dfa6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
call fcn.140006f30
movzx eax, bl
mov rcx, qword [rbp + 0x11e0]
xor rcx, rsp
call fcn.14006fd90
lea r11, [rsp + 0x12f0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret