Function at 0x1401bbcb0
Capabilities:
Change the wallpaper
Delete registry key
Delete registry value
Persist via appinit_dlls registry key
Persist via default file association registry key
Persist via winlogon helper dll registry key
Set registry value

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xc0
mov qword [rbp + 0x17], 0xfffffffffffffffe
mov qword [rsp + 0x118], rbx
mov r13, r8
mov rdi, rdx
mov rsi, rcx
mov qword [rbp - 0x69], rcx
xor ebx, ebx
mov r14d, ebx
mov dword [rbp - 0x19], ebx
lea r12, [0x14034d1a0]
mov qword [rbp + 7], r12
mov qword [rbp + 0xf], rbx
xor r8d, r8d
lea rdx, str.Control_PanelDesktopWallpaper
mov rcx, rdi
call fcn.140202610
test al, al
jne 0x1401bbd3e
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftInternet_ExplorerDesktopGeneralWallpaper
mov rcx, rdi
call fcn.140202610
test al, al
jne 0x1401bbd3e
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftInternet_ExplorerDesktopComponents
mov rcx, rdi
call fcn.140202610
test al, al
je 0x1401bbd42
mov byte [rsi + 9], 1
xor r8d, r8d
lea rdx, str._shellopencommand_
mov rcx, rdi
call fcn.140202750
xor r8d, r8d
mov rcx, rdi
test al, al
je 0x1401bbff9
mov dl, 1
call fcn.1400ed8e0
mov r15, rax
test rax, rax
je 0x1401bd1a4
xor r8d, r8d
lea rdx, str.StartMenuInternet_
mov rcx, rdi
call fcn.140203280
mov ebx, eax
test eax, eax
jle 0x1401bbfb9
mov qword [rbp - 0x59], r12
xor r13d, r13d
mov qword [rbp - 0x51], r13
lea r8, [rbp - 0x59]
xor edx, edx
mov rcx, r15
call fcn.1400d9fd0
lea esi, [r13 + 1]
test al, al
je 0x1401bbfa8
lea r8d, [rbx + 0x12]
lea rdx, [0x14034c088]
mov rcx, rdi
call fcn.140203160
test eax, eax
jle 0x1401bbfa8
lea r9d, [rax + 1]
xor r8d, r8d
lea rdx, [rbp - 0x39]
mov rcx, rdi
call fcn.140204ad0
nop
lea rdx, str.DefaultIcon
mov rcx, rax
call fcn.140200ef0
mov rbx, rax
mov qword [rbp - 0x41], r13
mov edx, dword [rax + 0xc]
test edx, edx
jne 0x1401bbe08
mov qword [rbp - 0x49], r12
jmp 0x1401bbe29
lea rcx, [rbp - 0x49]
call fcn.1402028a0
movsxd r9, dword [rbx + 0xc]
mov eax, dword [rbp - 0x41]
inc eax
movsxd rdx, eax
mov r8, qword [rbx]
mov rcx, qword [rbp - 0x49]
call fcn.1402c06dc
mov edx, dword [rbx + 0xc]
lea rcx, [rbp - 0x49]
call fcn.140203bb0
nop
cmp dword [rbp - 0x31], 0
jle 0x1401bbe45
mov rcx, qword [rbp - 0x39]
call fcn.1402bd0e0
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x49]
call fcn.1400ed8e0
mov rdi, rax
test rax, rax
je 0x1401bbf98
mov qword [rbp - 0x69], r12
mov qword [rbp - 0x61], r13
lea r8, [rbp - 0x69]
xor edx, edx
mov rcx, rax
call fcn.1400d9fd0
test al, al
je 0x1401bbf7d
xor r8d, r8d
lea rdx, str..exe_
lea rcx, [rbp - 0x69]
call fcn.140203280
test eax, eax
jle 0x1401bbf7d
lea r9d, [rax + 4]
xor r8d, r8d
lea rdx, [rbp - 0x39]
lea rcx, [rbp - 0x69]
call fcn.140204ad0
mov rbx, rax
mov edx, dword [rax + 0xc]
lea rcx, [rbp - 0x69]
call fcn.1402028a0
movsxd r9, dword [rbx + 0xc]
mov eax, dword [rbp - 0x61]
inc eax
movsxd rdx, eax
mov r8, qword [rbx]
mov rcx, qword [rbp - 0x69]
call fcn.1402c06dc
mov edx, dword [rbx + 0xc]
lea rcx, [rbp - 0x69]
call fcn.140203bb0
nop
cmp dword [rbp - 0x31], 0
jle 0x1401bbeef
mov rcx, qword [rbp - 0x39]
call fcn.1402bd0e0
mov r8, qword [rbp - 0x69]
lea rdx, [0x140354300]
lea rcx, [rbp - 0x39]
call fcn.140202d40
mov rbx, rax
mov edx, dword [rax + 0xc]
lea rcx, [rbp - 0x59]
call fcn.1402028a0
movsxd r9, dword [rbx + 0xc]
mov eax, dword [rbp - 0x51]
inc eax
movsxd rdx, eax
mov r8, qword [rbx]
mov rcx, qword [rbp - 0x59]
call fcn.1402c06dc
mov edx, dword [rbx + 0xc]
lea rcx, [rbp - 0x59]
call fcn.140203bb0
nop
cmp dword [rbp - 0x31], 0
jle 0x1401bbf46
mov rcx, qword [rbp - 0x39]
call fcn.1402bd0e0
mov rax, qword [rbp - 0x59]
or rbx, 0xffffffffffffffff
nop
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1401bbf50
add ebx, ebx
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rax
mov r9d, esi
xor r8d, r8d
xor edx, edx
mov rcx, qword [r15 + 8]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
cmove r14d, esi
mov rax, qword [rdi]
mov edx, esi
mov rcx, rdi
call qword [rax]
nop
cmp dword [rbp - 0x61], 0
jle 0x1401bbf98
mov rcx, qword [rbp - 0x69]
call fcn.1402bd0e0
nop
cmp dword [rbp - 0x41], 0
jle 0x1401bbfa8
mov rcx, qword [rbp - 0x49]
call fcn.1402bd0e0
nop
cmp dword [rbp - 0x51], 0
jle 0x1401bbfea
mov rcx, qword [rbp - 0x59]
call fcn.1402bd0e0
jmp 0x1401bbfea
mov dword [rsp + 0x28], 0xe
lea rax, str.__1___
mov qword [rsp + 0x20], rax
mov esi, 1
mov r9d, esi
xor r8d, r8d
xor edx, edx
mov rcx, qword [r15 + 8]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
cmove r14d, esi
mov rax, qword [r15]
mov edx, esi
mov rcx, r15
call qword [rax]
jmp 0x1401bd1a4
lea rdx, str.SOFTWAREMicrosoftWindows_NTCurrentVersionWinlogon
call fcn.140202610
test al, al
je 0x1401bc269
cmp dword [rdi + 0xc], 0
je 0x1401bd1a4
mov edx, 0x5c
mov rcx, qword [rdi]
call fcn.1402c00ac
mov rbx, rax
test rax, rax
je 0x1401bd1a4
sub rbx, qword [rdi]
sar rbx, 1
test ebx, ebx
jle 0x1401bd1a4
mov r9d, ebx
xor r8d, r8d
lea rdx, [rbp - 0x49]
mov rcx, rdi
call fcn.140204ad0
nop
inc ebx
mov r9d, dword [rdi + 0xc]
sub r9d, ebx
mov r8d, ebx
lea rdx, [rbp - 0x69]
mov rcx, rdi
call fcn.140204ad0
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x49]
call fcn.1400ed8e0
mov rdi, rax
test rax, rax
jne 0x1401bc0a0
mov rbx, qword [rbp - 0x49]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov r8, rbx
lea rcx, str.Error__d_while_opening__s_r_n
call fcn.1401b5550
jmp 0x1401bc241
mov r8, qword [rbp - 0x69]
mov rdx, qword [rbp - 0x49]
lea rcx, str._s_:___s__r_n
call fcn.1401b5550
xor bl, bl
xor r8d, r8d
lea rdx, str.Shell
lea rcx, [rbp - 0x69]
call fcn.140202b80
mov esi, 1
xor r8d, r8d
test al, al
je 0x1401bc101
mov dword [rsp + 0x28], 0x18
lea rax, [0x140351f90]
mov qword [rsp + 0x20], rax
mov r9d, esi
mov rdx, qword [rbp - 0x69]
mov rcx, qword [rdi + 8]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jmp 0x1401bc227
lea rdx, str.System
lea rcx, [rbp - 0x69]
call fcn.140202b80
xor r8d, r8d
test al, al
je 0x1401bc124
mov dword [rsp + 0x28], r8d
mov qword [rsp + 0x20], r12
jmp 0x1401bc0e9
lea rdx, str.UserInit
lea rcx, [rbp - 0x69]
call fcn.140202b80
test al, al
je 0x1401bc1f6
xor eax, eax
mov qword [rbp - 0x51], rax
lea edx, [rax + 0xc]
lea rcx, [rbp - 0x59]
call fcn.1402028a0
mov eax, dword [rbp - 0x51]
inc eax
movsxd rdx, eax
mov r9d, 0xc
lea r8, str.userinit.exe
mov rcx, qword [rbp - 0x59]
call fcn.1402c06dc
mov edx, 0xc
lea rcx, [rbp - 0x59]
call fcn.140203bb0
nop
mov edx, 0x25
lea rcx, [rbp - 0x11]
call fcn.14020e790
nop
lea r8, [rbp - 0x59]
mov rdx, rax
lea rcx, [rbp - 0x39]
call fcn.1400d4050
mov ecx, dword [rax + 0xc]
mov rdx, qword [rax]
lea eax, [rcx + rcx]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rdx
mov r9d, esi
xor r8d, r8d
mov rdx, qword [rbp - 0x69]
mov rcx, qword [rdi + 8]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
sete bl
cmp dword [rbp - 0x31], 0
jle 0x1401bc1d5
mov rcx, qword [rbp - 0x39]
call fcn.1402bd0e0
nop
cmp dword [rbp - 9], 0
jle 0x1401bc1e5
mov rcx, qword [rbp - 0x11]
call fcn.1402bd0e0
nop
cmp dword [rbp - 0x51], 0
jle 0x1401bc22a
mov rcx, qword [rbp - 0x59]
call fcn.1402bd0e0
jmp 0x1401bc22a
xor r8d, r8d
lea rdx, str.Taskman
lea rcx, [rbp - 0x69]
call fcn.140202b80
test al, al
je 0x1401bc22a
mov rdx, qword [rbp - 0x69]
mov rcx, qword [rdi + 8]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov ebx, eax
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
test ebx, ebx
sete bl
mov r14d, 3
test bl, bl
cmovne r14d, esi
mov rax, qword [rdi]
mov edx, esi
mov rcx, rdi
call qword [rax]
nop
cmp dword [rbp - 0x61], 0
jle 0x1401bc251
mov rcx, qword [rbp - 0x69]
call fcn.1402bd0e0
nop
cmp dword [rbp - 0x41], 0
jle 0x1401bd1a4
mov rcx, qword [rbp - 0x49]
call fcn.1402bd0e0
jmp 0x1401bd1a4
xor r8d, r8d
lea rdx, str.ControlSession_ManagerSubSystemsWindows
mov rcx, rdi
call fcn.140202750
test al, al
je 0x1401bc46b
cmp dword [rdi + 0xc], 0
je 0x1401bd1a4
mov edx, 0x5c
mov rcx, qword [rdi]
call fcn.1402c00ac
test rax, rax
je 0x1401bd1a4
sub rax, qword [rdi]
sar rax, 1
test eax, eax
jle 0x1401bd1a4
mov r9d, eax
xor r8d, r8d
lea rdx, [rbp - 0x39]
mov rcx, rdi
call fcn.140204ad0
nop
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.1400ed8e0
mov r15, rax
test rax, rax
je 0x1401bc453
mov qword [rbp - 0x49], r12
mov qword [rbp - 0x41], rbx
lea r8, [rbp - 0x49]
lea rdx, [0x140355848]
mov rcx, rax
call fcn.1400d9fd0
test al, al
je 0x1401bc435
mov rbx, qword [r13 + 0x10]
test rbx, rbx
je 0x1401bc435
xor eax, eax
mov qword [rbp - 0x61], rax
lea edx, [rax + 4]
lea rcx, [rbp - 0x69]
call fcn.1402028a0
mov eax, dword [rbp - 0x61]
inc eax
movsxd rdx, eax
mov r9d, 4
lea r8, str.File
mov rcx, qword [rbp - 0x69]
call fcn.1402c06dc
mov edx, 4
lea rcx, [rbp - 0x69]
call fcn.140203bb0
nop
lea rdx, [rbp - 0x69]
mov rcx, rbx
call fcn.14020a680
mov rbx, rax
cmp dword [rbp - 0x61], 0
jle 0x1401bc36b
mov rcx, qword [rbp - 0x69]
call fcn.1402bd0e0
test rbx, rbx
je 0x1401bc435
lea r8, str.path
lea rdx, [rbp - 0x59]
mov rcx, rbx
call fcn.1402075e0
nop
lea rdx, [rbp - 0x59]
lea rcx, [rbp - 0x69]
call fcn.1400e47e0
mov rbx, rax
mov edx, dword [rax + 0xc]
lea rcx, [rbp - 0x59]
call fcn.1402028a0
movsxd r9, dword [rbx + 0xc]
mov eax, dword [rbp - 0x51]
inc eax
movsxd rdx, eax
mov r8, qword [rbx]
mov rcx, qword [rbp - 0x59]
call fcn.1402c06dc
mov edx, dword [rbx + 0xc]
lea rcx, [rbp - 0x59]
call fcn.140203bb0
nop
cmp dword [rbp - 0x61], 0
jle 0x1401bc3d8
mov rcx, qword [rbp - 0x69]
call fcn.1402bd0e0
mov r8, qword [rbp - 0x59]
lea rdx, str._ServerDll_s:
lea rcx, [rbp - 0x11]
call fcn.140202d40
nop
lea r8, str._ServerDllwinsrv:
mov rdx, qword [rbp - 0x11]
lea rcx, [rbp - 0x49]
call fcn.140203f80
lea r8, [rbp - 0x49]
mov rdx, rdi
mov rcx, rsi
call fcn.1401c0050
mov r14d, 2
cmp dword [rbp - 9], 0
jle 0x1401bc426
mov rcx, qword [rbp - 0x11]
call fcn.1402bd0e0
nop
cmp dword [rbp - 0x51], 0
jle 0x1401bc435
mov rcx, qword [rbp - 0x59]
call fcn.1402bd0e0
mov rax, qword [r15]
mov edx, 1
mov rcx, r15
call qword [rax]
nop
cmp dword [rbp - 0x41], 0
jle 0x1401bc453
mov rcx, qword [rbp - 0x49]
call fcn.1402bd0e0
nop
cmp dword [rbp - 0x31], 0
jle 0x1401bd1a4
mov rcx, qword [rbp - 0x39]
call fcn.1402bd0e0
jmp 0x1401bd1a4
xor r8d, r8d
lea rdx, str.HKLMSYSTEM
mov rcx, rdi
call fcn.140202610
test al, al
je 0x1401bc49b
xor r8d, r8d
lea rdx, str.ControlSecurityProvidersSecurityProviders
mov rcx, rdi
call fcn.140202750
test al, al
jne 0x1401bd1a4
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftInternet_ExplorerDesktopGeneralWallpaper
mov rcx, rdi
call fcn.140202610
test al, al
je 0x1401bc5b8
xor r15b, r15b
or rbx, 0xffffffffffffffff
cmp dword [rdi + 0xc], 0
jne 0x1401bc4c6
mov eax, ebx
jmp 0x1401bc4e2
mov edx, 0x5c
mov rcx, qword [rdi]
call fcn.1402c00ac
test rax, rax
jne 0x1401bc4dc
mov eax, ebx
jmp 0x1401bc4e2
sub rax, qword [rdi]
sar rax, 1
lea r8d, [rax + 1]
lea rdx, [rbp - 0x11]
mov rcx, rdi
call fcn.140204810
nop
cmp dword [rdi + 0xc], 0
je 0x1401bc513
mov edx, 0x5c
mov rcx, qword [rdi]
call fcn.1402c00ac
test rax, rax
je 0x1401bc513
sub rax, qword [rdi]
sar rax, 1
mov ebx, eax
mov r9d, ebx
xor r8d, r8d
lea rdx, [rbp - 0x39]
mov rcx, rdi
call fcn.140204ad0
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x39]
call fcn.1400ed8e0
mov rbx, rax
mov esi, 1
test rax, rax
je 0x1401bc572
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], r12
mov r9d, esi
xor r8d, r8d
mov rdx, qword [rbp - 0x11]
mov rcx, qword [rax + 8]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
sete r15b
mov rax, qword [rbx]
mov edx, esi
mov rcx, rbx
call qword [rax]
mov r9d, esi
mov r8, r12
xor edx, edx
lea ecx, [rdx + 0x14]
call qword [sym.imp.USER32.dll_SystemParametersInfoW]
mov r14d, 3
test r15b, r15b
cmovne r14d, esi
cmp dword [rbp - 0x31], 0
jle 0x1401bc5a0
mov rcx, qword [rbp - 0x39]
call fcn.1402bd0e0
nop
cmp dword [rbp - 9], 0
jle 0x1401bd1a4
mov rcx, qword [rbp - 0x11]
call fcn.1402bd0e0
jmp 0x1401bd1a4
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftInternet_ExplorerMainStart_Page
mov rcx, rdi
call fcn.140202610
test al, al
je 0x1401bc6cb
xor r15b, r15b
or rbx, 0xffffffffffffffff
cmp dword [rdi + 0xc], 0
jne 0x1401bc5e3
mov eax, ebx
jmp 0x1401bc5ff
mov edx, 0x5c
mov rcx, qword [rdi]
call fcn.1402c00ac
test rax, rax
jne 0x1401bc5f9
mov eax, ebx
jmp 0x1401bc5ff
sub rax, qword [rdi]
sar rax, 1
lea r8d, [rax + 1]
lea rdx, [rbp - 0x11]
mov rcx, rdi
call fcn.140204810
nop
cmp dword [rdi + 0xc], 0
je 0x1401bc630
mov edx, 0x5c
mov rcx, qword [rdi]
call fcn.1402c00ac
test rax, rax
je 0x1401bc630
sub rax, qword [rdi]
sar rax, 1
mov ebx, eax
mov r9d, ebx
xor r8d, r8d
lea rdx, [rbp - 0x39]
mov rcx, rdi
call fcn.140204ad0
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x39]
call fcn.1400ed8e0
mov rbx, rax
mov esi, 1
test rax, rax
je 0x1401bc696
mov dword [rsp + 0x28], 0x16
lea rax, str.about:blank
mov qword [rsp + 0x20], rax
mov r9d, esi
xor r8d, r8d
mov rdx, qword [rbp - 0x11]
mov rcx, qword [rbx + 8]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
sete r15b
mov rax, qword [rbx]
mov edx, esi
mov rcx, rbx
call qword [rax]
mov r14d, 3
test r15b, r15b
cmovne r14d, esi
cmp dword [rbp - 0x31], 0
jle 0x1401bc6b3
mov rcx, qword [rbp - 0x39]
call fcn.1402bd0e0
nop
cmp dword [rbp - 9], 0
jle 0x1401bd1a4
mov rcx, qword [rbp - 0x11]
call fcn.1402bd0e0
jmp 0x1401bd1a4
mov esi, 1
mov r8d, esi
lea rdx, str.HKLMSOFTWAREMicrosoftWindows_NTCurrentVersionWindowsAppInit_DLLS
mov rcx, rdi
call fcn.140202b80
test al, al
je 0x1401bc7d7
xor r15b, r15b
or rbx, 0xffffffffffffffff
cmp dword [rdi + 0xc], 0
jne 0x1401bc6fb
mov eax, ebx
jmp 0x1401bc717
mov edx, 0x5c
mov rcx, qword [rdi]
call fcn.1402c00ac
test rax, rax
jne 0x1401bc711
mov eax, ebx
jmp 0x1401bc717
sub rax, qword [rdi]
sar rax, 1
lea r8d, [rax + 1]
lea rdx, [rbp - 0x11]
mov rcx, rdi
call fcn.140204810
nop
cmp dword [rdi + 0xc], 0
je 0x1401bc748
mov edx, 0x5c
mov rcx, qword [rdi]
call fcn.1402c00ac
test rax, rax
je 0x1401bc748
sub rax, qword [rdi]
sar rax, 1
mov ebx, eax
mov r9d, ebx
xor r8d, r8d
lea rdx, [rbp - 0x39]
mov rcx, rdi
call fcn.140204ad0
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x39]
call fcn.1400ed8e0
mov rbx, rax
test rax, rax
je 0x1401bc7a2
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], r12
mov r9d, esi
xor r8d, r8d
mov rdx, qword [rbp - 0x11]
mov rcx, qword [rax + 8]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
sete r15b
mov rax, qword [rbx]
mov edx, esi
mov rcx, rbx
call qword [rax]
mov r14d, 3
test r15b, r15b
cmovne r14d, esi
cmp dword [rbp - 0x31], 0
jle 0x1401bc7bf
mov rcx, qword [rbp - 0x39]
call fcn.1402bd0e0
nop
cmp dword [rbp - 9], 0
jle 0x1401bd1a4
mov rcx, qword [rbp - 0x11]
call fcn.1402bd0e0
jmp 0x1401bd1a4
xor r8d, r8d
lea rdx, str.F3130CDB_AA52_4C3A_AB32_85FFC23AF9C1
mov rcx, rdi
call fcn.140202610
test al, al
jne 0x1401bd03c
xor r8d, r8d
lea rdx, str.42AEDC87_2188_41FD_B9A3_0C966FEABEC1
mov rcx, rdi
call fcn.140202610
test al, al
jne 0x1401bd03c
lea rdx, [rbp + 7]
mov rcx, rdi
call fcn.1401bd380
test al, al
je 0x1401bcb1a
lea rax, str.winmgmt
mov qword [rbp - 0x39], rax
lea rax, str._systemroot__system32_svchost.exe__k_netsvcs
mov qword [rbp - 0x31], rax
lea rax, str._SystemRoot__system32wbemWMIsvc.dll
mov qword [rbp - 0x29], rax
lea rax, str.ServiceMain
mov qword [rbp - 0x21], rax
movzx r15d, sil
mov r13d, ebx
mov dword [rbp - 1], ebx
lea r12, [rbp - 0x29]
mov qword [rbp - 0x49], r12
or rbx, 0xffffffffffffffff
lea r14, vtable.Core::Win32::RegistryKey.0
nop dword [rax + rax]
xor r8d, r8d
mov rdx, qword [r12 - 0x10]
lea rcx, [rbp + 7]
call fcn.140202b80
test al, al
je 0x1401bc9cf
xor r8d, r8d
movzx edx, sil
mov rcx, rdi
call fcn.1400ed8e0
mov r13, rax
test rax, rax
je 0x1401bc9c8
mov rdx, qword [r12 - 8]
mov rcx, rbx
nop dword [rax]
inc rcx
cmp word [rdx + rcx*2], 0
jne 0x1401bc8b0
add ecx, ecx
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], rdx
mov r9d, 2
xor r8d, r8d
lea rdx, str.ImagePath
mov rcx, qword [rax + 8]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov r15, qword [r12]
test r15, r15
je 0x1401bc9bd
mov qword [rbp - 0x59], 0
lea rax, [rbp - 0x59]
mov qword [rsp + 0x20], rax
mov r9d, 0x2001f
xor r8d, r8d
lea rdx, str.Parameters
mov rcx, qword [r13 + 8]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1401bc9bd
lea ecx, [rax + 0x10]
call fcn.1402bcb4c
mov r12, rax
test rax, rax
je 0x1401bc9b9
mov rcx, qword [rbp - 0x59]
mov qword [rax], r14
mov qword [rax + 8], rcx
mov rcx, rbx
inc rcx
cmp word [r15 + rcx*2], 0
jne 0x1401bc941
add ecx, ecx
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], r15
mov r9d, 2
xor r8d, r8d
lea rdx, str.ServiceDll
mov rcx, qword [rax + 8]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rax, qword [rbp - 0x49]
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x1401bc9ae
mov rax, rbx
inc rax
cmp word [rcx + rax*2], 0
jne 0x1401bc981
add eax, eax
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov r9d, esi
xor r8d, r8d
lea rdx, str.ServiceMain
mov rcx, qword [r12 + 8]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rax, qword [r12]
mov edx, esi
mov rcx, r12
call qword [rax]
mov r12, qword [rbp - 0x49]
mov rax, qword [r13]
mov edx, esi
mov rcx, r13
call qword [rax]
xor r15b, r15b
mov r13d, dword [rbp - 1]
inc r13d
mov dword [rbp - 1], r13d
add r12, 0x20
mov qword [rbp - 0x49], r12
movsxd rax, r13d
cmp rax, rsi
jb 0x1401bc870
test r15b, r15b
mov r14d, dword [rbp - 0x19]
je 0x1401bd1a4
xor r8d, r8d
movzx edx, sil
mov rcx, rdi
call fcn.1400ed8e0
mov rbx, rax
test rax, rax
je 0x1401bca78
mov dword [rbp - 0x19], esi
mov dword [rsp + 0x28], 4
lea rax, [rbp - 0x19]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.DeleteFlag
mov rcx, qword [rbx + 8]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [rbp - 0x19], 4
mov dword [rsp + 0x28], 4
lea rax, [rbp - 0x19]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.Start
mov rcx, qword [rbx + 8]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rax, qword [rbx]
mov edx, esi
mov rcx, rbx
call qword [rax]
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
test rax, rax
je 0x1401bcaa1
mov rdx, rax
lea rcx, [rbp + 7]
call fcn.1401bdf90
test al, al
jne 0x1401bd1a4
lea rcx, [rbp + 7]
call fcn.1401bf8e0
movzx ebx, al
lea rax, [0x1403105c0]
lea r8, str.FAIL
test bl, bl
cmovne r8, rax
mov rdx, qword [rbp + 7]
lea rcx, str.Physically_disable_service___s_____s_n
call fcn.1401b5550
test bl, bl
je 0x1401bcae0
mov r14d, 2
jmp 0x1401bd1a4
mov rbx, qword [rbp - 0x69]
mov rax, qword [rbx + 0xd8]
lea rdx, [rbp + 7]
lea rcx, [rbx + 0xd8]
call qword [rax + 0x10]
test al, al
jne 0x1401bd1a4
mov rax, qword [rbx + 0xd8]
lea rdx, [rbp + 7]
lea rcx, [rbx + 0xd8]
call qword [rax]
jmp 0x1401bd1a4
xor r8d, r8d
lea rdx, [0x14034c088]
mov rcx, rdi
call fcn.140202750
test al, al
je 0x1401bcd0b
mov r8d, esi
lea rdx, str.HKLMSOFTWAREMicrosoftWindowsCurrentVersion_
mov rcx, rdi
call fcn.140202b80
test al, al
jne 0x1401bcd0b
or rbx, 0xffffffffffffffff
cmp dword [rdi + 0xc], 0
jne 0x1401bcb5c
mov eax, ebx
jmp 0x1401bcb78
mov edx, 0x5c
mov rcx, qword [rdi]
call fcn.1402c00ac
test rax, rax
jne 0x1401bcb72
mov eax, ebx
jmp 0x1401bcb78
sub rax, qword [rdi]
sar rax, 1
mov r9d, eax
xor r8d, r8d
lea rdx, [rbp - 0x69]
mov rcx, rdi
call fcn.140204ad0
nop
cmp dword [rbp - 0x5d], 0
jne 0x1401bcb95
mov eax, ebx
jmp 0x1401bcbb3
mov edx, 0x5c
mov rcx, qword [rbp - 0x69]
call fcn.1402c00ac
test rax, rax
jne 0x1401bcbac
mov eax, ebx
jmp 0x1401bcbb3
sub rax, qword [rbp - 0x69]
sar rax, 1
lea r9d, [rax + 1]
xor r8d, r8d
lea rdx, [rbp - 0x59]
lea rcx, [rbp - 0x69]
call fcn.140204ad0
nop
cmp dword [rbp - 0x5d], 0
je 0x1401bcbea
mov edx, 0x5c
mov rcx, qword [rbp - 0x69]
call fcn.1402c00ac
test rax, rax
je 0x1401bcbea
sub rax, qword [rbp - 0x69]
sar rax, 1
mov ebx, eax
lea r8d, [rbx + 1]
lea rdx, [rbp - 0x49]
lea rcx, [rbp - 0x69]
call fcn.140204810
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x59]
call fcn.1400ed8e0
mov rbx, rax
test rax, rax
je 0x1401bccc2
mov r8, qword [rbp - 0x59]
mov rdx, qword [rbp - 0x49]
lea rcx, str.Deleting_key__s_under__s
call fcn.1401b5550
mov rdx, qword [rbp - 0x49]
mov rcx, rbx
call fcn.1400ecee0
test al, al
je 0x1401bcc9c
lea rcx, str.___Success_r_n
call fcn.1401b5550
mov r14d, esi
lea r8, [0x140351b30]
lea rdx, [rbp - 0x39]
mov rcx, r13
call fcn.1402075e0
nop
xor r8d, r8d
lea rdx, [0x140351b10]
lea rcx, [rbp - 0x39]
call fcn.140202b80
test al, al
je 0x1401bcc8b
lea r8, [0x140351b10]
lea rdx, str.skip
mov rcx, r13
call fcn.140207630
nop
cmp dword [rbp - 0x31], 0
jle 0x1401bccb6
mov rcx, qword [rbp - 0x39]
call fcn.1402bd0e0
jmp 0x1401bccb6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.___Failed__error__d__r_n
call fcn.1401b5550
mov r14d, 2
mov rax, qword [rbx]
mov edx, esi
mov rcx, rbx
call qword [rax]
jmp 0x1401bccd3
mov rdx, qword [rbp - 0x59]
lea rcx, str.Failed_to_open_key__s_r_n
call fcn.1401b5550
nop
cmp dword [rbp - 0x41], 0
jle 0x1401bcce3
mov rcx, qword [rbp - 0x49]
call fcn.1402bd0e0
nop
cmp dword [rbp - 0x51], 0
jle 0x1401bccf3
mov rcx, qword [rbp - 0x59]
call fcn.1402bd0e0
nop
cmp dword [rbp - 0x61], 0
jle 0x1401bd1a4
mov rcx, qword [rbp - 0x69]
call fcn.1402bd0e0
jmp 0x1401bd1a4
mov r8d, esi
lea rdx, [0x1403674e8]
mov rcx, rdi
call fcn.140203950
mov r15d, eax
or rbx, 0xffffffffffffffff
test eax, eax
jle 0x1401bcd78
mov r9d, eax
xor r8d, r8d
lea rdx, [rbp - 0x39]
mov rcx, rdi
call fcn.140204ad0
mov r12, rax
cmp dword [rax + 0xc], 0
jne 0x1401bcd48
mov r15d, ebx
jmp 0x1401bcd69
mov edx, 0x5c
mov rcx, qword [rax]
call fcn.1402c00ac
mov r15, rax
test rax, rax
jne 0x1401bcd62
mov r15d, ebx
jmp 0x1401bcd69
sub r15, qword [r12]
sar r15, 1
cmp dword [rbp - 0x31], 0
jle 0x1401bcd78
mov rcx, qword [rbp - 0x39]
call fcn.1402bd0e0
test r15d, r15d
jns 0x1401bcda8
cmp dword [rdi + 0xc], 0
jne 0x1401bcd88
mov r15d, ebx
jmp 0x1401bcda8
mov edx, 0x5c
mov rcx, qword [rdi]
call fcn.1402c00ac
test rax, rax
jne 0x1401bcd9f
mov r15d, ebx
jmp 0x1401bcda8
sub rax, qword [rdi]
sar rax, 1
mov r15d, eax
mov r9d, r15d
xor r8d, r8d
lea rdx, [rbp - 0x59]
mov rcx, rdi
call fcn.140204ad0
nop
lea r8d, [r15 + 1]
lea rdx, [rbp - 0x69]
mov rcx, rdi
call fcn.140204810
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x59]
call fcn.1400ed8e0
mov r15, rax
test rax, rax
jne 0x1401bcdf7
mov rdx, qword [rbp - 0x59]
lea rcx, str.Failed_to_open_key__s_r_n
call fcn.1401b5550
jmp 0x1401bd014
mov r8, qword [rdi]
mov rdx, qword [rbp - 0x69]
lea rcx, str.Deleting_VALUE__s_under__s
call fcn.1401b5550
mov r8d, esi
lea rdx, [0x140357fd4]
lea rcx, [rbp - 0x69]
call fcn.140202b80
test al, al
je 0x1401bce32
cmp dword [rbp - 0x5d], 0
jle 0x1401bce32
xor edx, edx
lea rcx, [rbp - 0x69]
call fcn.140203bb0
mov rdx, qword [rbp - 0x69]
mov rcx, qword [r15 + 8]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov ebx, eax
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
test ebx, ebx
jne 0x1401bcf05
lea rcx, str.___Success_r_n
call fcn.1401b5550
mov r14d, esi
xor dil, dil
xor r8d, r8d
lea rdx, [0x1403675a8]
lea rcx, [rbp - 0x69]
call fcn.140202b80
test al, al
je 0x1401bcf22
xor r8d, r8d
lea rdx, str.Image_File_Execution_Options_
lea rcx, [rbp - 0x59]
call fcn.140202610
test al, al
je 0x1401bcf22
lea rax, vtable.Core::Array_class_Core::String_.0
mov qword [rbp - 0x39], rax
xor eax, eax
mov dword [rbp - 0x31], eax
mov qword [rbp - 0x29], rax
lea rdx, [rbp - 0x39]
mov rcx, r15
call fcn.1400ed400
test al, al
je 0x1401bceda
cmp dword [rbp - 0x31], ebx
jne 0x1401bceda
lea rdx, [rbp - 0x39]
mov rcx, r15
call fcn.1400ed120
test al, al
je 0x1401bceda
cmp dword [rbp - 0x31], ebx
sete dil
mov rcx, qword [rbp - 0x29]
test rcx, rcx
je 0x1401bcf22
lea rbx, [rcx - 8]
lea r9, [fcn.140005eb0]
mov r8d, dword [rbx]
mov edx, 0x10
call fcn.1402bda84
mov rcx, rbx
call fcn.1402bcebc
jmp 0x1401bcf22
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.___Failed__d_r_n
call fcn.1401b5550
xor dil, dil
mov r14d, 2
mov rax, qword [r15]
mov edx, esi
mov rcx, r15
call qword [rax]
test dil, dil
je 0x1401bd014
mov r8d, esi
lea rdx, [0x14034c088]
lea rcx, [rbp - 0x59]
call fcn.140203950
mov ebx, eax
test eax, eax
jle 0x1401bd014
mov r9d, eax
xor r8d, r8d
lea rdx, [rbp - 0x11]
lea rcx, [rbp - 0x59]
call fcn.140204ad0
nop
lea r8d, [rbx + 1]
lea rdx, [rbp - 0x49]
lea rcx, [rbp - 0x59]
call fcn.140204810
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x11]
call fcn.1400ed8e0
mov rdi, rax
test rax, rax
je 0x1401bcff4
mov r8, qword [rbp - 0x11]
mov rdx, qword [rbp - 0x49]
lea rcx, str.Deleting_key__s_under__s
call fcn.1401b5550
mov rdx, qword [rbp - 0x49]
mov rcx, qword [rdi + 8]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov ebx, eax
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
test ebx, ebx
jne 0x1401bcfcf
lea rcx, str.___Success_r_n
call fcn.1401b5550
mov r14d, esi
jmp 0x1401bcfe9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.___Failed__d_r_n
call fcn.1401b5550
mov r14d, 2
mov rax, qword [rdi]
mov edx, esi
mov rcx, rdi
call qword [rax]
nop
cmp dword [rbp - 0x41], 0
jle 0x1401bd004
mov rcx, qword [rbp - 0x49]
call fcn.1402bd0e0
nop
cmp dword [rbp - 9], 0
jle 0x1401bd014
mov rcx, qword [rbp - 0x11]
call fcn.1402bd0e0
nop
cmp dword [rbp - 0x61], 0
jle 0x1401bd024
mov rcx, qword [rbp - 0x69]
call fcn.1402bd0e0
nop
cmp dword [rbp - 0x51], 0
jle 0x1401bd1a4
mov rcx, qword [rbp - 0x59]
call fcn.1402bd0e0
jmp 0x1401bd1a4
xor r15b, r15b
mov r8d, esi
lea rdx, [0x140367048]
mov rcx, rdi
call fcn.140203950
test eax, eax
jle 0x1401bd197
lea r9d, [rax + 2]
xor r8d, r8d
lea rdx, [rbp - 0x59]
mov rcx, rdi
call fcn.140204ad0
nop
lea rdx, [0x1403671e0]
lea rcx, [rbp - 0x59]
call fcn.140200ef0
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x59]
call fcn.1400ed8e0
mov rbx, rax
mov rdx, qword [rbp - 0x59]
lea rcx, str.Repair__s_r_n
call fcn.1402bf424
test rbx, rbx
je 0x1401bd188
xor eax, eax
mov qword [rbp - 0x61], rax
lea edx, [rax + 0x16]
lea rcx, [rbp - 0x69]
call fcn.1402028a0
mov eax, dword [rbp - 0x61]
inc eax
movsxd rdx, eax
mov r9d, 0x16
lea r8, str._SystemRoot__system32_
mov rcx, qword [rbp - 0x69]
call fcn.1402c06dc
mov edx, 0x16
lea rcx, [rbp - 0x69]
call fcn.140203bb0
nop
xor r8d, r8d
lea rdx, str.42AEDC87
mov rcx, rdi
call fcn.140202610
test al, al
je 0x1401bd123
xor r8d, r8d
xor edx, edx
lea ecx, [rdx + 6]
call fcn.1400ce2e0
lea rcx, [rbp - 0x69]
test al, al
je 0x1401bd11a
lea rdx, str.shell32.dll
jmp 0x1401bd12e
lea rdx, str.shdocvw.dll
jmp 0x1401bd12e
lea rdx, str.wbemwbemess.dll
lea rcx, [rbp - 0x69]
call fcn.140200ef0
mov rdx, qword [rbp - 0x69]
lea rcx, str._____s_r_n
call fcn.1402bf424
mov eax, dword [rbp - 0x5d]
add eax, eax
mov dword [rsp + 0x28], eax
mov rax, qword [rbp - 0x69]
mov qword [rsp + 0x20], rax
mov r9d, esi
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbx + 8]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
sete r15b
mov rax, qword [rbx]
mov edx, esi
mov rcx, rbx
call qword [rax]
nop
cmp dword [rbp - 0x61], 0
jle 0x1401bd188
mov rcx, qword [rbp - 0x69]
call fcn.1402bd0e0
nop
cmp dword [rbp - 0x51], 0
jle 0x1401bd197
mov rcx, qword [rbp - 0x59]
call fcn.1402bd0e0
mov r14d, 3
test r15b, r15b
cmovne r14d, esi
cmp dword [rbp + 0xf], 0
jle 0x1401bd1b3
mov rcx, qword [rbp + 7]
call fcn.1402bd0e0
mov eax, r14d
mov rbx, qword [rsp + 0x118]
add rsp, 0xc0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret