Function at 0x140002df0
Capabilities:
Create process on windows
Delete file
Get common file path
Persist via run registry key
Set registry value

Disassembly:
mov byte [rsp + 8], cl
mov eax, 0x10e8
call fcn.140040510
sub rsp, rax
mov qword [rsp + 0x148], 0xfffffffffffffffe
mov rax, qword [0x140079aa0]
xor rax, rsp
mov qword [rsp + 0x10d0], rax
mov byte [rsp + 0x31], 0
lea rcx, [rsp + 0x520]
call fcn.140014930
nop
lea rcx, [rsp + 0x500]
call fcn.140014930
nop
lea rcx, [rsp + 0x540]
call fcn.140014930
nop
lea rdx, [rsp + 0x540]
mov ecx, 0x26
call fcn.140029cd0
mov r8d, 1
mov edx, 3
lea rcx, [rsp + 0x250]
call fcn.1400149e0
nop
lea rax, [rsp + 0x250]
test rax, rax
je 0x140002e99
lea rax, [rsp + 0x250]
add rax, 0x10
mov qword [rsp + 0x48], rax
jmp 0x140002ea2
mov qword [rsp + 0x48], 0
lea rcx, [rsp + 0x540]
call fcn.140021120
mov rcx, rax
call fcn.140028d40
mov qword [rsp + 0x80], rax
lea rdx, [rsp + 0x540]
mov rcx, qword [rsp + 0x48]
call fcn.14000dea0
mov rcx, qword [rsp + 0x80]
mov rdx, rcx
mov rcx, rax
call fcn.14000dae0
lea rax, [rsp + 0x250]
test rax, rax
je 0x140002f04
lea rax, [rsp + 0x250]
add rax, 0x10
mov qword [rsp + 0x58], rax
jmp 0x140002f0d
mov qword [rsp + 0x58], 0
lea rcx, [0x14004a9b8]
call fcn.140028d40
mov qword [rsp + 0x140], rax
lea rdx, [0x14004aa58]
mov rcx, qword [rsp + 0x58]
call fcn.14000dae0
mov rcx, qword [rsp + 0x140]
mov rdx, rcx
mov rcx, rax
call fcn.14000dae0
lea rax, [rsp + 0x250]
test rax, rax
je 0x140002f65
lea rax, [rsp + 0x250]
add rax, 0x10
mov qword [rsp + 0x40], rax
jmp 0x140002f6e
mov qword [rsp + 0x40], 0
lea rdx, str.LaunchURL.txt
mov rcx, qword [rsp + 0x40]
call fcn.14000dae0
lea rdx, [rsp + 0x6a0]
lea rcx, [rsp + 0x250]
call fcn.1400281d0
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0x98], rax
mov rcx, qword [rsp + 0x98]
call fcn.140021120
mov rcx, rax
call fcn.14002bda0
mov byte [rsp + 0x35], al
lea rcx, [rsp + 0x6a0]
call fcn.1400181d0
movzx eax, byte [rsp + 0x35]
test eax, eax
je 0x14000392e
lea rdx, [rsp + 0x5a0]
lea rcx, [rsp + 0x250]
call fcn.1400281d0
nop
mov edx, 1
lea rcx, [rsp + 0x350]
call fcn.140014580
nop
lea rdx, [rsp + 0x5a0]
lea rcx, [rsp + 0x600]
call fcn.140039a90
mov qword [rsp + 0x118], rax
mov rax, qword [rsp + 0x118]
mov qword [rsp + 0xa8], rax
mov rcx, qword [rsp + 0xa8]
call fcn.140021100
mov r9d, 0x40
mov r8d, 1
mov rdx, rax
lea rcx, [rsp + 0x350]
call fcn.140025cd0
nop
lea rcx, [rsp + 0x600]
call fcn.1400181b0
mov rax, qword [rsp + 0x350]
movsxd rax, dword [rax + 4]
lea rax, [rsp + rax + 0x350]
mov rcx, rax
call qword [sym.imp.MSVCP110.dll_public:_bool___cdecl_std::ios_base::fail_void_const___ptr64]
movzx eax, al
test eax, eax
je 0x1400030f6
movzx eax, byte [rsp + 0x31]
mov byte [rsp + 0x34], al
lea rcx, [rsp + 0x350]
call fcn.14001b760
nop
lea rcx, [rsp + 0x5a0]
call fcn.1400181d0
nop
lea rcx, [rsp + 0x250]
call fcn.14001b7a0
nop
lea rcx, [rsp + 0x540]
call fcn.1400181d0
nop
lea rcx, [rsp + 0x500]
call fcn.1400181d0
nop
lea rcx, [rsp + 0x520]
call fcn.1400181d0
movzx eax, byte [rsp + 0x34]
jmp 0x140003973
mov rax, qword [rsp + 0x350]
movsxd rax, dword [rax + 4]
lea rax, [rsp + rax + 0x350]
mov rcx, rax
call qword [sym.imp.MSVCP110.dll_public:_void____ptr64___cdecl_std::ios_base::operator_void____ptr64_void_const___ptr64]
test rax, rax
je 0x1400031cb
mov r8d, 0x400
lea rdx, [rsp + 0x8d0]
lea rcx, [rsp + 0x350]
call qword [sym.imp.MSVCP110.dll_public:_class_std::basic_istream_unsigned_short_int__struct_std::char_traits_unsigned_short_int______ptr64___cdecl_std::basic_istream_unsigned_short_int__struct_std::char_traits_unsigned_short_int__::getline_unsigned_short_int____ptr64__long_long___int64_____ptr64]
lea rcx, [rsp + 0x560]
call fcn.140014930
nop
lea rdx, [rsp + 0x8d0]
lea rcx, [rsp + 0x560]
call fcn.140019420
lea rcx, [rsp + 0x560]
call fcn.14002a840
lea rcx, [rsp + 0x500]
call fcn.140027f80
test rax, rax
ja 0x140003191
lea rdx, [rsp + 0x560]
lea rcx, [rsp + 0x500]
call fcn.140019380
jmp 0x1400031b9
lea rcx, [rsp + 0x520]
call fcn.140027f80
test rax, rax
ja 0x1400031b9
lea rdx, [rsp + 0x560]
lea rcx, [rsp + 0x520]
call fcn.140019380
nop
lea rcx, [rsp + 0x560]
call fcn.1400181d0
jmp 0x1400030f6
movzx eax, byte [rsp + 0x10f0]
test eax, eax
je 0x1400038a5
lea rcx, [rsp + 0x660]
call fcn.140014930
nop
mov r8d, 1
mov edx, 3
lea rcx, [rsp + 0x150]
call fcn.1400149e0
nop
mov byte [rsp + 0x30], 0
lea rcx, [rsp + 0x520]
call fcn.140027f80
test rax, rax
jbe 0x140003888
lea rcx, [rsp + 0x4e0]
call fcn.140014930
nop
lea rdx, [0x140079b80]
lea rcx, [rsp + 0x500]
call fcn.1400218a0
test eax, eax
jne 0x14000325c
lea rdx, [0x14004b718]
lea rcx, [rsp + 0x4e0]
call fcn.140019420
jmp 0x140003346
lea rdx, [0x140079c70]
lea rcx, [rsp + 0x500]
call fcn.1400218a0
test eax, eax
jne 0x14000328d
lea rdx, str.iexplore.exe
lea rcx, [rsp + 0x4e0]
call fcn.140019420
jmp 0x140003346
lea rdx, [0x140079bf0]
lea rcx, [rsp + 0x500]
call fcn.1400218a0
test eax, eax
jne 0x1400032be
lea rdx, str.firefox.exe
lea rcx, [rsp + 0x4e0]
call fcn.140019420
jmp 0x140003346
lea rdx, [0x140079c30]
lea rcx, [rsp + 0x500]
call fcn.1400218a0
test eax, eax
jne 0x1400032ec
lea rdx, [0x14004b940]
lea rcx, [rsp + 0x4e0]
call fcn.140019420
jmp 0x140003346
lea rdx, [0x140079c10]
lea rcx, [rsp + 0x500]
call fcn.1400218a0
test eax, eax
jne 0x14000331a
lea rdx, [0x14004bb50]
lea rcx, [rsp + 0x4e0]
call fcn.140019420
jmp 0x140003346
lea rdx, [0x140079b38]
lea rcx, [rsp + 0x500]
call fcn.1400218a0
test eax, eax
jne 0x140003346
lea rdx, [0x14004bbe8]
lea rcx, [rsp + 0x4e0]
call fcn.140019420
lea rcx, [rsp + 0x4e0]
call fcn.140021120
mov r9, rax
lea r8, [0x14004bc70]
mov edx, 3
lea rcx, [0x14004bce8]
call fcn.14003fa80
lea rcx, [rsp + 0x580]
call fcn.140014930
nop
mov r8d, 0x208
xor edx, edx
lea rcx, [rsp + 0x6c0]
call sub.MSVCR110.dll_memset
lea rax, [rsp + 0x6c0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x23
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov dword [rsp + 0x3c], eax
cmp dword [rsp + 0x3c], 0
jne 0x14000371e
lea r9, [rsp + 0x6c0]
lea r8, str.The_default_web_browser_is__s
mov edx, 3
lea rcx, [0x14004bf18]
call fcn.14003fa80
lea rdx, [rsp + 0x6c0]
lea rcx, [rsp + 0x580]
call fcn.140019420
lea rax, [rsp + 0x150]
test rax, rax
je 0x140003415
lea rax, [rsp + 0x150]
add rax, 0x10
mov qword [rsp + 0x50], rax
jmp 0x14000341e
mov qword [rsp + 0x50], 0
lea rcx, [rsp + 0x580]
call fcn.140021120
mov rcx, rax
call fcn.140028d60
mov qword [rsp + 0xf8], rax
lea rcx, [rsp + 0x580]
call fcn.140021120
mov rdx, rax
mov rcx, qword [rsp + 0x50]
call fcn.14000dae0
mov rcx, qword [rsp + 0xf8]
mov rdx, rcx
mov rcx, rax
call fcn.14000dae0
lea rdx, str.LaunchURL.bat
mov rcx, rax
call fcn.14000d640
lea rdx, [rsp + 0x680]
lea rcx, [rsp + 0x150]
call fcn.1400281d0
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x138], rax
mov rcx, qword [rsp + 0x138]
call fcn.140021120
mov r9, rax
lea r8, str.sourceDirStream.str__.c_str___is__s
mov edx, 3
lea rcx, [0x14004c078]
call fcn.14003fa80
nop
lea rcx, [rsp + 0x680]
call fcn.1400181d0
lea rdx, [rsp + 0x640]
lea rcx, [rsp + 0x150]
call fcn.1400281d0
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0x108], rax
mov rcx, qword [rsp + 0x108]
call fcn.140021120
mov rcx, rax
call fcn.14002bda0
mov byte [rsp + 0x36], al
lea rcx, [rsp + 0x640]
call fcn.1400181d0
movzx eax, byte [rsp + 0x36]
test eax, eax
je 0x14000367f
lea r8, str.File_exists
mov edx, 3
lea rcx, [0x14004c160]
call fcn.14003fa80
lea rdx, [rsp + 0x5c0]
lea rcx, [rsp + 0x150]
call fcn.1400281d0
mov qword [rsp + 0xd8], rax
mov rcx, qword [rsp + 0xd8]
call fcn.140021120
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x140003593
mov dword [rsp + 0x38], 1
jmp 0x14000359b
mov dword [rsp + 0x38], 0
movzx eax, byte [rsp + 0x38]
mov byte [rsp + 0x33], al
lea rcx, [rsp + 0x5c0]
call fcn.1400181d0
movzx eax, byte [rsp + 0x33]
test eax, eax
je 0x1400035d7
lea r8, str.Unable_to_delete_file
mov edx, 3
lea rcx, [0x14004c1f0]
call fcn.14003fa80
jmp 0x14000367a
lea r8, str.File_Deleted
mov edx, 3
lea rcx, [0x14004c258]
call fcn.14003fa80
lea rax, [rsp + 0x460]
mov qword [rsp + 0x128], rax
lea rax, [rsp + 0x480]
mov qword [rsp + 0x90], rax
lea rdx, [rsp + 0x520]
mov rcx, qword [rsp + 0x128]
call fcn.1400147b0
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0xa0], rax
lea rdx, [rsp + 0x4e0]
mov rcx, qword [rsp + 0x90]
call fcn.1400147b0
mov qword [rsp + 0xb0], rax
mov r8, qword [rsp + 0xa0]
mov rdx, qword [rsp + 0xb0]
lea rcx, [rsp + 0x150]
call fcn.1400011c0
mov byte [rsp + 0x30], al
jmp 0x14000371c
lea r8, str.Batch_file_doesnt_exist._So__create_the_batch_file
mov edx, 3
lea rcx, [0x14004c308]
call fcn.14003fa80
lea rax, [rsp + 0x4c0]
mov qword [rsp + 0x68], rax
lea rax, [rsp + 0x4a0]
mov qword [rsp + 0xe0], rax
lea rdx, [rsp + 0x520]
mov rcx, qword [rsp + 0x68]
call fcn.1400147b0
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0xf0], rax
lea rdx, [rsp + 0x4e0]
mov rcx, qword [rsp + 0xe0]
call fcn.1400147b0
mov qword [rsp + 0x100], rax
mov r8, qword [rsp + 0xf0]
mov rdx, qword [rsp + 0x100]
lea rcx, [rsp + 0x150]
call fcn.1400011c0
mov byte [rsp + 0x30], al
jmp 0x140003736
lea r8, str.SHGetFolderPath_failed
mov edx, 3
lea rcx, [0x14004c350]
call fcn.14003fa80
movzx eax, byte [rsp + 0x30]
test eax, eax
je 0x140003853
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionRunOnce
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140003851
lea rax, str.LaunchWebURL
mov qword [rsp + 0x120], rax
lea rdx, [rsp + 0x5e0]
lea rcx, [rsp + 0x150]
call fcn.1400281d0
mov qword [rsp + 0x110], rax
mov rcx, qword [rsp + 0x110]
call fcn.140021120
mov dword [rsp + 0x28], 0x101
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
mov rdx, qword [rsp + 0x120]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [rsp + 0x130], eax
lea rcx, [rsp + 0x5e0]
call fcn.1400181d0
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [rsp + 0xc0], eax
lea rdx, [rsp + 0x620]
lea rcx, [rsp + 0x150]
call fcn.1400281d0
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x78], rax
mov rcx, qword [rsp + 0x78]
call fcn.140021120
mov r9, rax
lea r8, str.The_created_runonce_key_is__s
mov edx, 3
lea rcx, [0x14004c368]
call fcn.14003fa80
nop
lea rcx, [rsp + 0x620]
call fcn.1400181d0
jmp 0x14000386c
lea r8, str.batch_file_creation_failed
mov edx, 3
lea rcx, [0x14004c480]
call fcn.14003fa80
nop
lea rcx, [rsp + 0x580]
call fcn.1400181d0
nop
lea rcx, [rsp + 0x4e0]
call fcn.1400181d0
nop
lea rcx, [rsp + 0x150]
call fcn.14001b7a0
nop
lea rcx, [rsp + 0x660]
call fcn.1400181d0
jmp 0x140003913
lea rcx, [rsp + 0x520]
call fcn.140027f80
test rax, rax
jbe 0x140003913
lea rcx, [rsp + 0x520]
call fcn.140021120
mov dword [rsp + 0x28], 5
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8, rax
lea rdx, [0x14004c4c0]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
lea rcx, [rsp + 0x520]
call fcn.140021120
mov r9, rax
lea r8, str.The_launched_web_browser_value_is__s
mov edx, 3
lea rcx, str.ATISetup::ATILaunchURL
call fcn.14003fa80
nop
lea rcx, [rsp + 0x350]
call fcn.14001b760
nop
lea rcx, [rsp + 0x5a0]
call fcn.1400181d0
movzx eax, byte [rsp + 0x31]
mov byte [rsp + 0x32], al
lea rcx, [rsp + 0x250]
call fcn.14001b7a0
nop
lea rcx, [rsp + 0x540]
call fcn.1400181d0
nop
lea rcx, [rsp + 0x500]
call fcn.1400181d0
nop
lea rcx, [rsp + 0x520]
call fcn.1400181d0
movzx eax, byte [rsp + 0x32]
mov rcx, qword [rsp + 0x10d0]
xor rcx, rsp
call fcn.140040570
add rsp, 0x10e8
ret