Function at 0x1401b9ab0
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, [0x140348ca0]
mov qword [rbp + 7], r12
mov qword [rbp + 0xf], rbx
xor r8d, r8d
lea rdx, str.Control_PanelDesktopWallpaper
mov rcx, rdi
call fcn.1401fefd0
test al, al
jne 0x1401b9b3e
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftInternet_ExplorerDesktopGeneralWallpaper
mov rcx, rdi
call fcn.1401fefd0
test al, al
jne 0x1401b9b3e
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftInternet_ExplorerDesktopComponents
mov rcx, rdi
call fcn.1401fefd0
test al, al
je 0x1401b9b42
mov byte [rsi + 9], 1
xor r8d, r8d
lea rdx, str._shellopencommand_
mov rcx, rdi
call fcn.1401ff110
xor r8d, r8d
mov rcx, rdi
test al, al
je 0x1401b9df9
mov dl, 1
call fcn.1400ec370
mov r15, rax
test rax, rax
je 0x1401bafa4
xor r8d, r8d
lea rdx, str.StartMenuInternet_
mov rcx, rdi
call fcn.1401ffc40
mov ebx, eax
test eax, eax
jle 0x1401b9db9
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.1400d8b50
lea esi, [r13 + 1]
test al, al
je 0x1401b9da8
lea r8d, [rbx + 0x12]
lea rdx, [0x140347f58]
mov rcx, rdi
call fcn.1401ffb20
test eax, eax
jle 0x1401b9da8
lea r9d, [rax + 1]
xor r8d, r8d
lea rdx, [rbp - 0x39]
mov rcx, rdi
call fcn.140201490
nop
lea rdx, str.DefaultIcon
mov rcx, rax
call fcn.1401fd8b0
mov rbx, rax
mov qword [rbp - 0x41], r13
mov edx, dword [rax + 0xc]
test edx, edx
jne 0x1401b9c08
mov qword [rbp - 0x49], r12
jmp 0x1401b9c29
lea rcx, [rbp - 0x49]
call fcn.1401ff260
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.1402bd21c
mov edx, dword [rbx + 0xc]
lea rcx, [rbp - 0x49]
call fcn.140200570
nop
cmp dword [rbp - 0x31], 0
jle 0x1401b9c45
mov rcx, qword [rbp - 0x39]
call fcn.1402b9c20
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x49]
call fcn.1400ec370
mov rdi, rax
test rax, rax
je 0x1401b9d98
mov qword [rbp - 0x69], r12
mov qword [rbp - 0x61], r13
lea r8, [rbp - 0x69]
xor edx, edx
mov rcx, rax
call fcn.1400d8b50
test al, al
je 0x1401b9d7d
xor r8d, r8d
lea rdx, str..exe_
lea rcx, [rbp - 0x69]
call fcn.1401ffc40
test eax, eax
jle 0x1401b9d7d
lea r9d, [rax + 4]
xor r8d, r8d
lea rdx, [rbp - 0x39]
lea rcx, [rbp - 0x69]
call fcn.140201490
mov rbx, rax
mov edx, dword [rax + 0xc]
lea rcx, [rbp - 0x69]
call fcn.1401ff260
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.1402bd21c
mov edx, dword [rbx + 0xc]
lea rcx, [rbp - 0x69]
call fcn.140200570
nop
cmp dword [rbp - 0x31], 0
jle 0x1401b9cef
mov rcx, qword [rbp - 0x39]
call fcn.1402b9c20
mov r8, qword [rbp - 0x69]
lea rdx, [0x140350428]
lea rcx, [rbp - 0x39]
call fcn.1401ff700
mov rbx, rax
mov edx, dword [rax + 0xc]
lea rcx, [rbp - 0x59]
call fcn.1401ff260
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.1402bd21c
mov edx, dword [rbx + 0xc]
lea rcx, [rbp - 0x59]
call fcn.140200570
nop
cmp dword [rbp - 0x31], 0
jle 0x1401b9d46
mov rcx, qword [rbp - 0x39]
call fcn.1402b9c20
mov rax, qword [rbp - 0x59]
or rbx, 0xffffffffffffffff
nop
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1401b9d50
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 0x1401b9d98
mov rcx, qword [rbp - 0x69]
call fcn.1402b9c20
nop
cmp dword [rbp - 0x41], 0
jle 0x1401b9da8
mov rcx, qword [rbp - 0x49]
call fcn.1402b9c20
nop
cmp dword [rbp - 0x51], 0
jle 0x1401b9dea
mov rcx, qword [rbp - 0x59]
call fcn.1402b9c20
jmp 0x1401b9dea
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 0x1401bafa4
lea rdx, str.SOFTWAREMicrosoftWindows_NTCurrentVersionWinlogon
call fcn.1401fefd0
test al, al
je 0x1401ba069
cmp dword [rdi + 0xc], 0
je 0x1401bafa4
mov edx, 0x5c
mov rcx, qword [rdi]
call fcn.1402bcbec
mov rbx, rax
test rax, rax
je 0x1401bafa4
sub rbx, qword [rdi]
sar rbx, 1
test ebx, ebx
jle 0x1401bafa4
mov r9d, ebx
xor r8d, r8d
lea rdx, [rbp - 0x49]
mov rcx, rdi
call fcn.140201490
nop
inc ebx
mov r9d, dword [rdi + 0xc]
sub r9d, ebx
mov r8d, ebx
lea rdx, [rbp - 0x69]
mov rcx, rdi
call fcn.140201490
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x49]
call fcn.1400ec370
mov rdi, rax
test rax, rax
jne 0x1401b9ea0
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.1401b34f0
jmp 0x1401ba041
mov r8, qword [rbp - 0x69]
mov rdx, qword [rbp - 0x49]
lea rcx, str._s_:___s__r_n
call fcn.1401b34f0
xor bl, bl
xor r8d, r8d
lea rdx, str.Shell
lea rcx, [rbp - 0x69]
call fcn.1401ff540
mov esi, 1
xor r8d, r8d
test al, al
je 0x1401b9f01
mov dword [rsp + 0x28], 0x18
lea rax, [0x14034d958]
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 0x1401ba027
lea rdx, str.System
lea rcx, [rbp - 0x69]
call fcn.1401ff540
xor r8d, r8d
test al, al
je 0x1401b9f24
mov dword [rsp + 0x28], r8d
mov qword [rsp + 0x20], r12
jmp 0x1401b9ee9
lea rdx, str.UserInit
lea rcx, [rbp - 0x69]
call fcn.1401ff540
test al, al
je 0x1401b9ff6
xor eax, eax
mov qword [rbp - 0x51], rax
lea edx, [rax + 0xc]
lea rcx, [rbp - 0x59]
call fcn.1401ff260
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.1402bd21c
mov edx, 0xc
lea rcx, [rbp - 0x59]
call fcn.140200570
nop
mov edx, 0x25
lea rcx, [rbp - 0x11]
call fcn.14020a8a0
nop
lea r8, [rbp - 0x59]
mov rdx, rax
lea rcx, [rbp - 0x39]
call fcn.1400d2bd0
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 0x1401b9fd5
mov rcx, qword [rbp - 0x39]
call fcn.1402b9c20
nop
cmp dword [rbp - 9], 0
jle 0x1401b9fe5
mov rcx, qword [rbp - 0x11]
call fcn.1402b9c20
nop
cmp dword [rbp - 0x51], 0
jle 0x1401ba02a
mov rcx, qword [rbp - 0x59]
call fcn.1402b9c20
jmp 0x1401ba02a
xor r8d, r8d
lea rdx, str.Taskman
lea rcx, [rbp - 0x69]
call fcn.1401ff540
test al, al
je 0x1401ba02a
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 0x1401ba051
mov rcx, qword [rbp - 0x69]
call fcn.1402b9c20
nop
cmp dword [rbp - 0x41], 0
jle 0x1401bafa4
mov rcx, qword [rbp - 0x49]
call fcn.1402b9c20
jmp 0x1401bafa4
xor r8d, r8d
lea rdx, str.ControlSession_ManagerSubSystemsWindows
mov rcx, rdi
call fcn.1401ff110
test al, al
je 0x1401ba26b
cmp dword [rdi + 0xc], 0
je 0x1401bafa4
mov edx, 0x5c
mov rcx, qword [rdi]
call fcn.1402bcbec
test rax, rax
je 0x1401bafa4
sub rax, qword [rdi]
sar rax, 1
test eax, eax
jle 0x1401bafa4
mov r9d, eax
xor r8d, r8d
lea rdx, [rbp - 0x39]
mov rcx, rdi
call fcn.140201490
nop
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.1400ec370
mov r15, rax
test rax, rax
je 0x1401ba253
mov qword [rbp - 0x49], r12
mov qword [rbp - 0x41], rbx
lea r8, [rbp - 0x49]
lea rdx, [0x1403519a8]
mov rcx, rax
call fcn.1400d8b50
test al, al
je 0x1401ba235
mov rbx, qword [r13 + 0x10]
test rbx, rbx
je 0x1401ba235
xor eax, eax
mov qword [rbp - 0x61], rax
lea edx, [rax + 4]
lea rcx, [rbp - 0x69]
call fcn.1401ff260
mov eax, dword [rbp - 0x61]
inc eax
movsxd rdx, eax
mov r9d, 4
lea r8, str.File
mov rcx, qword [rbp - 0x69]
call fcn.1402bd21c
mov edx, 4
lea rcx, [rbp - 0x69]
call fcn.140200570
nop
lea rdx, [rbp - 0x69]
mov rcx, rbx
call fcn.1402070b0
mov rbx, rax
cmp dword [rbp - 0x61], 0
jle 0x1401ba16b
mov rcx, qword [rbp - 0x69]
call fcn.1402b9c20
test rbx, rbx
je 0x1401ba235
lea r8, str.path
lea rdx, [rbp - 0x59]
mov rcx, rbx
call fcn.140204010
nop
lea rdx, [rbp - 0x59]
lea rcx, [rbp - 0x69]
call fcn.1400e3360
mov rbx, rax
mov edx, dword [rax + 0xc]
lea rcx, [rbp - 0x59]
call fcn.1401ff260
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.1402bd21c
mov edx, dword [rbx + 0xc]
lea rcx, [rbp - 0x59]
call fcn.140200570
nop
cmp dword [rbp - 0x61], 0
jle 0x1401ba1d8
mov rcx, qword [rbp - 0x69]
call fcn.1402b9c20
mov r8, qword [rbp - 0x59]
lea rdx, str._ServerDll_s:
lea rcx, [rbp - 0x11]
call fcn.1401ff700
nop
lea r8, str._ServerDllwinsrv:
mov rdx, qword [rbp - 0x11]
lea rcx, [rbp - 0x49]
call fcn.140200940
lea r8, [rbp - 0x49]
mov rdx, rdi
mov rcx, rsi
call fcn.1401bde50
mov r14d, 2
cmp dword [rbp - 9], 0
jle 0x1401ba226
mov rcx, qword [rbp - 0x11]
call fcn.1402b9c20
nop
cmp dword [rbp - 0x51], 0
jle 0x1401ba235
mov rcx, qword [rbp - 0x59]
call fcn.1402b9c20
mov rax, qword [r15]
mov edx, 1
mov rcx, r15
call qword [rax]
nop
cmp dword [rbp - 0x41], 0
jle 0x1401ba253
mov rcx, qword [rbp - 0x49]
call fcn.1402b9c20
nop
cmp dword [rbp - 0x31], 0
jle 0x1401bafa4
mov rcx, qword [rbp - 0x39]
call fcn.1402b9c20
jmp 0x1401bafa4
xor r8d, r8d
lea rdx, str.HKLMSYSTEM
mov rcx, rdi
call fcn.1401fefd0
test al, al
je 0x1401ba29b
xor r8d, r8d
lea rdx, str.ControlSecurityProvidersSecurityProviders
mov rcx, rdi
call fcn.1401ff110
test al, al
jne 0x1401bafa4
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftInternet_ExplorerDesktopGeneralWallpaper
mov rcx, rdi
call fcn.1401fefd0
test al, al
je 0x1401ba3b8
xor r15b, r15b
or rbx, 0xffffffffffffffff
cmp dword [rdi + 0xc], 0
jne 0x1401ba2c6
mov eax, ebx
jmp 0x1401ba2e2
mov edx, 0x5c
mov rcx, qword [rdi]
call fcn.1402bcbec
test rax, rax
jne 0x1401ba2dc
mov eax, ebx
jmp 0x1401ba2e2
sub rax, qword [rdi]
sar rax, 1
lea r8d, [rax + 1]
lea rdx, [rbp - 0x11]
mov rcx, rdi
call fcn.1402011d0
nop
cmp dword [rdi + 0xc], 0
je 0x1401ba313
mov edx, 0x5c
mov rcx, qword [rdi]
call fcn.1402bcbec
test rax, rax
je 0x1401ba313
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.140201490
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x39]
call fcn.1400ec370
mov rbx, rax
mov esi, 1
test rax, rax
je 0x1401ba372
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 0x1401ba3a0
mov rcx, qword [rbp - 0x39]
call fcn.1402b9c20
nop
cmp dword [rbp - 9], 0
jle 0x1401bafa4
mov rcx, qword [rbp - 0x11]
call fcn.1402b9c20
jmp 0x1401bafa4
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftInternet_ExplorerMainStart_Page
mov rcx, rdi
call fcn.1401fefd0
test al, al
je 0x1401ba4cb
xor r15b, r15b
or rbx, 0xffffffffffffffff
cmp dword [rdi + 0xc], 0
jne 0x1401ba3e3
mov eax, ebx
jmp 0x1401ba3ff
mov edx, 0x5c
mov rcx, qword [rdi]
call fcn.1402bcbec
test rax, rax
jne 0x1401ba3f9
mov eax, ebx
jmp 0x1401ba3ff
sub rax, qword [rdi]
sar rax, 1
lea r8d, [rax + 1]
lea rdx, [rbp - 0x11]
mov rcx, rdi
call fcn.1402011d0
nop
cmp dword [rdi + 0xc], 0
je 0x1401ba430
mov edx, 0x5c
mov rcx, qword [rdi]
call fcn.1402bcbec
test rax, rax
je 0x1401ba430
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.140201490
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x39]
call fcn.1400ec370
mov rbx, rax
mov esi, 1
test rax, rax
je 0x1401ba496
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 0x1401ba4b3
mov rcx, qword [rbp - 0x39]
call fcn.1402b9c20
nop
cmp dword [rbp - 9], 0
jle 0x1401bafa4
mov rcx, qword [rbp - 0x11]
call fcn.1402b9c20
jmp 0x1401bafa4
mov esi, 1
mov r8d, esi
lea rdx, str.HKLMSOFTWAREMicrosoftWindows_NTCurrentVersionWindowsAppInit_DLLS
mov rcx, rdi
call fcn.1401ff540
test al, al
je 0x1401ba5d7
xor r15b, r15b
or rbx, 0xffffffffffffffff
cmp dword [rdi + 0xc], 0
jne 0x1401ba4fb
mov eax, ebx
jmp 0x1401ba517
mov edx, 0x5c
mov rcx, qword [rdi]
call fcn.1402bcbec
test rax, rax
jne 0x1401ba511
mov eax, ebx
jmp 0x1401ba517
sub rax, qword [rdi]
sar rax, 1
lea r8d, [rax + 1]
lea rdx, [rbp - 0x11]
mov rcx, rdi
call fcn.1402011d0
nop
cmp dword [rdi + 0xc], 0
je 0x1401ba548
mov edx, 0x5c
mov rcx, qword [rdi]
call fcn.1402bcbec
test rax, rax
je 0x1401ba548
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.140201490
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x39]
call fcn.1400ec370
mov rbx, rax
test rax, rax
je 0x1401ba5a2
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 0x1401ba5bf
mov rcx, qword [rbp - 0x39]
call fcn.1402b9c20
nop
cmp dword [rbp - 9], 0
jle 0x1401bafa4
mov rcx, qword [rbp - 0x11]
call fcn.1402b9c20
jmp 0x1401bafa4
xor r8d, r8d
lea rdx, str.F3130CDB_AA52_4C3A_AB32_85FFC23AF9C1
mov rcx, rdi
call fcn.1401fefd0
test al, al
jne 0x1401bae3c
xor r8d, r8d
lea rdx, str.42AEDC87_2188_41FD_B9A3_0C966FEABEC1
mov rcx, rdi
call fcn.1401fefd0
test al, al
jne 0x1401bae3c
lea rdx, [rbp + 7]
mov rcx, rdi
call fcn.1401bb180
test al, al
je 0x1401ba91a
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.1401ff540
test al, al
je 0x1401ba7cf
xor r8d, r8d
movzx edx, sil
mov rcx, rdi
call fcn.1400ec370
mov r13, rax
test rax, rax
je 0x1401ba7c8
mov rdx, qword [r12 - 8]
mov rcx, rbx
nop dword [rax]
inc rcx
cmp word [rdx + rcx*2], 0
jne 0x1401ba6b0
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 0x1401ba7bd
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 0x1401ba7bd
lea ecx, [rax + 0x10]
call fcn.1402b968c
mov r12, rax
test rax, rax
je 0x1401ba7b9
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 0x1401ba741
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 0x1401ba7ae
mov rax, rbx
inc rax
cmp word [rcx + rax*2], 0
jne 0x1401ba781
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 0x1401ba670
test r15b, r15b
mov r14d, dword [rbp - 0x19]
je 0x1401bafa4
xor r8d, r8d
movzx edx, sil
mov rcx, rdi
call fcn.1400ec370
mov rbx, rax
test rax, rax
je 0x1401ba878
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 0x1401ba8a1
mov rdx, rax
lea rcx, [rbp + 7]
call fcn.1401bbd90
test al, al
jne 0x1401bafa4
lea rcx, [rbp + 7]
call fcn.1401bd6e0
movzx ebx, al
lea rax, [0x14030c560]
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.1401b34f0
test bl, bl
je 0x1401ba8e0
mov r14d, 2
jmp 0x1401bafa4
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 0x1401bafa4
mov rax, qword [rbx + 0xd8]
lea rdx, [rbp + 7]
lea rcx, [rbx + 0xd8]
call qword [rax]
jmp 0x1401bafa4
xor r8d, r8d
lea rdx, [0x140347f58]
mov rcx, rdi
call fcn.1401ff110
test al, al
je 0x1401bab0b
mov r8d, esi
lea rdx, str.HKLMSOFTWAREMicrosoftWindowsCurrentVersion_
mov rcx, rdi
call fcn.1401ff540
test al, al
jne 0x1401bab0b
or rbx, 0xffffffffffffffff
cmp dword [rdi + 0xc], 0
jne 0x1401ba95c
mov eax, ebx
jmp 0x1401ba978
mov edx, 0x5c
mov rcx, qword [rdi]
call fcn.1402bcbec
test rax, rax
jne 0x1401ba972
mov eax, ebx
jmp 0x1401ba978
sub rax, qword [rdi]
sar rax, 1
mov r9d, eax
xor r8d, r8d
lea rdx, [rbp - 0x69]
mov rcx, rdi
call fcn.140201490
nop
cmp dword [rbp - 0x5d], 0
jne 0x1401ba995
mov eax, ebx
jmp 0x1401ba9b3
mov edx, 0x5c
mov rcx, qword [rbp - 0x69]
call fcn.1402bcbec
test rax, rax
jne 0x1401ba9ac
mov eax, ebx
jmp 0x1401ba9b3
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.140201490
nop
cmp dword [rbp - 0x5d], 0
je 0x1401ba9ea
mov edx, 0x5c
mov rcx, qword [rbp - 0x69]
call fcn.1402bcbec
test rax, rax
je 0x1401ba9ea
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.1402011d0
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x59]
call fcn.1400ec370
mov rbx, rax
test rax, rax
je 0x1401baac2
mov r8, qword [rbp - 0x59]
mov rdx, qword [rbp - 0x49]
lea rcx, str.Deleting_key__s_under__s
call fcn.1401b34f0
mov rdx, qword [rbp - 0x49]
mov rcx, rbx
call fcn.1400eb970
test al, al
je 0x1401baa9c
lea rcx, str.___Success_r_n
call fcn.1401b34f0
mov r14d, esi
lea r8, [0x14034d510]
lea rdx, [rbp - 0x39]
mov rcx, r13
call fcn.140204010
nop
xor r8d, r8d
lea rdx, [0x14034d4f0]
lea rcx, [rbp - 0x39]
call fcn.1401ff540
test al, al
je 0x1401baa8b
lea r8, [0x14034d4f0]
lea rdx, str.skip
mov rcx, r13
call fcn.140204060
nop
cmp dword [rbp - 0x31], 0
jle 0x1401baab6
mov rcx, qword [rbp - 0x39]
call fcn.1402b9c20
jmp 0x1401baab6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.___Failed__error__d__r_n
call fcn.1401b34f0
mov r14d, 2
mov rax, qword [rbx]
mov edx, esi
mov rcx, rbx
call qword [rax]
jmp 0x1401baad3
mov rdx, qword [rbp - 0x59]
lea rcx, str.Failed_to_open_key__s_r_n
call fcn.1401b34f0
nop
cmp dword [rbp - 0x41], 0
jle 0x1401baae3
mov rcx, qword [rbp - 0x49]
call fcn.1402b9c20
nop
cmp dword [rbp - 0x51], 0
jle 0x1401baaf3
mov rcx, qword [rbp - 0x59]
call fcn.1402b9c20
nop
cmp dword [rbp - 0x61], 0
jle 0x1401bafa4
mov rcx, qword [rbp - 0x69]
call fcn.1402b9c20
jmp 0x1401bafa4
mov r8d, esi
lea rdx, [0x140362e18]
mov rcx, rdi
call fcn.140200310
mov r15d, eax
or rbx, 0xffffffffffffffff
test eax, eax
jle 0x1401bab78
mov r9d, eax
xor r8d, r8d
lea rdx, [rbp - 0x39]
mov rcx, rdi
call fcn.140201490
mov r12, rax
cmp dword [rax + 0xc], 0
jne 0x1401bab48
mov r15d, ebx
jmp 0x1401bab69
mov edx, 0x5c
mov rcx, qword [rax]
call fcn.1402bcbec
mov r15, rax
test rax, rax
jne 0x1401bab62
mov r15d, ebx
jmp 0x1401bab69
sub r15, qword [r12]
sar r15, 1
cmp dword [rbp - 0x31], 0
jle 0x1401bab78
mov rcx, qword [rbp - 0x39]
call fcn.1402b9c20
test r15d, r15d
jns 0x1401baba8
cmp dword [rdi + 0xc], 0
jne 0x1401bab88
mov r15d, ebx
jmp 0x1401baba8
mov edx, 0x5c
mov rcx, qword [rdi]
call fcn.1402bcbec
test rax, rax
jne 0x1401bab9f
mov r15d, ebx
jmp 0x1401baba8
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.140201490
nop
lea r8d, [r15 + 1]
lea rdx, [rbp - 0x69]
mov rcx, rdi
call fcn.1402011d0
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x59]
call fcn.1400ec370
mov r15, rax
test rax, rax
jne 0x1401babf7
mov rdx, qword [rbp - 0x59]
lea rcx, str.Failed_to_open_key__s_r_n
call fcn.1401b34f0
jmp 0x1401bae14
mov r8, qword [rdi]
mov rdx, qword [rbp - 0x69]
lea rcx, str.Deleting_VALUE__s_under__s
call fcn.1401b34f0
mov r8d, esi
lea rdx, [0x140353a40]
lea rcx, [rbp - 0x69]
call fcn.1401ff540
test al, al
je 0x1401bac32
cmp dword [rbp - 0x5d], 0
jle 0x1401bac32
xor edx, edx
lea rcx, [rbp - 0x69]
call fcn.140200570
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 0x1401bad05
lea rcx, str.___Success_r_n
call fcn.1401b34f0
mov r14d, esi
xor dil, dil
xor r8d, r8d
lea rdx, [0x140362eb8]
lea rcx, [rbp - 0x69]
call fcn.1401ff540
test al, al
je 0x1401bad22
xor r8d, r8d
lea rdx, str.Image_File_Execution_Options_
lea rcx, [rbp - 0x59]
call fcn.1401fefd0
test al, al
je 0x1401bad22
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.1400ebe90
test al, al
je 0x1401bacda
cmp dword [rbp - 0x31], ebx
jne 0x1401bacda
lea rdx, [rbp - 0x39]
mov rcx, r15
call fcn.1400ebbb0
test al, al
je 0x1401bacda
cmp dword [rbp - 0x31], ebx
sete dil
mov rcx, qword [rbp - 0x29]
test rcx, rcx
je 0x1401bad22
lea rbx, [rcx - 8]
lea r9, [fcn.140005eb0]
mov r8d, dword [rbx]
mov edx, 0x10
call fcn.1402ba5c4
mov rcx, rbx
call fcn.1402b99fc
jmp 0x1401bad22
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.___Failed__d_r_n
call fcn.1401b34f0
xor dil, dil
mov r14d, 2
mov rax, qword [r15]
mov edx, esi
mov rcx, r15
call qword [rax]
test dil, dil
je 0x1401bae14
mov r8d, esi
lea rdx, [0x140347f58]
lea rcx, [rbp - 0x59]
call fcn.140200310
mov ebx, eax
test eax, eax
jle 0x1401bae14
mov r9d, eax
xor r8d, r8d
lea rdx, [rbp - 0x11]
lea rcx, [rbp - 0x59]
call fcn.140201490
nop
lea r8d, [rbx + 1]
lea rdx, [rbp - 0x49]
lea rcx, [rbp - 0x59]
call fcn.1402011d0
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x11]
call fcn.1400ec370
mov rdi, rax
test rax, rax
je 0x1401badf4
mov r8, qword [rbp - 0x11]
mov rdx, qword [rbp - 0x49]
lea rcx, str.Deleting_key__s_under__s
call fcn.1401b34f0
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 0x1401badcf
lea rcx, str.___Success_r_n
call fcn.1401b34f0
mov r14d, esi
jmp 0x1401bade9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.___Failed__d_r_n
call fcn.1401b34f0
mov r14d, 2
mov rax, qword [rdi]
mov edx, esi
mov rcx, rdi
call qword [rax]
nop
cmp dword [rbp - 0x41], 0
jle 0x1401bae04
mov rcx, qword [rbp - 0x49]
call fcn.1402b9c20
nop
cmp dword [rbp - 9], 0
jle 0x1401bae14
mov rcx, qword [rbp - 0x11]
call fcn.1402b9c20
nop
cmp dword [rbp - 0x61], 0
jle 0x1401bae24
mov rcx, qword [rbp - 0x69]
call fcn.1402b9c20
nop
cmp dword [rbp - 0x51], 0
jle 0x1401bafa4
mov rcx, qword [rbp - 0x59]
call fcn.1402b9c20
jmp 0x1401bafa4
xor r15b, r15b
mov r8d, esi
lea rdx, [0x1403629d0]
mov rcx, rdi
call fcn.140200310
test eax, eax
jle 0x1401baf97
lea r9d, [rax + 2]
xor r8d, r8d
lea rdx, [rbp - 0x59]
mov rcx, rdi
call fcn.140201490
nop
lea rdx, [0x1403629b0]
lea rcx, [rbp - 0x59]
call fcn.1401fd8b0
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x59]
call fcn.1400ec370
mov rbx, rax
mov rdx, qword [rbp - 0x59]
lea rcx, str.Repair__s_r_n
call fcn.1402bbf64
test rbx, rbx
je 0x1401baf88
xor eax, eax
mov qword [rbp - 0x61], rax
lea edx, [rax + 0x16]
lea rcx, [rbp - 0x69]
call fcn.1401ff260
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.1402bd21c
mov edx, 0x16
lea rcx, [rbp - 0x69]
call fcn.140200570
nop
xor r8d, r8d
lea rdx, str.42AEDC87
mov rcx, rdi
call fcn.1401fefd0
test al, al
je 0x1401baf23
xor r8d, r8d
xor edx, edx
lea ecx, [rdx + 6]
call fcn.1400ce2e0
lea rcx, [rbp - 0x69]
test al, al
je 0x1401baf1a
lea rdx, str.shell32.dll
jmp 0x1401baf2e
lea rdx, str.shdocvw.dll
jmp 0x1401baf2e
lea rdx, str.wbemwbemess.dll
lea rcx, [rbp - 0x69]
call fcn.1401fd8b0
mov rdx, qword [rbp - 0x69]
lea rcx, str._____s_r_n
call fcn.1402bbf64
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 0x1401baf88
mov rcx, qword [rbp - 0x69]
call fcn.1402b9c20
nop
cmp dword [rbp - 0x51], 0
jle 0x1401baf97
mov rcx, qword [rbp - 0x59]
call fcn.1402b9c20
mov r14d, 3
test r15b, r15b
cmovne r14d, esi
cmp dword [rbp + 0xf], 0
jle 0x1401bafb3
mov rcx, qword [rbp + 7]
call fcn.1402b9c20
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