Function at 0x14003bc60
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xa0
mov rax, qword [0x1400c7070]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov r14, rcx
add rcx, 0x48
call qword [sym.imp.KERNEL32.dll_TryEnterCriticalSection]
mov ebx, eax
xorps xmm0, xmm0
movups xmmword [rbp + 0x17], xmm0
xor r13d, r13d
mov qword [rbp + 0x17], r13
mov qword [rbp + 0x1f], r13
lea ecx, [r13 + 0x18]
call fcn.140062618
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rbp + 0x17], rax
test ebx, ebx
je 0x14003c0b0
mov qword [rbp + 7], r13
mov rcx, qword [r14 + 0x78]
test rcx, rcx
je 0x14003bcfa
lea rdx, [rbp + 7]
call fcn.14005bc00
test al, al
je 0x14003bcfa
mov rcx, qword [r14 + 0x78]
call fcn.140069370
mov rax, qword [rbp + 7]
mov qword [r14 + 0x78], rax
mov qword [rbp + 7], r13
mov rcx, qword [r14 + 0x80]
test rcx, rcx
je 0x14003bd2e
lea rdx, [rbp + 7]
call fcn.14005bc00
test al, al
je 0x14003bd2e
mov rcx, qword [r14 + 0x80]
call fcn.140069370
mov rax, qword [rbp + 7]
mov qword [r14 + 0x80], rax
mov rax, qword [r14 + 0x80]
mov qword [rsp + 0x20], rax
mov r9, qword [r14 + 0x78]
lea r8, str.RegDeleteValueRegex
mov edx, dword [r14 + 8]
lea rcx, str._i:__s_Sub_key:__s___Regex:__s._n
call fcn.14005cb30
mov qword [rbp + 7], r13
mov rcx, qword [r14 + 0x78]
test rcx, rcx
je 0x14003bd80
lea rdx, [rbp + 7]
call fcn.14005bc00
test al, al
je 0x14003bd80
mov rcx, qword [r14 + 0x78]
call fcn.140069370
mov rax, qword [rbp + 7]
mov qword [r14 + 0x78], rax
mov dword [rbp + 0xf], r13d
lea rcx, str.int_x86
call sym.Installer.exe_Get
mov rdx, qword [r14 + 0x78]
mov rcx, qword [r14 + 0x70]
xor r8d, r8d
test eax, eax
lea rax, [rbp + 7]
mov qword [rsp + 0x20], rax
mov r9d, 0xf013f
je 0x14003bdb4
mov r9d, 0xf003f
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x14003bdde
mov r9, qword [r14 + 0x78]
lea r8, str.RegDeleteValueRegex
mov edx, dword [r14 + 8]
lea rcx, str._i:__s_Could_not_open_key__s._n
call fcn.14005cb30
jmp 0x14003c072
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x48], r13
lea rax, [rbp + 0xf]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0x27]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp + 7]
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
je 0x14003be4e
mov r9, qword [r14 + 0x78]
lea r8, str.RegDeleteValueRegex
mov edx, dword [r14 + 8]
lea rcx, str._i:__s_Could_not_query_info_for_key__s._n
call fcn.14005cb30
mov rcx, qword [rbp + 7]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14003c072
mov eax, dword [rbp + 0xf]
inc eax
mov dword [rbp + 0xf], eax
mov ecx, eax
mov edx, 2
call fcn.140069790
mov r15, rax
mov ecx, dword [rbp + 0x27]
test ecx, ecx
je 0x14003c05b
mov esi, r13d
jle 0x14003bfc4
nop dword [rax]
mov word [r15], r13w
mov eax, dword [rbp + 0xf]
mov dword [rbp + 0x2b], eax
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
lea r9, [rbp + 0x2b]
mov r8, r15
mov edx, esi
mov rcx, qword [rbp + 7]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x14003bfc4
mov rcx, r15
mov rax, qword [r14 + 0x80]
mov r8, r13
mov r10, r13
cmp word [r15], r8w
je 0x14003bef8
nop
movzx edx, word [rax]
cmp dx, 0x2a
je 0x14003bef8
cmp dx, word [rcx]
je 0x14003bee8
cmp dx, 0x3f
jne 0x14003bfb9
add rax, 2
add rcx, 2
cmp word [rcx], r8w
jne 0x14003bed0
jmp 0x14003bf40
movzx edx, word [rcx]
test dx, dx
je 0x14003bf40
movzx r9d, word [rax]
cmp r9w, 0x2a
jne 0x14003bf1e
add rax, 2
cmp word [rax], 0
je 0x14003bf62
mov r10, rax
lea r8, [rcx + 2]
jmp 0x14003bf38
cmp r9w, dx
jne 0x14003bf2e
add rax, 2
add rcx, 2
jmp 0x14003bf38
mov rax, r10
mov rcx, r8
add r8, 2
movzx edx, word [rcx]
test dx, dx
jne 0x14003bf00
movzx ecx, word [rax]
cmp cx, 0x2a
jne 0x14003bf5d
nop dword [rax]
lea rax, [rax + 2]
movzx ecx, word [rax]
cmp cx, 0x2a
je 0x14003bf50
test cx, cx
jne 0x14003bfb9
mov rcx, r15
call fcn.140069798
mov rdi, rax
mov rbx, qword [rbp + 0x17]
movabs rax, 0xaaaaaaaaaaaaaaa
cmp qword [rbp + 0x1f], rax
je 0x14003c132
lea rax, [rbp + 0x17]
mov qword [rbp - 9], rax
mov qword [rbp - 1], r13
mov ecx, 0x18
call fcn.140062618
mov qword [rax + 0x10], rdi
inc qword [rbp + 0x1f]
mov rcx, qword [rbx + 8]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov qword [rbp - 1], r13
mov qword [rbx + 8], rax
mov qword [rcx], rax
inc esi
cmp esi, dword [rbp + 0x27]
jl 0x14003be80
mov rdi, qword [rbp + 7]
mov r8, qword [rbp + 0x17]
mov rbx, qword [r8]
cmp rbx, r8
je 0x14003bffc
nop dword [rax]
nop dword [rax + rax]
mov rdx, qword [rbx + 0x10]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov rax, qword [rbx]
mov rbx, rax
mov r8, qword [rbp + 0x17]
cmp rax, r8
jne 0x14003bfe0
mov ebx, r13d
mov rax, qword [rbp + 0x1f]
mov esi, eax
test eax, eax
jle 0x14003c05b
nop dword [rax]
mov r8, qword [r8 + 8]
mov rdi, qword [r8 + 0x10]
mov rcx, qword [r8]
dec rax
mov qword [rbp + 0x1f], rax
mov rax, qword [r8 + 8]
mov qword [rax], rcx
mov rax, qword [r8 + 8]
mov qword [rcx + 8], rax
mov edx, 0x18
mov rcx, r8
call fcn.140062610
test rdi, rdi
je 0x14003c04b
mov rcx, rdi
call fcn.140069370
inc ebx
cmp ebx, esi
jge 0x14003c05b
mov rax, qword [rbp + 0x1f]
mov r8, qword [rbp + 0x17]
jmp 0x14003c010
mov rcx, qword [rbp + 7]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test r15, r15
je 0x14003c072
mov rcx, r15
call fcn.140069370
mov byte [r14 + 0x10], 1
mov rax, qword [r14]
mov rcx, r14
mov rax, qword [rax + 0x18]
call qword [0x1400926f0]
mov r9d, eax
lea r8, str.RegDeleteValueRegex
mov edx, dword [r14 + 8]
lea rcx, str._i:__s_End_execute._Next_command__i._n
call fcn.14005cb30
lea rcx, [r14 + 0x48]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edi, r13d
jmp 0x14003c0cc
lea r8, str.RegDeleteValue
mov edx, dword [r14 + 8]
lea rcx, str._i:__s_Error:_Multiple_threads_attempting_execution._n
call fcn.14005cb30
mov edi, 0x54f
mov rcx, qword [rbp + 0x17]
mov rax, qword [rcx + 8]
mov qword [rax], r13
mov rcx, qword [rcx]
test rcx, rcx
je 0x14003c0f5
nop
mov rbx, qword [rcx]
mov edx, 0x18
call fcn.140062610
mov rcx, rbx
test rbx, rbx
jne 0x14003c0e0
mov edx, 0x18
mov rcx, qword [rbp + 0x17]
call fcn.140062610
mov eax, edi
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.1400625f0
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
lea rcx, str.list_too_long
call fcn.140060888
int3