Function at 0x1000424b0
Capabilities:
Delete registry value
Query or enumerate registry value
Set registry value

Disassembly:
mov rax, rsp
push rsi
push rdi
push r12
sub rsp, 0x90
mov qword [rsp + 0x88], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov rbp, r9
mov r12, r8
mov rdi, rdx
mov rsi, rcx
xor ebx, ebx
mov qword [rax - 0x78], rbx
lea rcx, [rax - 0x50]
call fcn.1000193b8
nop
mov dword [rbp], 1
lea rcx, [rsp + 0x50]
call fcn.100020360
nop
lea rdx, [0x10000e5b0]
lea rcx, [rsp + 0x40]
call fcn.100020428
nop
lea r8, [rsp + 0x50]
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.100032a84
nop
lea rcx, [rsp + 0x40]
call fcn.10002006c
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x20], rdx
mov r9d, 0x2001f
xor r8d, r8d
mov rdx, qword [rsp + 0x50]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x100042893
mov dword [rsp + 0xc8], ebx
lea rax, [rsp + 0xc8]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x10000e598]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, ebx
je 0x1000425af
cmp eax, 2
jne 0x100042893
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, 1
jmp 0x1000428a4
mov eax, dword [rsp + 0xc8]
add eax, 4
mov dword [rsp + 0xc8], eax
mov ecx, eax
call sub.msvcrt.dll_void____ptr64___cdecl_operator_new___unsigned_long_long_unsigned___int64__
mov rdi, qword [rsp + 0xd0]
mov qword [rdi], rax
cmp rax, rbx
je 0x100042893
mov ecx, dword [rsp + 0xc8]
mov rax, qword [rsp + 0xd8]
mov dword [rax], ecx
mov r8, rcx
xor edx, edx
mov rcx, qword [rdi]
call sub.msvcrt.dll_memset
lea r11, [rsp + 0xc8]
mov qword [rsp + 0x28], r11
mov rax, qword [rdi]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x10000e598]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, ebx
jne 0x100042893
mov rdx, qword [rdi]
lea rcx, [rsp + 0x58]
call fcn.10003cc14
lea rdx, [rsp + 0x38]
mov qword [rsp + 0x40], rdx
mov rdx, rsi
lea rcx, [rsp + 0x38]
call fcn.100020390
nop
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.10003636c
cmp eax, ebx
jne 0x100042674
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x100042805
lea rcx, [rsp + 0x48]
call fcn.100020360
nop
lea rcx, [rsp + 0x40]
call fcn.100020360
nop
mov eax, ebx
mov rdx, qword [rsp + 0x58]
cmp rdx, rbx
setne al
cmp eax, ebx
jne 0x1000426a6
mov ecx, 0x80004005
call fcn.1000201f8
int3
add rdx, 0x10
lea rcx, [rsp + 0x48]
call fcn.10001f050
mov rdx, qword [rsi]
mov eax, ebx
cmp rdx, rbx
setne al
cmp eax, ebx
jne 0x1000426ce
mov ecx, 0x80004005
call fcn.1000201f8
int3
mov rax, qword [rsp + 0x48]
sub rdx, rax
movzx ecx, word [rax]
cmp cx, word [rax + rdx]
jne 0x1000426ec
add rax, 2
test cx, cx
jne 0x1000426d6
mov eax, ebx
jmp 0x1000426f1
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x1000427e0
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x58]
call fcn.10003ccb4
cmp qword [rsp + 0x68], rbx
je 0x1000427f0
mov rdi, qword [rsp + 0x58]
cmp rdi, rbx
je 0x10004276d
mov eax, ebx
cmp rdi, rbx
setne al
cmp eax, ebx
je 0x100042762
mov rdx, rdi
mov rdi, qword [rdi]
add rdx, 0x10
lea rcx, [rsp + 0x38]
call fcn.100020390
nop
mov rdx, qword [rsp + 0x38]
mov rcx, r12
call fcn.10001f8e0
nop
lea rcx, [rsp + 0x38]
call fcn.10002006c
cmp rdi, rbx
jne 0x10004271d
mov rdi, qword [rsp + 0x58]
jmp 0x10004276d
mov ecx, 0x80004005
call fcn.1000201f8
int3
mov eax, ebx
cmp rdi, rbx
setne al
cmp eax, ebx
jne 0x100042784
mov ecx, 0x80004005
call fcn.1000201f8
int3
lea rdx, [rdi + 0x10]
lea rcx, [rsp + 0x40]
call fcn.10001f050
xor r11d, r11d
lea rdx, [0x10000e568]
mov rdi, rdx
mov rsi, qword [rsp + 0x40]
lea ecx, [r11 + 0x15]
repe cmpsw word [rsi], word [rdi]
je 0x1000427b4
sbb r11d, r11d
sbb r11d, 0xffffffff
cmp r11d, ebx
jne 0x1000427f0
lea rcx, [rsp + 0x38]
call fcn.100020428
nop
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x58]
call fcn.10003ccb4
nop
lea rcx, [rsp + 0x38]
call fcn.10002006c
jmp 0x1000427f0
mov rdx, rsi
lea rcx, [rsp + 0x58]
call fcn.10003ccb4
mov dword [rbp], ebx
lea rcx, [rsp + 0x40]
call fcn.10002006c
nop
lea rcx, [rsp + 0x48]
call fcn.10002006c
cmp qword [rsp + 0x68], rbx
je 0x10004286b
lea rdx, [rsp + 0xc8]
lea rcx, [rsp + 0x58]
call fcn.100035004
mov rdi, rax
cmp rax, rbx
je 0x100042893
mov ecx, dword [rsp + 0xc8]
add ecx, ecx
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], rax
mov r9d, 7
xor r8d, r8d
lea rdx, [0x10000e598]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp eax, ebx
je 0x100042861
mov rcx, rdi
call sub.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_
jmp 0x100042893
mov rcx, rdi
call sub.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_
jmp 0x100042881
lea rdx, [0x10000e598]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp eax, ebx
jne 0x100042893
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, 1
jmp 0x1000428a4
mov rcx, qword [rsp + 0x30]
cmp rcx, rbx
je 0x1000428a4
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
lea rcx, [rsp + 0x50]
call fcn.10002006c
nop
lea rcx, [rsp + 0x58]
call fcn.10001f994
mov eax, ebx
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret