Function at 0x1000eb3a0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov rax, rsp
push rdi
push r12
push r15
sub rsp, 0x70
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov ebp, r8d
mov rbx, rdx
mov r12, rcx
lea rdi, [0x100152eb8]
mov rcx, qword [0x100152eb8]
cmp rcx, rdi
je 0x1000eb405
test byte [rcx + 0x1c], 1
je 0x1000eb405
cmp byte [rcx + 0x19], 5
jb 0x1000eb405
mov edx, 0x39
mov dword [rax - 0x68], r8d
mov r9, rbx
lea r8, [0x10001dc18]
mov rcx, qword [rcx + 0x10]
call fcn.10009b2f4
mov rdx, rbx
mov rcx, r12
call fcn.1000e9d54
mov esi, eax
mov rcx, qword [0x100152eb8]
cmp rcx, rdi
je 0x1000eb446
test byte [rcx + 0x1c], 2
je 0x1000eb446
cmp byte [rcx + 0x19], 5
jb 0x1000eb446
mov edx, 0x3a
mov dword [rsp + 0x20], eax
mov r9, rbx
lea r8, [0x10001dc18]
mov rcx, qword [rcx + 0x10]
call fcn.10009b2f4
xor edi, edi
mov eax, 0x490
test esi, esi
cmove edi, eax
mov rdx, rbx
lea rcx, [rsp + 0x48]
call fcn.100035d98
nop
lea rcx, [rsp + 0x48]
call fcn.100069790
and dword [rsp + 0x30], 0
mov r15d, 4
test edi, edi
jne 0x1000eb518
lea r8, [rsp + 0x30]
mov rdx, rbx
mov rcx, r12
call fcn.1000eb7b4
mov edi, eax
mov esi, dword [rsp + 0x30]
mov rcx, qword [0x100152eb8]
lea rax, [0x100152eb8]
cmp rcx, rax
je 0x1000eb4d8
test byte [rcx + 0x1c], 2
je 0x1000eb4d8
cmp byte [rcx + 0x19], r15b
jb 0x1000eb4d8
lea edx, [r15 + 0x37]
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], esi
mov r9, rbx
lea r8, [0x10001dc18]
mov rcx, qword [rcx + 0x10]
call fcn.1000e9924
mov rcx, qword [0x100152eb8]
test edi, edi
jne 0x1000eb528
cmp esi, 1
jne 0x1000eb531
lea edi, [rsi + 4]
lea rbx, [0x100152eb8]
cmp rcx, rbx
je 0x1000eb538
test byte [rcx + 0x1c], 2
je 0x1000eb538
cmp byte [rcx + 0x19], 2
jb 0x1000eb538
lea edx, [rsi + 0x3b]
lea r8, [0x10001dc18]
mov rcx, qword [rcx + 0x10]
call fcn.100034764
mov rcx, qword [0x100152eb8]
jmp 0x1000eb538
mov rcx, qword [0x100152eb8]
lea rbx, [0x100152eb8]
jmp 0x1000eb538
lea rbx, [0x100152eb8]
jmp 0x1000eb538
lea rbx, [0x100152eb8]
xor esi, esi
mov qword [rsp + 0x58], rsi
and qword [rsp + 0x60], rsi
and qword [rsp + 0x68], rsi
test edi, edi
jne 0x1000eb727
lea rdx, [rsp + 0x58]
mov rcx, r12
call fcn.1000ed7d0
mov edi, eax
mov rcx, qword [0x100152eb8]
cmp rcx, rbx
je 0x1000eb595
test byte [rcx + 0x1c], 2
je 0x1000eb595
cmp byte [rcx + 0x19], r15b
jb 0x1000eb595
lea edx, [rsi + 0x3d]
mov r9d, eax
lea r8, [0x10001dc18]
mov rcx, qword [rcx + 0x10]
call fcn.100036328
mov rcx, qword [0x100152eb8]
test edi, edi
jne 0x1000eb722
mov dword [rsp + 0x34], r15d
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0xa8]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x38]
xor r8d, r8d
mov rdx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test eax, eax
jne 0x1000eb5e8
mov eax, dword [rsp + 0x38]
sub eax, r15d
neg eax
sbb edi, edi
and edi, 0xd
mov rcx, qword [0x100152eb8]
cmp rcx, rbx
je 0x1000eb630
test byte [rcx + 0x1c], 2
je 0x1000eb630
cmp byte [rcx + 0x19], r15b
jb 0x1000eb630
mov edx, 0x3e
mov dword [rsp + 0x28], edi
mov eax, dword [rsp + 0xa8]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x48]
lea r8, [0x10001dc18]
mov rcx, qword [rcx + 0x10]
call fcn.1000e9924
mov rcx, qword [0x100152eb8]
test edi, edi
je 0x1000eb644
mov eax, 0x2a
mov dword [rsp + 0xa8], eax
xor edi, edi
jmp 0x1000eb64b
mov eax, dword [rsp + 0xa8]
cmp ebp, eax
je 0x1000eb727
mov dword [rsp + 0x40], ebp
mov dword [rsp + 0x28], r15d
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, r15d
xor r8d, r8d
mov rdx, qword [rsp + 0x48]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, eax
mov rcx, qword [0x100152eb8]
cmp rcx, rbx
je 0x1000eb6bd
test byte [rcx + 0x1c], 2
je 0x1000eb6bd
cmp byte [rcx + 0x19], r15b
jb 0x1000eb6bd
mov edx, 0x3f
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ebp
mov r9, qword [rsp + 0x48]
lea r8, [0x10001dc18]
mov rcx, qword [rcx + 0x10]
call fcn.1000e9924
mov rcx, qword [0x100152eb8]
test edi, edi
jne 0x1000eb727
mov rbx, qword [r12 + 8]
mov rax, qword [r12]
mov edx, 0x3eb
mov rcx, r12
call qword [rax + 0x48]
mov ecx, eax
mov r9, rbx
xor r8d, r8d
mov rdx, qword [rsp + 0x48]
call fcn.1000f0b60
mov rcx, qword [0x100152eb8]
lea rbx, [0x100152eb8]
cmp rcx, rbx
je 0x1000eb761
test byte [rcx + 0x1c], 2
je 0x1000eb727
cmp byte [rcx + 0x19], r15b
jb 0x1000eb727
lea edx, [rdi + 0x40]
lea r8, [0x10001dc18]
mov rcx, qword [rcx + 0x10]
call fcn.100034764
mov rcx, qword [0x100152eb8]
jmp 0x1000eb727
mov rsi, qword [rsp + 0x58]
cmp rcx, rbx
je 0x1000eb761
test byte [rcx + 0x1c], 1
je 0x1000eb761
movzx r9d, byte [rcx + 0x19]
mov eax, edi
neg eax
sbb edx, edx
and edx, 0xfffffffd
add edx, 5
cmp r9d, edx
jl 0x1000eb761
mov edx, 0x41
mov r9d, edi
lea r8, [0x10001dc18]
mov rcx, qword [rcx + 0x10]
call fcn.100036328
nop
test rsi, rsi
je 0x1000eb770
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1000eb790
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov eax, edi
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r12
pop rdi
ret