Function at 0x18002ebb0
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.180051d70
sub rsp, rax
mov rax, qword [0x180075010]
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.18002da20
mov ebx, eax
test eax, eax
js 0x18002fc0a
cmp word [r15], 0x7d
je 0x18002fc0a
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 0x18002ec56
test esi, esi
je 0x18002eecd
mov rbx, r15
nop dword [rax]
mov rdi, qword [r14]
movzx eax, word [rdi]
cmp ax, 9
jb 0x18002ec8c
cmp ax, 0xa
jbe 0x18002ec7e
cmp ax, 0xd
je 0x18002ec7e
cmp ax, 0x20
jne 0x18002ec8c
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [r14], rax
jmp 0x18002ec60
xor ecx, ecx
cmp cx, ax
je 0x18002fc03
mov ecx, 0x27
cmp cx, ax
jne 0x18002ed80
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov r8, rax
mov qword [r14], rax
movzx eax, word [rax]
xor edi, edi
cmp di, ax
je 0x18002ed62
mov ecx, 0x27
cmp cx, ax
jne 0x18002ece3
mov rcx, r8
call qword [sym.imp.USER32.dll_CharNextW]
mov ecx, 0x27
cmp cx, word [rax]
jne 0x18002ed62
mov rdi, qword [r14]
mov eax, 0x27
cmp ax, word [rdi]
jne 0x18002ecff
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [r14], rax
mov rdi, rax
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, [r15 + 0x2000]
cmp rcx, rax
jae 0x18002fc03
test edx, edx
jle 0x18002ed53
sub rdi, rbx
mov ecx, edx
nop dword [rax + rax]
movzx eax, word [rdi + rbx]
mov word [rbx], ax
add rbx, 2
sub rcx, r13
jne 0x18002ed40
mov r8, qword [r14]
movzx eax, word [r8]
xor edi, edi
cmp di, ax
jne 0x18002ecc2
mov rax, qword [r14]
cmp di, word [rax]
je 0x18002fc03
mov word [rbx], di
mov rcx, qword [r14]
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [r14], rax
jmp 0x18002edf6
cmp ax, 0x20
ja 0x18002ed96
movabs rcx, 0x100002600
bt rcx, rax
jb 0x18002edf1
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, [r15 + 0x2000]
cmp rcx, rax
jae 0x18002fc03
test edx, edx
jle 0x18002ede3
sub rdi, rbx
mov ecx, edx
nop
movzx eax, word [rdi + rbx]
mov word [rbx], ax
add rbx, 2
sub rcx, r13
jne 0x18002edd0
mov r8, qword [r14]
movzx eax, word [r8]
mov rdi, r8
xor ecx, ecx
cmp cx, ax
jne 0x18002ed80
xor edi, edi
mov word [rbx], di
cmp dword [rsp + 0x70], 0
je 0x18002eecd
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 0x18002ee3a
cmp ax, 0x5c
je 0x18002ee31
call qword [sym.imp.USER32.dll_CharNextW]
mov rcx, rax
movzx eax, word [rax]
test ax, ax
jne 0x18002ee18
jmp 0x18002ee3a
test rcx, rcx
jne 0x18002fb99
lea rbx, str.AppID
mov rdx, qword [rbx]
mov rcx, r15
call qword [sym.imp.KERNEL32.DLL_lstrcmpiW]
test eax, eax
je 0x18002ee8a
add rbx, 8
lea rax, str.HKCR
cmp rbx, rax
jl 0x18002ee41
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.18002d040
mov qword [rbp - 0x68], rbx
mov dword [rbp - 0x60], ebx
mov qword [rbp - 0x58], rbx
test esi, esi
je 0x18002eec6
mov rdx, r15
mov rcx, r14
call fcn.18002da20
mov ebx, eax
test eax, eax
js 0x18002fba5
mov rdx, r15
mov rcx, r14
call fcn.18002e1b0
mov ebx, eax
xor esi, esi
mov dword [rbp - 0x60], esi
test eax, eax
js 0x18002fc0a
mov edi, dword [rsp + 0x70]
jmp 0x18002f794
xor esi, esi
mov dword [rbp - 0x60], esi
jmp 0x18002eecf
xor esi, esi
lea rdx, str.NoRemove
mov rcx, r15
call qword [sym.imp.KERNEL32.DLL_lstrcmpiW]
test eax, eax
jne 0x18002f073
mov r13d, esi
mov rbx, r15
nop dword [rax]
mov rdi, qword [r14]
movzx eax, word [rdi]
cmp ax, 9
jb 0x18002ef1c
cmp ax, 0xa
jbe 0x18002ef0e
cmp ax, 0xd
je 0x18002ef0e
cmp ax, 0x20
jne 0x18002ef1c
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [r14], rax
jmp 0x18002eef0
cmp si, ax
je 0x18002fb9e
mov ecx, 0x27
cmp cx, ax
jne 0x18002f000
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov r8, rax
mov qword [r14], rax
movzx eax, word [rax]
cmp si, ax
je 0x18002efe1
nop
mov edi, 0x27
cmp di, ax
jne 0x18002ef68
mov rcx, r8
call qword [sym.imp.USER32.dll_CharNextW]
cmp di, word [rax]
jne 0x18002efe1
mov rdi, qword [r14]
mov eax, 0x27
cmp ax, word [rdi]
jne 0x18002ef84
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [r14], rax
mov rdi, rax
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, [r15 + 0x2000]
cmp rcx, rax
jae 0x18002fb9e
test edx, edx
jle 0x18002efd4
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 0x18002efc0
mov r8, qword [r14]
movzx eax, word [r8]
cmp si, ax
jne 0x18002ef50
mov rax, qword [r14]
cmp si, word [rax]
je 0x18002fb9e
mov word [rbx], si
mov rcx, qword [r14]
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [r14], rax
jmp 0x18002f073
cmp ax, 0x20
ja 0x18002f016
movabs rcx, 0x100002600
bt rcx, rax
jb 0x18002f070
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, [r15 + 0x2000]
cmp rcx, rax
jae 0x18002fb9e
test edx, edx
jle 0x18002f064
sub rdi, rbx
mov ecx, edx
nop
movzx eax, word [rdi + rbx]
mov word [rbx], ax
add rbx, 2
sub rcx, 1
jne 0x18002f050
mov r8, qword [r14]
movzx eax, word [r8]
mov rdi, r8
cmp si, ax
jne 0x18002f000
mov word [rbx], si
lea rdx, [0x1800600c8]
mov rcx, r15
call qword [sym.imp.KERNEL32.DLL_lstrcmpiW]
test eax, eax
jne 0x18002f481
lea rbx, [rbp + 0x210]
mov rdi, qword [r14]
movzx eax, word [rdi]
cmp ax, 9
jb 0x18002f0be
cmp ax, 0xa
jbe 0x18002f0b0
cmp ax, 0xd
je 0x18002f0b0
cmp ax, 0x20
jne 0x18002f0be
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [r14], rax
jmp 0x18002f092
cmp si, ax
je 0x18002fb9e
mov ecx, 0x27
cmp cx, ax
jne 0x18002f197
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 0x18002f17d
mov edi, 0x27
cmp di, ax
jne 0x18002f108
mov rcx, rdx
call qword [sym.imp.USER32.dll_CharNextW]
cmp di, word [rax]
jne 0x18002f17d
mov rdi, qword [r14]
mov eax, 0x27
cmp ax, word [rdi]
jne 0x18002f124
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [r14], rax
mov rdi, 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 + 0x2210]
cmp rax, r8
jae 0x18002fb9e
test ecx, ecx
jle 0x18002f171
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 0x18002f160
movzx eax, word [rdx]
cmp si, ax
jne 0x18002f0f0
mov rcx, qword [r14]
cmp si, word [rcx]
je 0x18002fb9e
mov word [rbx], si
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [r14], rax
jmp 0x18002f210
cmp ax, 0x20
ja 0x18002f1ad
movabs rcx, 0x100002600
bt rcx, rax
jb 0x18002f20d
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 0x18002fb9e
test edx, edx
jle 0x18002f201
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 0x18002f1f0
movzx eax, word [r8]
mov rdi, r8
cmp si, ax
jne 0x18002f197
mov word [rbx], si
mov rbx, r15
mov rdi, qword [r14]
movzx eax, word [rdi]
cmp ax, 9
jb 0x18002f23f
cmp ax, 0xa
jbe 0x18002f231
cmp ax, 0xd
je 0x18002f231
cmp ax, 0x20
jne 0x18002f23f
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [r14], rax
jmp 0x18002f213
cmp si, ax
je 0x18002fb9e
mov ecx, 0x27
cmp cx, ax
jne 0x18002f320
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov r8, rax
mov qword [r14], rax
movzx eax, word [rax]
cmp si, ax
je 0x18002f301
mov edi, 0x27
cmp di, ax
jne 0x18002f289
mov rcx, r8
call qword [sym.imp.USER32.dll_CharNextW]
cmp di, word [rax]
jne 0x18002f301
mov rdi, qword [r14]
mov eax, 0x27
cmp ax, word [rdi]
jne 0x18002f2a5
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [r14], rax
mov rdi, rax
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, [r15 + 0x2000]
cmp rcx, rax
jae 0x18002fb9e
test edx, edx
jle 0x18002f2f4
sub rdi, rbx
mov ecx, edx
nop
movzx eax, word [rdi + rbx]
mov word [rbx], ax
add rbx, 2
sub rcx, 1
jne 0x18002f2e0
mov r8, qword [r14]
movzx eax, word [r8]
cmp si, ax
jne 0x18002f271
mov rax, qword [r14]
cmp si, word [rax]
je 0x18002fb9e
mov word [rbx], si
mov rcx, qword [r14]
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [r14], rax
jmp 0x18002f393
cmp ax, 0x20
ja 0x18002f336
movabs rcx, 0x100002600
bt rcx, rax
jb 0x18002f390
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, [r15 + 0x2000]
cmp rcx, rax
jae 0x18002fb9e
test edx, edx
jle 0x18002f384
sub rdi, rbx
mov ecx, edx
nop
movzx eax, word [rbx + rdi]
mov word [rbx], ax
add rbx, 2
sub rcx, 1
jne 0x18002f370
mov r8, qword [r14]
movzx eax, word [r8]
mov rdi, r8
cmp si, ax
jne 0x18002f320
mov word [rbx], si
cmp word [r15], 0x3d
jne 0x18002fb9e
mov edi, dword [rsp + 0x70]
test edi, edi
je 0x18002f3ec
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.18002dc00
mov ebx, eax
mov qword [rbp - 0x50], rsi
mov dword [rbp - 0x48], esi
mov qword [rbp - 0x40], rsi
mov dword [rbp - 0x48], esi
jmp 0x18002f78c
cmp dword [rbp + 0x2290], 0
jne 0x18002f471
test r13d, r13d
je 0x18002f471
mov qword [rbp - 0x38], rsi
mov dword [rbp - 0x30], esi
mov qword [rbp - 0x28], rsi
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]
test eax, eax
jne 0x18002fbcc
mov dword [rbp - 0x30], esi
mov rdi, qword [rsp + 0x60]
mov qword [rbp - 0x38], rdi
mov dword [rbp - 0x30], esi
lea rdx, [rbp + 0x210]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, 0xfffffffd
jne 0x18002fbac
test rdi, rdi
je 0x18002f46e
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.18002e1b0
jmp 0x18002ec09
mov rcx, r15
movzx eax, word [r15]
test ax, ax
je 0x18002f4b2
nop dword [rax]
cmp ax, 0x5c
je 0x18002f4a9
call qword [sym.imp.USER32.dll_CharNextW]
mov rcx, rax
movzx eax, word [rax]
test ax, ax
jne 0x18002f490
jmp 0x18002f4b2
test rcx, rcx
jne 0x18002fb9e
mov edi, dword [rsp + 0x70]
test edi, edi
je 0x18002f7ef
mov qword [rsp + 0x60], rsi
mov rbx, qword [rbp - 0x78]
test rbx, rbx
je 0x18002f53a
cmp qword [rbx], 0
je 0x18002f52d
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.DLL_GetModuleHandleW]
test rax, rax
je 0x18002f58c
lea rdx, [0x180064120]
mov rcx, rax
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov r10, rax
test rax, rax
je 0x18002f533
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 0x18002f55b
cmp dword [rbx + 8], 0
jne 0x18002f53a
mov eax, 1
jmp 0x18002f55b
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 0x18002f58c
mov eax, esi
test r12, r12
je 0x18002f574
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 0x18002f756
mov qword [rsp + 0x60], rsi
test rbx, rbx
je 0x18002f604
cmp qword [rbx], 0
je 0x18002f5f7
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.DLL_GetModuleHandleW]
test rax, rax
je 0x18002f656
lea rdx, [0x180064120]
mov rcx, rax
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov r10, rax
test rax, rax
je 0x18002f5fd
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 0x18002f625
cmp dword [rbx + 8], 0
jne 0x18002f604
mov eax, 1
jmp 0x18002f625
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 0x18002f656
mov eax, esi
test r12, r12
je 0x18002f63e
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 0x18002f756
mov qword [rsp + 0x60], rsi
test rbx, rbx
je 0x18002f6e9
cmp qword [rbx], 0
je 0x18002f6dc
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.DLL_GetModuleHandleW]
test rax, rax
je 0x18002fbda
lea rdx, str.RegCreateKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov r10, rax
test rax, rax
je 0x18002f6e2
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 0x18002f721
cmp dword [rbx + 8], 0
jne 0x18002f6e9
mov eax, 1
jmp 0x18002f721
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 0x18002fbdf
mov eax, esi
test r12, r12
je 0x18002f73e
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 0x18002fbdf
mov rdx, r15
mov rcx, r14
call fcn.18002da20
mov ebx, eax
test eax, eax
js 0x18002fc0a
cmp word [r15], 0x3d
jne 0x18002f794
mov r9, r15
xor r8d, r8d
lea rdx, [rsp + 0x78]
mov rcx, r14
call fcn.18002dc00
mov ebx, eax
mov r12, qword [rsp + 0x78]
test eax, eax
js 0x18002fc0a
cmp word [r15], 0x7b
jne 0x18002ec13
mov rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp word [r15 + rax*2], 0
jne 0x18002f7b0
cmp rax, 1
jne 0x18002ec13
mov dword [rsp + 0x20], esi
mov r9d, edi
mov r8, r12
mov rdx, r15
mov rcx, r14
call fcn.18002ebb0
mov ebx, eax
test eax, eax
js 0x18002fc0a
mov rdx, r15
mov rcx, r14
jmp 0x18002ec04
mov eax, dword [rbp + 0x2290]
test eax, eax
jne 0x18002f8d9
mov qword [rsp + 0x60], rsi
mov rbx, qword [rbp - 0x78]
test rbx, rbx
je 0x18002f883
cmp qword [rbx], 0
je 0x18002f876
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.DLL_GetModuleHandleW]
test rax, rax
jne 0x18002f831
lea edi, [rax + 1]
mov eax, dword [rbp + 0x2290]
jmp 0x18002f8de
lea rdx, [0x180064120]
mov rcx, rax
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov r10, rax
test rax, rax
je 0x18002f87c
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 0x18002f8a4
cmp dword [rbx + 8], 0
jne 0x18002f883
mov edi, 1
jmp 0x18002f8a6
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 0x18002f8d1
mov edi, esi
test r12, r12
je 0x18002f8c1
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 0x18002f8de
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.18004517c
test eax, eax
je 0x18002f928
cmp eax, 0xc
je 0x18002fc45
cmp eax, 0x16
je 0x18002fc5b
cmp eax, 0x22
je 0x18002fc5b
cmp eax, 0x50
jne 0x18002fc50
mov rdx, r15
mov rcx, r14
call fcn.18002da20
mov ebx, eax
test eax, eax
js 0x18002fc08
mov rdx, r15
mov rcx, r14
call fcn.18002e1b0
mov ebx, eax
test eax, eax
js 0x18002fc08
cmp word [r15], 0x7b
jne 0x18002f9a9
mov rax, 0xffffffffffffffff
inc rax
cmp word [r15 + rax*2], 0
jne 0x18002f960
cmp rax, 1
jne 0x18002f9a9
mov dword [rsp + 0x20], esi
xor r9d, r9d
mov r8, r12
mov rdx, r15
mov rcx, r14
call fcn.18002ebb0
mov ebx, eax
test eax, eax
jns 0x18002f994
test esi, esi
je 0x18002fc08
mov rdx, r15
mov rcx, r14
call fcn.18002da20
mov ebx, eax
test eax, eax
js 0x18002fc08
cmp edi, 2
je 0x18002f9bf
test edi, edi
je 0x18002f9c6
cmp dword [rbp + 0x2290], 0
je 0x18002fbea
xor esi, esi
jmp 0x18002ec13
xor esi, esi
cmp dword [rbp + 0x2290], esi
je 0x18002fa76
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 0x18002fa76
cmp dword [rsp + 0x60], esi
jbe 0x18002fa76
lea rdi, str.AppID
nop word [rax + rax]
mov rdx, qword [rdi]
lea rcx, [rbp]
call qword [sym.imp.KERNEL32.DLL_lstrcmpiW]
test eax, eax
je 0x18002ec13
add rdi, 8
lea rax, str.HKCR
cmp rdi, rax
jl 0x18002fa30
test r13d, r13d
je 0x18002ec13
lea rdx, [rbp]
lea rcx, [rsp + 0x78]
call fcn.18002d040
mov r12, qword [rsp + 0x78]
jmp 0x18002ec13
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 0x18002fac6
cmp dword [rsp + 0x60], eax
seta dil
mov eax, esi
test r12, r12
je 0x18002fade
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 0x18002fbdf
test r13d, r13d
je 0x18002ec13
test edi, edi
jne 0x18002ec13
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 [0x18007a5e8], al
jne 0x18002fb5f
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.DLL_GetModuleHandleW]
test rax, rax
je 0x18002fb4f
lea rdx, str.RegDeleteKeyExW
mov rcx, rax
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov qword [0x18007a5e0], rax
mov byte [0x18007a5e8], 1
jmp 0x18002fb66
mov rax, qword [0x18007a5e0]
mov byte [0x18007a5e8], 1
jmp 0x18002fb66
mov rax, qword [0x18007a5e0]
lea rdx, [rbp]
mov rcx, rdi
test rax, rax
je 0x18002fb7c
xor r9d, r9d
xor r8d, r8d
call rax
jmp 0x18002fb82
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 0x18002fbf5
mov dword [rbp - 0x18], esi
jmp 0x18002ec13
xor esi, esi
mov dword [rbp - 0x60], esi
mov ebx, 0x80020009
jmp 0x18002fc0a
xor esi, esi
mov dword [rbp - 0x60], esi
jmp 0x18002fc0a
mov ecx, eax
call fcn.18002cd50
mov ebx, eax
test rdi, rdi
je 0x18002fbc7
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbp - 0x38], rsi
mov dword [rbp - 0x30], esi
jmp 0x18002fc0a
mov ecx, eax
call fcn.18002cd50
mov ebx, eax
mov dword [rbp - 0x30], esi
jmp 0x18002fc0a
mov eax, 1
mov ecx, eax
call fcn.18002cd50
mov ebx, eax
jmp 0x18002fc0a
mov ecx, edi
call fcn.18002cd50
mov ebx, eax
jmp 0x18002fc08
mov ecx, eax
call fcn.18002cd50
mov ebx, eax
mov dword [rbp - 0x18], esi
jmp 0x18002fc0a
mov ebx, 0x80020009
xor esi, esi
test r12, r12
je 0x18002fc1d
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.180038940
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.18001e280
int3
mov ecx, 0x80004005
call fcn.18001e280
int3
mov ecx, 0x80070057
call fcn.18001e280
int3