Function at 0x14002a270
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 - 0x2228]
mov eax, 0x2328
call fcn.14008e840
sub rsp, rax
mov rax, qword [0x1400f00c0]
xor rax, rsp
mov qword [rbp + 0x2210], rax
mov dword [rsp + 0x70], r9d
mov qword [rsp + 0x68], r8
mov r15, rdx
mov r14, rcx
xor esi, esi
mov r12d, esi
mov qword [rsp + 0x78], rsi
mov dword [rbp - 0x80], esi
mov qword [rbp - 0x78], rsi
call fcn.1400290f0
mov ebx, eax
test eax, eax
js 0x14002b28d
cmp word [r15], 0x7d
je 0x14002b28d
mov r13d, 1
lea rdx, str.Delete
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
sete sil
lea rdx, str.ForceRemove
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x14002a316
test esi, esi
je 0x14002a57c
mov rbx, r15
nop dword [rax]
mov rdi, qword [r14]
movzx ecx, word [rdi]
mov edx, ecx
sub edx, 9
je 0x14002a33c
sub edx, r13d
je 0x14002a33c
sub edx, 3
je 0x14002a33c
cmp edx, 0x13
jne 0x14002a34a
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [r14], rax
jmp 0x14002a320
xor eax, eax
cmp ax, cx
je 0x14002b286
mov eax, Ordinal_41
cmp ax, cx
jne 0x14002a430
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov rcx, rax
mov qword [r14], rax
movzx eax, word [rax]
xor edi, edi
cmp di, ax
je 0x14002a411
mov edx, Ordinal_41
cmp dx, ax
jne 0x14002a39a
call qword [sym.imp.USER32.dll_CharNextW]
mov ecx, Ordinal_41
cmp cx, word [rax]
jne 0x14002a411
mov rcx, qword [r14]
mov eax, Ordinal_41
cmp ax, word [rcx]
jne 0x14002a3b0
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [r14], rax
mov rdi, qword [r14]
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 0x14002b286
test edx, edx
jle 0x14002a400
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 0x14002a3f0
mov rcx, qword [r14]
movzx eax, word [rcx]
xor edi, edi
cmp di, ax
jne 0x14002a380
mov rax, qword [r14]
cmp di, word [rax]
je 0x14002b286
mov word [rbx], di
mov rcx, qword [r14]
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [r14], rax
jmp 0x14002a4a2
movzx ecx, cx
sub ecx, 9
je 0x14002a49d
sub ecx, r13d
je 0x14002a49d
sub ecx, 3
je 0x14002a49d
cmp ecx, 0x13
je 0x14002a49d
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 0x14002b286
test edx, edx
jle 0x14002a490
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 0x14002a480
mov rdi, qword [r14]
movzx ecx, word [rdi]
xor edx, edx
cmp dx, cx
jne 0x14002a430
xor edi, edi
mov word [rbx], di
cmp dword [rsp + 0x70], 0
je 0x14002a57c
mov qword [rbp - 0x68], rdi
mov dword [rbp - 0x60], edi
mov qword [rbp - 0x58], rdi
mov rcx, r15
movzx eax, word [r15]
test ax, ax
je 0x14002a4e6
cmp ax, 0x5c
je 0x14002a4dd
call qword [sym.imp.USER32.dll_CharNextW]
mov rcx, rax
movzx eax, word [rax]
test ax, ax
jne 0x14002a4c4
jmp 0x14002a4e6
test rcx, rcx
jne 0x14002b209
lea rbx, str.AppID
nop dword [rax]
mov rdx, qword [rbx]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x14002a539
add rbx, 8
lea rax, str.HKCR
cmp rbx, rax
jl 0x14002a4f0
mov rdi, qword [rsp + 0x68]
mov qword [rbp - 0x68], rdi
xor ebx, ebx
mov dword [rbp - 0x60], ebx
mov qword [rbp - 0x58], rbx
mov rdx, r15
lea rcx, [rbp - 0x68]
call fcn.140028730
mov qword [rbp - 0x68], rbx
mov dword [rbp - 0x60], ebx
mov qword [rbp - 0x58], rbx
test esi, esi
je 0x14002a575
mov rdx, r15
mov rcx, r14
call fcn.1400290f0
mov ebx, eax
test eax, eax
js 0x14002b215
mov rdx, r15
mov rcx, r14
call fcn.140029870
mov ebx, eax
xor esi, esi
mov dword [rbp - 0x60], esi
test eax, eax
js 0x14002b28d
mov edi, dword [rsp + 0x70]
jmp 0x14002ae04
xor esi, esi
mov dword [rbp - 0x60], esi
jmp 0x14002a57e
xor esi, esi
lea rdx, str.NoRemove
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x14002a70f
mov r13d, esi
mov rbx, r15
nop dword [rax]
mov rdi, qword [r14]
movzx ecx, word [rdi]
mov edx, ecx
sub edx, 9
je 0x14002a5bc
sub edx, 1
je 0x14002a5bc
sub edx, 3
je 0x14002a5bc
cmp edx, 0x13
jne 0x14002a5ca
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [r14], rax
jmp 0x14002a5a0
cmp si, cx
je 0x14002b20e
mov eax, Ordinal_41
cmp ax, cx
jne 0x14002a6a0
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov rcx, rax
mov qword [r14], rax
movzx eax, word [rax]
cmp si, ax
je 0x14002a67c
nop dword [rax]
mov edi, Ordinal_41
cmp di, ax
jne 0x14002a615
call qword [sym.imp.USER32.dll_CharNextW]
cmp di, word [rax]
jne 0x14002a67c
mov rcx, qword [r14]
cmp di, word [rcx]
jne 0x14002a626
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [r14], rax
mov rdi, qword [r14]
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 0x14002b20e
test edx, edx
jle 0x14002a671
sub rdi, rbx
mov ecx, edx
nop
movzx eax, word [rdi + rbx]
mov word [rbx], ax
add rbx, 2
sub rcx, 1
jne 0x14002a660
mov rcx, qword [r14]
movzx eax, word [rcx]
cmp si, ax
jne 0x14002a600
mov rax, qword [r14]
cmp si, word [rax]
je 0x14002b20e
mov word [rbx], si
mov rcx, qword [r14]
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [r14], rax
jmp 0x14002a70f
movzx ecx, cx
sub ecx, 9
je 0x14002a70c
sub ecx, 1
je 0x14002a70c
sub ecx, 3
je 0x14002a70c
cmp ecx, 0x13
je 0x14002a70c
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 0x14002b20e
test edx, edx
jle 0x14002a701
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 0x14002a6f0
mov rdi, qword [r14]
movzx ecx, word [rdi]
cmp si, cx
jne 0x14002a6a0
mov word [rbx], si
lea rdx, [0x1400d2518]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x14002aaf4
lea rbx, [rbp + 0x210]
nop
mov rdi, qword [r14]
movzx ecx, word [rdi]
mov edx, ecx
sub edx, 9
je 0x14002a74c
sub edx, 1
je 0x14002a74c
sub edx, 3
je 0x14002a74c
cmp edx, 0x13
jne 0x14002a75a
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [r14], rax
jmp 0x14002a730
cmp si, cx
je 0x14002b20e
mov eax, Ordinal_41
cmp ax, cx
jne 0x14002a837
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov rdx, rax
mov qword [r14], rax
movzx eax, word [rax]
cmp si, ax
je 0x14002a81d
nop dword [rax]
mov edi, Ordinal_41
cmp di, ax
jne 0x14002a7a8
mov rcx, rdx
call qword [sym.imp.USER32.dll_CharNextW]
cmp di, word [rax]
jne 0x14002a81d
mov rcx, qword [r14]
cmp di, word [rcx]
jne 0x14002a7b9
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [r14], rax
mov rdi, qword [r14]
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 + 0x2210]
cmp rax, r8
jae 0x14002b20e
test ecx, ecx
jle 0x14002a811
sub rdi, rbx
mov ecx, ecx
nop word [rax + rax]
movzx eax, word [rdi + rbx]
mov word [rbx], ax
add rbx, 2
sub rcx, 1
jne 0x14002a800
movzx eax, word [rdx]
cmp si, ax
jne 0x14002a790
mov rcx, qword [r14]
cmp si, word [rcx]
je 0x14002b20e
mov word [rbx], si
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [r14], rax
jmp 0x14002a8b0
movzx ecx, cx
sub ecx, 9
je 0x14002a8ad
sub ecx, 1
je 0x14002a8ad
sub ecx, 3
je 0x14002a8ad
cmp ecx, 0x13
je 0x14002a8ad
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov r8, rax
mov qword [r14], rax
mov rdx, rax
sub rdx, rdi
sar rdx, 1
lea rcx, [rdx + 1]
lea rcx, [rbx + rcx*2]
lea rax, [rbp + 0x2210]
cmp rcx, rax
jae 0x14002b20e
test edx, edx
jle 0x14002a8a1
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 0x14002a890
mov rdi, r8
movzx ecx, word [r8]
cmp si, cx
jne 0x14002a837
mov word [rbx], si
mov rbx, r15
mov rdi, qword [r14]
movzx ecx, word [rdi]
mov edx, ecx
sub edx, 9
je 0x14002a8cf
sub edx, 1
je 0x14002a8cf
sub edx, 3
je 0x14002a8cf
cmp edx, 0x13
jne 0x14002a8dd
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [r14], rax
jmp 0x14002a8b3
cmp si, cx
je 0x14002b20e
mov eax, Ordinal_41
cmp ax, cx
jne 0x14002a9b0
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov rcx, rax
mov qword [r14], rax
movzx eax, word [rax]
cmp si, ax
je 0x14002a98c
nop
mov edi, Ordinal_41
cmp di, ax
jne 0x14002a925
call qword [sym.imp.USER32.dll_CharNextW]
cmp di, word [rax]
jne 0x14002a98c
mov rcx, qword [r14]
cmp di, word [rcx]
jne 0x14002a936
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [r14], rax
mov rdi, qword [r14]
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 0x14002b20e
test edx, edx
jle 0x14002a981
sub rdi, rbx
mov ecx, edx
nop
movzx eax, word [rdi + rbx]
mov word [rbx], ax
add rbx, 2
sub rcx, 1
jne 0x14002a970
mov rcx, qword [r14]
movzx eax, word [rcx]
cmp si, ax
jne 0x14002a910
mov rax, qword [r14]
cmp si, word [rax]
je 0x14002b20e
mov word [rbx], si
mov rcx, qword [r14]
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [r14], rax
jmp 0x14002aa1f
movzx ecx, cx
sub ecx, 9
je 0x14002aa1c
sub ecx, 1
je 0x14002aa1c
sub ecx, 3
je 0x14002aa1c
cmp ecx, 0x13
je 0x14002aa1c
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 0x14002b20e
test edx, edx
jle 0x14002aa11
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 0x14002aa00
mov rdi, qword [r14]
movzx ecx, word [rdi]
cmp si, cx
jne 0x14002a9b0
mov word [rbx], si
cmp word [r15], 0x3d
jne 0x14002b20e
mov edi, dword [rsp + 0x70]
test edi, edi
je 0x14002aa78
mov qword [rbp - 0x50], rsi
mov dword [rbp - 0x48], esi
mov qword [rbp - 0x40], rsi
mov rax, qword [rsp + 0x68]
mov qword [rbp - 0x50], rax
mov dword [rbp - 0x48], esi
mov qword [rbp - 0x40], rsi
mov r9, r15
lea r8, [rbp + 0x210]
lea rdx, [rbp - 0x50]
mov rcx, r14
call fcn.1400292a0
mov ebx, eax
mov qword [rbp - 0x50], rsi
mov dword [rbp - 0x48], esi
mov qword [rbp - 0x40], rsi
mov dword [rbp - 0x48], esi
jmp 0x14002adfc
cmp dword [rbp + 0x2290], 0
jne 0x14002aae4
test r13d, r13d
je 0x14002aae4
mov qword [rbp - 0x38], rsi
mov dword [rbp - 0x30], esi
mov qword [rbp - 0x28], rsi
mov r9d, 0x20006
xor r8d, r8d
mov rdx, qword [rsp + 0x68]
lea rcx, [rbp - 0x38]
call fcn.140028630
test eax, eax
jne 0x14002b23c
lea rdx, [rbp + 0x210]
mov rdi, qword [rbp - 0x38]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, 0xfffffffd
jne 0x14002b21c
test rdi, rdi
je 0x14002aae1
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbp - 0x38], rsi
mov dword [rbp - 0x30], esi
mov rdx, r15
mov rcx, r14
call fcn.140029870
jmp 0x14002a2c9
mov rcx, r15
movzx eax, word [r15]
test ax, ax
je 0x14002ab22
cmp ax, 0x5c
je 0x14002ab19
call qword [sym.imp.USER32.dll_CharNextW]
mov rcx, rax
movzx eax, word [rax]
test ax, ax
jne 0x14002ab00
jmp 0x14002ab22
test rcx, rcx
jne 0x14002b20e
mov edi, dword [rsp + 0x70]
test edi, edi
je 0x14002ae5f
mov qword [rsp + 0x60], rsi
mov rbx, qword [rbp - 0x78]
test rbx, rbx
je 0x14002abaa
cmp qword [rbx], 0
je 0x14002ab9d
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14002abfc
lea rdx, str.RegOpenKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r10, rax
test rax, rax
je 0x14002aba3
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 0x14002abcb
cmp dword [rbx + 8], 0
jne 0x14002abaa
mov eax, 1
jmp 0x14002abcb
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 0x14002abfc
mov eax, esi
test r12, r12
je 0x14002abe4
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x78], rsi
mov dword [rbp - 0x80], esi
mov r12, qword [rsp + 0x60]
mov qword [rsp + 0x78], r12
mov dword [rbp - 0x80], esi
test eax, eax
je 0x14002adc6
mov qword [rsp + 0x60], rsi
test rbx, rbx
je 0x14002ac74
cmp qword [rbx], 0
je 0x14002ac67
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14002acc6
lea rdx, str.RegOpenKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r10, rax
test rax, rax
je 0x14002ac6d
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 0x14002ac95
cmp dword [rbx + 8], 0
jne 0x14002ac74
mov eax, 1
jmp 0x14002ac95
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 0x14002acc6
mov eax, esi
test r12, r12
je 0x14002acae
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x78], rsi
mov dword [rbp - 0x80], esi
mov r12, qword [rsp + 0x60]
mov qword [rsp + 0x78], r12
mov dword [rbp - 0x80], esi
test eax, eax
je 0x14002adc6
mov qword [rsp + 0x60], rsi
test rbx, rbx
je 0x14002ad59
cmp qword [rbx], 0
je 0x14002ad4c
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14002b25d
lea rdx, str.RegCreateKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r10, rax
test rax, rax
je 0x14002ad52
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 0x14002ad91
cmp dword [rbx + 8], 0
jne 0x14002ad59
mov eax, 1
jmp 0x14002ad91
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 0x14002b262
mov eax, esi
test r12, r12
je 0x14002adae
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x78], rsi
mov dword [rbp - 0x80], esi
mov r12, qword [rsp + 0x60]
mov qword [rsp + 0x78], r12
mov dword [rbp - 0x80], esi
test eax, eax
jne 0x14002b262
mov rdx, r15
mov rcx, r14
call fcn.1400290f0
mov ebx, eax
test eax, eax
js 0x14002b28d
cmp word [r15], 0x3d
jne 0x14002ae04
mov r9, r15
xor r8d, r8d
lea rdx, [rsp + 0x78]
mov rcx, r14
call fcn.1400292a0
mov ebx, eax
mov r12, qword [rsp + 0x78]
test eax, eax
js 0x14002b28d
cmp word [r15], 0x7b
jne 0x14002a2d3
mov rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp word [r15 + rax*2], 0
jne 0x14002ae20
cmp rax, 1
jne 0x14002a2d3
mov dword [rsp + 0x20], esi
mov r9d, edi
mov r8, r12
mov rdx, r15
mov rcx, r14
call fcn.14002a270
mov ebx, eax
test eax, eax
js 0x14002b28d
mov rdx, r15
mov rcx, r14
jmp 0x14002a2c4
mov eax, dword [rbp + 0x2290]
test eax, eax
jne 0x14002af49
mov qword [rsp + 0x60], rsi
mov rbx, qword [rbp - 0x78]
test rbx, rbx
je 0x14002aef3
cmp qword [rbx], 0
je 0x14002aee6
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
jne 0x14002aea1
lea edi, [rax + 1]
mov eax, dword [rbp + 0x2290]
jmp 0x14002af4e
lea rdx, str.RegOpenKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r10, rax
test rax, rax
je 0x14002aeec
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 0x14002af14
cmp dword [rbx + 8], 0
jne 0x14002aef3
mov edi, 1
jmp 0x14002af16
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 0x14002af41
mov edi, esi
test r12, r12
je 0x14002af31
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, eax
mov qword [rsp + 0x78], rsi
mov dword [rbp - 0x80], esi
mov r12, qword [rsp + 0x60]
mov qword [rsp + 0x78], r12
mov dword [rbp - 0x80], esi
mov eax, dword [rbp + 0x2290]
jmp 0x14002af4e
mov edi, 2
mov esi, 1
test edi, edi
cmove esi, eax
mov r9, 0xffffffffffffffff
mov r8, r15
mov edx, 0x104
lea rcx, [rbp]
call fcn.14009ef78
test eax, eax
je 0x14002af98
cmp eax, 0xc
je 0x14002b2c8
cmp eax, 0x16
je 0x14002b2de
cmp eax, 0x22
je 0x14002b2de
cmp eax, 0x50
jne 0x14002b2d3
mov rdx, r15
mov rcx, r14
call fcn.1400290f0
mov ebx, eax
test eax, eax
js 0x14002b28b
mov rdx, r15
mov rcx, r14
call fcn.140029870
mov ebx, eax
test eax, eax
js 0x14002b28b
cmp word [r15], 0x7b
jne 0x14002b019
mov rax, 0xffffffffffffffff
inc rax
cmp word [r15 + rax*2], 0
jne 0x14002afd0
cmp rax, 1
jne 0x14002b019
mov dword [rsp + 0x20], esi
xor r9d, r9d
mov r8, r12
mov rdx, r15
mov rcx, r14
call fcn.14002a270
mov ebx, eax
test eax, eax
jns 0x14002b004
test esi, esi
je 0x14002b28b
mov rdx, r15
mov rcx, r14
call fcn.1400290f0
mov ebx, eax
test eax, eax
js 0x14002b28b
cmp edi, 2
je 0x14002b02f
test edi, edi
je 0x14002b036
cmp dword [rbp + 0x2290], 0
je 0x14002b26d
xor esi, esi
jmp 0x14002a2d3
xor esi, esi
cmp dword [rbp + 0x2290], esi
je 0x14002b0e6
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 0x14002b0e6
mov eax, esi
cmp dword [rsp + 0x60], eax
seta al
test eax, eax
je 0x14002b0e6
lea rdi, str.AppID
nop
mov rdx, qword [rdi]
lea rcx, [rbp]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x14002a2d3
add rdi, 8
lea rax, str.HKCR
cmp rdi, rax
jl 0x14002b0a0
test r13d, r13d
je 0x14002a2d3
lea rdx, [rbp]
lea rcx, [rsp + 0x78]
call fcn.140028730
mov r12, qword [rsp + 0x78]
jmp 0x14002a2d3
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 0x14002b136
cmp dword [rsp + 0x60], eax
seta dil
mov eax, esi
test r12, r12
je 0x14002b14e
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 0x14002b262
test r13d, r13d
je 0x14002a2d3
test edi, edi
jne 0x14002a2d3
mov qword [rbp - 0x20], rsi
mov dword [rbp - 0x18], esi
mov qword [rbp - 0x10], rsi
mov rdi, qword [rsp + 0x68]
mov qword [rbp - 0x20], rdi
mov dword [rbp - 0x18], esi
mov qword [rbp - 0x10], rsi
cmp byte [0x1400f3f90], al
jne 0x14002b1cf
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14002b1bf
lea rdx, str.RegDeleteKeyExW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400f3f88], rax
mov byte [0x1400f3f90], 1
jmp 0x14002b1d6
mov rax, qword [0x1400f3f88]
mov byte [0x1400f3f90], 1
jmp 0x14002b1d6
mov rax, qword [0x1400f3f88]
lea rdx, [rbp]
mov rcx, rdi
test rax, rax
je 0x14002b1ec
xor r9d, r9d
xor r8d, r8d
call rax
jmp 0x14002b1f2
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov qword [rbp - 0x20], rsi
mov dword [rbp - 0x18], esi
mov qword [rbp - 0x10], rsi
test eax, eax
jne 0x14002b278
mov dword [rbp - 0x18], esi
jmp 0x14002a2d3
xor esi, esi
mov dword [rbp - 0x60], esi
mov ebx, 0x80020009
jmp 0x14002b28d
xor esi, esi
mov dword [rbp - 0x60], esi
jmp 0x14002b28d
mov ecx, eax
call fcn.140028340
mov ebx, eax
test rdi, rdi
je 0x14002b258
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbp - 0x38], rsi
mov dword [rbp - 0x30], esi
jmp 0x14002b28d
mov ecx, eax
call fcn.140028340
mov ebx, eax
mov rcx, qword [rbp - 0x38]
test rcx, rcx
je 0x14002b258
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbp - 0x38], rsi
mov dword [rbp - 0x30], esi
jmp 0x14002b28d
mov eax, 1
mov ecx, eax
call fcn.140028340
mov ebx, eax
jmp 0x14002b28d
mov ecx, edi
call fcn.140028340
mov ebx, eax
jmp 0x14002b28b
mov ecx, eax
call fcn.140028340
mov ebx, eax
mov dword [rbp - 0x18], esi
jmp 0x14002b28d
mov ebx, 0x80020009
xor esi, esi
test r12, r12
je 0x14002b2a0
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x78], rsi
mov dword [rbp - 0x80], esi
mov eax, ebx
mov rcx, qword [rbp + 0x2210]
xor rcx, rsp
call fcn.14008dd20
add rsp, 0x2328
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov ecx, 0x8007000e
call fcn.140001220
int3
mov ecx, 0x80004005
call fcn.140001220
int3
mov ecx, 0x80070057
call fcn.140001220
int3