Function at 0x140007190
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x800]
sub rsp, 0x900
mov rax, qword [0x140148020]
xor rax, rsp
mov qword [rbp + 0x7f0], rax
xor ebx, ebx
lea r8, [rcx + 0x28]
cmp qword [r8 + 0x18], 8
jb 0x1400071d4
mov r8, qword [r8]
lea rax, str.edgeupdate_runonce
mov qword [rsp + 0x20], rax
lea r9, str.options
lea rdx, str.__s_____s_s
lea rcx, [rbp - 0x60]
call fcn.1400838d0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
mov r8d, 0x12
lea rdx, str.WindowsMasterSetup
lea rcx, [rsp + 0x50]
call fcn.140004fe0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov r8d, gethostbyname
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionRunOnce
lea rcx, [rsp + 0x30]
call fcn.140004fe0
mov qword [rbp - 0x70], rbx
lea rdx, [rsp + 0x30]
mov rcx, 0xffffffff80000002
call fcn.140085260
lea rdx, [rsp + 0x30]
cmp qword [rsp + 0x48], 8
cmovae rdx, qword [rsp + 0x30]
lea rax, [rbp - 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
mov r15d, 0xffffffff
test eax, eax
jne 0x1400072f4
mov rcx, qword [rbp - 0x50]
lea rcx, [rcx*2 + 2]
mov r8d, ebx
cmp rcx, r15
cmovbe r8d, ecx
lea rcx, [rbp - 0x60]
cmp qword [rbp - 0x48], 8
cmovae rcx, qword [rbp - 0x60]
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae rdx, qword [rsp + 0x50]
mov dword [rsp + 0x28], r8d
mov qword [rsp + 0x20], rcx
lea r9d, [rax + 1]
xor r8d, r8d
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
sete r14b
lea rcx, [rsp + 0x30]
call fcn.1400053f0
nop
lea rcx, [rsp + 0x50]
call fcn.1400053f0
lea rcx, [rbp - 0x68]
call fcn.1400b4d18
mov rdx, qword [rbp - 0x68]
lea rcx, [rsp + 0x70]
call fcn.1400086a0
mov rdi, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
mov r8d, 0x15
lea rdx, str.WriteRunOnceTimestamp
lea rcx, [rsp + 0x50]
call fcn.140004fe0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov r8d, 0x20
lea rdx, str.SoftwareWOW6432NodeMSPCManager
lea rcx, [rsp + 0x30]
call fcn.140004fe0
mov qword [rbp - 0x70], rbx
lea rdx, [rsp + 0x30]
mov rcx, 0xffffffff80000002
call fcn.140085260
lea rdx, [rsp + 0x30]
cmp qword [rsp + 0x48], 8
cmovae rdx, qword [rsp + 0x30]
lea rax, [rbp - 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test eax, eax
jne 0x14000741d
mov rcx, qword [rdi + 0x10]
lea rcx, [rcx*2 + 2]
mov r8d, ebx
cmp rcx, r15
cmovbe r8d, ecx
cmp qword [rdi + 0x18], 8
jb 0x1400073e5
mov rdi, qword [rdi]
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae rdx, qword [rsp + 0x50]
mov dword [rsp + 0x28], r8d
mov qword [rsp + 0x20], rdi
mov r9d, 1
xor r8d, r8d
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
sete sil
lea rcx, [rsp + 0x30]
call fcn.1400053f0
nop
lea rcx, [rsp + 0x50]
call fcn.1400053f0
nop
lea rcx, [rsp + 0x70]
call fcn.1400053f0
lea rcx, [rbp - 0x68]
call fcn.1400b4d18
lea rdx, [rbp - 0x68]
lea rcx, [rbp - 0x40]
call fcn.1400b5070
xor edx, edx
mov r8d, 0x800
lea rcx, [rbp - 0x10]
call fcn.1400a5270
lea r9, [rbp - 0x40]
lea r8, str._Y__m__d__I:_M:_S
mov edx, 0x400
lea rcx, [rbp - 0x10]
call fcn.1400b7374
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
lea rax, [rbp - 0x10]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rax + r8*2], 0
jne 0x1400074a0
lea rdx, [rbp - 0x10]
lea rcx, [rsp + 0x50]
call fcn.140004fe0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
mov r8d, 0x16
lea rdx, str.WriteRunOnceTimeString
lea rcx, [rsp + 0x70]
call fcn.140004fe0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov r8d, 0x20
lea rdx, str.SoftwareWOW6432NodeMSPCManager
lea rcx, [rsp + 0x30]
call fcn.140004fe0
mov qword [rbp - 0x70], rbx
lea rdx, [rsp + 0x30]
mov rcx, 0xffffffff80000002
call fcn.140085260
lea rdx, [rsp + 0x30]
cmp qword [rsp + 0x48], 8
cmovae rdx, qword [rsp + 0x30]
lea rax, [rbp - 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
test eax, eax
jne 0x1400075ad
mov rcx, qword [rsp + 0x60]
lea rcx, [rcx*2 + 2]
cmp rcx, r15
cmovbe ebx, ecx
lea rcx, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae rcx, qword [rsp + 0x50]
lea rdx, [rsp + 0x70]
cmp qword [rbp - 0x78], 8
cmovae rdx, qword [rsp + 0x70]
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rcx
lea r9d, [rax + 1]
xor r8d, r8d
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
sete bl
lea rcx, [rsp + 0x30]
call fcn.1400053f0
nop
lea rcx, [rsp + 0x70]
call fcn.1400053f0
nop
lea rcx, [rsp + 0x50]
call fcn.1400053f0
test r14b, r14b
je 0x1400075e4
test sil, sil
je 0x1400075e4
test bl, bl
je 0x1400075e4
mov bl, 1
jmp 0x1400075e6
xor bl, bl
lea rcx, [rbp - 0x60]
call fcn.1400053f0
movzx eax, bl
mov rcx, qword [rbp + 0x7f0]
xor rcx, rsp
call fcn.1400a24f0
lea r11, [rsp + 0x900]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret