Function at 0x140013dc0
Capabilities:
Persist via run registry key

Disassembly:
mov rax, rsp
push rbp
push r13
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0x100
mov qword [rbp - 0x71], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
mov rax, qword [0x1401730f8]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov rsi, rcx
lea r15, [0x140102478]
mov qword [rbp - 0x19], r15
lea r12, [0x1401025f8]
mov qword [rbp + 0x27], r12
xor r9d, r9d
lea r8, [rsp + 0x20]
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionRunOnce
lea rcx, [rbp - 0x19]
call fcn.140003cb0
nop
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], 0
lea rax, [rbp - 0x69]
mov qword [rbp - 0x79], rax
mov qword [rbp - 0x69], r15
mov qword [rbp - 0x29], r12
xor r8d, r8d
lea rdx, [rbp - 0x19]
lea rcx, [rbp - 0x69]
call fcn.140006eb0
nop
mov r9d, 0x200
lea r8, [rsp + 0x28]
lea rdx, [rbp - 0x69]
mov rcx, 0xffffffff80000002
call fcn.1400a7cfc
movabs r13, 0x6666666666666667
test al, al
je 0x140013eb4
mov rcx, qword [rsp + 0x30]
sub rcx, qword [rsp + 0x28]
mov rax, r13
imul rcx
mov rdi, rdx
sar rdi, 5
mov rax, rdi
shr rax, 0x3f
add rdi, rax
lea rcx, [rsp + 0x28]
call fcn.140008af0
jmp 0x140013ec0
lea rcx, [rsp + 0x28]
call fcn.140008af0
xor edi, edi
mov ebx, dword [rsi + 8]
lea rcx, [rbp - 0x19]
call fcn.1400048d0
cmp ebx, edi
jge 0x140013fa4
cmp byte [0x140173b48], 0
jne 0x140013eea
cmp byte [0x14017bbb1], 0
je 0x140013f9d
lea rbx, [0x140102478]
mov qword [rbp - 0x69], rbx
lea rdi, [0x1401025f8]
mov qword [rbp - 0x29], rdi
xor r9d, r9d
lea rdx, str.RebootHandler.cpp
lea rcx, [rbp - 0x69]
call fcn.140006ab0
nop
mov qword [rbp - 0x19], rbx
mov qword [rbp + 0x27], rdi
xor r9d, r9d
lea rdx, str.HKLM_RunOnce_key_appears_to_have_been_updated__reboot_is_required
lea rcx, [rbp - 0x19]
call fcn.140006ab0
nop
cmp byte [0x140173b48], 0
je 0x140013f59
cmp byte [0x14017bbb1], 0
jne 0x140013f4b
call fcn.140099320
test al, al
je 0x140013f52
mov byte [0x14017bbb1], 1
mov byte [0x140173b48], 0
cmp byte [0x14017bbb1], 0
je 0x140013f8a
lea rdx, [rbp - 0x61]
cmp qword [rbp - 0x49], 8
cmovae rdx, qword [rbp - 0x61]
lea rcx, [rbp - 0x11]
cmp qword [rbp + 7], 8
cmovae rcx, qword [rbp - 0x11]
mov r8d, 0x50
call fcn.140099810
nop
lea rcx, [rbp - 0x19]
call fcn.140004280
nop
lea rcx, [rbp - 0x69]
call fcn.140004280
mov al, 1
jmp 0x140014702
mov qword [rbp - 0x19], r15
mov qword [rbp + 0x27], r12
xor r9d, r9d
lea r8, [rsp + 0x20]
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionRunOnce
lea rcx, [rbp - 0x19]
call fcn.140003cb0
nop
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], 0
lea rax, [rbp - 0x69]
mov qword [rbp - 0x79], rax
mov qword [rbp - 0x69], r15
mov qword [rbp - 0x29], r12
xor r8d, r8d
lea rdx, [rbp - 0x19]
lea rcx, [rbp - 0x69]
call fcn.140006eb0
nop
mov r9d, 0x200
lea r8, [rsp + 0x28]
lea rdx, [rbp - 0x69]
mov rcx, 0xffffffff80000001
call fcn.1400a7cfc
test al, al
je 0x140014044
mov rcx, qword [rsp + 0x30]
sub rcx, qword [rsp + 0x28]
mov rax, r13
imul rcx
mov rdi, rdx
sar rdi, 5
mov rax, rdi
shr rax, 0x3f
add rdi, rax
lea rcx, [rsp + 0x28]
call fcn.140008af0
jmp 0x140014050
lea rcx, [rsp + 0x28]
call fcn.140008af0
xor edi, edi
mov ebx, dword [rsi + 0x10]
lea rcx, [rbp - 0x19]
call fcn.1400048d0
cmp ebx, edi
jge 0x140014134
cmp byte [0x140173b48], 0
jne 0x14001407a
cmp byte [0x14017bbb1], 0
je 0x140013f9d
lea rbx, [0x140102478]
mov qword [rbp - 0x19], rbx
lea rdi, [0x1401025f8]
mov qword [rbp + 0x27], rdi
xor r9d, r9d
lea rdx, str.RebootHandler.cpp
lea rcx, [rbp - 0x19]
call fcn.140006ab0
nop
mov qword [rbp - 0x69], rbx
mov qword [rbp - 0x29], rdi
xor r9d, r9d
lea rdx, str.HKCU_RunOnce_key_appears_to_have_been_updated__reboot_is_required
lea rcx, [rbp - 0x69]
call fcn.140006ab0
nop
cmp byte [0x140173b48], 0
je 0x1400140e9
cmp byte [0x14017bbb1], 0
jne 0x1400140db
call fcn.140099320
test al, al
je 0x1400140e2
mov byte [0x14017bbb1], 1
mov byte [0x140173b48], 0
cmp byte [0x14017bbb1], 0
je 0x14001411a
lea rdx, [rbp - 0x11]
cmp qword [rbp + 7], 8
cmovae rdx, qword [rbp - 0x11]
lea rcx, [rbp - 0x61]
cmp qword [rbp - 0x49], 8
cmovae rcx, qword [rbp - 0x61]
mov r8d, 0x55
call fcn.140099810
nop
lea rcx, [rbp - 0x69]
call fcn.140004280
nop
lea rcx, [rbp - 0x19]
call fcn.140004280
mov al, 1
jmp 0x140014702
mov qword [rbp - 0x19], r15
mov qword [rbp + 0x27], r12
xor r9d, r9d
lea r8, [rsp + 0x20]
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionRunOnce
lea rcx, [rbp - 0x19]
call fcn.140003cb0
nop
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], 0
lea rax, [rbp - 0x69]
mov qword [rbp - 0x79], rax
mov qword [rbp - 0x69], r15
mov qword [rbp - 0x29], r12
xor r8d, r8d
lea rdx, [rbp - 0x19]
lea rcx, [rbp - 0x69]
call fcn.140006eb0
nop
xor r9d, r9d
lea r8, [rsp + 0x28]
lea rdx, [rbp - 0x69]
mov rcx, 0xffffffff80000002
call fcn.1400a7cfc
test al, al
je 0x1400141d1
mov rcx, qword [rsp + 0x30]
sub rcx, qword [rsp + 0x28]
mov rax, r13
imul rcx
mov rdi, rdx
sar rdi, 5
mov rax, rdi
shr rax, 0x3f
add rdi, rax
lea rcx, [rsp + 0x28]
call fcn.140008af0
jmp 0x1400141dd
lea rcx, [rsp + 0x28]
call fcn.140008af0
xor edi, edi
mov ebx, dword [rsi + 0xc]
lea rcx, [rbp - 0x19]
call fcn.1400048d0
cmp ebx, edi
jge 0x1400142c1
cmp byte [0x140173b48], 0
jne 0x140014207
cmp byte [0x14017bbb1], 0
je 0x140013f9d
lea rbx, [0x140102478]
mov qword [rbp - 0x19], rbx
lea rdi, [0x1401025f8]
mov qword [rbp + 0x27], rdi
xor r9d, r9d
lea rdx, str.RebootHandler.cpp
lea rcx, [rbp - 0x19]
call fcn.140006ab0
nop
mov qword [rbp - 0x69], rbx
mov qword [rbp - 0x29], rdi
xor r9d, r9d
lea rdx, str.HKLM_64_bit_RunOnce_key_appears_to_have_been_updated__reboot_is_required
lea rcx, [rbp - 0x69]
call fcn.140006ab0
nop
cmp byte [0x140173b48], 0
je 0x140014276
cmp byte [0x14017bbb1], 0
jne 0x140014268
call fcn.140099320
test al, al
je 0x14001426f
mov byte [0x14017bbb1], 1
mov byte [0x140173b48], 0
cmp byte [0x14017bbb1], 0
je 0x1400142a7
lea rdx, [rbp - 0x11]
cmp qword [rbp + 7], 8
cmovae rdx, qword [rbp - 0x11]
lea rcx, [rbp - 0x61]
cmp qword [rbp - 0x49], 8
cmovae rcx, qword [rbp - 0x61]
mov r8d, 0x5a
call fcn.140099810
nop
lea rcx, [rbp - 0x69]
call fcn.140004280
nop
lea rcx, [rbp - 0x19]
call fcn.140004280
mov al, 1
jmp 0x140014702
mov qword [rbp - 0x69], r15
mov qword [rbp - 0x29], r12
xor r9d, r9d
lea r8, [rsp + 0x20]
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionRunOnceEx
lea rcx, [rbp - 0x69]
call fcn.140003cb0
nop
xor r9d, r9d
lea r8, [rbp - 0x69]
mov rdx, 0xffffffff80000002
call fcn.140013b40
cmp dword [rsi + 0x14], eax
setl bl
lea rcx, [rbp - 0x69]
call fcn.1400048d0
test bl, bl
je 0x1400143dc
cmp byte [0x140173b48], 0
jne 0x140014322
cmp byte [0x14017bbb1], 0
je 0x140013f9d
lea rbx, [0x140102478]
mov qword [rbp - 0x19], rbx
lea rdi, [0x1401025f8]
mov qword [rbp + 0x27], rdi
xor r9d, r9d
lea rdx, str.RebootHandler.cpp
lea rcx, [rbp - 0x19]
call fcn.140006ab0
nop
mov qword [rbp - 0x69], rbx
mov qword [rbp - 0x29], rdi
xor r9d, r9d
lea rdx, str.HKLM_RunOnceEx_key_appears_to_have_been_updated__reboot_is_required
lea rcx, [rbp - 0x69]
call fcn.140006ab0
nop
cmp byte [0x140173b48], 0
je 0x140014391
cmp byte [0x14017bbb1], 0
jne 0x140014383
call fcn.140099320
test al, al
je 0x14001438a
mov byte [0x14017bbb1], 1
mov byte [0x140173b48], 0
cmp byte [0x14017bbb1], 0
je 0x1400143c2
lea rdx, [rbp - 0x11]
cmp qword [rbp + 7], 8
cmovae rdx, qword [rbp - 0x11]
lea rcx, [rbp - 0x61]
cmp qword [rbp - 0x49], 8
cmovae rcx, qword [rbp - 0x61]
mov r8d, 0x5f
call fcn.140099810
nop
lea rcx, [rbp - 0x69]
call fcn.140004280
nop
lea rcx, [rbp - 0x19]
call fcn.140004280
mov al, 1
jmp 0x140014702
mov qword [rbp - 0x69], r15
mov qword [rbp - 0x29], r12
xor r9d, r9d
lea r8, [rsp + 0x20]
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionRunOnceEx
lea rcx, [rbp - 0x69]
call fcn.140003cb0
nop
mov r9b, 1
lea r8, [rbp - 0x69]
mov rdx, 0xffffffff80000002
call fcn.140013b40
cmp dword [rsi + 0x18], eax
setl bl
lea rcx, [rbp - 0x69]
call fcn.1400048d0
test bl, bl
je 0x1400144f7
cmp byte [0x140173b48], 0
jne 0x14001443d
cmp byte [0x14017bbb1], 0
je 0x140013f9d
lea rbx, [0x140102478]
mov qword [rbp - 0x19], rbx
lea rdi, [0x1401025f8]
mov qword [rbp + 0x27], rdi
xor r9d, r9d
lea rdx, str.RebootHandler.cpp
lea rcx, [rbp - 0x19]
call fcn.140006ab0
nop
mov qword [rbp - 0x69], rbx
mov qword [rbp - 0x29], rdi
xor r9d, r9d
lea rdx, str.HKLM_64_bit_RunOnceEx_key_appears_to_have_been_updated__reboot_is_required
lea rcx, [rbp - 0x69]
call fcn.140006ab0
nop
cmp byte [0x140173b48], 0
je 0x1400144ac
cmp byte [0x14017bbb1], 0
jne 0x14001449e
call fcn.140099320
test al, al
je 0x1400144a5
mov byte [0x14017bbb1], 1
mov byte [0x140173b48], 0
cmp byte [0x14017bbb1], 0
je 0x1400144dd
lea rdx, [rbp - 0x11]
cmp qword [rbp + 7], 8
cmovae rdx, qword [rbp - 0x11]
lea rcx, [rbp - 0x61]
cmp qword [rbp - 0x49], 8
cmovae rcx, qword [rbp - 0x61]
mov r8d, 0x64
call fcn.140099810
nop
lea rcx, [rbp - 0x69]
call fcn.140004280
nop
lea rcx, [rbp - 0x19]
call fcn.140004280
mov al, 1
jmp 0x140014702
mov qword [rbp - 0x19], r15
mov qword [rbp + 0x27], r12
xor r9d, r9d
lea r8, [rsp + 0x20]
lea rdx, str.PendingRenameFileOperations
lea rcx, [rbp - 0x19]
call fcn.140003cb0
nop
mov qword [rbp - 0x69], r15
mov qword [rbp - 0x29], r12
xor r9d, r9d
lea r8, [rsp + 0x20]
lea rdx, str.SystemCurrentControlSetControlSession_Manager
lea rcx, [rbp - 0x69]
call fcn.140003cb0
nop
lea r9, [rbp - 0x19]
lea r8, [rbp - 0x69]
call fcn.140013c20
cmp dword [rsi + 0x1c], eax
setl bl
lea rcx, [rbp - 0x69]
call fcn.1400048d0
nop
lea rcx, [rbp - 0x19]
call fcn.1400048d0
test bl, bl
je 0x140014637
cmp byte [0x140173b48], 0
jne 0x14001457d
cmp byte [0x14017bbb1], 0
je 0x140013f9d
lea rbx, [0x140102478]
mov qword [rbp - 0x19], rbx
lea rdi, [0x1401025f8]
mov qword [rbp + 0x27], rdi
xor r9d, r9d
lea rdx, str.RebootHandler.cpp
lea rcx, [rbp - 0x19]
call fcn.140006ab0
nop
mov qword [rbp - 0x69], rbx
mov qword [rbp - 0x29], rdi
xor r9d, r9d
lea rdx, str.PendingRenameFileOperations_key_appears_to_have_been_updated__reboot_is_required
lea rcx, [rbp - 0x69]
call fcn.140006ab0
nop
cmp byte [0x140173b48], 0
je 0x1400145ec
cmp byte [0x14017bbb1], 0
jne 0x1400145de
call fcn.140099320
test al, al
je 0x1400145e5
mov byte [0x14017bbb1], 1
mov byte [0x140173b48], 0
cmp byte [0x14017bbb1], 0
je 0x14001461d
lea rdx, [rbp - 0x11]
cmp qword [rbp + 7], 8
cmovae rdx, qword [rbp - 0x11]
lea rcx, [rbp - 0x61]
cmp qword [rbp - 0x49], 8
cmovae rcx, qword [rbp - 0x61]
mov r8d, 0x69
call fcn.140099810
nop
lea rcx, [rbp - 0x69]
call fcn.140004280
nop
lea rcx, [rbp - 0x19]
call fcn.140004280
mov al, 1
jmp 0x140014702
cmp byte [0x140173b48], 0
jne 0x14001464d
cmp byte [0x14017bbb1], 0
je 0x140014700
lea rbx, [0x140102478]
mov qword [rbp - 0x19], rbx
lea rdi, [0x1401025f8]
mov qword [rbp + 0x27], rdi
xor r9d, r9d
lea rdx, str.RebootHandler.cpp
lea rcx, [rbp - 0x19]
call fcn.140006ab0
nop
mov qword [rbp - 0x69], rbx
mov qword [rbp - 0x29], rdi
xor r9d, r9d
lea rdx, str.No_registry_indicators_appear_to_signal_a_reboot_is_pending
lea rcx, [rbp - 0x69]
call fcn.140006ab0
nop
cmp byte [0x140173b48], 0
je 0x1400146bc
cmp byte [0x14017bbb1], 0
jne 0x1400146ae
call fcn.140099320
test al, al
je 0x1400146b5
mov byte [0x14017bbb1], 1
mov byte [0x140173b48], 0
cmp byte [0x14017bbb1], 0
je 0x1400146ed
lea rdx, [rbp - 0x11]
cmp qword [rbp + 7], 8
cmovae rdx, qword [rbp - 0x11]
lea rcx, [rbp - 0x61]
cmp qword [rbp - 0x49], 8
cmovae rcx, qword [rbp - 0x61]
mov r8d, 0x6d
call fcn.140099810
nop
lea rcx, [rbp - 0x69]
call fcn.140004280
nop
lea rcx, [rbp - 0x19]
call fcn.140004280
xor al, al
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.1400b31f0
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r13
pop rbp
ret