Function at 0x18000cf80
Capabilities:
Delete registry key
Delete registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x10d8]
mov eax, 0x11d8
call fcn.180014130
sub rsp, rax
mov rax, qword [0x1800ccee8]
xor rax, rsp
mov qword [rbp + 0x10c0], 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.180007be0
mov ebx, eax
test eax, eax
js 0x18000de0d
cmp byte [r15], 0x7d
je 0x18000de0d
mov r13d, 1
lea rdx, [0x180062cd0]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
sete sil
lea rdx, [0x180062ca0]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x18000d025
test esi, esi
je 0x18000d24a
mov rbx, r15
nop dword [rax + rax]
mov rdi, qword [r14]
movsx ecx, byte [rdi]
mov edx, ecx
sub edx, 9
je 0x18000d04c
sub edx, r13d
je 0x18000d04c
sub edx, 3
je 0x18000d04c
cmp edx, 0x13
jne 0x18000d05a
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextA]
mov qword [r14], rax
jmp 0x18000d030
test cl, cl
je 0x18000de08
cmp cl, 0x27
jne 0x18000d116
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextA]
mov r8, rax
mov qword [r14], rax
movzx eax, byte [rax]
test al, al
je 0x18000d0f9
cmp al, 0x27
jne 0x18000d093
mov rcx, r8
call qword [sym.imp.USER32.dll_CharNextA]
cmp byte [rax], 0x27
jne 0x18000d0f9
mov rdi, qword [r14]
cmp byte [rdi], 0x27
jne 0x18000d0aa
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextA]
mov qword [r14], rax
mov rdi, rax
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextA]
mov r8, rax
mov qword [r14], rax
mov rdx, rax
sub rdx, rdi
lea rcx, [rbx + 1]
add rcx, rdx
lea rax, [r15 + 0x1000]
cmp rcx, rax
jae 0x18000de08
test edx, edx
jle 0x18000d0f1
sub rdi, rbx
mov ecx, edx
nop
movzx eax, byte [rdi + rbx]
mov byte [rbx], al
inc rbx
sub rcx, r13
jne 0x18000d0e0
mov r8, qword [r14]
movzx eax, byte [r8]
test al, al
jne 0x18000d081
mov rax, qword [r14]
cmp byte [rax], 0
je 0x18000de08
mov byte [rbx], 0
mov rcx, qword [r14]
call qword [sym.imp.USER32.dll_CharNextA]
mov qword [r14], rax
jmp 0x18000d18e
movsx ecx, cl
sub ecx, 9
je 0x18000d18b
sub ecx, r13d
je 0x18000d18b
sub ecx, 3
je 0x18000d18b
cmp ecx, 0x13
je 0x18000d18b
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextA]
mov rdx, rax
mov qword [r14], rax
mov r8, rax
sub r8, rdi
lea rcx, [rbx + 1]
add rcx, r8
lea rax, [r15 + 0x1000]
cmp rcx, rax
jae 0x18000de08
test r8d, r8d
jle 0x18000d181
sub rdi, rbx
mov ecx, r8d
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rdi + rbx]
mov byte [rbx], al
inc rbx
sub rcx, r13
jne 0x18000d170
mov rdx, qword [r14]
movzx ecx, byte [rdx]
mov rdi, rdx
test cl, cl
jne 0x18000d116
mov byte [rbx], 0
mov edi, dword [rsp + 0x70]
test edi, edi
je 0x18000d24a
xor eax, eax
mov qword [rbp - 0x68], rax
mov dword [rbp - 0x60], eax
mov qword [rbp - 0x58], rax
mov rcx, r15
movzx eax, byte [r15]
test al, al
je 0x18000d1d1
cmp al, 0x5c
je 0x18000d1c8
call qword [sym.imp.USER32.dll_CharNextA]
mov rcx, rax
movzx eax, byte [rax]
test al, al
jne 0x18000d1b2
jmp 0x18000d1d1
test rcx, rcx
jne 0x18000de08
lea rbx, str.AppID
nop dword [rax + rax]
mov rdx, qword [rbx]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x18000d215
add rbx, 8
lea rax, str.af_za
cmp rbx, rax
jl 0x18000d1e0
mov rax, qword [rsp + 0x68]
mov qword [rbp - 0x68], rax
mov rdx, r15
lea rcx, [rbp - 0x68]
call fcn.18000c430
test esi, esi
je 0x18000d24a
mov rdx, r15
mov rcx, r14
call fcn.180007be0
mov ebx, eax
test eax, eax
js 0x18000de0d
mov rdx, r15
mov rcx, r14
call fcn.18000e810
mov ebx, eax
test eax, eax
js 0x18000de0d
xor esi, esi
jmp 0x18000da68
lea rdx, [0x180062cb8]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
xor esi, esi
test eax, eax
jne 0x18000d3cf
mov r13d, esi
mov rbx, r15
nop word [rax + rax]
mov rdi, qword [r14]
movsx ecx, byte [rdi]
mov edx, ecx
sub edx, 9
je 0x18000d28c
sub edx, 1
je 0x18000d28c
sub edx, 3
je 0x18000d28c
cmp edx, 0x13
jne 0x18000d29a
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextA]
mov qword [r14], rax
jmp 0x18000d270
test cl, cl
je 0x18000de08
cmp cl, 0x27
jne 0x18000d357
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextA]
mov rdx, rax
mov qword [r14], rax
movzx eax, byte [rax]
test al, al
je 0x18000d33a
cmp al, 0x27
jne 0x18000d2d3
mov rcx, rdx
call qword [sym.imp.USER32.dll_CharNextA]
cmp byte [rax], 0x27
jne 0x18000d33a
mov rdi, qword [r14]
cmp byte [rdi], 0x27
jne 0x18000d2ea
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextA]
mov qword [r14], rax
mov rdi, rax
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextA]
mov rdx, rax
mov qword [r14], rax
mov r8, rax
sub r8, rdi
lea rcx, [rbx + 1]
add rcx, r8
lea rax, [r15 + 0x1000]
cmp rcx, rax
jae 0x18000de08
test r8d, r8d
jle 0x18000d333
sub rdi, rbx
mov ecx, r8d
movzx eax, byte [rdi + rbx]
mov byte [rbx], al
inc rbx
sub rcx, 1
jne 0x18000d321
mov rdx, qword [r14]
movzx eax, byte [rdx]
test al, al
jne 0x18000d2c1
mov rax, qword [r14]
cmp byte [rax], sil
je 0x18000de08
mov byte [rbx], sil
mov rcx, qword [r14]
call qword [sym.imp.USER32.dll_CharNextA]
mov qword [r14], rax
jmp 0x18000d3cf
movsx ecx, cl
sub ecx, 9
je 0x18000d3cc
sub ecx, 1
je 0x18000d3cc
sub ecx, 3
je 0x18000d3cc
cmp ecx, 0x13
je 0x18000d3cc
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextA]
mov rdx, rax
mov qword [r14], rax
mov r8, rax
sub r8, rdi
lea rcx, [rbx + 1]
add rcx, r8
lea rax, [r15 + 0x1000]
cmp rcx, rax
jae 0x18000de08
test r8d, r8d
jle 0x18000d3c2
sub rdi, rbx
mov ecx, r8d
nop word [rax + rax]
movzx eax, byte [rdi + rbx]
mov byte [rbx], al
inc rbx
sub rcx, 1
jne 0x18000d3b0
mov rdx, qword [r14]
movzx ecx, byte [rdx]
mov rdi, rdx
test cl, cl
jne 0x18000d357
mov byte [rbx], sil
lea rdx, [0x180062c90]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x18000d773
lea rbx, [rbp + 0xc0]
nop
mov rdi, qword [r14]
movsx ecx, byte [rdi]
mov edx, ecx
sub edx, 9
je 0x18000d40c
sub edx, 1
je 0x18000d40c
sub edx, 3
je 0x18000d40c
cmp edx, 0x13
jne 0x18000d41a
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextA]
mov qword [r14], rax
jmp 0x18000d3f0
test cl, cl
je 0x18000de08
cmp cl, 0x27
jne 0x18000d4d0
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextA]
mov rdx, rax
mov qword [r14], rax
movzx eax, byte [rax]
test al, al
je 0x18000d4b6
cmp al, 0x27
jne 0x18000d453
mov rcx, rdx
call qword [sym.imp.USER32.dll_CharNextA]
cmp byte [rax], 0x27
jne 0x18000d4b6
mov rdi, qword [r14]
cmp byte [rdi], 0x27
jne 0x18000d46a
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextA]
mov qword [r14], rax
mov rdi, rax
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextA]
mov rdx, rax
mov qword [r14], rax
mov rcx, rax
sub rcx, rdi
lea rax, [rbx + 1]
add rax, rcx
lea r8, [rbp + 0x10c0]
cmp rax, r8
jae 0x18000de08
test ecx, ecx
jle 0x18000d4af
sub rdi, rbx
mov ecx, ecx
nop
movzx eax, byte [rdi + rbx]
mov byte [rbx], al
inc rbx
sub rcx, 1
jne 0x18000d4a0
movzx eax, byte [rdx]
test al, al
jne 0x18000d441
mov rcx, qword [r14]
cmp byte [rcx], 0
je 0x18000de08
mov byte [rbx], 0
call qword [sym.imp.USER32.dll_CharNextA]
mov qword [r14], rax
jmp 0x18000d53d
movsx ecx, cl
sub ecx, 9
je 0x18000d53a
sub ecx, 1
je 0x18000d53a
sub ecx, 3
je 0x18000d53a
cmp ecx, 0x13
je 0x18000d53a
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextA]
mov r8, rax
mov qword [r14], rax
mov rdx, rax
sub rdx, rdi
lea rcx, [rbx + 1]
add rcx, rdx
lea rax, [rbp + 0x10c0]
cmp rcx, rax
jae 0x18000de08
test edx, edx
jle 0x18000d52f
sub rdi, rbx
mov ecx, edx
nop dword [rax]
movzx eax, byte [rdi + rbx]
mov byte [rbx], al
inc rbx
sub rcx, 1
jne 0x18000d520
movzx ecx, byte [r8]
mov rdi, r8
test cl, cl
jne 0x18000d4d0
mov byte [rbx], 0
mov rbx, r15
mov rdi, qword [r14]
movsx ecx, byte [rdi]
mov edx, ecx
sub edx, 9
je 0x18000d55c
sub edx, 1
je 0x18000d55c
sub edx, 3
je 0x18000d55c
cmp edx, 0x13
jne 0x18000d56a
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextA]
mov qword [r14], rax
jmp 0x18000d540
test cl, cl
je 0x18000de08
cmp cl, 0x27
jne 0x18000d640
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextA]
mov rdx, rax
mov qword [r14], rax
movzx eax, byte [rax]
test al, al
je 0x18000d61d
cmp al, 0x27
jne 0x18000d5a7
mov rcx, rdx
call qword [sym.imp.USER32.dll_CharNextA]
cmp byte [rax], 0x27
jne 0x18000d61d
mov rdi, qword [r14]
cmp byte [rdi], 0x27
jne 0x18000d5be
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextA]
mov qword [r14], rax
mov rdi, rax
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextA]
mov rdx, rax
mov qword [r14], rax
mov r8, rax
sub r8, rdi
lea rcx, [rbx + 1]
add rcx, r8
lea rax, [r15 + 0x1000]
cmp rcx, rax
jae 0x18000de08
test r8d, r8d
jle 0x18000d612
sub rdi, rbx
mov ecx, r8d
nop word [rax + rax]
movzx eax, byte [rdi + rbx]
mov byte [rbx], al
inc rbx
sub rcx, 1
jne 0x18000d600
mov rdx, qword [r14]
movzx eax, byte [rdx]
test al, al
jne 0x18000d595
mov rax, qword [r14]
cmp byte [rax], 0
je 0x18000de08
mov byte [rbx], 0
mov rcx, qword [r14]
call qword [sym.imp.USER32.dll_CharNextA]
mov qword [r14], rax
jmp 0x18000d6af
movsx ecx, cl
sub ecx, 9
je 0x18000d6ac
sub ecx, 1
je 0x18000d6ac
sub ecx, 3
je 0x18000d6ac
cmp ecx, 0x13
je 0x18000d6ac
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextA]
mov rdx, rax
mov qword [r14], rax
mov r8, rax
sub r8, rdi
lea rcx, [rbx + 1]
add rcx, r8
lea rax, [r15 + 0x1000]
cmp rcx, rax
jae 0x18000de08
test r8d, r8d
jle 0x18000d6a2
sub rdi, rbx
mov ecx, r8d
nop
movzx eax, byte [rdi + rbx]
mov byte [rbx], al
inc rbx
sub rcx, 1
jne 0x18000d690
mov rdx, qword [r14]
movzx ecx, byte [rdx]
mov rdi, rdx
test cl, cl
jne 0x18000d640
mov byte [rbx], 0
cmp byte [r15], 0x3d
jne 0x18000de08
mov edi, dword [rsp + 0x70]
test edi, edi
je 0x18000d6ee
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 + 0xc0]
lea rdx, [rbp - 0x68]
mov rcx, r14
call fcn.180002e30
mov ebx, eax
jmp 0x18000da60
cmp dword [rbp + 0x1140], 0
jne 0x18000d757
test r13d, r13d
je 0x18000d757
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_RegOpenKeyExA]
test eax, eax
jne 0x18000ddfd
mov rdi, qword [rsp + 0x60]
lea rdx, [rbp + 0xc0]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, 0xfffffffd
jne 0x18000dddf
test rdi, rdi
je 0x18000d757
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, r15
mov rcx, r14
call fcn.18000e810
mov ebx, eax
test eax, eax
js 0x18000de0d
xor esi, esi
jmp 0x18000cfe3
mov rcx, r15
movzx eax, byte [r15]
test al, al
je 0x18000d79f
nop
cmp al, 0x5c
je 0x18000d796
call qword [sym.imp.USER32.dll_CharNextA]
mov rcx, rax
movzx eax, byte [rax]
test al, al
jne 0x18000d780
jmp 0x18000d79f
test rcx, rcx
jne 0x18000de08
mov edi, dword [rsp + 0x70]
test edi, edi
je 0x18000dac3
mov qword [rsp + 0x60], rsi
mov rbx, qword [rbp - 0x78]
test rbx, rbx
je 0x18000d827
cmp qword [rbx], 0
je 0x18000d81a
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x18000d871
lea rdx, str.RegOpenKeyTransactedA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r10, rax
test rax, rax
je 0x18000d820
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 0x18000d848
cmp dword [rbx + 8], 0
jne 0x18000d827
mov eax, 1
jmp 0x18000d848
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_RegOpenKeyExA]
test eax, eax
jne 0x18000d871
mov eax, esi
test r12, r12
je 0x18000d85c
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [rbp - 0x80], esi
mov r12, qword [rsp + 0x60]
mov qword [rsp + 0x78], r12
test eax, eax
je 0x18000da2b
mov qword [rsp + 0x60], rsi
test rbx, rbx
je 0x18000d8e9
cmp qword [rbx], 0
je 0x18000d8dc
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x18000d933
lea rdx, str.RegOpenKeyTransactedA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r10, rax
test rax, rax
je 0x18000d8e2
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 0x18000d90a
cmp dword [rbx + 8], 0
jne 0x18000d8e9
mov eax, 1
jmp 0x18000d90a
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_RegOpenKeyExA]
test eax, eax
jne 0x18000d933
mov eax, esi
test r12, r12
je 0x18000d91e
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [rbp - 0x80], esi
mov r12, qword [rsp + 0x60]
mov qword [rsp + 0x78], r12
test eax, eax
je 0x18000da2b
mov qword [rsp + 0x60], rsi
test rbx, rbx
je 0x18000d9c6
cmp qword [rbx], 0
je 0x18000d9b9
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x18000ddf8
lea rdx, str.RegCreateKeyTransactedA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r10, rax
test rax, rax
je 0x18000d9bf
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 0x18000d9fe
cmp dword [rbx + 8], 0
jne 0x18000d9c6
mov eax, 1
jmp 0x18000d9fe
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_RegCreateKeyExA]
test eax, eax
jne 0x18000ddfd
mov eax, esi
test r12, r12
je 0x18000da16
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [rbp - 0x80], esi
mov r12, qword [rsp + 0x60]
mov qword [rsp + 0x78], r12
test eax, eax
jne 0x18000ddfd
mov rdx, r15
mov rcx, r14
call fcn.180007be0
mov ebx, eax
test eax, eax
js 0x18000de0d
cmp byte [r15], 0x3d
jne 0x18000da68
mov r9, r15
xor r8d, r8d
lea rdx, [rsp + 0x78]
mov rcx, r14
call fcn.180002e30
mov ebx, eax
mov r12, qword [rsp + 0x78]
test eax, eax
js 0x18000de0d
cmp byte [r15], 0x7b
jne 0x18000d76c
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp byte [r15 + rax], 0
jne 0x18000da80
cmp rax, 1
jne 0x18000d76c
mov dword [rsp + 0x20], esi
mov r9d, edi
mov r8, r12
mov rdx, r15
mov rcx, r14
call fcn.18000cf80
mov ebx, eax
test eax, eax
js 0x18000de0d
mov rdx, r15
mov rcx, r14
call fcn.180007be0
jmp 0x18000d762
mov eax, dword [rbp + 0x1140]
test eax, eax
jne 0x18000dba5
mov qword [rsp + 0x60], rsi
mov rbx, qword [rbp - 0x78]
test rbx, rbx
je 0x18000db57
cmp qword [rbx], 0
je 0x18000db4a
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
jne 0x18000db05
lea edi, [rax + 1]
mov eax, dword [rbp + 0x1140]
jmp 0x18000dbaa
lea rdx, str.RegOpenKeyTransactedA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r10, rax
test rax, rax
je 0x18000db50
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 0x18000db78
cmp dword [rbx + 8], 0
jne 0x18000db57
mov edi, 1
jmp 0x18000db7a
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_RegOpenKeyExA]
mov edi, eax
test edi, edi
jne 0x18000db9d
mov edi, esi
test r12, r12
je 0x18000db90
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, eax
mov dword [rbp - 0x80], esi
mov r12, qword [rsp + 0x60]
mov qword [rsp + 0x78], r12
mov eax, dword [rbp + 0x1140]
jmp 0x18000dbaa
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.180026920
test eax, eax
je 0x18000dbf4
cmp eax, 0xc
je 0x18000de40
cmp eax, 0x16
je 0x18000de56
cmp eax, 0x22
je 0x18000de56
cmp eax, 0x50
jne 0x18000de4b
mov rdx, r15
mov rcx, r14
call fcn.180007be0
mov ebx, eax
test eax, eax
js 0x18000de0d
mov rdx, r15
mov rcx, r14
call fcn.18000e810
mov ebx, eax
test eax, eax
js 0x18000de0d
cmp byte [r15], 0x7b
jne 0x18000dc78
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp byte [r15 + rax], 0
jne 0x18000dc30
cmp rax, 1
jne 0x18000dc78
mov dword [rsp + 0x20], esi
xor r9d, r9d
mov r8, r12
mov rdx, r15
mov rcx, r14
call fcn.18000cf80
mov ebx, eax
test eax, eax
jns 0x18000dc63
test esi, esi
je 0x18000de0d
mov rdx, r15
mov rcx, r14
call fcn.180007be0
mov ebx, eax
test eax, eax
js 0x18000de0d
cmp edi, 2
je 0x18000d76c
test edi, edi
je 0x18000dca0
cmp dword [rbp + 0x1140], 0
jne 0x18000d76c
mov ecx, edi
call fcn.1800037f0
mov ebx, eax
jmp 0x18000de0d
xor esi, esi
cmp dword [rbp + 0x1140], esi
je 0x18000dd47
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 0x18000dd47
cmp dword [rsp + 0x60], esi
jbe 0x18000dd47
lea rdi, str.AppID
mov rdx, qword [rdi]
lea rcx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x18000cfe3
add rdi, 8
lea rax, str.af_za
cmp rdi, rax
jl 0x18000dd01
test r13d, r13d
je 0x18000cfe3
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x78]
call fcn.18000c430
mov r12, qword [rsp + 0x78]
jmp 0x18000cfe3
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 0x18000dd97
cmp dword [rsp + 0x60], eax
seta dil
mov eax, esi
test r12, r12
je 0x18000ddaf
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 0x18000ddfd
test r13d, r13d
je 0x18000cfe3
test edi, edi
jne 0x18000cfe3
lea rdx, [rbp - 0x50]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x18000ddfd
jmp 0x18000cfe3
mov ecx, eax
call fcn.1800037f0
mov ebx, eax
test rdi, rdi
je 0x18000de0d
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x18000de0d
mov eax, 1
mov ecx, eax
call fcn.1800037f0
mov ebx, eax
jmp 0x18000de0d
mov ebx, 0x80020009
test r12, r12
je 0x18000de1b
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rbp + 0x10c0]
xor rcx, rsp
call fcn.180014190
add rsp, 0x11d8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov ecx, 0x8007000e
call fcn.1800038b0
int3
mov ecx, 0x80004005
call fcn.1800038b0
int3
mov ecx, 0x80070057
call fcn.1800038b0
int3