Function at 0x140025210
Capabilities:
Delete registry key
Delete registry value
Get common file path
Persist via run registry key

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x290
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov rax, qword [0x1400e71f0]
xor rax, rsp
mov qword [rsp + 0x280], rax
cmp dword [0x1400e9420], 0xd2
je 0x140025469
mov esi, 1
xor edx, edx
mov rcx, qword [0x1400e93c8]
call qword [sym.imp.USER32.dll_FindWindowW]
test rax, rax
je 0x14002527f
xor r9d, r9d
xor r8d, r8d
mov edx, 0x403
mov rcx, rax
call qword [sym.imp.USER32.dll_SendMessageW]
call fcn.1400696cc
mov rcx, rax
xor ebp, ebp
mov eax, ebp
test rcx, rcx
setne al
test eax, eax
jne 0x1400252a0
mov ecx, 0x80004005
call fcn.140001000
int3
mov rax, qword [rcx]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x48], rax
lea r9, str.LAK.EXE
lea r8, str.CNAP2
lea rdx, [0x1400a3e50]
lea rcx, [rsp + 0x48]
call fcn.1400040b0
mov rdx, qword [rsp + 0x48]
lea rcx, [0x1400e9440]
call fcn.140004fa0
or edi, 0xffffffff
test eax, eax
jne 0x140025443
xor edx, edx
mov rcx, qword [0x1400e93d0]
call qword [sym.imp.USER32.dll_FindWindowW]
test rax, rax
je 0x140025312
xor r9d, r9d
xor r8d, r8d
mov edx, 0x403
mov rcx, rax
call qword [sym.imp.USER32.dll_SendMessageW]
mov qword [rsp + 0x38], rbp
call fcn.1400696cc
mov rcx, rax
mov eax, ebp
test rcx, rcx
setne al
test eax, eax
jne 0x140025336
mov ecx, 0x80004005
call fcn.140001000
int3
mov rax, qword [rcx]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x58], rax
lea r8, str.CNAP2
lea rdx, str._s_Launcher
lea rcx, [rsp + 0x58]
call fcn.1400040b0
lea r11, [rsp + 0x38]
mov qword [rsp + 0x20], r11
mov r9d, 0xf013f
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionRun
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov rbx, qword [rsp + 0x58]
test eax, eax
jne 0x1400253b7
mov rdx, rbx
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x1400253aa
cmp eax, 2
je 0x1400253aa
cmp eax, 3
cmovne esi, ebp
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1400253c2
cmp eax, 2
je 0x1400253c2
cmp eax, 3
cmovne esi, ebp
mov qword [rsp + 0x50], rbp
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 0xf013f
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionRun
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14002541c
mov rdx, rbx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x14002540f
cmp eax, 2
je 0x14002540f
cmp eax, 3
cmovne esi, ebp
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140025427
cmp eax, 2
je 0x140025427
cmp eax, 3
cmovne esi, ebp
lea rdx, [rbx - 0x18]
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140025443
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], edi
add edi, 0xffffffff
test edi, edi
jg 0x140025462
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov eax, esi
jmp 0x14002569f
xor edx, edx
mov rcx, qword [0x1400e93d0]
call qword [sym.imp.USER32.dll_FindWindowW]
test rax, rax
je 0x140025491
xor r9d, r9d
xor r8d, r8d
mov edx, 0x403
mov rcx, rax
call qword [sym.imp.USER32.dll_SendMessageW]
xor edx, edx
mov rcx, qword [0x1400e93c8]
call qword [sym.imp.USER32.dll_FindWindowW]
test rax, rax
je 0x1400254b9
xor r9d, r9d
xor r8d, r8d
mov edx, 0x403
mov rcx, rax
call qword [sym.imp.USER32.dll_SendMessageW]
call fcn.1400696cc
mov r11, rax
xor ebp, ebp
mov ecx, ebp
test rax, rax
setne cl
test ecx, ecx
jne 0x1400254da
mov ecx, 0x80004005
call fcn.140001000
int3
mov rax, qword [rax]
mov rcx, r11
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x40], rbp
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0xf013f
xor r8d, r8d
mov rdx, qword [0x1400e93a8]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea rdx, str.Launcher
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.1400696cc
mov rcx, rax
test rax, rax
setne bpl
test ebp, ebp
jne 0x140025553
mov ecx, 0x80004005
call fcn.140001000
int3
mov rax, qword [rax]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x30], rbx
call fcn.140015a10
cmp eax, 5
je 0x1400255b9
cmp eax, 6
je 0x1400255b9
cmp eax, 0xa
je 0x1400255b9
lea rdx, [rbx - 0x18]
or edi, 0xffffffff
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, edi
test eax, eax
jg 0x140025594
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x60]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], edi
add edi, 0xffffffff
test edi, edi
jg 0x1400255b2
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor eax, eax
jmp 0x14002569f
call fcn.140023990
add eax, 0xffffffff
cmp eax, 1
ja 0x1400255f3
lea rax, str.LAD.EXE
mov qword [rsp + 0x20], rax
mov r9, qword [0x1400e92e8]
lea r8, str.SpoolDriversx643
lea rdx, [0x1400a4160]
lea rcx, [rsp + 0x30]
call fcn.1400040b0
jmp 0x14002561e
lea rax, str.LAK.EXE
mov qword [rsp + 0x20], rax
mov r9, qword [0x1400e92e8]
lea r8, str.SpoolDriversx643
lea rdx, [0x1400a4160]
lea rcx, [rsp + 0x30]
call fcn.1400040b0
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x70]
call fcn.140080d50
mov edx, 0x104
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov rbx, qword [rsp + 0x30]
mov rdx, rbx
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea rcx, [rsp + 0x70]
call fcn.140024300
nop
lea rdx, [rbx - 0x18]
or edi, 0xffffffff
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, edi
test eax, eax
jg 0x14002567c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x60]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], edi
add edi, 0xffffffff
test edi, edi
jg 0x14002569a
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, 1
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.140081050
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret