Function at 0x140010ac0
Capabilities:
Delete registry key
Delete registry value
Set registry value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push r12
push r13
sub rsp, 0x250
mov rax, qword [0x14002dda0]
xor rax, rsp
mov qword [rsp + 0x240], rax
movzx esi, dl
mov rbp, rcx
mov edx, 0x20006
add rcx, 2
call fcn.140010520
mov rbx, rax
test rax, rax
jne 0x140010b0c
lea eax, [rbx + 1]
jmp 0x14001149f
lea r9, [rsp + 0x40]
lea rcx, [rbp + 2]
xor r8d, r8d
mov dl, 1
mov qword [rsp + 0x278], rdi
mov dword [rsp + 0x20], 0xff
call fcn.14000f580
lea r8, [rbp + 0x1842a]
lea rdx, [0x140026cf0]
mov rcx, rbx
mov edi, eax
call fcn.14000fe70
test eax, eax
je 0x140010b74
test edi, edi
jle 0x140010b61
lea rdx, [rsp + 0x40]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 2
jmp 0x140011497
lea r8, [rbp + 0x28428]
lea rdx, str.AppParameters
mov rcx, rbx
call fcn.14000fe70
test eax, eax
je 0x140010bb7
test edi, edi
jle 0x140010ba4
lea rdx, [rsp + 0x40]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 3
jmp 0x140011497
lea r8, [rbp + 0x30426]
lea rdx, str.AppDirectory
mov rcx, rbx
call fcn.14000fe70
test eax, eax
je 0x140010bfa
test edi, edi
jle 0x140010be7
lea rdx, [rsp + 0x40]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 4
jmp 0x140011497
mov r8d, dword [rbp + 0x4043c]
cmp r8d, 0x20
je 0x140010c18
lea rdx, str.AppPriority
mov rcx, rbx
call fcn.14000fe80
jmp 0x140010c2d
test sil, sil
je 0x140010c2d
lea rdx, str.AppPriority
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov rcx, qword [rbp + 0x40418]
mov r13d, 1
test rcx, rcx
je 0x140010cf9
lea rdx, [rsp + 0x30]
call fcn.140011ec0
test eax, eax
jne 0x140010cd9
mov rdx, qword [rsp + 0x30]
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, rdx
mov r9d, r13d
xor r8d, r8d
repne scasw ax, word [rdi]
not rcx
lea eax, [rcx + rcx]
mov rcx, rbx
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rdx
lea rdx, str.AppAffinity
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x140010cd9
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov ecx, eax
call fcn.140006fd0
lea r8, str.AppAffinity
xor edi, edi
mov edx, 0xc00003fb
movzx ecx, r13w
mov r9, rax
mov qword [rsp + 0x20], rdi
call fcn.140007190
call qword [sym.imp.KERNEL32.DLL_GetProcessHeap]
mov r8, qword [rsp + 0x30]
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.DLL_HeapFree]
lea eax, [rdi + 5]
jmp 0x140011497
cmp qword [rsp + 0x30], 0
je 0x140010d0e
call qword [sym.imp.KERNEL32.DLL_GetProcessHeap]
mov r8, qword [rsp + 0x30]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.DLL_HeapFree]
jmp 0x140010d0e
test sil, sil
je 0x140010d0e
lea rdx, str.AppAffinity
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov r8d, dword [rbp + 0x704bc]
not r8d
test r8d, r8d
je 0x140010d2e
lea rdx, str.AppStopMethodSkip
mov rcx, rbx
call fcn.14000fe80
jmp 0x140010d43
test sil, sil
je 0x140010d43
lea rdx, str.AppStopMethodSkip
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov eax, dword [rbp + 0x704b0]
cmp eax, 4
jae 0x140010d69
mov rdx, rax
lea rax, [0x14002d058]
lea rcx, [rbp + 2]
mov rdx, qword [rax + rdx*8]
movzx r8d, sil
call fcn.14000f860
mov r8d, dword [rbp + 0x704b4]
test r8d, r8d
je 0x140010d86
lea rdx, str.AppRestartDelay
mov rcx, rbx
call fcn.14000fe80
jmp 0x140010d9b
test sil, sil
je 0x140010d9b
lea rdx, str.AppRestartDelay
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov r8d, dword [rbp + 0x704b8]
cmp r8d, 0x5dc
je 0x140010dbc
lea rdx, str.AppThrottle
mov rcx, rbx
call fcn.14000fe80
jmp 0x140010dd1
test sil, sil
je 0x140010dd1
lea rdx, str.AppThrottle
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov r8d, dword [rbp + 0x704c0]
cmp r8d, 0x5dc
je 0x140010df2
lea rdx, str.AppStopMethodConsole
mov rcx, rbx
call fcn.14000fe80
jmp 0x140010e07
test sil, sil
je 0x140010e07
lea rdx, str.AppStopMethodConsole
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov r8d, dword [rbp + 0x704c4]
cmp r8d, 0x5dc
je 0x140010e28
lea rdx, str.AppStopMethodWindow
mov rcx, rbx
call fcn.14000fe80
jmp 0x140010e3d
test sil, sil
je 0x140010e3d
lea rdx, str.AppStopMethodWindow
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov r8d, dword [rbp + 0x704c8]
cmp r8d, 0x5dc
je 0x140010e5e
lea rdx, str.AppStopMethodThreads
mov rcx, rbx
call fcn.14000fe80
jmp 0x140010e73
test sil, sil
je 0x140010e73
lea rdx, str.AppStopMethodThreads
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp byte [rbp + 0x704cc], 0
jne 0x140010e90
lea rdx, str.AppKillProcessTree
xor r8d, r8d
mov rcx, rbx
call fcn.14000fe80
jmp 0x140010ea5
test sil, sil
je 0x140010ea5
lea rdx, str.AppKillProcessTree
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
lea r8, [rbp + 0x40444]
movzx eax, word [r8]
test ax, ax
jne 0x140010ebe
test sil, sil
je 0x140010fac
test ax, ax
je 0x140010ed4
lea rdx, str.AppStdin
mov rcx, rbx
call fcn.14000fe70
jmp 0x140010ee9
test sil, sil
je 0x140010ee9
lea rdx, str.AppStdin
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov r9d, dword [rbp + 0x50444]
cmp r9d, 2
je 0x140010f0e
lea r8, str.ShareMode
lea rdx, str.AppStdin
mov rcx, rbx
call fcn.14000c9e0
jmp 0x140010f29
test sil, sil
je 0x140010f29
lea r8, str.ShareMode
lea rdx, str.AppStdin
mov rcx, rbx
call fcn.14000ca80
mov r9d, dword [rbp + 0x50448]
cmp r9d, 3
je 0x140010f4e
lea r8, str.CreationDisposition
lea rdx, str.AppStdin
mov rcx, rbx
call fcn.14000c9e0
jmp 0x140010f69
test sil, sil
je 0x140010f69
lea r8, str.CreationDisposition
lea rdx, str.AppStdin
mov rcx, rbx
call fcn.14000ca80
mov r9d, dword [rbp + 0x5044c]
cmp r9d, 0x80
je 0x140010f91
lea r8, str.FlagsAndAttributes
lea rdx, str.AppStdin
mov rcx, rbx
call fcn.14000c9e0
jmp 0x140010fac
test sil, sil
je 0x140010fac
lea r8, str.FlagsAndAttributes
lea rdx, str.AppStdin
mov rcx, rbx
call fcn.14000ca80
lea r8, [rbp + 0x50450]
movzx eax, word [r8]
test ax, ax
jne 0x140010fc5
test sil, sil
je 0x1400110f2
test ax, ax
je 0x140010fdb
lea rdx, str.AppStdout
mov rcx, rbx
call fcn.14000fe70
jmp 0x140010ff0
test sil, sil
je 0x140010ff0
lea rdx, str.AppStdout
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov r9d, dword [rbp + 0x60450]
cmp r9d, 3
je 0x140011015
lea r8, str.ShareMode
lea rdx, str.AppStdout
mov rcx, rbx
call fcn.14000c9e0
jmp 0x140011030
test sil, sil
je 0x140011030
lea r8, str.ShareMode
lea rdx, str.AppStdout
mov rcx, rbx
call fcn.14000ca80
mov r9d, dword [rbp + 0x60454]
cmp r9d, 4
je 0x140011055
lea r8, str.CreationDisposition
lea rdx, str.AppStdout
mov rcx, rbx
call fcn.14000c9e0
jmp 0x140011070
test sil, sil
je 0x140011070
lea r8, str.CreationDisposition
lea rdx, str.AppStdout
mov rcx, rbx
call fcn.14000ca80
mov r9d, dword [rbp + 0x60458]
cmp r9d, 0x80
je 0x140011098
lea r8, str.FlagsAndAttributes
lea rdx, str.AppStdout
mov rcx, rbx
call fcn.14000c9e0
jmp 0x1400110b3
test sil, sil
je 0x1400110b3
lea r8, str.FlagsAndAttributes
lea rdx, str.AppStdout
mov rcx, rbx
call fcn.14000ca80
cmp byte [rbp + 0x70495], 0
je 0x1400110d7
lea r8, str.CopyAndTruncate
lea rdx, str.AppStdout
mov r9d, r13d
mov rcx, rbx
call fcn.14000c9e0
jmp 0x1400110f2
test sil, sil
je 0x1400110f2
lea r8, str.CopyAndTruncate
lea rdx, str.AppStdout
mov rcx, rbx
call fcn.14000ca80
lea r8, [rbp + 0x60474]
movzx eax, word [r8]
test ax, ax
jne 0x14001110b
test sil, sil
je 0x140011238
test ax, ax
je 0x140011121
lea rdx, str.AppStderr
mov rcx, rbx
call fcn.14000fe70
jmp 0x140011136
test sil, sil
je 0x140011136
lea rdx, str.AppStderr
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov r9d, dword [rbp + 0x70474]
cmp r9d, 3
je 0x14001115b
lea r8, str.ShareMode
lea rdx, str.AppStderr
mov rcx, rbx
call fcn.14000c9e0
jmp 0x140011176
test sil, sil
je 0x140011176
lea r8, str.ShareMode
lea rdx, str.AppStderr
mov rcx, rbx
call fcn.14000ca80
mov r9d, dword [rbp + 0x70478]
cmp r9d, 4
je 0x14001119b
lea r8, str.CreationDisposition
lea rdx, str.AppStderr
mov rcx, rbx
call fcn.14000c9e0
jmp 0x1400111b6
test sil, sil
je 0x1400111b6
lea r8, str.CreationDisposition
lea rdx, str.AppStderr
mov rcx, rbx
call fcn.14000ca80
mov r9d, dword [rbp + 0x7047c]
cmp r9d, 0x80
je 0x1400111de
lea r8, str.FlagsAndAttributes
lea rdx, str.AppStderr
mov rcx, rbx
call fcn.14000c9e0
jmp 0x1400111f9
test sil, sil
je 0x1400111f9
lea r8, str.FlagsAndAttributes
lea rdx, str.AppStderr
mov rcx, rbx
call fcn.14000ca80
cmp byte [rbp + 0x70496], 0
je 0x14001121d
lea r8, str.CopyAndTruncate
lea rdx, str.AppStderr
mov r9d, r13d
mov rcx, rbx
call fcn.14000c9e0
jmp 0x140011238
test sil, sil
je 0x140011238
lea r8, str.CopyAndTruncate
lea rdx, str.AppStderr
mov rcx, rbx
call fcn.14000ca80
cmp byte [rbp + 0x70494], 0
je 0x140011255
lea rdx, str.AppRotateFiles
mov r8d, r13d
mov rcx, rbx
call fcn.14000fe80
jmp 0x14001126a
test sil, sil
je 0x14001126a
lea rdx, str.AppRotateFiles
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp dword [rbp + 0x70498], 0
je 0x140011287
lea rdx, str.AppRotateOnline
mov r8d, r13d
mov rcx, rbx
call fcn.14000fe80
jmp 0x14001129c
test sil, sil
je 0x14001129c
lea rdx, str.AppRotateOnline
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov r8d, dword [rbp + 0x704a0]
test r8d, r8d
je 0x1400112b9
lea rdx, str.AppRotateSeconds
mov rcx, rbx
call fcn.14000fe80
jmp 0x1400112ce
test sil, sil
je 0x1400112ce
lea rdx, str.AppRotateSeconds
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov r8d, dword [rbp + 0x704a4]
test r8d, r8d
je 0x1400112eb
lea rdx, str.AppRotateBytes
mov rcx, rbx
call fcn.14000fe80
jmp 0x140011300
test sil, sil
je 0x140011300
lea rdx, str.AppRotateBytes
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov r8d, dword [rbp + 0x704a8]
test r8d, r8d
je 0x14001131d
lea rdx, str.AppRotateBytesHigh
mov rcx, rbx
call fcn.14000fe80
jmp 0x140011332
test sil, sil
je 0x140011332
lea rdx, str.AppRotateBytesHigh
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov r8d, dword [rbp + 0x704ac]
test r8d, r8d
je 0x14001134f
lea rdx, str.AppRotateDelay
mov rcx, rbx
call fcn.14000fe80
jmp 0x140011364
test sil, sil
je 0x140011364
lea rdx, str.AppRotateDelay
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp dword [rbp + 0x40440], 0
je 0x140011381
lea rdx, str.AppNoConsole
mov r8d, r13d
mov rcx, rbx
call fcn.14000fe80
jmp 0x140011396
test sil, sil
je 0x140011396
lea rdx, str.AppNoConsole
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov rcx, qword [rbp + 0x40410]
xor edi, edi
test rcx, rcx
je 0x1400113fc
mov eax, dword [rbp + 0x4042c]
lea r9d, [rdi + 7]
lea rdx, str.AppEnvironment
add eax, eax
xor r8d, r8d
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x140011411
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov ecx, eax
call fcn.140006fd0
lea r8, str.AppEnvironment
mov edx, 0xc00003fb
movzx ecx, r13w
mov r9, rax
mov qword [rsp + 0x20], rdi
call fcn.140007190
jmp 0x140011411
test sil, sil
je 0x140011411
lea rdx, str.AppEnvironment
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov rcx, qword [rbp + 0x40430]
test rcx, rcx
je 0x140011477
mov eax, dword [rbp + 0x40438]
lea rdx, str.AppEnvironmentExtra
mov r9d, 7
add eax, eax
xor r8d, r8d
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x14001148c
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov ecx, eax
call fcn.140006fd0
lea r8, str.AppEnvironmentExtra
mov edx, 0xc00003fb
movzx ecx, r13w
mov r9, rax
mov qword [rsp + 0x20], rdi
call fcn.140007190
jmp 0x14001148c
test sil, sil
je 0x14001148c
lea rdx, str.AppEnvironmentExtra
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov rdi, qword [rsp + 0x278]
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14001a490
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r13
pop r12
pop rsi
ret