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

Disassembly:
push rbp
push rbx
push rsi
push rdi
sub rsp, 0x318
lea rbp, [rsp + 0x60]
mov rax, qword [0x100007110]
xor rax, rbp
mov qword [rbp + 0x2a0], rax
mov rax, rdx
mov qword [rbp], rdx
xor edx, edx
mov rbx, rdx
mov rsi, rdx
mov qword [rbp + 0x70], rdx
mov qword [rbp + 0x78], rdx
mov qword [rbp + 0x80], rdx
mov qword [rbp + 0x40], rdx
mov edx, dword [rbp + 0x300]
mov dword [rbp + 0x28], r9d
mov qword [rbp + 0x30], r8
mov dword [rbp + 0x68], edx
mov rdx, rax
mov qword [rbp + 0x10], rcx
mov dword [rbp + 0x48], 1
call fcn.1000023c0
mov edi, eax
xor eax, eax
cmp edi, eax
jl 0x1000033a6
mov rax, qword [rbp]
cmp word [rax], 0x7d
je 0x1000033a6
mov rdi, qword [rbp]
lea rdx, [0x1000013e0]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
xor edx, edx
mov ecx, edx
cmp eax, edx
lea rdx, [0x100001408]
sete cl
mov dword [rbp + 0x20], ecx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
xor ecx, ecx
cmp eax, ecx
je 0x100003125
cmp dword [rbp + 0x20], ecx
je 0x1000031d9
mov rcx, qword [rbp + 0x10]
mov rdx, rdi
call fcn.1000023c0
xor edx, edx
cmp eax, edx
mov edi, eax
mov dword [rbp + 8], eax
jl 0x10000337b
mov rdi, qword [rbp]
cmp dword [rbp + 0x28], edx
je 0x1000031d9
movzx eax, word [rdi]
mov qword [rbp + 0x50], rdx
mov qword [rbp + 0x58], rdx
mov qword [rbp + 0x60], rdx
mov rcx, rdi
jmp 0x100003175
cmp ax, 0x5c
je 0x10000317c
call qword [sym.imp.USER32.dll_CharNextW]
xor edx, edx
mov rcx, rax
mov ax, word [rax]
cmp ax, dx
jne 0x100003161
jmp 0x100003185
cmp rcx, rdx
jne 0x100003997
lea rax, [0x100007130]
mov qword [rbp + 8], rax
mov rdx, qword [rax]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
xor ecx, ecx
cmp eax, ecx
je 0x1000031ce
mov rax, qword [rbp + 8]
lea rcx, [0x100007140]
add rax, 8
cmp rax, rcx
mov qword [rbp + 8], rax
jl 0x100003190
mov rax, qword [rbp + 0x30]
lea rcx, [rbp + 0x50]
mov rdx, rdi
mov qword [rbp + 0x50], rax
call fcn.100001ea8
xor eax, eax
cmp dword [rbp + 0x20], eax
jne 0x1000038fc
lea rdx, [0x1000013f0]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
xor ecx, ecx
cmp eax, ecx
jne 0x100003211
mov dword [rbp + 0x48], ecx
mov rcx, qword [rbp + 0x10]
mov rdx, rdi
call fcn.1000023c0
xor edx, edx
cmp eax, edx
mov edi, eax
mov dword [rbp + 8], eax
jl 0x10000337b
mov rdi, qword [rbp]
lea rdx, [0x100001420]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
xor edx, edx
cmp eax, edx
jne 0x1000033c3
mov rcx, qword [rbp + 0x10]
lea rdx, [rbp + 0x90]
call fcn.1000023c0
xor edx, edx
cmp eax, edx
mov edi, eax
mov dword [rbp + 8], eax
jl 0x10000337b
mov rdx, qword [rbp]
mov rcx, qword [rbp + 0x10]
call fcn.1000023c0
xor edx, edx
cmp eax, edx
mov edi, eax
mov dword [rbp + 8], eax
jl 0x10000337b
mov rax, qword [rbp]
cmp word [rax], 0x3d
jne 0x1000039f4
cmp dword [rbp + 0x28], edx
je 0x1000032e4
mov rcx, qword [rbp + 0x30]
mov qword [rbp + 0x58], rdx
mov qword [rbp + 0x60], rdx
mov qword [rbp + 0x50], rcx
mov rcx, qword [rbp + 0x10]
mov byte [rsp + 0x20], dl
lea r8, [rbp + 0x90]
lea rdx, [rbp + 0x50]
mov r9, rax
call fcn.100002548
xor edx, edx
cmp eax, edx
mov edi, eax
mov dword [rbp + 8], eax
jge 0x100003933
cmp rsi, rdx
je 0x1000032c3
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edx, edx
cmp rbx, rdx
je 0x1000033a6
xor edi, edi
mov rcx, rbx
mov rbx, qword [rbx]
call qword [sym.imp.msvcrt.dll_free]
cmp rbx, rdi
jne 0x1000032ce
jmp 0x1000033a3
cmp dword [rbp + 0x300], edx
jne 0x100003360
mov rcx, qword [rbp + 0x30]
lea rax, [rbp + 0x18]
mov r9d, 0x20006
xor r8d, r8d
mov rdi, rdx
mov qword [rbp + 0x20], rdx
mov qword [rsp + 0x20], rax
mov qword [rbp + 0x18], rdx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor edx, edx
cmp eax, edx
jne 0x1000039c9
mov rdi, qword [rbp + 0x18]
mov eax, edx
mov qword [rbp + 0x20], rdi
cmp eax, edx
jne 0x1000039c9
lea rdx, [rbp + 0x90]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
xor edx, edx
cmp eax, edx
je 0x10000334e
cmp eax, 2
jne 0x1000039c9
cmp rdi, rdx
je 0x10000335c
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, qword [rbp]
mov rdx, rax
mov rcx, qword [rbp + 0x10]
call fcn.100002b88
xor edx, edx
mov edi, eax
mov dword [rbp + 8], eax
cmp eax, edx
jge 0x100003984
cmp rsi, rdx
je 0x10000338b
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edx, edx
cmp rbx, rdx
je 0x1000033a6
xor edi, edi
mov rcx, rbx
mov rbx, qword [rbx]
call qword [sym.imp.msvcrt.dll_free]
cmp rbx, rdi
jne 0x100003392
mov edi, dword [rbp + 8]
mov eax, edi
mov rcx, qword [rbp + 0x2a0]
xor rcx, rbp
call fcn.100005150
lea rsp, [rbp + 0x2b8]
pop rdi
pop rsi
pop rbx
pop rbp
ret
movzx eax, word [rdi]
mov rcx, rdi
jmp 0x1000033df
cmp ax, 0x5c
je 0x1000033e6
call qword [sym.imp.USER32.dll_CharNextW]
xor edx, edx
mov rcx, rax
mov ax, word [rax]
cmp ax, dx
jne 0x1000033cb
jmp 0x1000033ef
cmp rcx, rdx
jne 0x100003a1e
cmp dword [rbp + 0x28], edx
je 0x10000356d
mov rcx, qword [rbp + 0x30]
lea rax, [rbp + 0x18]
mov qword [rbp + 0x18], rdx
mov r9d, 0xf003f
xor r8d, r8d
mov rdx, rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor ecx, ecx
cmp eax, ecx
jne 0x100003443
mov eax, ecx
cmp rsi, rcx
je 0x100003433
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ecx, ecx
mov rsi, qword [rbp + 0x18]
mov qword [rbp + 0x70], rsi
cmp eax, ecx
je 0x1000034f3
mov qword [rbp + 0x18], rcx
mov rcx, qword [rbp + 0x30]
lea rax, [rbp + 0x18]
mov r9d, 0x20019
xor r8d, r8d
mov rdx, rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor ecx, ecx
cmp eax, ecx
jne 0x10000348a
mov eax, ecx
cmp rsi, rcx
je 0x10000347e
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ecx, ecx
mov rsi, qword [rbp + 0x18]
mov qword [rbp + 0x70], rsi
cmp eax, ecx
je 0x1000034f3
lea rax, [rbp + 0x88]
mov qword [rbp + 0x18], rcx
xor r9d, r9d
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0x18]
xor r8d, r8d
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], ecx
mov rcx, qword [rbp + 0x30]
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
xor ecx, ecx
cmp eax, ecx
jne 0x100003a4b
mov eax, ecx
cmp rsi, rcx
je 0x1000034e3
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ecx, ecx
mov rsi, qword [rbp + 0x18]
mov qword [rbp + 0x70], rsi
cmp eax, ecx
jne 0x100003a4b
cmp word [rdi], 0x4c
mov byte [rbp + 0x38], cl
je 0x100003502
cmp word [rdi], 0x6c
jne 0x100003525
lea rdx, [0x1000017d8]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov ecx, dword [rbp + 0x38]
test eax, eax
movzx ecx, cl
mov eax, 1
cmove ecx, eax
mov dword [rbp + 0x38], ecx
mov rcx, qword [rbp + 0x10]
mov rdx, rdi
call fcn.1000023c0
xor edx, edx
cmp eax, edx
mov edi, eax
mov dword [rbp + 8], eax
jl 0x10000337b
mov rax, qword [rbp]
cmp word [rax], 0x3d
jne 0x100003937
mov ecx, dword [rbp + 0x38]
lea rdx, [rbp + 0x70]
mov r9, rax
mov byte [rsp + 0x20], cl
mov rcx, qword [rbp + 0x10]
xor r8d, r8d
call fcn.100002548
jmp 0x100003924
cmp dword [rbp + 0x300], edx
jne 0x1000035c6
mov rcx, qword [rbp + 0x30]
lea rax, [rbp + 0x18]
mov qword [rbp + 0x18], rdx
mov r9d, 0x20019
xor r8d, r8d
mov rdx, rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor edx, edx
cmp eax, edx
jne 0x1000035bc
mov eax, edx
cmp rsi, rdx
je 0x1000035b0
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edx, edx
mov rsi, qword [rbp + 0x18]
mov qword [rbp + 0x70], rsi
cmp eax, edx
je 0x1000035c6
mov dword [rbp + 0x300], 1
mov rcx, qword [rbp + 0x40]
cmp rcx, rdx
jne 0x10000361e
mov ecx, 0x208
call fcn.100001c38
xor ecx, ecx
cmp al, cl
je 0x1000035f3
mov eax, dword [rsp]
mov eax, 0x210
sub rsp, rax
lea rcx, [rsp + 0x60]
mov eax, dword [rcx]
jmp 0x10000360f
mov ecx, 0x218
call qword [sym.imp.msvcrt.dll_malloc]
xor ecx, ecx
cmp rax, rcx
je 0x10000360f
mov qword [rax], rbx
lea rcx, [rax + 0x10]
mov rbx, rax
xor eax, eax
mov qword [rbp + 0x40], rcx
cmp rcx, rax
je 0x100003a7c
mov r8d, 0x104
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcpynW]
xor eax, eax
cmp dword [rbp + 0x300], eax
jne 0x10000375d
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rax
mov dword [rbp + 0x20], eax
lea rax, [rbp + 0x20]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
xor ecx, ecx
cmp eax, ecx
jl 0x100003691
cmp dword [rbp + 0x20], ecx
mov eax, ecx
seta al
cmp eax, ecx
jne 0x10000375d
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x40], rcx
lea rax, [rbp + 0x20]
mov dword [rbp + 0x20], ecx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rcx
xor r9d, r9d
xor r8d, r8d
mov rcx, rsi
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
xor edx, edx
cmp eax, edx
jne 0x1000038bb
mov ecx, dword [rbp + 0x20]
lea eax, [rdx + 1]
cmp ecx, eax
jne 0x10000374e
mov ecx, 0x2000
mov dword [rbp + 8], 0x1000
call qword [sym.imp.msvcrt.dll_malloc]
xor edx, edx
mov qword [rbp + 0x18], rax
cmp rax, rdx
je 0x1000038bb
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rdx
lea r9, [rbp + 8]
mov r8, rax
mov rcx, rsi
mov qword [rsp + 0x20], rdx
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov rcx, qword [rbp + 0x18]
xor edx, edx
cmp eax, edx
jne 0x100003741
cmp word [rcx], dx
je 0x100003741
call qword [sym.imp.msvcrt.dll_free]
jmp 0x10000375d
call qword [sym.imp.msvcrt.dll_free]
xor edx, edx
jmp 0x1000038bb
cmp ecx, edx
mov eax, edx
seta al
cmp eax, edx
je 0x1000038bb
mov rcx, qword [rbp + 0x10]
mov rdx, rdi
call fcn.1000023c0
xor edx, edx
cmp eax, edx
mov edi, eax
mov dword [rbp + 8], eax
jl 0x10000337b
mov rdx, qword [rbp]
mov rcx, qword [rbp + 0x10]
call fcn.100002b88
xor edx, edx
cmp eax, edx
mov edi, eax
mov dword [rbp + 8], eax
jl 0x10000337b
mov rax, qword [rbp]
cmp word [rax], 0x7b
jne 0x100003800
mov eax, dword [rbp + 0x300]
mov rdx, qword [rbp]
mov rcx, qword [rbp + 0x10]
xor r9d, r9d
mov r8, rsi
mov dword [rsp + 0x20], eax
call fcn.100003064
xor edx, edx
cmp eax, edx
mov edi, eax
mov dword [rbp + 8], eax
jl 0x10000337b
cmp dword [rbp + 0x300], edx
je 0x10000380c
mov eax, dword [rbp + 0x68]
mov rdx, qword [rbp]
mov rcx, qword [rbp + 0x10]
mov dword [rbp + 0x300], eax
call fcn.1000023c0
xor edx, edx
cmp eax, edx
mov edi, eax
mov dword [rbp + 8], eax
jl 0x10000337b
mov rdx, qword [rbp]
jmp 0x100003363
cmp dword [rbp + 0x300], edx
jne 0x100003988
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rdx
lea rax, [rbp + 0x20]
mov dword [rbp + 0x20], edx
xor edx, edx
xor r9d, r9d
xor r8d, r8d
mov rcx, rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
xor edx, edx
cmp eax, edx
jl 0x1000038ab
cmp dword [rbp + 0x20], edx
mov eax, edx
seta al
cmp eax, edx
je 0x1000038ab
lea rdi, [0x100007130]
mov rdx, qword [rdi]
mov rcx, qword [rbp + 0x40]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
xor ecx, ecx
cmp eax, ecx
je 0x100003899
lea rax, [0x100007140]
add rdi, 8
cmp rdi, rax
jl 0x100003865
mov rdx, qword [rbp + 0x40]
lea rcx, [rbp + 0x70]
call fcn.100001ea8
mov rsi, qword [rbp + 0x70]
mov rdx, qword [rbp]
mov rcx, qword [rbp + 0x10]
call fcn.1000023c0
jmp 0x10000336c
cmp dword [rbp + 0x300], edx
jne 0x100003984
mov rdi, qword [rbp]
cmp rsi, rdx
je 0x1000038da
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edx, edx
mov rsi, rdx
mov qword [rbp + 0x70], rdx
cmp eax, edx
jne 0x100003aa9
cmp dword [rbp + 0x48], edx
je 0x1000038fc
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x58], rdx
mov qword [rbp + 0x60], rdx
mov rdx, qword [rbp + 0x40]
lea rcx, [rbp + 0x50]
mov qword [rbp + 0x50], rax
call fcn.100001df8
mov rcx, qword [rbp + 0x10]
mov rdx, rdi
call fcn.1000023c0
xor edx, edx
cmp eax, edx
mov dword [rbp + 8], eax
mov edi, eax
jl 0x10000337b
mov rdx, qword [rbp]
mov rcx, qword [rbp + 0x10]
call fcn.100002b88
xor edx, edx
mov edi, eax
mov dword [rbp + 8], eax
cmp eax, edx
jl 0x10000337b
mov rax, qword [rbp]
cmp dword [rbp + 0x28], edx
je 0x100003984
cmp word [rax], 0x7b
jne 0x100003984
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, 1
cmp eax, ecx
jne 0x100003982
mov r9d, dword [rbp + 0x28]
mov rdx, qword [rbp]
mov rcx, qword [rbp + 0x10]
xor eax, eax
mov r8, rsi
mov dword [rsp + 0x20], eax
call fcn.100003064
xor edx, edx
cmp eax, edx
mov edi, eax
mov dword [rbp + 8], eax
jl 0x10000337b
jmp 0x100003899
xor edx, edx
mov rax, qword [rbp]
cmp word [rax], 0x7d
je 0x10000337b
jmp 0x1000030e6
cmp rsi, rdx
je 0x1000039a7
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edx, edx
cmp rbx, rdx
je 0x1000039bf
mov rcx, rbx
mov rbx, qword [rbx]
call qword [sym.imp.msvcrt.dll_free]
xor eax, eax
cmp rbx, rax
jne 0x1000039ac
mov eax, 0x80020009
jmp 0x1000033a8
mov rcx, qword [rbp + 0x20]
movzx edi, ax
or edi, 0x80070000
cmp eax, edx
cmovle edi, eax
mov dword [rbp + 8], edi
cmp rcx, rdx
je 0x10000337b
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edx, edx
jmp 0x10000337b
cmp rsi, rdx
je 0x100003a04
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edx, edx
cmp rbx, rdx
je 0x1000039bf
mov rcx, rbx
mov rbx, qword [rbx]
call qword [sym.imp.msvcrt.dll_free]
xor eax, eax
cmp rbx, rax
jne 0x100003a09
jmp 0x1000039bf
cmp rsi, rdx
je 0x100003a2e
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edx, edx
cmp rbx, rdx
je 0x1000039bf
mov rcx, rbx
mov rbx, qword [rbx]
call qword [sym.imp.msvcrt.dll_free]
xor eax, eax
cmp rbx, rax
jne 0x100003a33
jmp 0x1000039bf
cmp rsi, rcx
je 0x100003a5b
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ecx, ecx
cmp rbx, rcx
je 0x1000039bf
mov rcx, rbx
mov rbx, qword [rbx]
call qword [sym.imp.msvcrt.dll_free]
xor eax, eax
cmp rbx, rax
jne 0x100003a64
jmp 0x1000039bf
xor edi, edi
cmp rsi, rdi
je 0x100003a9a
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x100003a9a
mov rcx, rbx
mov rbx, qword [rbx]
call qword [sym.imp.msvcrt.dll_free]
cmp rbx, rdi
jne 0x100003a8e
mov eax, 0x8007000e
jmp 0x1000033a8
cmp rbx, rdx
je 0x1000039bf
mov rcx, rbx
mov rbx, qword [rbx]
call qword [sym.imp.msvcrt.dll_free]
xor eax, eax
cmp rbx, rax
jne 0x100003ab2
jmp 0x1000039bf