Function at 0x10000bc2c
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 [0x100011100]
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.10000af88
mov edi, eax
xor eax, eax
cmp edi, eax
jl 0x10000bf6e
mov rax, qword [rbp]
cmp word [rax], 0x7d
je 0x10000bf6e
mov rdi, qword [rbp]
lea rdx, [0x100001a30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
xor edx, edx
mov ecx, edx
cmp eax, edx
lea rdx, [0x100001a58]
sete cl
mov dword [rbp + 0x20], ecx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
xor ecx, ecx
cmp eax, ecx
je 0x10000bced
cmp dword [rbp + 0x20], ecx
je 0x10000bda1
mov rcx, qword [rbp + 0x10]
mov rdx, rdi
call fcn.10000af88
xor edx, edx
cmp eax, edx
mov edi, eax
mov dword [rbp + 8], eax
jl 0x10000bf43
mov rdi, qword [rbp]
cmp dword [rbp + 0x28], edx
je 0x10000bda1
movzx eax, word [rdi]
mov qword [rbp + 0x50], rdx
mov qword [rbp + 0x58], rdx
mov qword [rbp + 0x60], rdx
mov rcx, rdi
jmp 0x10000bd3d
cmp ax, 0x5c
je 0x10000bd44
call qword [sym.imp.USER32.dll_CharNextW]
xor edx, edx
mov rcx, rax
mov ax, word [rax]
cmp ax, dx
jne 0x10000bd29
jmp 0x10000bd4d
cmp rcx, rdx
jne 0x10000c55f
lea rax, [0x100011130]
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 0x10000bd96
mov rax, qword [rbp + 8]
lea rcx, [0x100011140]
add rax, 8
cmp rax, rcx
mov qword [rbp + 8], rax
jl 0x10000bd58
mov rax, qword [rbp + 0x30]
lea rcx, [rbp + 0x50]
mov rdx, rdi
mov qword [rbp + 0x50], rax
call fcn.10000aa70
xor eax, eax
cmp dword [rbp + 0x20], eax
jne 0x10000c4c4
lea rdx, [0x100001a40]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
xor ecx, ecx
cmp eax, ecx
jne 0x10000bdd9
mov dword [rbp + 0x48], ecx
mov rcx, qword [rbp + 0x10]
mov rdx, rdi
call fcn.10000af88
xor edx, edx
cmp eax, edx
mov edi, eax
mov dword [rbp + 8], eax
jl 0x10000bf43
mov rdi, qword [rbp]
lea rdx, [0x100001a70]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
xor edx, edx
cmp eax, edx
jne 0x10000bf8b
mov rcx, qword [rbp + 0x10]
lea rdx, [rbp + 0x90]
call fcn.10000af88
xor edx, edx
cmp eax, edx
mov edi, eax
mov dword [rbp + 8], eax
jl 0x10000bf43
mov rdx, qword [rbp]
mov rcx, qword [rbp + 0x10]
call fcn.10000af88
xor edx, edx
cmp eax, edx
mov edi, eax
mov dword [rbp + 8], eax
jl 0x10000bf43
mov rax, qword [rbp]
cmp word [rax], 0x3d
jne 0x10000c5bc
cmp dword [rbp + 0x28], edx
je 0x10000beac
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.10000b110
xor edx, edx
cmp eax, edx
mov edi, eax
mov dword [rbp + 8], eax
jge 0x10000c4fb
cmp rsi, rdx
je 0x10000be8b
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edx, edx
cmp rbx, rdx
je 0x10000bf6e
xor edi, edi
mov rcx, rbx
mov rbx, qword [rbx]
call qword [sym.imp.msvcrt.dll_free]
cmp rbx, rdi
jne 0x10000be96
jmp 0x10000bf6b
cmp dword [rbp + 0x300], edx
jne 0x10000bf28
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 0x10000c591
mov rdi, qword [rbp + 0x18]
mov eax, edx
mov qword [rbp + 0x20], rdi
cmp eax, edx
jne 0x10000c591
lea rdx, [rbp + 0x90]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
xor edx, edx
cmp eax, edx
je 0x10000bf16
cmp eax, 2
jne 0x10000c591
cmp rdi, rdx
je 0x10000bf24
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, qword [rbp]
mov rdx, rax
mov rcx, qword [rbp + 0x10]
call fcn.10000b750
xor edx, edx
mov edi, eax
mov dword [rbp + 8], eax
cmp eax, edx
jge 0x10000c54c
cmp rsi, rdx
je 0x10000bf53
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edx, edx
cmp rbx, rdx
je 0x10000bf6e
xor edi, edi
mov rcx, rbx
mov rbx, qword [rbx]
call qword [sym.imp.msvcrt.dll_free]
cmp rbx, rdi
jne 0x10000bf5a
mov edi, dword [rbp + 8]
mov eax, edi
mov rcx, qword [rbp + 0x2a0]
xor rcx, rbp
call fcn.10000ed30
lea rsp, [rbp + 0x2b8]
pop rdi
pop rsi
pop rbx
pop rbp
ret
movzx eax, word [rdi]
mov rcx, rdi
jmp 0x10000bfa7
cmp ax, 0x5c
je 0x10000bfae
call qword [sym.imp.USER32.dll_CharNextW]
xor edx, edx
mov rcx, rax
mov ax, word [rax]
cmp ax, dx
jne 0x10000bf93
jmp 0x10000bfb7
cmp rcx, rdx
jne 0x10000c5e6
cmp dword [rbp + 0x28], edx
je 0x10000c135
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 0x10000c00b
mov eax, ecx
cmp rsi, rcx
je 0x10000bffb
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 0x10000c0bb
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 0x10000c052
mov eax, ecx
cmp rsi, rcx
je 0x10000c046
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 0x10000c0bb
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 0x10000c613
mov eax, ecx
cmp rsi, rcx
je 0x10000c0ab
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 0x10000c613
cmp word [rdi], 0x4c
mov byte [rbp + 0x38], cl
je 0x10000c0ca
cmp word [rdi], 0x6c
jne 0x10000c0ed
lea rdx, [0x100002b18]
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.10000af88
xor edx, edx
cmp eax, edx
mov edi, eax
mov dword [rbp + 8], eax
jl 0x10000bf43
mov rax, qword [rbp]
cmp word [rax], 0x3d
jne 0x10000c4ff
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.10000b110
jmp 0x10000c4ec
cmp dword [rbp + 0x300], edx
jne 0x10000c18e
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 0x10000c184
mov eax, edx
cmp rsi, rdx
je 0x10000c178
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 0x10000c18e
mov dword [rbp + 0x300], 1
mov rcx, qword [rbp + 0x40]
cmp rcx, rdx
jne 0x10000c1e6
mov ecx, 0x208
call fcn.10000a800
xor ecx, ecx
cmp al, cl
je 0x10000c1bb
mov eax, dword [rsp]
mov eax, 0x210
sub rsp, rax
lea rcx, [rsp + 0x60]
mov eax, dword [rcx]
jmp 0x10000c1d7
mov ecx, 0x218
call qword [sym.imp.msvcrt.dll_malloc]
xor ecx, ecx
cmp rax, rcx
je 0x10000c1d7
mov qword [rax], rbx
lea rcx, [rax + 0x10]
mov rbx, rax
xor eax, eax
mov qword [rbp + 0x40], rcx
cmp rcx, rax
je 0x10000c644
mov r8d, 0x104
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcpynW]
xor eax, eax
cmp dword [rbp + 0x300], eax
jne 0x10000c325
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 0x10000c259
cmp dword [rbp + 0x20], ecx
mov eax, ecx
seta al
cmp eax, ecx
jne 0x10000c325
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 0x10000c483
mov ecx, dword [rbp + 0x20]
lea eax, [rdx + 1]
cmp ecx, eax
jne 0x10000c316
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 0x10000c483
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 0x10000c309
cmp word [rcx], dx
je 0x10000c309
call qword [sym.imp.msvcrt.dll_free]
jmp 0x10000c325
call qword [sym.imp.msvcrt.dll_free]
xor edx, edx
jmp 0x10000c483
cmp ecx, edx
mov eax, edx
seta al
cmp eax, edx
je 0x10000c483
mov rcx, qword [rbp + 0x10]
mov rdx, rdi
call fcn.10000af88
xor edx, edx
cmp eax, edx
mov edi, eax
mov dword [rbp + 8], eax
jl 0x10000bf43
mov rdx, qword [rbp]
mov rcx, qword [rbp + 0x10]
call fcn.10000b750
xor edx, edx
cmp eax, edx
mov edi, eax
mov dword [rbp + 8], eax
jl 0x10000bf43
mov rax, qword [rbp]
cmp word [rax], 0x7b
jne 0x10000c3c8
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.10000bc2c
xor edx, edx
cmp eax, edx
mov edi, eax
mov dword [rbp + 8], eax
jl 0x10000bf43
cmp dword [rbp + 0x300], edx
je 0x10000c3d4
mov eax, dword [rbp + 0x68]
mov rdx, qword [rbp]
mov rcx, qword [rbp + 0x10]
mov dword [rbp + 0x300], eax
call fcn.10000af88
xor edx, edx
cmp eax, edx
mov edi, eax
mov dword [rbp + 8], eax
jl 0x10000bf43
mov rdx, qword [rbp]
jmp 0x10000bf2b
cmp dword [rbp + 0x300], edx
jne 0x10000c550
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 0x10000c473
cmp dword [rbp + 0x20], edx
mov eax, edx
seta al
cmp eax, edx
je 0x10000c473
lea rdi, [0x100011130]
mov rdx, qword [rdi]
mov rcx, qword [rbp + 0x40]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
xor ecx, ecx
cmp eax, ecx
je 0x10000c461
lea rax, [0x100011140]
add rdi, 8
cmp rdi, rax
jl 0x10000c42d
mov rdx, qword [rbp + 0x40]
lea rcx, [rbp + 0x70]
call fcn.10000aa70
mov rsi, qword [rbp + 0x70]
mov rdx, qword [rbp]
mov rcx, qword [rbp + 0x10]
call fcn.10000af88
jmp 0x10000bf34
cmp dword [rbp + 0x300], edx
jne 0x10000c54c
mov rdi, qword [rbp]
cmp rsi, rdx
je 0x10000c4a2
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 0x10000c671
cmp dword [rbp + 0x48], edx
je 0x10000c4c4
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.10000a9c0
mov rcx, qword [rbp + 0x10]
mov rdx, rdi
call fcn.10000af88
xor edx, edx
cmp eax, edx
mov dword [rbp + 8], eax
mov edi, eax
jl 0x10000bf43
mov rdx, qword [rbp]
mov rcx, qword [rbp + 0x10]
call fcn.10000b750
xor edx, edx
mov edi, eax
mov dword [rbp + 8], eax
cmp eax, edx
jl 0x10000bf43
mov rax, qword [rbp]
cmp dword [rbp + 0x28], edx
je 0x10000c54c
cmp word [rax], 0x7b
jne 0x10000c54c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, 1
cmp eax, ecx
jne 0x10000c54a
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.10000bc2c
xor edx, edx
cmp eax, edx
mov edi, eax
mov dword [rbp + 8], eax
jl 0x10000bf43
jmp 0x10000c461
xor edx, edx
mov rax, qword [rbp]
cmp word [rax], 0x7d
je 0x10000bf43
jmp 0x10000bcae
cmp rsi, rdx
je 0x10000c56f
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edx, edx
cmp rbx, rdx
je 0x10000c587
mov rcx, rbx
mov rbx, qword [rbx]
call qword [sym.imp.msvcrt.dll_free]
xor eax, eax
cmp rbx, rax
jne 0x10000c574
mov eax, 0x80020009
jmp 0x10000bf70
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 0x10000bf43
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edx, edx
jmp 0x10000bf43
cmp rsi, rdx
je 0x10000c5cc
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edx, edx
cmp rbx, rdx
je 0x10000c587
mov rcx, rbx
mov rbx, qword [rbx]
call qword [sym.imp.msvcrt.dll_free]
xor eax, eax
cmp rbx, rax
jne 0x10000c5d1
jmp 0x10000c587
cmp rsi, rdx
je 0x10000c5f6
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edx, edx
cmp rbx, rdx
je 0x10000c587
mov rcx, rbx
mov rbx, qword [rbx]
call qword [sym.imp.msvcrt.dll_free]
xor eax, eax
cmp rbx, rax
jne 0x10000c5fb
jmp 0x10000c587
cmp rsi, rcx
je 0x10000c623
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ecx, ecx
cmp rbx, rcx
je 0x10000c587
mov rcx, rbx
mov rbx, qword [rbx]
call qword [sym.imp.msvcrt.dll_free]
xor eax, eax
cmp rbx, rax
jne 0x10000c62c
jmp 0x10000c587
xor edi, edi
cmp rsi, rdi
je 0x10000c662
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x10000c662
mov rcx, rbx
mov rbx, qword [rbx]
call qword [sym.imp.msvcrt.dll_free]
cmp rbx, rdi
jne 0x10000c656
mov eax, 0x8007000e
jmp 0x10000bf70
cmp rbx, rdx
je 0x10000c587
mov rcx, rbx
mov rbx, qword [rbx]
call qword [sym.imp.msvcrt.dll_free]
xor eax, eax
cmp rbx, rax
jne 0x10000c67a
jmp 0x10000c587