Function at 0x14000d2d0
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 [0x140030f90]
xor rax, rsp
mov qword [rsp + 0x240], rax
movzx esi, dl
mov rbp, rcx
mov edx, 0x20006
add rcx, 2
call fcn.14000cd30
mov rbx, rax
test rax, rax
jne 0x14000d31c
lea eax, [rbx + 1]
jmp 0x14000dd13
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.14000b710
lea r8, [rbp + 0x1842a]
lea rdx, [0x140028008]
mov rcx, rbx
mov edi, eax
call fcn.14000c060
test eax, eax
je 0x14000d384
test edi, edi
jle 0x14000d371
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 0x14000dd0b
lea r8, [rbp + 0x28428]
lea rdx, str.AppParameters
mov rcx, rbx
call fcn.14000c060
test eax, eax
je 0x14000d3c7
test edi, edi
jle 0x14000d3b4
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 0x14000dd0b
lea r8, [rbp + 0x30426]
lea rdx, str.AppDirectory
mov rcx, rbx
call fcn.14000c060
test eax, eax
je 0x14000d40a
test edi, edi
jle 0x14000d3f7
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 0x14000dd0b
mov r8d, dword [rbp + 0x4043c]
cmp r8d, 0x20
je 0x14000d428
lea rdx, str.AppPriority
mov rcx, rbx
call fcn.14000c070
jmp 0x14000d43d
test sil, sil
je 0x14000d43d
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 0x14000d509
lea rdx, [rsp + 0x30]
call fcn.14000e8b0
test eax, eax
jne 0x14000d4e9
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 0x14000d4e9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140002430
lea r8, str.AppAffinity
xor edi, edi
mov edx, 0xc00003fb
movzx ecx, r13w
mov r9, rax
mov qword [rsp + 0x20], rdi
call fcn.1400025f0
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 0x14000dd0b
cmp qword [rsp + 0x30], 0
je 0x14000d51e
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 0x14000d51e
test sil, sil
je 0x14000d51e
lea rdx, str.AppAffinity
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov r8d, dword [rbp + 0x704d8]
not r8d
test r8d, r8d
je 0x14000d53e
lea rdx, str.AppStopMethodSkip
mov rcx, rbx
call fcn.14000c070
jmp 0x14000d553
test sil, sil
je 0x14000d553
lea rdx, str.AppStopMethodSkip
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov eax, dword [rbp + 0x704cc]
cmp eax, 4
jae 0x14000d579
mov rdx, rax
lea rax, [0x140030058]
lea rcx, [rbp + 2]
mov rdx, qword [rax + rdx*8]
movzx r8d, sil
call fcn.14000ba30
mov r8d, dword [rbp + 0x704d0]
test r8d, r8d
je 0x14000d596
lea rdx, str.AppRestartDelay
mov rcx, rbx
call fcn.14000c070
jmp 0x14000d5ab
test sil, sil
je 0x14000d5ab
lea rdx, str.AppRestartDelay
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov r8d, dword [rbp + 0x704d4]
cmp r8d, 0x5dc
je 0x14000d5cc
lea rdx, str.AppThrottle
mov rcx, rbx
call fcn.14000c070
jmp 0x14000d5e1
test sil, sil
je 0x14000d5e1
lea rdx, str.AppThrottle
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov r8d, dword [rbp + 0x704dc]
cmp r8d, 0x5dc
je 0x14000d602
lea rdx, str.AppStopMethodConsole
mov rcx, rbx
call fcn.14000c070
jmp 0x14000d617
test sil, sil
je 0x14000d617
lea rdx, str.AppStopMethodConsole
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov r8d, dword [rbp + 0x704e0]
cmp r8d, 0x5dc
je 0x14000d638
lea rdx, str.AppStopMethodWindow
mov rcx, rbx
call fcn.14000c070
jmp 0x14000d64d
test sil, sil
je 0x14000d64d
lea rdx, str.AppStopMethodWindow
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov r8d, dword [rbp + 0x704e4]
cmp r8d, 0x5dc
je 0x14000d66e
lea rdx, str.AppStopMethodThreads
mov rcx, rbx
call fcn.14000c070
jmp 0x14000d683
test sil, sil
je 0x14000d683
lea rdx, str.AppStopMethodThreads
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp byte [rbp + 0x704e8], 0
jne 0x14000d6a0
lea rdx, str.AppKillProcessTree
xor r8d, r8d
mov rcx, rbx
call fcn.14000c070
jmp 0x14000d6b5
test sil, sil
je 0x14000d6b5
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 0x14000d6ce
test sil, sil
je 0x14000d7bc
test ax, ax
je 0x14000d6e4
lea rdx, str.AppStdin
mov rcx, rbx
call fcn.14000c060
jmp 0x14000d6f9
test sil, sil
je 0x14000d6f9
lea rdx, str.AppStdin
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov r9d, dword [rbp + 0x50444]
cmp r9d, 2
je 0x14000d71e
lea r8, str.ShareMode
lea rdx, str.AppStdin
mov rcx, rbx
call fcn.140008160
jmp 0x14000d739
test sil, sil
je 0x14000d739
lea r8, str.ShareMode
lea rdx, str.AppStdin
mov rcx, rbx
call fcn.140008200
mov r9d, dword [rbp + 0x50448]
cmp r9d, 3
je 0x14000d75e
lea r8, str.CreationDisposition
lea rdx, str.AppStdin
mov rcx, rbx
call fcn.140008160
jmp 0x14000d779
test sil, sil
je 0x14000d779
lea r8, str.CreationDisposition
lea rdx, str.AppStdin
mov rcx, rbx
call fcn.140008200
mov r9d, dword [rbp + 0x5044c]
cmp r9d, 0x80
je 0x14000d7a1
lea r8, str.FlagsAndAttributes
lea rdx, str.AppStdin
mov rcx, rbx
call fcn.140008160
jmp 0x14000d7bc
test sil, sil
je 0x14000d7bc
lea r8, str.FlagsAndAttributes
lea rdx, str.AppStdin
mov rcx, rbx
call fcn.140008200
lea r8, [rbp + 0x50450]
movzx eax, word [r8]
test ax, ax
jne 0x14000d7d5
test sil, sil
je 0x14000d902
test ax, ax
je 0x14000d7eb
lea rdx, str.AppStdout
mov rcx, rbx
call fcn.14000c060
jmp 0x14000d800
test sil, sil
je 0x14000d800
lea rdx, str.AppStdout
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov r9d, dword [rbp + 0x60450]
cmp r9d, 3
je 0x14000d825
lea r8, str.ShareMode
lea rdx, str.AppStdout
mov rcx, rbx
call fcn.140008160
jmp 0x14000d840
test sil, sil
je 0x14000d840
lea r8, str.ShareMode
lea rdx, str.AppStdout
mov rcx, rbx
call fcn.140008200
mov r9d, dword [rbp + 0x60454]
cmp r9d, 4
je 0x14000d865
lea r8, str.CreationDisposition
lea rdx, str.AppStdout
mov rcx, rbx
call fcn.140008160
jmp 0x14000d880
test sil, sil
je 0x14000d880
lea r8, str.CreationDisposition
lea rdx, str.AppStdout
mov rcx, rbx
call fcn.140008200
mov r9d, dword [rbp + 0x60458]
cmp r9d, 0x80
je 0x14000d8a8
lea r8, str.FlagsAndAttributes
lea rdx, str.AppStdout
mov rcx, rbx
call fcn.140008160
jmp 0x14000d8c3
test sil, sil
je 0x14000d8c3
lea r8, str.FlagsAndAttributes
lea rdx, str.AppStdout
mov rcx, rbx
call fcn.140008200
cmp byte [rbp + 0x704af], 0
je 0x14000d8e7
lea r8, str.CopyAndTruncate
lea rdx, str.AppStdout
mov r9d, r13d
mov rcx, rbx
call fcn.140008160
jmp 0x14000d902
test sil, sil
je 0x14000d902
lea r8, str.CopyAndTruncate
lea rdx, str.AppStdout
mov rcx, rbx
call fcn.140008200
lea r8, [rbp + 0x6047c]
movzx eax, word [r8]
test ax, ax
jne 0x14000d91b
test sil, sil
je 0x14000da48
test ax, ax
je 0x14000d931
lea rdx, str.AppStderr
mov rcx, rbx
call fcn.14000c060
jmp 0x14000d946
test sil, sil
je 0x14000d946
lea rdx, str.AppStderr
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov r9d, dword [rbp + 0x7047c]
cmp r9d, 3
je 0x14000d96b
lea r8, str.ShareMode
lea rdx, str.AppStderr
mov rcx, rbx
call fcn.140008160
jmp 0x14000d986
test sil, sil
je 0x14000d986
lea r8, str.ShareMode
lea rdx, str.AppStderr
mov rcx, rbx
call fcn.140008200
mov r9d, dword [rbp + 0x70480]
cmp r9d, 4
je 0x14000d9ab
lea r8, str.CreationDisposition
lea rdx, str.AppStderr
mov rcx, rbx
call fcn.140008160
jmp 0x14000d9c6
test sil, sil
je 0x14000d9c6
lea r8, str.CreationDisposition
lea rdx, str.AppStderr
mov rcx, rbx
call fcn.140008200
mov r9d, dword [rbp + 0x70484]
cmp r9d, 0x80
je 0x14000d9ee
lea r8, str.FlagsAndAttributes
lea rdx, str.AppStderr
mov rcx, rbx
call fcn.140008160
jmp 0x14000da09
test sil, sil
je 0x14000da09
lea r8, str.FlagsAndAttributes
lea rdx, str.AppStderr
mov rcx, rbx
call fcn.140008200
cmp byte [rbp + 0x704b0], 0
je 0x14000da2d
lea r8, str.CopyAndTruncate
lea rdx, str.AppStderr
mov r9d, r13d
mov rcx, rbx
call fcn.140008160
jmp 0x14000da48
test sil, sil
je 0x14000da48
lea r8, str.CopyAndTruncate
lea rdx, str.AppStderr
mov rcx, rbx
call fcn.140008200
cmp byte [rbp + 0x704ae], 0
je 0x14000da65
lea rdx, str.AppTimestampLog
mov r8d, r13d
mov rcx, rbx
call fcn.14000c070
jmp 0x14000da7a
test sil, sil
je 0x14000da7a
lea rdx, str.AppTimestampLog
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp byte [rbp + 0x704ac], 0
je 0x14000da97
lea rdx, str.AppRedirectHook
mov r8d, r13d
mov rcx, rbx
call fcn.14000c070
jmp 0x14000daac
test sil, sil
je 0x14000daac
lea rdx, str.AppRedirectHook
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp byte [rbp + 0x704ad], 0
je 0x14000dac9
lea rdx, str.AppRotateFiles
mov r8d, r13d
mov rcx, rbx
call fcn.14000c070
jmp 0x14000dade
test sil, sil
je 0x14000dade
lea rdx, str.AppRotateFiles
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp dword [rbp + 0x704b4], 0
je 0x14000dafb
lea rdx, str.AppRotateOnline
mov r8d, r13d
mov rcx, rbx
call fcn.14000c070
jmp 0x14000db10
test sil, sil
je 0x14000db10
lea rdx, str.AppRotateOnline
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov r8d, dword [rbp + 0x704bc]
test r8d, r8d
je 0x14000db2d
lea rdx, str.AppRotateSeconds
mov rcx, rbx
call fcn.14000c070
jmp 0x14000db42
test sil, sil
je 0x14000db42
lea rdx, str.AppRotateSeconds
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov r8d, dword [rbp + 0x704c0]
test r8d, r8d
je 0x14000db5f
lea rdx, str.AppRotateBytes
mov rcx, rbx
call fcn.14000c070
jmp 0x14000db74
test sil, sil
je 0x14000db74
lea rdx, str.AppRotateBytes
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov r8d, dword [rbp + 0x704c4]
test r8d, r8d
je 0x14000db91
lea rdx, str.AppRotateBytesHigh
mov rcx, rbx
call fcn.14000c070
jmp 0x14000dba6
test sil, sil
je 0x14000dba6
lea rdx, str.AppRotateBytesHigh
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov r8d, dword [rbp + 0x704c8]
test r8d, r8d
je 0x14000dbc3
lea rdx, str.AppRotateDelay
mov rcx, rbx
call fcn.14000c070
jmp 0x14000dbd8
test sil, sil
je 0x14000dbd8
lea rdx, str.AppRotateDelay
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp dword [rbp + 0x40440], 0
je 0x14000dbf5
lea rdx, str.AppNoConsole
mov r8d, r13d
mov rcx, rbx
call fcn.14000c070
jmp 0x14000dc0a
test sil, sil
je 0x14000dc0a
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 0x14000dc70
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 0x14000dc85
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140002430
lea r8, str.AppEnvironment
mov edx, 0xc00003fb
movzx ecx, r13w
mov r9, rax
mov qword [rsp + 0x20], rdi
call fcn.1400025f0
jmp 0x14000dc85
test sil, sil
je 0x14000dc85
lea rdx, str.AppEnvironment
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov rcx, qword [rbp + 0x40430]
test rcx, rcx
je 0x14000dceb
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 0x14000dd00
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140002430
lea r8, str.AppEnvironmentExtra
mov edx, 0xc00003fb
movzx ecx, r13w
mov r9, rax
mov qword [rsp + 0x20], rdi
call fcn.1400025f0
jmp 0x14000dd00
test sil, sil
je 0x14000dd00
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.140018800
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r13
pop r12
pop rsi
ret