Function at 0x100003a9c
Capabilities:
Delete registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
mov eax, 0x22e8
call fcn.10000b880
sub rsp, rax
mov rax, qword [0x10000d130]
xor rax, rsp
mov qword [rsp + 0x22d0], rax
xor ebp, ebp
mov rax, rcx
mov qword [rsp + 0x68], rcx
mov ecx, dword [rsp + 0x2330]
mov dword [rsp + 0x74], r9d
mov qword [rsp + 0x78], r8
mov dword [rsp + 0xb0], ecx
mov rcx, rax
mov rsi, rdx
mov rdi, rbp
mov qword [rsp + 0x80], rbp
mov qword [rsp + 0x88], rbp
mov qword [rsp + 0x90], rbp
call fcn.100002a2c
cmp eax, ebp
mov ebx, eax
jl 0x100004260
cmp word [rsi], 0x7d
je 0x10000425e
mov eax, 1
lea rdx, [0x100001630]
mov rcx, rsi
mov dword [rsp + 0x70], eax
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
xor ebx, ebx
cmp eax, ebx
lea rdx, [0x100001658]
mov rcx, rsi
mov ebp, ebx
sete bpl
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
cmp eax, ebx
je 0x100003b5b
cmp ebp, ebx
je 0x100003c3a
mov rcx, qword [rsp + 0x68]
mov rdx, rsi
call fcn.100002a2c
xor edx, edx
cmp eax, edx
mov ebx, eax
jl 0x100004250
cmp dword [rsp + 0x74], edx
je 0x100003c38
movzx eax, word [rsi]
mov qword [rsp + 0x98], rdx
mov qword [rsp + 0xa0], rdx
mov qword [rsp + 0xa8], rdx
mov rcx, rsi
jmp 0x100003bb2
cmp ax, 0x5c
je 0x100003bb9
call qword [sym.imp.USER32.dll_CharNextW]
xor edx, edx
mov rcx, rax
mov ax, word [rax]
cmp ax, dx
jne 0x100003b9e
jmp 0x100003bc2
cmp rcx, rdx
jne 0x10000427c
lea rbx, [0x1000016e0]
mov rdx, qword [rbx]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x100003c06
lea rax, [0x100001740]
add rbx, 8
cmp rbx, rax
jl 0x100003bc9
mov rax, qword [rsp + 0x78]
lea rcx, [rsp + 0x98]
mov rdx, rsi
mov qword [rsp + 0x98], rax
call fcn.100002ca4
xor ebx, ebx
cmp ebp, ebx
je 0x100003c3a
mov rbp, qword [rsp + 0x68]
mov rdx, rsi
mov rcx, rbp
call fcn.100002a2c
xor edx, edx
cmp eax, edx
mov ebx, eax
jl 0x100004250
mov rdx, rsi
mov rcx, rbp
call fcn.100002bb8
jmp 0x100003ee6
xor ebx, ebx
lea rdx, [0x100001640]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov rbp, qword [rsp + 0x68]
cmp eax, ebx
jne 0x100003c70
mov rdx, rsi
mov rcx, rbp
mov dword [rsp + 0x70], ebx
call fcn.100002a2c
xor edx, edx
cmp eax, edx
mov ebx, eax
jl 0x100004250
xor ebx, ebx
lea rdx, [0x100001670]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
cmp eax, ebx
jne 0x100003d96
lea rdx, [rsp + 0x2d0]
mov rcx, rbp
call fcn.100002a2c
xor edx, edx
cmp eax, edx
mov ebx, eax
jl 0x100004250
mov rdx, rsi
mov rcx, rbp
call fcn.100002a2c
xor edx, edx
cmp eax, edx
mov ebx, eax
jl 0x100004250
cmp word [rsi], 0x3d
jne 0x10000427c
cmp dword [rsp + 0x74], edx
je 0x100003d08
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0xa0], rdx
mov qword [rsp + 0xa8], rdx
lea r8, [rsp + 0x2d0]
lea rdx, [rsp + 0x98]
mov r9, rsi
mov rcx, rbp
mov qword [rsp + 0x98], rax
call fcn.1000036a0
jmp 0x100003ee6
cmp dword [rsp + 0x2330], edx
jne 0x100003d7a
cmp dword [rsp + 0x70], edx
je 0x100003d7a
mov rcx, qword [rsp + 0x78]
lea rax, [rsp + 0x60]
mov r9d, 0x20006
xor r8d, r8d
mov qword [rsp + 0x60], rdx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor ebx, ebx
cmp eax, ebx
jne 0x100004245
mov rbp, qword [rsp + 0x60]
lea rdx, [rsp + 0x2d0]
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp eax, ebx
je 0x100003d67
cmp eax, 2
jne 0x100004291
cmp rbp, rbx
je 0x100003d75
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbp, qword [rsp + 0x68]
mov rdx, rsi
mov rcx, rbp
call fcn.100002bb8
xor edx, edx
mov ebx, eax
cmp eax, edx
jl 0x100004250
jmp 0x100004173
movzx eax, word [rsi]
mov rcx, rsi
jmp 0x100003db0
cmp ax, 0x5c
je 0x100003db7
call qword [sym.imp.USER32.dll_CharNextW]
mov rcx, rax
mov ax, word [rax]
cmp ax, bx
jne 0x100003d9e
jmp 0x100003dc0
cmp rcx, rbx
jne 0x1000042ac
cmp dword [rsp + 0x74], ebx
je 0x100003f47
mov qword [rsp + 0x60], rbx
mov rbx, qword [rsp + 0x78]
lea rax, [rsp + 0x60]
mov r9d, 0x2001f
xor r8d, r8d
mov rdx, rsi
mov rcx, rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor ecx, ecx
cmp eax, ecx
jne 0x100003e20
mov eax, ecx
cmp rdi, rcx
je 0x100003e0b
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ecx, ecx
mov rdi, qword [rsp + 0x60]
mov qword [rsp + 0x80], rdi
cmp eax, ecx
je 0x100003eab
lea rax, [rsp + 0x60]
mov qword [rsp + 0x60], rcx
mov r9d, 0x20019
xor r8d, r8d
mov rdx, rsi
mov rcx, rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor ecx, ecx
cmp eax, ecx
jne 0x100003e6d
mov eax, ecx
cmp rdi, rcx
je 0x100003e5c
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ecx, ecx
mov rdi, qword [rsp + 0x60]
mov qword [rsp + 0x80], rdi
cmp eax, ecx
je 0x100003eab
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], ecx
lea rcx, [rsp + 0x80]
xor r9d, r9d
mov r8, rsi
mov rdx, rbx
call fcn.10000266c
xor edi, edi
cmp eax, edi
jne 0x1000042b1
mov rdi, qword [rsp + 0x80]
mov rdx, rsi
mov rcx, rbp
call fcn.100002a2c
xor edx, edx
cmp eax, edx
mov ebx, eax
jl 0x100004250
cmp word [rsi], 0x3d
jne 0x100003ef2
lea rdx, [rsp + 0x80]
mov r9, rsi
xor r8d, r8d
mov rcx, rbp
call fcn.1000036a0
mov rdi, qword [rsp + 0x80]
xor edx, edx
mov ebx, eax
cmp eax, edx
jl 0x100004250
cmp word [rsi], 0x7b
jne 0x100004173
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, 1
cmp eax, ecx
jne 0x100004171
mov r9d, dword [rsp + 0x74]
xor eax, eax
mov r8, rdi
mov rdx, rsi
mov rcx, rbp
mov dword [rsp + 0x20], eax
call fcn.100003a9c
xor edx, edx
cmp eax, edx
mov ebx, eax
jl 0x100004250
mov rdx, rsi
mov rcx, rbp
call fcn.100002a2c
jmp 0x100003d85
mov ebx, dword [rsp + 0x2330]
xor eax, eax
cmp ebx, eax
jne 0x100003fa5
mov rcx, qword [rsp + 0x78]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x60]
mov r9d, 0x20019
xor r8d, r8d
mov rdx, rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebp, eax
xor eax, eax
cmp ebp, eax
jne 0x100003fac
mov ebp, eax
cmp rdi, rax
je 0x100003f96
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebp, eax
xor eax, eax
mov rdi, qword [rsp + 0x60]
mov qword [rsp + 0x80], rdi
jmp 0x100003faa
mov ebp, 2
cmp ebp, eax
mov eax, 1
lea rcx, [rsp + 0xc0]
mov r8, rsi
cmovne ebx, eax
or r9, 0xffffffffffffffff
mov edx, 0x104
mov dword [rsp + 0x2330], ebx
call fcn.1000071b0
xor ecx, ecx
cmp eax, ecx
je 0x100003ffe
cmp eax, 0xc
je 0x1000042df
cmp eax, 0x16
je 0x1000042d4
cmp eax, 0x22
je 0x1000042d4
cmp eax, 0x50
jne 0x1000042c9
mov rcx, qword [rsp + 0x68]
mov rdx, rsi
call fcn.100002a2c
xor edx, edx
cmp eax, edx
mov ebx, eax
jl 0x100004250
mov rcx, qword [rsp + 0x68]
mov rdx, rsi
call fcn.100002bb8
xor edx, edx
cmp eax, edx
mov ebx, eax
jl 0x100004250
cmp word [rsi], 0x7b
jne 0x100004098
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, 1
cmp eax, ecx
jne 0x100004096
mov eax, dword [rsp + 0x2330]
mov rcx, qword [rsp + 0x68]
xor r9d, r9d
mov r8, rdi
mov rdx, rsi
mov dword [rsp + 0x20], eax
call fcn.100003a9c
xor edx, edx
cmp eax, edx
mov ebx, eax
jge 0x10000407b
cmp dword [rsp + 0x2330], edx
je 0x100004250
mov rcx, qword [rsp + 0x68]
mov rdx, rsi
call fcn.100002a2c
xor edx, edx
cmp eax, edx
mov ebx, eax
jl 0x100004250
jmp 0x100004098
xor edx, edx
mov eax, dword [rsp + 0xb0]
mov dword [rsp + 0x2330], eax
cmp ebp, 2
je 0x100004173
cmp ebp, edx
je 0x1000040c2
cmp eax, edx
jne 0x100004173
mov ecx, ebp
jmp 0x100004247
cmp eax, edx
je 0x100004182
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, [rsp + 0x60]
mov dword [rsp + 0x60], edx
xor edx, edx
xor r9d, r9d
xor r8d, r8d
mov rcx, rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
xor edx, edx
cmp eax, edx
jne 0x100004182
cmp dword [rsp + 0x60], edx
mov eax, edx
seta al
cmp eax, edx
je 0x100004182
lea rbp, [0x1000016e0]
mov rdx, qword [rbp]
lea rcx, [rsp + 0xc0]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
xor edx, edx
cmp eax, edx
je 0x100004173
lea rax, [0x100001740]
add rbp, 8
cmp rbp, rax
jl 0x100004126
cmp dword [rsp + 0x70], edx
je 0x100004173
lea rdx, [rsp + 0xc0]
lea rcx, [rsp + 0x80]
call fcn.100002ca4
mov rdi, qword [rsp + 0x80]
xor edx, edx
cmp word [rsi], 0x7d
je 0x100004250
jmp 0x100003b1c
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, [rsp + 0x60]
mov dword [rsp + 0x60], edx
xor edx, edx
xor r9d, r9d
xor r8d, r8d
mov rcx, rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
xor edx, edx
mov ebp, edx
cmp eax, edx
jne 0x1000041d4
cmp dword [rsp + 0x60], edx
seta bpl
cmp rdi, rdx
je 0x1000041f7
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edx, edx
mov rdi, rdx
mov qword [rsp + 0x80], rdx
cmp eax, edx
jne 0x1000042ea
cmp dword [rsp + 0x70], edx
je 0x100004173
cmp ebp, edx
jne 0x100004173
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0xa0], rdx
mov qword [rsp + 0xa8], rdx
lea rdx, [rsp + 0xc0]
lea rcx, [rsp + 0x98]
mov qword [rsp + 0x98], rax
call fcn.1000025bc
xor edx, edx
cmp eax, edx
je 0x100004173
mov ecx, eax
call fcn.100002158
mov ebx, eax
xor edx, edx
cmp rdi, rdx
je 0x10000425e
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rsp + 0x22d0]
xor rcx, rsp
call fcn.100007260
add rsp, 0x22e8
pop rdi
pop rsi
pop rbp
pop rbx
ret
cmp rdi, rdx
je 0x10000428a
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0x80020009
jmp 0x100004260
mov ecx, eax
call fcn.100002158
xor edx, edx
mov ebx, eax
cmp rbp, rdx
je 0x100004250
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x10000424e
cmp rdi, rbx
jmp 0x10000427f
mov ecx, eax
call fcn.100002158
mov rcx, qword [rsp + 0x80]
mov ebx, eax
cmp rcx, rdi
je 0x10000425e
jmp 0x100004258
mov ecx, 0x80004005
call fcn.10000216c
int3
mov ecx, 0x80070057
call fcn.10000216c
int3
mov ecx, 0x8007000e
call fcn.10000216c
int3
mov ecx, eax
call fcn.100002158
jmp 0x100004260