Function at 0x1401b84a0
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, [0x140346ce0]
mov qword [rbp + 7], r12
mov qword [rbp + 0xf], rbx
xor r8d, r8d
lea rdx, str.Control_PanelDesktopWallpaper
mov rcx, rdi
call fcn.1401fc8b0
test al, al
jne 0x1401b852e
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftInternet_ExplorerDesktopGeneralWallpaper
mov rcx, rdi
call fcn.1401fc8b0
test al, al
jne 0x1401b852e
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftInternet_ExplorerDesktopComponents
mov rcx, rdi
call fcn.1401fc8b0
test al, al
je 0x1401b8532
mov byte [rsi + 9], 1
xor r8d, r8d
lea rdx, str._shellopencommand_
mov rcx, rdi
call fcn.1401fc9f0
xor r8d, r8d
mov rcx, rdi
test al, al
je 0x1401b87e9
mov dl, 1
call fcn.1400eb0d0
mov r15, rax
test rax, rax
je 0x1401b998c
xor r8d, r8d
lea rdx, str.StartMenuInternet_
mov rcx, rdi
call fcn.1401fd520
mov ebx, eax
test eax, eax
jle 0x1401b87a9
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.1400d8ae0
lea esi, [r13 + 1]
test al, al
je 0x1401b8798
lea r8d, [rbx + 0x12]
lea rdx, [0x140345f98]
mov rcx, rdi
call fcn.1401fd400
test eax, eax
jle 0x1401b8798
lea r9d, [rax + 1]
xor r8d, r8d
lea rdx, [rbp - 0x39]
mov rcx, rdi
call fcn.1401fed70
nop
lea rdx, str.DefaultIcon
mov rcx, rax
call fcn.1401fb190
mov rbx, rax
mov qword [rbp - 0x41], r13
mov edx, dword [rax + 0xc]
test edx, edx
jne 0x1401b85f8
mov qword [rbp - 0x49], r12
jmp 0x1401b8619
lea rcx, [rbp - 0x49]
call fcn.1401fcb40
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.1402ba94c
mov edx, dword [rbx + 0xc]
lea rcx, [rbp - 0x49]
call fcn.1401fde50
nop
cmp dword [rbp - 0x31], 0
jle 0x1401b8635
mov rcx, qword [rbp - 0x39]
call fcn.1402b7350
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x49]
call fcn.1400eb0d0
mov rdi, rax
test rax, rax
je 0x1401b8788
mov qword [rbp - 0x69], r12
mov qword [rbp - 0x61], r13
lea r8, [rbp - 0x69]
xor edx, edx
mov rcx, rax
call fcn.1400d8ae0
test al, al
je 0x1401b876d
xor r8d, r8d
lea rdx, str..exe_
lea rcx, [rbp - 0x69]
call fcn.1401fd520
test eax, eax
jle 0x1401b876d
lea r9d, [rax + 4]
xor r8d, r8d
lea rdx, [rbp - 0x39]
lea rcx, [rbp - 0x69]
call fcn.1401fed70
mov rbx, rax
mov edx, dword [rax + 0xc]
lea rcx, [rbp - 0x69]
call fcn.1401fcb40
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.1402ba94c
mov edx, dword [rbx + 0xc]
lea rcx, [rbp - 0x69]
call fcn.1401fde50
nop
cmp dword [rbp - 0x31], 0
jle 0x1401b86df
mov rcx, qword [rbp - 0x39]
call fcn.1402b7350
mov r8, qword [rbp - 0x69]
lea rdx, [0x14034e458]
lea rcx, [rbp - 0x39]
call fcn.1401fcfe0
mov rbx, rax
mov edx, dword [rax + 0xc]
lea rcx, [rbp - 0x59]
call fcn.1401fcb40
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.1402ba94c
mov edx, dword [rbx + 0xc]
lea rcx, [rbp - 0x59]
call fcn.1401fde50
nop
cmp dword [rbp - 0x31], 0
jle 0x1401b8736
mov rcx, qword [rbp - 0x39]
call fcn.1402b7350
mov rax, qword [rbp - 0x59]
or rbx, 0xffffffffffffffff
nop
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1401b8740
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 0x1401b8788
mov rcx, qword [rbp - 0x69]
call fcn.1402b7350
nop
cmp dword [rbp - 0x41], 0
jle 0x1401b8798
mov rcx, qword [rbp - 0x49]
call fcn.1402b7350
nop
cmp dword [rbp - 0x51], 0
jle 0x1401b87da
mov rcx, qword [rbp - 0x59]
call fcn.1402b7350
jmp 0x1401b87da
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 0x1401b998c
lea rdx, str.SOFTWAREMicrosoftWindows_NTCurrentVersionWinlogon
call fcn.1401fc8b0
test al, al
je 0x1401b8a59
cmp dword [rdi + 0xc], 0
je 0x1401b998c
mov edx, 0x5c
mov rcx, qword [rdi]
call fcn.1402ba31c
mov rbx, rax
test rax, rax
je 0x1401b998c
sub rbx, qword [rdi]
sar rbx, 1
test ebx, ebx
jle 0x1401b998c
mov r9d, ebx
xor r8d, r8d
lea rdx, [rbp - 0x49]
mov rcx, rdi
call fcn.1401fed70
nop
inc ebx
mov r9d, dword [rdi + 0xc]
sub r9d, ebx
mov r8d, ebx
lea rdx, [rbp - 0x69]
mov rcx, rdi
call fcn.1401fed70
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x49]
call fcn.1400eb0d0
mov rdi, rax
test rax, rax
jne 0x1401b8890
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.1401b1eb0
jmp 0x1401b8a31
mov r8, qword [rbp - 0x69]
mov rdx, qword [rbp - 0x49]
lea rcx, str._s_:___s__r_n
call fcn.1401b1eb0
xor bl, bl
xor r8d, r8d
lea rdx, str.Shell
lea rcx, [rbp - 0x69]
call fcn.1401fce20
mov esi, 1
xor r8d, r8d
test al, al
je 0x1401b88f1
mov dword [rsp + 0x28], 0x18
lea rax, [0x14034b998]
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 0x1401b8a17
lea rdx, str.System
lea rcx, [rbp - 0x69]
call fcn.1401fce20
xor r8d, r8d
test al, al
je 0x1401b8914
mov dword [rsp + 0x28], r8d
mov qword [rsp + 0x20], r12
jmp 0x1401b88d9
lea rdx, str.UserInit
lea rcx, [rbp - 0x69]
call fcn.1401fce20
test al, al
je 0x1401b89e6
xor eax, eax
mov qword [rbp - 0x51], rax
lea edx, [rax + 0xc]
lea rcx, [rbp - 0x59]
call fcn.1401fcb40
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.1402ba94c
mov edx, 0xc
lea rcx, [rbp - 0x59]
call fcn.1401fde50
nop
mov edx, 0x25
lea rcx, [rbp - 0x11]
call fcn.1402081e0
nop
lea r8, [rbp - 0x59]
mov rdx, rax
lea rcx, [rbp - 0x39]
call fcn.1400d2ba0
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 0x1401b89c5
mov rcx, qword [rbp - 0x39]
call fcn.1402b7350
nop
cmp dword [rbp - 9], 0
jle 0x1401b89d5
mov rcx, qword [rbp - 0x11]
call fcn.1402b7350
nop
cmp dword [rbp - 0x51], 0
jle 0x1401b8a1a
mov rcx, qword [rbp - 0x59]
call fcn.1402b7350
jmp 0x1401b8a1a
xor r8d, r8d
lea rdx, str.Taskman
lea rcx, [rbp - 0x69]
call fcn.1401fce20
test al, al
je 0x1401b8a1a
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 0x1401b8a41
mov rcx, qword [rbp - 0x69]
call fcn.1402b7350
nop
cmp dword [rbp - 0x41], 0
jle 0x1401b998c
mov rcx, qword [rbp - 0x49]
call fcn.1402b7350
jmp 0x1401b998c
xor r8d, r8d
lea rdx, str.ControlSession_ManagerSubSystemsWindows
mov rcx, rdi
call fcn.1401fc9f0
test al, al
je 0x1401b8c5b
cmp dword [rdi + 0xc], 0
je 0x1401b998c
mov edx, 0x5c
mov rcx, qword [rdi]
call fcn.1402ba31c
test rax, rax
je 0x1401b998c
sub rax, qword [rdi]
sar rax, 1
test eax, eax
jle 0x1401b998c
mov r9d, eax
xor r8d, r8d
lea rdx, [rbp - 0x39]
mov rcx, rdi
call fcn.1401fed70
nop
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.1400eb0d0
mov r15, rax
test rax, rax
je 0x1401b8c43
mov qword [rbp - 0x49], r12
mov qword [rbp - 0x41], rbx
lea r8, [rbp - 0x49]
lea rdx, [0x14034f9d8]
mov rcx, rax
call fcn.1400d8ae0
test al, al
je 0x1401b8c25
mov rbx, qword [r13 + 0x10]
test rbx, rbx
je 0x1401b8c25
xor eax, eax
mov qword [rbp - 0x61], rax
lea edx, [rax + 4]
lea rcx, [rbp - 0x69]
call fcn.1401fcb40
mov eax, dword [rbp - 0x61]
inc eax
movsxd rdx, eax
mov r9d, 4
lea r8, str.File
mov rcx, qword [rbp - 0x69]
call fcn.1402ba94c
mov edx, 4
lea rcx, [rbp - 0x69]
call fcn.1401fde50
nop
lea rdx, [rbp - 0x69]
mov rcx, rbx
call fcn.140204990
mov rbx, rax
cmp dword [rbp - 0x61], 0
jle 0x1401b8b5b
mov rcx, qword [rbp - 0x69]
call fcn.1402b7350
test rbx, rbx
je 0x1401b8c25
lea r8, str.path
lea rdx, [rbp - 0x59]
mov rcx, rbx
call fcn.1402018f0
nop
lea rdx, [rbp - 0x59]
lea rcx, [rbp - 0x69]
call fcn.1400e32f0
mov rbx, rax
mov edx, dword [rax + 0xc]
lea rcx, [rbp - 0x59]
call fcn.1401fcb40
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.1402ba94c
mov edx, dword [rbx + 0xc]
lea rcx, [rbp - 0x59]
call fcn.1401fde50
nop
cmp dword [rbp - 0x61], 0
jle 0x1401b8bc8
mov rcx, qword [rbp - 0x69]
call fcn.1402b7350
mov r8, qword [rbp - 0x59]
lea rdx, str._ServerDll_s:
lea rcx, [rbp - 0x11]
call fcn.1401fcfe0
nop
lea r8, str._ServerDllwinsrv:
mov rdx, qword [rbp - 0x11]
lea rcx, [rbp - 0x49]
call fcn.1401fe220
lea r8, [rbp - 0x49]
mov rdx, rdi
mov rcx, rsi
call fcn.1401bc830
mov r14d, 2
cmp dword [rbp - 9], 0
jle 0x1401b8c16
mov rcx, qword [rbp - 0x11]
call fcn.1402b7350
nop
cmp dword [rbp - 0x51], 0
jle 0x1401b8c25
mov rcx, qword [rbp - 0x59]
call fcn.1402b7350
mov rax, qword [r15]
mov edx, 1
mov rcx, r15
call qword [rax]
nop
cmp dword [rbp - 0x41], 0
jle 0x1401b8c43
mov rcx, qword [rbp - 0x49]
call fcn.1402b7350
nop
cmp dword [rbp - 0x31], 0
jle 0x1401b998c
mov rcx, qword [rbp - 0x39]
call fcn.1402b7350
jmp 0x1401b998c
xor r8d, r8d
lea rdx, str.HKLMSYSTEM
mov rcx, rdi
call fcn.1401fc8b0
test al, al
je 0x1401b8c8b
xor r8d, r8d
lea rdx, str.ControlSecurityProvidersSecurityProviders
mov rcx, rdi
call fcn.1401fc9f0
test al, al
jne 0x1401b998c
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftInternet_ExplorerDesktopGeneralWallpaper
mov rcx, rdi
call fcn.1401fc8b0
test al, al
je 0x1401b8da8
xor r15b, r15b
or rbx, 0xffffffffffffffff
cmp dword [rdi + 0xc], 0
jne 0x1401b8cb6
mov eax, ebx
jmp 0x1401b8cd2
mov edx, 0x5c
mov rcx, qword [rdi]
call fcn.1402ba31c
test rax, rax
jne 0x1401b8ccc
mov eax, ebx
jmp 0x1401b8cd2
sub rax, qword [rdi]
sar rax, 1
lea r8d, [rax + 1]
lea rdx, [rbp - 0x11]
mov rcx, rdi
call fcn.1401feab0
nop
cmp dword [rdi + 0xc], 0
je 0x1401b8d03
mov edx, 0x5c
mov rcx, qword [rdi]
call fcn.1402ba31c
test rax, rax
je 0x1401b8d03
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.1401fed70
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x39]
call fcn.1400eb0d0
mov rbx, rax
mov esi, 1
test rax, rax
je 0x1401b8d62
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 0x1401b8d90
mov rcx, qword [rbp - 0x39]
call fcn.1402b7350
nop
cmp dword [rbp - 9], 0
jle 0x1401b998c
mov rcx, qword [rbp - 0x11]
call fcn.1402b7350
jmp 0x1401b998c
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftInternet_ExplorerMainStart_Page
mov rcx, rdi
call fcn.1401fc8b0
test al, al
je 0x1401b8ebb
xor r15b, r15b
or rbx, 0xffffffffffffffff
cmp dword [rdi + 0xc], 0
jne 0x1401b8dd3
mov eax, ebx
jmp 0x1401b8def
mov edx, 0x5c
mov rcx, qword [rdi]
call fcn.1402ba31c
test rax, rax
jne 0x1401b8de9
mov eax, ebx
jmp 0x1401b8def
sub rax, qword [rdi]
sar rax, 1
lea r8d, [rax + 1]
lea rdx, [rbp - 0x11]
mov rcx, rdi
call fcn.1401feab0
nop
cmp dword [rdi + 0xc], 0
je 0x1401b8e20
mov edx, 0x5c
mov rcx, qword [rdi]
call fcn.1402ba31c
test rax, rax
je 0x1401b8e20
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.1401fed70
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x39]
call fcn.1400eb0d0
mov rbx, rax
mov esi, 1
test rax, rax
je 0x1401b8e86
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 0x1401b8ea3
mov rcx, qword [rbp - 0x39]
call fcn.1402b7350
nop
cmp dword [rbp - 9], 0
jle 0x1401b998c
mov rcx, qword [rbp - 0x11]
call fcn.1402b7350
jmp 0x1401b998c
mov esi, 1
mov r8d, esi
lea rdx, str.HKLMSOFTWAREMicrosoftWindows_NTCurrentVersionWindowsAppInit_DLLS
mov rcx, rdi
call fcn.1401fce20
test al, al
je 0x1401b8fc7
xor r15b, r15b
or rbx, 0xffffffffffffffff
cmp dword [rdi + 0xc], 0
jne 0x1401b8eeb
mov eax, ebx
jmp 0x1401b8f07
mov edx, 0x5c
mov rcx, qword [rdi]
call fcn.1402ba31c
test rax, rax
jne 0x1401b8f01
mov eax, ebx
jmp 0x1401b8f07
sub rax, qword [rdi]
sar rax, 1
lea r8d, [rax + 1]
lea rdx, [rbp - 0x11]
mov rcx, rdi
call fcn.1401feab0
nop
cmp dword [rdi + 0xc], 0
je 0x1401b8f38
mov edx, 0x5c
mov rcx, qword [rdi]
call fcn.1402ba31c
test rax, rax
je 0x1401b8f38
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.1401fed70
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x39]
call fcn.1400eb0d0
mov rbx, rax
test rax, rax
je 0x1401b8f92
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 0x1401b8faf
mov rcx, qword [rbp - 0x39]
call fcn.1402b7350
nop
cmp dword [rbp - 9], 0
jle 0x1401b998c
mov rcx, qword [rbp - 0x11]
call fcn.1402b7350
jmp 0x1401b998c
xor r8d, r8d
lea rdx, str.F3130CDB_AA52_4C3A_AB32_85FFC23AF9C1
mov rcx, rdi
call fcn.1401fc8b0
test al, al
jne 0x1401b982c
xor r8d, r8d
lea rdx, str.42AEDC87_2188_41FD_B9A3_0C966FEABEC1
mov rcx, rdi
call fcn.1401fc8b0
test al, al
jne 0x1401b982c
lea rdx, [rbp + 7]
mov rcx, rdi
call fcn.1401b9b60
test al, al
je 0x1401b930a
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.1401fce20
test al, al
je 0x1401b91bf
xor r8d, r8d
movzx edx, sil
mov rcx, rdi
call fcn.1400eb0d0
mov r13, rax
test rax, rax
je 0x1401b91b8
mov rdx, qword [r12 - 8]
mov rcx, rbx
nop dword [rax]
inc rcx
cmp word [rdx + rcx*2], 0
jne 0x1401b90a0
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 0x1401b91ad
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 0x1401b91ad
lea ecx, [rax + 0x10]
call fcn.1402b6dbc
mov r12, rax
test rax, rax
je 0x1401b91a9
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 0x1401b9131
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 0x1401b919e
mov rax, rbx
inc rax
cmp word [rcx + rax*2], 0
jne 0x1401b9171
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 0x1401b9060
test r15b, r15b
mov r14d, dword [rbp - 0x19]
je 0x1401b998c
xor r8d, r8d
movzx edx, sil
mov rcx, rdi
call fcn.1400eb0d0
mov rbx, rax
test rax, rax
je 0x1401b9268
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 0x1401b9291
mov rdx, rax
lea rcx, [rbp + 7]
call fcn.1401ba770
test al, al
jne 0x1401b998c
lea rcx, [rbp + 7]
call fcn.1401bc0c0
movzx ebx, al
lea rax, [0x14030a5a0]
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.1401b1eb0
test bl, bl
je 0x1401b92d0
mov r14d, 2
jmp 0x1401b998c
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 0x1401b998c
mov rax, qword [rbx + 0xd8]
lea rdx, [rbp + 7]
lea rcx, [rbx + 0xd8]
call qword [rax]
jmp 0x1401b998c
xor r8d, r8d
lea rdx, [0x140345f98]
mov rcx, rdi
call fcn.1401fc9f0
test al, al
je 0x1401b94fb
mov r8d, esi
lea rdx, str.HKLMSOFTWAREMicrosoftWindowsCurrentVersion_
mov rcx, rdi
call fcn.1401fce20
test al, al
jne 0x1401b94fb
or rbx, 0xffffffffffffffff
cmp dword [rdi + 0xc], 0
jne 0x1401b934c
mov eax, ebx
jmp 0x1401b9368
mov edx, 0x5c
mov rcx, qword [rdi]
call fcn.1402ba31c
test rax, rax
jne 0x1401b9362
mov eax, ebx
jmp 0x1401b9368
sub rax, qword [rdi]
sar rax, 1
mov r9d, eax
xor r8d, r8d
lea rdx, [rbp - 0x69]
mov rcx, rdi
call fcn.1401fed70
nop
cmp dword [rbp - 0x5d], 0
jne 0x1401b9385
mov eax, ebx
jmp 0x1401b93a3
mov edx, 0x5c
mov rcx, qword [rbp - 0x69]
call fcn.1402ba31c
test rax, rax
jne 0x1401b939c
mov eax, ebx
jmp 0x1401b93a3
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.1401fed70
nop
cmp dword [rbp - 0x5d], 0
je 0x1401b93da
mov edx, 0x5c
mov rcx, qword [rbp - 0x69]
call fcn.1402ba31c
test rax, rax
je 0x1401b93da
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.1401feab0
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x59]
call fcn.1400eb0d0
mov rbx, rax
test rax, rax
je 0x1401b94b2
mov r8, qword [rbp - 0x59]
mov rdx, qword [rbp - 0x49]
lea rcx, str.Deleting_key__s_under__s
call fcn.1401b1eb0
mov rdx, qword [rbp - 0x49]
mov rcx, rbx
call fcn.1400ea6d0
test al, al
je 0x1401b948c
lea rcx, str.___Success_r_n
call fcn.1401b1eb0
mov r14d, esi
lea r8, [0x14034b550]
lea rdx, [rbp - 0x39]
mov rcx, r13
call fcn.1402018f0
nop
xor r8d, r8d
lea rdx, [0x14034b530]
lea rcx, [rbp - 0x39]
call fcn.1401fce20
test al, al
je 0x1401b947b
lea r8, [0x14034b530]
lea rdx, str.skip
mov rcx, r13
call fcn.140201940
nop
cmp dword [rbp - 0x31], 0
jle 0x1401b94a6
mov rcx, qword [rbp - 0x39]
call fcn.1402b7350
jmp 0x1401b94a6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.___Failed__error__d__r_n
call fcn.1401b1eb0
mov r14d, 2
mov rax, qword [rbx]
mov edx, esi
mov rcx, rbx
call qword [rax]
jmp 0x1401b94c3
mov rdx, qword [rbp - 0x59]
lea rcx, str.Failed_to_open_key__s_r_n
call fcn.1401b1eb0
nop
cmp dword [rbp - 0x41], 0
jle 0x1401b94d3
mov rcx, qword [rbp - 0x49]
call fcn.1402b7350
nop
cmp dword [rbp - 0x51], 0
jle 0x1401b94e3
mov rcx, qword [rbp - 0x59]
call fcn.1402b7350
nop
cmp dword [rbp - 0x61], 0
jle 0x1401b998c
mov rcx, qword [rbp - 0x69]
call fcn.1402b7350
jmp 0x1401b998c
mov r8d, esi
lea rdx, [0x140360b40]
mov rcx, rdi
call fcn.1401fdbf0
mov r15d, eax
or rbx, 0xffffffffffffffff
test eax, eax
jle 0x1401b9568
mov r9d, eax
xor r8d, r8d
lea rdx, [rbp - 0x39]
mov rcx, rdi
call fcn.1401fed70
mov r12, rax
cmp dword [rax + 0xc], 0
jne 0x1401b9538
mov r15d, ebx
jmp 0x1401b9559
mov edx, 0x5c
mov rcx, qword [rax]
call fcn.1402ba31c
mov r15, rax
test rax, rax
jne 0x1401b9552
mov r15d, ebx
jmp 0x1401b9559
sub r15, qword [r12]
sar r15, 1
cmp dword [rbp - 0x31], 0
jle 0x1401b9568
mov rcx, qword [rbp - 0x39]
call fcn.1402b7350
test r15d, r15d
jns 0x1401b9598
cmp dword [rdi + 0xc], 0
jne 0x1401b9578
mov r15d, ebx
jmp 0x1401b9598
mov edx, 0x5c
mov rcx, qword [rdi]
call fcn.1402ba31c
test rax, rax
jne 0x1401b958f
mov r15d, ebx
jmp 0x1401b9598
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.1401fed70
nop
lea r8d, [r15 + 1]
lea rdx, [rbp - 0x69]
mov rcx, rdi
call fcn.1401feab0
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x59]
call fcn.1400eb0d0
mov r15, rax
test rax, rax
jne 0x1401b95e7
mov rdx, qword [rbp - 0x59]
lea rcx, str.Failed_to_open_key__s_r_n
call fcn.1401b1eb0
jmp 0x1401b9804
mov r8, qword [rdi]
mov rdx, qword [rbp - 0x69]
lea rcx, str.Deleting_VALUE__s_under__s
call fcn.1401b1eb0
mov r8d, esi
lea rdx, [0x140354c80]
lea rcx, [rbp - 0x69]
call fcn.1401fce20
test al, al
je 0x1401b9622
cmp dword [rbp - 0x5d], 0
jle 0x1401b9622
xor edx, edx
lea rcx, [rbp - 0x69]
call fcn.1401fde50
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 0x1401b96f5
lea rcx, str.___Success_r_n
call fcn.1401b1eb0
mov r14d, esi
xor dil, dil
xor r8d, r8d
lea rdx, [0x140360ad0]
lea rcx, [rbp - 0x69]
call fcn.1401fce20
test al, al
je 0x1401b9712
xor r8d, r8d
lea rdx, str.Image_File_Execution_Options_
lea rcx, [rbp - 0x59]
call fcn.1401fc8b0
test al, al
je 0x1401b9712
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.1400eabf0
test al, al
je 0x1401b96ca
cmp dword [rbp - 0x31], ebx
jne 0x1401b96ca
lea rdx, [rbp - 0x39]
mov rcx, r15
call fcn.1400ea910
test al, al
je 0x1401b96ca
cmp dword [rbp - 0x31], ebx
sete dil
mov rcx, qword [rbp - 0x29]
test rcx, rcx
je 0x1401b9712
lea rbx, [rcx - 8]
lea r9, [fcn.140005eb0]
mov r8d, dword [rbx]
mov edx, 0x10
call fcn.1402b7cf4
mov rcx, rbx
call fcn.1402b712c
jmp 0x1401b9712
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.___Failed__d_r_n
call fcn.1401b1eb0
xor dil, dil
mov r14d, 2
mov rax, qword [r15]
mov edx, esi
mov rcx, r15
call qword [rax]
test dil, dil
je 0x1401b9804
mov r8d, esi
lea rdx, [0x140345f98]
lea rcx, [rbp - 0x59]
call fcn.1401fdbf0
mov ebx, eax
test eax, eax
jle 0x1401b9804
mov r9d, eax
xor r8d, r8d
lea rdx, [rbp - 0x11]
lea rcx, [rbp - 0x59]
call fcn.1401fed70
nop
lea r8d, [rbx + 1]
lea rdx, [rbp - 0x49]
lea rcx, [rbp - 0x59]
call fcn.1401feab0
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x11]
call fcn.1400eb0d0
mov rdi, rax
test rax, rax
je 0x1401b97e4
mov r8, qword [rbp - 0x11]
mov rdx, qword [rbp - 0x49]
lea rcx, str.Deleting_key__s_under__s
call fcn.1401b1eb0
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 0x1401b97bf
lea rcx, str.___Success_r_n
call fcn.1401b1eb0
mov r14d, esi
jmp 0x1401b97d9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.___Failed__d_r_n
call fcn.1401b1eb0
mov r14d, 2
mov rax, qword [rdi]
mov edx, esi
mov rcx, rdi
call qword [rax]
nop
cmp dword [rbp - 0x41], 0
jle 0x1401b97f4
mov rcx, qword [rbp - 0x49]
call fcn.1402b7350
nop
cmp dword [rbp - 9], 0
jle 0x1401b9804
mov rcx, qword [rbp - 0x11]
call fcn.1402b7350
nop
cmp dword [rbp - 0x61], 0
jle 0x1401b9814
mov rcx, qword [rbp - 0x69]
call fcn.1402b7350
nop
cmp dword [rbp - 0x51], 0
jle 0x1401b998c
mov rcx, qword [rbp - 0x59]
call fcn.1402b7350
jmp 0x1401b998c
xor r15b, r15b
mov r8d, esi
lea rdx, [0x140360718]
mov rcx, rdi
call fcn.1401fdbf0
test eax, eax
jle 0x1401b997f
lea r9d, [rax + 2]
xor r8d, r8d
lea rdx, [rbp - 0x59]
mov rcx, rdi
call fcn.1401fed70
nop
lea rdx, [0x1403606f8]
lea rcx, [rbp - 0x59]
call fcn.1401fb190
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x59]
call fcn.1400eb0d0
mov rbx, rax
mov rdx, qword [rbp - 0x59]
lea rcx, str.Repair__s_r_n
call fcn.1402b9694
test rbx, rbx
je 0x1401b9970
xor eax, eax
mov qword [rbp - 0x61], rax
lea edx, [rax + 0x16]
lea rcx, [rbp - 0x69]
call fcn.1401fcb40
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.1402ba94c
mov edx, 0x16
lea rcx, [rbp - 0x69]
call fcn.1401fde50
nop
xor r8d, r8d
lea rdx, str.42AEDC87
mov rcx, rdi
call fcn.1401fc8b0
test al, al
je 0x1401b990b
call fcn.1400ce2d0
lea rcx, [rbp - 0x69]
test al, al
je 0x1401b9902
lea rdx, str.shell32.dll
jmp 0x1401b9916
lea rdx, str.shdocvw.dll
jmp 0x1401b9916
lea rdx, str.wbemwbemess.dll
lea rcx, [rbp - 0x69]
call fcn.1401fb190
mov rdx, qword [rbp - 0x69]
lea rcx, str._____s_r_n
call fcn.1402b9694
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 0x1401b9970
mov rcx, qword [rbp - 0x69]
call fcn.1402b7350
nop
cmp dword [rbp - 0x51], 0
jle 0x1401b997f
mov rcx, qword [rbp - 0x59]
call fcn.1402b7350
mov r14d, 3
test r15b, r15b
cmovne r14d, esi
cmp dword [rbp + 0xf], 0
jle 0x1401b999b
mov rcx, qword [rbp + 7]
call fcn.1402b7350
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