Function at 0x1400042c0
Capabilities:
Delete registry key
Delete registry value
Link many functions at runtime

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x21d8]
mov eax, 0x22d8
call fcn.1400c4fe0
sub rsp, rax
mov rax, qword [0x14011b040]
xor rax, rsp
mov qword [rbp + 0x21c0], rax
mov dword [rsp + 0x70], r9d
mov qword [rsp + 0x68], r8
mov r15, rdx
mov r14, rcx
xor eax, eax
mov r12d, eax
mov qword [rsp + 0x78], rax
mov dword [rbp - 0x80], eax
mov qword [rbp - 0x78], rax
call fcn.140003140
mov ebx, eax
test eax, eax
js 0x14000525d
cmp word [r15], 0x7d
je 0x14000525d
nop
mov r13d, 1
lea rdx, str.Delete
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov esi, eax
lea rdx, str.ForceRemove
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x140004364
test esi, esi
jne 0x1400045b3
mov rbx, r15
nop word [rax + rax]
mov rdi, qword [r14]
movzx edx, word [rdi]
mov ecx, edx
sub ecx, 9
je 0x14000438c
sub ecx, r13d
je 0x14000438c
sub ecx, 3
je 0x14000438c
cmp ecx, 0x13
jne 0x14000439a
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [r14], rax
jmp 0x140004370
xor r8d, r8d
cmp r8w, dx
je 0x140005258
mov eax, 0x27
cmp ax, dx
jne 0x140004480
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [r14], rax
xor edi, edi
cmp di, word [rax]
je 0x14000445e
nop dword [rax]
mov ecx, 0x27
cmp cx, word [rax]
jne 0x1400043ed
mov rcx, rax
call qword [sym.imp.USER32.dll_CharNextW]
mov ecx, 0x27
cmp cx, word [rax]
jne 0x14000445e
mov rdi, qword [r14]
mov eax, 0x27
cmp ax, word [rdi]
jne 0x140004409
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov rdi, rax
mov qword [r14], rax
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov rdx, rax
mov qword [r14], rax
sub rdx, rdi
sar rdx, 1
lea rcx, [rdx + 1]
lea rcx, [rbx + rcx*2]
lea rax, [r15 + 0x2000]
cmp rcx, rax
jae 0x140005258
test edx, edx
jle 0x140004450
sub rdi, rbx
mov ecx, edx
nop
movzx eax, word [rdi + rbx]
mov word [rbx], ax
add rbx, 2
sub rcx, r13
jne 0x140004440
mov rax, qword [r14]
xor edi, edi
cmp di, word [rax]
jne 0x1400043d0
mov rax, qword [r14]
cmp di, word [rax]
je 0x140005258
mov word [rbx], di
mov rcx, qword [r14]
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [r14], rax
xor r8d, r8d
jmp 0x1400044f3
movzx ecx, dx
sub ecx, 9
je 0x1400044ef
sub ecx, r13d
je 0x1400044ef
sub ecx, 3
je 0x1400044ef
cmp ecx, 0x13
je 0x1400044ef
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov rdx, rax
mov qword [r14], rax
sub rdx, rdi
sar rdx, 1
lea rcx, [rdx + 1]
lea rcx, [rbx + rcx*2]
lea rax, [r15 + 0x2000]
cmp rcx, rax
jae 0x140005258
test edx, edx
jle 0x1400044e0
sub rdi, rbx
mov ecx, edx
nop dword [rax]
movzx eax, word [rdi + rbx]
mov word [rbx], ax
add rbx, 2
sub rcx, r13
jne 0x1400044d0
mov rdi, qword [r14]
movzx edx, word [rdi]
xor r8d, r8d
cmp r8w, dx
jne 0x140004480
mov word [rbx], r8w
mov edi, dword [rsp + 0x70]
test edi, edi
je 0x1400045b3
mov qword [rbp - 0x68], r8
mov dword [rbp - 0x60], r8d
mov qword [rbp - 0x58], r8
mov rcx, r15
movzx eax, word [r15]
test ax, ax
je 0x140004539
cmp ax, 0x5c
je 0x140004530
call qword [sym.imp.USER32.dll_CharNextW]
mov rcx, rax
movzx eax, word [rax]
test ax, ax
jne 0x140004517
jmp 0x140004539
test rcx, rcx
jne 0x140005258
lea rbx, str.AppID
mov rdx, qword [rbx]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x14000457e
add rbx, 8
lea rax, str.HKCR
cmp rbx, rax
jl 0x140004540
mov rax, qword [rsp + 0x68]
mov qword [rbp - 0x68], rax
xor eax, eax
mov dword [rbp - 0x60], eax
mov qword [rbp - 0x58], rax
mov rdx, r15
lea rcx, [rbp - 0x68]
call fcn.140002840
test esi, esi
jne 0x1400045b3
mov rdx, r15
mov rcx, r14
call fcn.140003140
mov ebx, eax
test eax, eax
js 0x14000525d
mov rdx, r15
mov rcx, r14
call fcn.1400038e0
mov ebx, eax
test eax, eax
js 0x14000525d
xor esi, esi
jmp 0x140004e4a
lea rdx, str.NoRemove
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
xor esi, esi
test eax, eax
jne 0x14000474f
mov r13d, esi
mov rbx, r15
mov rdi, qword [r14]
movzx edx, word [rdi]
mov ecx, edx
sub ecx, 9
je 0x1400045ef
sub ecx, 1
je 0x1400045ef
sub ecx, 3
je 0x1400045ef
cmp ecx, 0x13
jne 0x1400045fd
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [r14], rax
jmp 0x1400045d3
cmp si, dx
je 0x140005258
mov eax, 0x27
cmp ax, dx
jne 0x1400046e0
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [r14], rax
cmp si, word [rax]
je 0x1400046bd
nop dword [rax]
mov edi, 0x27
cmp di, word [rax]
jne 0x140004648
mov rcx, rax
call qword [sym.imp.USER32.dll_CharNextW]
cmp di, word [rax]
jne 0x1400046bd
mov rdi, qword [r14]
mov eax, 0x27
cmp ax, word [rdi]
jne 0x140004664
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov rdi, rax
mov qword [r14], rax
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov rdx, rax
mov qword [r14], rax
sub rdx, rdi
sar rdx, 1
lea rcx, [rdx + 1]
lea rcx, [rbx + rcx*2]
lea rax, [r15 + 0x2000]
cmp rcx, rax
jae 0x140005258
test edx, edx
jle 0x1400046b1
sub rdi, rbx
mov ecx, edx
nop word [rax + rax]
movzx eax, word [rdi + rbx]
mov word [rbx], ax
add rbx, 2
sub rcx, 1
jne 0x1400046a0
mov rax, qword [r14]
cmp si, word [rax]
jne 0x140004630
mov rax, qword [r14]
cmp si, word [rax]
je 0x140005258
mov word [rbx], si
mov rcx, qword [r14]
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [r14], rax
jmp 0x14000474f
movzx ecx, dx
sub ecx, 9
je 0x14000474c
sub ecx, 1
je 0x14000474c
sub ecx, 3
je 0x14000474c
cmp ecx, 0x13
je 0x14000474c
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov rdx, rax
mov qword [r14], rax
sub rdx, rdi
sar rdx, 1
lea rcx, [rdx + 1]
lea rcx, [rbx + rcx*2]
lea rax, [r15 + 0x2000]
cmp rcx, rax
jae 0x140005258
test edx, edx
jle 0x140004741
sub rdi, rbx
mov ecx, edx
nop dword [rax]
movzx eax, word [rdi + rbx]
mov word [rbx], ax
add rbx, 2
sub rcx, 1
jne 0x140004730
mov rdi, qword [r14]
movzx edx, word [rdi]
cmp si, dx
jne 0x1400046e0
mov word [rbx], si
lea rdx, [0x1400f7a38]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x140004b3d
lea rbx, [rbp + 0x1c0]
nop
mov rdi, qword [r14]
movzx ecx, word [rdi]
mov edx, ecx
sub edx, 9
je 0x14000478c
sub edx, 1
je 0x14000478c
sub edx, 3
je 0x14000478c
cmp edx, 0x13
jne 0x14000479a
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [r14], rax
jmp 0x140004770
cmp si, cx
je 0x140005258
mov eax, 0x27
cmp ax, cx
jne 0x140004874
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [r14], rax
cmp si, word [rax]
je 0x14000485a
nop word [rax + rax]
mov rcx, qword [r14]
mov edi, 0x27
cmp di, word [rcx]
jne 0x1400047e8
call qword [sym.imp.USER32.dll_CharNextW]
cmp di, word [rax]
jne 0x14000485a
mov rdi, qword [r14]
mov eax, 0x27
cmp ax, word [rdi]
jne 0x140004804
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov rdi, rax
mov qword [r14], rax
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov rdx, rax
mov qword [r14], rax
mov rcx, rax
sub rcx, rdi
sar rcx, 1
lea rax, [rcx + 1]
lea rax, [rbx + rax*2]
lea r8, [rbp + 0x21c0]
cmp rax, r8
jae 0x140005258
test ecx, ecx
jle 0x140004851
sub rdi, rbx
mov ecx, ecx
nop dword [rax]
movzx eax, word [rdi + rbx]
mov word [rbx], ax
add rbx, 2
sub rcx, 1
jne 0x140004840
cmp si, word [rdx]
jne 0x1400047d0
mov rcx, qword [r14]
cmp si, word [rcx]
je 0x140005258
mov word [rbx], si
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [r14], rax
jmp 0x1400048ef
movzx ecx, cx
sub ecx, 9
je 0x1400048ec
sub ecx, 1
je 0x1400048ec
sub ecx, 3
je 0x1400048ec
cmp ecx, 0x13
je 0x1400048ec
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov rdx, rax
mov qword [r14], rax
mov rcx, rax
sub rcx, rdi
sar rcx, 1
lea rax, [rcx + 1]
lea rax, [rbx + rax*2]
lea r8, [rbp + 0x21c0]
cmp rax, r8
jae 0x140005258
test ecx, ecx
jle 0x1400048e1
sub rdi, rbx
mov ecx, ecx
nop dword [rax]
nop dword [rax + rax]
movzx eax, word [rdi + rbx]
mov word [rbx], ax
add rbx, 2
sub rcx, 1
jne 0x1400048d0
mov rdi, rdx
movzx ecx, word [rdx]
cmp si, cx
jne 0x140004874
mov word [rbx], si
mov rbx, r15
mov rdi, qword [r14]
movzx edx, word [rdi]
mov ecx, edx
sub ecx, 9
je 0x14000490e
sub ecx, 1
je 0x14000490e
sub ecx, 3
je 0x14000490e
cmp ecx, 0x13
jne 0x14000491c
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [r14], rax
jmp 0x1400048f2
cmp si, dx
je 0x140005258
mov eax, 0x27
cmp ax, dx
jne 0x140004a00
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [r14], rax
cmp si, word [rax]
je 0x1400049dd
nop dword [rax + rax]
mov edi, 0x27
cmp di, word [rax]
jne 0x140004968
mov rcx, rax
call qword [sym.imp.USER32.dll_CharNextW]
cmp di, word [rax]
jne 0x1400049dd
mov rdi, qword [r14]
mov eax, 0x27
cmp ax, word [rdi]
jne 0x140004984
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov rdi, rax
mov qword [r14], rax
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov rdx, rax
mov qword [r14], rax
sub rdx, rdi
sar rdx, 1
lea rcx, [rdx + 1]
lea rcx, [rbx + rcx*2]
lea rax, [r15 + 0x2000]
cmp rcx, rax
jae 0x140005258
test edx, edx
jle 0x1400049d1
sub rdi, rbx
mov ecx, edx
nop word [rax + rax]
movzx eax, word [rdi + rbx]
mov word [rbx], ax
add rbx, 2
sub rcx, 1
jne 0x1400049c0
mov rax, qword [r14]
cmp si, word [rax]
jne 0x140004950
mov rax, qword [r14]
cmp si, word [rax]
je 0x140005258
mov word [rbx], si
mov rcx, qword [r14]
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [r14], rax
jmp 0x140004a6f
movzx ecx, dx
sub ecx, 9
je 0x140004a6c
sub ecx, 1
je 0x140004a6c
sub ecx, 3
je 0x140004a6c
cmp ecx, 0x13
je 0x140004a6c
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov rdx, rax
mov qword [r14], rax
sub rdx, rdi
sar rdx, 1
lea rcx, [rdx + 1]
lea rcx, [rbx + rcx*2]
lea rax, [r15 + 0x2000]
cmp rcx, rax
jae 0x140005258
test edx, edx
jle 0x140004a61
sub rdi, rbx
mov ecx, edx
nop dword [rax]
movzx eax, word [rdi + rbx]
mov word [rbx], ax
add rbx, 2
sub rcx, 1
jne 0x140004a50
mov rdi, qword [r14]
movzx edx, word [rdi]
cmp si, dx
jne 0x140004a00
mov word [rbx], si
cmp word [r15], 0x3d
jne 0x140005258
mov edi, dword [rsp + 0x70]
test edi, edi
je 0x140004aaf
mov rax, qword [rsp + 0x68]
mov qword [rbp - 0x68], rax
mov dword [rbp - 0x60], esi
mov qword [rbp - 0x58], rsi
mov r9, r15
lea r8, [rbp + 0x1c0]
lea rdx, [rbp - 0x68]
mov rcx, r14
call fcn.1400032f0
mov ebx, eax
jmp 0x140004e42
cmp dword [rbp + 0x2240], 0
jne 0x140004b23
test r13d, r13d
je 0x140004b23
mov qword [rsp + 0x60], rsi
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0x20006
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov rdi, rsi
test eax, eax
cmove rdi, qword [rsp + 0x60]
mov ecx, esi
cmovne ecx, eax
test ecx, ecx
jne 0x140005236
lea rdx, [rbp + 0x1c0]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, 0xfffffffd
jne 0x140005234
test rdi, rdi
je 0x140004b23
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, r15
mov rcx, r14
call fcn.1400038e0
mov ebx, eax
test eax, eax
js 0x14000525d
jmp 0x140005227
mov rcx, r15
movzx eax, word [r15]
test ax, ax
je 0x140004b72
nop dword [rax]
cmp ax, 0x5c
je 0x140004b69
call qword [sym.imp.USER32.dll_CharNextW]
mov rcx, rax
movzx eax, word [rax]
test ax, ax
jne 0x140004b50
jmp 0x140004b72
test rcx, rcx
jne 0x140005258
mov edi, dword [rsp + 0x70]
test edi, edi
je 0x140004eae
mov qword [rsp + 0x60], rsi
mov rbx, qword [rbp - 0x78]
test rbx, rbx
je 0x140004c00
cmp qword [rbx], 0
je 0x140004bf3
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
jne 0x140004bae
mov eax, 1
jmp 0x140004c42
lea rdx, str.RegOpenKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r10, rax
test rax, rax
je 0x140004bf9
mov qword [rsp + 0x30], rsi
mov rax, qword [rbx]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0x2001f
xor r8d, r8d
mov rdx, r15
mov rcx, qword [rsp + 0x68]
call r10
jmp 0x140004c21
cmp dword [rbx + 8], 0
jne 0x140004c00
mov eax, 1
jmp 0x140004c21
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0x2001f
xor r8d, r8d
mov rdx, r15
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140004c42
mov eax, esi
test r12, r12
je 0x140004c35
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r12, qword [rsp + 0x60]
mov qword [rsp + 0x78], r12
mov dword [rbp - 0x80], esi
test eax, eax
je 0x140004e0c
mov qword [rsp + 0x60], rsi
test rbx, rbx
je 0x140004cc8
cmp qword [rbx], 0
je 0x140004cbb
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
jne 0x140004c76
mov eax, 1
jmp 0x140004d0a
lea rdx, str.RegOpenKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r10, rax
test rax, rax
je 0x140004cc1
mov qword [rsp + 0x30], rsi
mov rax, qword [rbx]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, r15
mov rcx, qword [rsp + 0x68]
call r10
jmp 0x140004ce9
cmp dword [rbx + 8], 0
jne 0x140004cc8
mov eax, 1
jmp 0x140004ce9
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, r15
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140004d0a
mov eax, esi
test r12, r12
je 0x140004cfd
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r12, qword [rsp + 0x60]
mov qword [rsp + 0x78], r12
mov dword [rbp - 0x80], esi
test eax, eax
je 0x140004e0c
mov qword [rsp + 0x60], rsi
test rbx, rbx
je 0x140004dab
cmp qword [rbx], 0
je 0x140004d9e
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
jne 0x140004d42
mov eax, 1
jmp 0x140004e04
lea rdx, str.RegCreateKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r10, rax
test rax, rax
je 0x140004da4
mov qword [rsp + 0x50], rsi
mov rax, qword [rbx]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
mov rdx, r15
mov rcx, qword [rsp + 0x68]
call r10
jmp 0x140004de3
cmp dword [rbx + 8], 0
jne 0x140004dab
mov eax, 1
jmp 0x140004de3
lea rax, [rbp - 0x70]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
mov rdx, r15
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140004e04
mov eax, esi
test r12, r12
je 0x140004df7
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r12, qword [rsp + 0x60]
mov qword [rsp + 0x78], r12
mov dword [rbp - 0x80], esi
test eax, eax
jne 0x14000524d
mov rdx, r15
mov rcx, r14
call fcn.140003140
mov ebx, eax
test eax, eax
js 0x14000525d
cmp word [r15], 0x3d
jne 0x140004e4a
mov r9, r15
xor r8d, r8d
lea rdx, [rsp + 0x78]
mov rcx, r14
call fcn.1400032f0
mov ebx, eax
mov r12, qword [rsp + 0x78]
test eax, eax
js 0x14000525d
cmp word [r15], 0x7b
jne 0x140005227
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [r15 + rax*2], 0
jne 0x140004e60
cmp rax, 1
jne 0x140005227
mov dword [rsp + 0x20], esi
mov r9d, edi
mov r8, r12
mov rdx, r15
mov rcx, r14
call fcn.1400042c0
mov ebx, eax
test eax, eax
js 0x14000525d
mov rdx, r15
mov rcx, r14
call fcn.140003140
mov ebx, eax
test eax, eax
js 0x14000525d
jmp 0x140005227
mov eax, dword [rbp + 0x2240]
test eax, eax
jne 0x140004f8a
mov qword [rsp + 0x60], rsi
mov rbx, qword [rbp - 0x78]
test rbx, rbx
je 0x140004f3c
cmp qword [rbx], 0
je 0x140004f2f
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
jne 0x140004eea
lea edi, [rax + 1]
jmp 0x140004f82
lea rdx, str.RegOpenKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r10, rax
test rax, rax
je 0x140004f35
mov qword [rsp + 0x30], rsi
mov rax, qword [rbx]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, r15
mov rcx, qword [rsp + 0x68]
call r10
jmp 0x140004f5d
cmp dword [rbx + 8], 0
jne 0x140004f3c
mov edi, 1
jmp 0x140004f5f
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, r15
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
test edi, edi
jne 0x140004f82
mov edi, esi
test r12, r12
je 0x140004f75
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, eax
mov r12, qword [rsp + 0x60]
mov qword [rsp + 0x78], r12
mov dword [rbp - 0x80], esi
mov eax, dword [rbp + 0x2240]
jmp 0x140004f8f
mov edi, 2
mov esi, 1
test edi, edi
cmove esi, eax
mov r9, 0xffffffffffffffff
mov r8, r15
mov edx, 0x104
lea rcx, [rbp - 0x50]
call fcn.1400a56dc
test eax, eax
je 0x140004fd9
cmp eax, 0xc
je 0x140005290
cmp eax, 0x16
je 0x1400052a6
cmp eax, 0x22
je 0x1400052a6
cmp eax, 0x50
jne 0x14000529b
mov rdx, r15
mov rcx, r14
call fcn.140003140
mov ebx, eax
test eax, eax
js 0x14000525d
mov rdx, r15
mov rcx, r14
call fcn.1400038e0
mov ebx, eax
test eax, eax
js 0x14000525d
cmp word [r15], 0x7b
jne 0x14000505a
mov rax, 0xffffffffffffffff
inc rax
cmp word [r15 + rax*2], 0
jne 0x140005011
cmp rax, 1
jne 0x14000505a
mov dword [rsp + 0x20], esi
xor r9d, r9d
mov r8, r12
mov rdx, r15
mov rcx, r14
call fcn.1400042c0
mov ebx, eax
test eax, eax
jns 0x140005045
test esi, esi
je 0x14000525d
mov rdx, r15
mov rcx, r14
call fcn.140003140
mov ebx, eax
test eax, eax
js 0x14000525d
cmp edi, 2
je 0x140005227
test edi, edi
je 0x140005082
cmp dword [rbp + 0x2240], 0
jne 0x140005227
mov ecx, edi
call fcn.1400024f0
mov ebx, eax
jmp 0x14000525d
xor esi, esi
cmp dword [rbp + 0x2240], esi
je 0x140005136
mov dword [rsp + 0x60], esi
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rsi
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x140005136
mov eax, esi
cmp dword [rsp + 0x60], eax
seta al
test eax, eax
je 0x140005136
lea rdi, str.AppID
nop word [rax + rax]
mov rdx, qword [rdi]
lea rcx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x140005227
add rdi, 8
lea rax, str.HKCR
cmp rdi, rax
jl 0x1400050f0
test r13d, r13d
je 0x140005227
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x78]
call fcn.140002840
mov r12, qword [rsp + 0x78]
jmp 0x140005227
mov dword [rsp + 0x60], esi
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rsi
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov edi, esi
test eax, eax
jne 0x140005186
cmp dword [rsp + 0x60], eax
seta dil
mov eax, esi
test r12, r12
je 0x14000519e
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r12, rsi
mov qword [rsp + 0x78], rsi
mov dword [rbp - 0x80], esi
test eax, eax
jne 0x14000524d
test r13d, r13d
je 0x140005227
test edi, edi
jne 0x140005227
cmp byte [0x140123588], dil
jne 0x1400051fd
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400051ed
lea rdx, str.RegDeleteKeyExW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140123580], rax
mov byte [0x140123588], 1
jmp 0x140005204
mov rax, qword [0x140123580]
mov byte [0x140123588], 1
jmp 0x140005204
mov rax, qword [0x140123580]
lea rdx, [rbp - 0x50]
mov rcx, qword [rsp + 0x68]
test rax, rax
je 0x14000521c
xor r9d, r9d
xor r8d, r8d
call rax
jmp 0x140005223
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
nop
test eax, eax
jne 0x14000524d
cmp word [r15], 0x7d
jne 0x140004330
jmp 0x14000525d
mov ecx, eax
call fcn.1400024f0
mov ebx, eax
test rdi, rdi
je 0x14000525d
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14000525d
mov ecx, eax
call fcn.1400024f0
mov ebx, eax
jmp 0x14000525d
mov ebx, 0x80020009
test r12, r12
je 0x14000526b
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rbp + 0x21c0]
xor rcx, rsp
call fcn.14006ce40
add rsp, 0x22d8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov ecx, 0x8007000e
call fcn.140001870
int3
mov ecx, 0x80004005
call fcn.140001870
int3
mov ecx, 0x80070057
call fcn.140001870
int3