Function at 0x14009b29c
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov dword [rax + 8], ecx
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xc0
mov rsi, r9
mov rdi, r8
mov r14, rdx
mov eax, ecx
lea r15, section..data
mov edx, 5
mov rcx, qword [section..data]
cmp rcx, r15
je 0x14009b30b
test byte [rcx + 0x1c], 1
je 0x14009b30b
cmp byte [rcx + 0x19], dl
jb 0x14009b30b
mov qword [rsp + 0x30], r9
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x20], r14
mov r9d, eax
mov rcx, qword [rcx + 0x10]
call fcn.14009bdb8
xor r13d, r13d
mov qword [rbp + 0x1f], r13
mov qword [rbp + 0x27], r13
mov qword [rbp + 0x2f], r13
mov qword [rbp - 9], r13
mov qword [rbp - 0x29], r13
mov qword [rbp - 0x21], r13
xor edx, edx
lea rcx, [rbp + 0x1f]
call fcn.14009a978
mov ebx, eax
mov rcx, qword [section..data]
cmp rcx, r15
je 0x14009b362
test byte [rcx + 0x1c], 2
je 0x14009b362
cmp byte [rcx + 0x19], 4
jb 0x14009b362
lea edx, [r13 + 0x2e]
mov r9d, eax
lea r8, [0x1400bd8a8]
mov rcx, qword [rcx + 0x10]
call fcn.14000ad20
test ebx, ebx
jne 0x14009b3a5
lea rdx, [rbp - 0x29]
lea rcx, [rbp + 0x1f]
call fcn.1400917dc
mov ebx, eax
mov rcx, qword [section..data]
cmp rcx, r15
je 0x14009b3a5
test byte [rcx + 0x1c], 2
je 0x14009b3a5
cmp byte [rcx + 0x19], 4
jb 0x14009b3a5
mov edx, 0x2f
mov r9d, eax
lea r8, [0x1400bd8a8]
mov rcx, qword [rcx + 0x10]
call fcn.14000ad20
mov rdx, r14
lea rcx, [rbp - 0x31]
call fcn.140005058
nop
lea rdx, str.ignored
lea rcx, [rbp - 0x39]
call fcn.140005058
nop
lea rdx, str.ignored
lea rcx, [rbp - 0x41]
call fcn.140005058
nop
or r14, 0xffffffffffffffff
test ebx, ebx
jne 0x14009b47c
test rdi, rdi
je 0x14009b42e
mov rax, r14
inc rax
cmp word [rdi + rax*2], r13w
jne 0x14009b3e8
mov r8d, eax
mov rdx, rdi
lea rcx, [rbp - 0x39]
call fcn.140005cf4
mov rcx, qword [section..data]
cmp rcx, r15
je 0x14009b42e
test byte [rcx + 0x1c], 2
je 0x14009b42e
cmp byte [rcx + 0x19], 4
jb 0x14009b42e
mov edx, 0x30
lea r8, [0x1400bd8a8]
mov rcx, qword [rcx + 0x10]
call fcn.1400062b0
test rsi, rsi
je 0x14009b47c
mov rax, r14
inc rax
cmp word [rsi + rax*2], r13w
jne 0x14009b436
mov r8d, eax
mov rdx, rsi
lea rcx, [rbp - 0x41]
call fcn.140005cf4
mov rcx, qword [section..data]
cmp rcx, r15
je 0x14009b47c
test byte [rcx + 0x1c], 2
je 0x14009b47c
cmp byte [rcx + 0x19], 4
jb 0x14009b47c
mov edx, 0x31
lea r8, [0x1400bd8a8]
mov rcx, qword [rcx + 0x10]
call fcn.1400062b0
mov rax, qword [0x1400cce40]
movabs r10, 0xb1a8ae8f5a5da170
lea rcx, [0x1400cce40]
mov rax, qword [rax + 0x18]
call qword [case.0x140071786.0]
add rax, 0x18
mov qword [rbp - 0x11], rax
test ebx, ebx
jne 0x14009ba5b
lea rcx, [rbp - 0x11]
call fcn.140090ff8
mov ebx, eax
mov rcx, qword [section..data]
cmp rcx, r15
je 0x14009b4f0
test byte [rcx + 0x1c], 2
je 0x14009b4f0
cmp byte [rcx + 0x19], 4
jb 0x14009b4f0
mov edx, 0x32
mov r9d, eax
lea r8, [0x1400bd8a8]
mov rcx, qword [rcx + 0x10]
call fcn.14000637c
mov rcx, qword [section..data]
test ebx, ebx
js 0x14009ba62
mov rax, qword [0x1400cce40]
movabs r10, 0xb1a8ae8f5a5da170
lea rcx, [0x1400cce40]
mov rax, qword [rax + 0x18]
call qword [case.0x140071786.0]
add rax, 0x18
mov qword [rbp - 0x49], rax
mov r15, r13
mov qword [rbp + 7], r13
mov qword [rbp + 0xf], r13
mov qword [rbp + 0x17], r13
mov r12d, r13d
cmp dword [rbp - 0x21], r13d
jle 0x14009ba0e
mov r13, qword [rbp - 0x29]
mov rbx, qword [rbp - 0x31]
mov rdi, qword [rbp - 0x39]
mov rsi, qword [rbp - 0x41]
test r12d, r12d
js 0x14009bbad
cmp r12d, dword [rbp - 0x21]
jge 0x14009bbad
movsxd rcx, r12d
mov rax, qword [rbp - 0x29]
lea rdx, [rax + rcx*8]
lea rcx, [rbp - 0x49]
call fcn.1400052d4
mov r8d, 1
lea rdx, [0x1400b2160]
lea rcx, [rbp - 0x49]
call fcn.14000543c
mov rdx, qword [rbp - 0x11]
mov r8d, dword [rdx - 0x10]
lea rcx, [rbp - 0x49]
call fcn.14000543c
mov dword [rsp + 0x28], 0x2011f
mov r8, qword [rbp - 0x49]
mov rdx, qword [rbp + 0x1f]
lea rcx, [rbp + 7]
call fcn.14000d90c
mov r14d, eax
mov rcx, qword [section..data]
lea rax, section..data
cmp rcx, rax
je 0x14009b5ef
test byte [rcx + 0x1c], 2
je 0x14009b5ef
cmp byte [rcx + 0x19], 4
jb 0x14009b5ef
mov edx, 0x33
mov r9d, r14d
lea r8, [0x1400bd8a8]
mov rcx, qword [rcx + 0x10]
call fcn.14000ad20
mov r15, qword [rbp + 7]
test r14d, r14d
jne 0x14009b80e
mov eax, dword [rbp + 0x67]
mov dword [rbp - 0x19], eax
mov dword [rsp + 0x28], 4
lea rax, [rbp - 0x19]
mov qword [rsp + 0x20], rax
lea r9d, [r14 + 4]
xor r8d, r8d
lea rdx, str.Reason
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
nop dword [rax + rax]
mov r14d, eax
mov rcx, qword [section..data]
lea rax, section..data
cmp rcx, rax
je 0x14009b66a
test byte [rcx + 0x1c], 2
je 0x14009b66a
cmp byte [rcx + 0x19], 4
jb 0x14009b66a
mov edx, 0x34
mov r9d, r14d
lea r8, [0x1400bd8a8]
mov rcx, qword [rcx + 0x10]
call fcn.14000ad20
test r14d, r14d
jne 0x14009b80e
xor r14d, r14d
test rbx, rbx
je 0x14009bba2
or rax, 0xffffffffffffffff
inc rax
cmp word [rbx + rax*2], r14w
jne 0x14009b683
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rbx
mov r9d, 1
xor r8d, r8d
lea rdx, [0x1400bd870]
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
nop dword [rax + rax]
mov r14d, eax
mov rcx, qword [section..data]
lea rax, section..data
cmp rcx, rax
je 0x14009b6f6
test byte [rcx + 0x1c], 2
je 0x14009b6f6
cmp byte [rcx + 0x19], 4
jb 0x14009b6f6
mov edx, 0x35
mov r9d, r14d
lea r8, [0x1400bd8a8]
mov rcx, qword [rcx + 0x10]
call fcn.14000ad20
test r14d, r14d
jne 0x14009b80e
xor r14d, r14d
test rdi, rdi
je 0x14009bba2
or rax, 0xffffffffffffffff
inc rax
cmp word [rdi + rax*2], r14w
jne 0x14009b70f
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rdi
mov r9d, 1
xor r8d, r8d
lea rdx, [0x1400bd878]
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
nop dword [rax + rax]
mov r14d, eax
mov rcx, qword [section..data]
lea rax, section..data
cmp rcx, rax
je 0x14009b782
test byte [rcx + 0x1c], 2
je 0x14009b782
cmp byte [rcx + 0x19], 4
jb 0x14009b782
mov edx, 0x36
mov r9d, r14d
lea r8, [0x1400bd8a8]
mov rcx, qword [rcx + 0x10]
call fcn.14000ad20
test r14d, r14d
jne 0x14009b80e
xor r14d, r14d
test rsi, rsi
je 0x14009bba2
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], r14w
jne 0x14009b79b
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rsi
mov r9d, 1
xor r8d, r8d
lea rdx, str.Scope
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
nop dword [rax + rax]
mov r14d, eax
mov rcx, qword [section..data]
lea rax, section..data
cmp rcx, rax
je 0x14009b80e
test byte [rcx + 0x1c], 2
je 0x14009b80e
cmp byte [rcx + 0x19], 4
jb 0x14009b80e
mov edx, 0x37
mov r9d, r14d
lea r8, [0x1400bd8a8]
mov rcx, qword [rcx + 0x10]
call fcn.14000ad20
test r15, r15
je 0x14009b829
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
xor r15d, r15d
mov qword [rbp + 7], r15
test r14d, r14d
jne 0x14009b9f9
mov rax, qword [0x1400cce40]
movabs r10, 0xb1a8ae8f5a5da170
lea rcx, [0x1400cce40]
mov rax, qword [rax + 0x18]
call qword [case.0x140071786.0]
add rax, 0x18
mov qword [rbp - 1], rax
mov r8, qword [r13]
lea rdx, str.Global_ls
lea rcx, [rbp - 1]
call fcn.140007774
mov rbx, qword [rbp - 1]
mov r8, rbx
xor edx, edx
mov ecx, 0x100002
call qword [sym.imp.KERNEL32.dll_OpenEventW]
nop dword [rax + rax]
mov rdi, rax
xor esi, esi
test rax, rax
jne 0x14009b8e4
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov r9d, eax
mov rcx, qword [section..data]
lea r14, section..data
cmp rcx, r14
je 0x14009b8f2
test byte [rcx + 0x1c], 2
je 0x14009b8f2
lea edx, [rdi + 2]
test eax, eax
lea eax, [rdi + 5]
cmove edx, eax
movzx eax, byte [rcx + 0x19]
cmp eax, edx
jb 0x14009b8f2
lea edx, [rdi + 0x38]
lea r8, [0x1400bd8a8]
mov rcx, qword [rcx + 0x10]
call fcn.14000ad20
jmp 0x14009b8eb
lea r14, section..data
mov rcx, qword [section..data]
mov qword [rbp - 9], rdi
cmp rcx, r14
je 0x14009b91f
test byte [rcx + 0x1c], 2
je 0x14009b91f
cmp byte [rcx + 0x19], 4
jb 0x14009b91f
mov edx, 0x39
mov r9, rdi
lea r8, [0x1400bd8a8]
mov rcx, qword [rcx + 0x10]
call fcn.140006404
test rdi, rdi
je 0x14009b978
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetEvent]
nop dword [rax + rax]
mov rcx, qword [section..data]
cmp rcx, r14
je 0x14009b963
test byte [rcx + 0x1c], 2
je 0x14009b963
cmp byte [rcx + 0x19], 4
jb 0x14009b963
mov edx, 0x3a
mov r9d, eax
lea r8, [0x1400bd8a8]
mov rcx, qword [rcx + 0x10]
call fcn.1400063c0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
mov qword [rbp - 9], rsi
jmp 0x14009b9b6
mov rdx, qword [r13]
lea rcx, [rbp + 0x1f]
call fcn.140091164
mov rcx, qword [section..data]
cmp rcx, r14
je 0x14009b9b6
test byte [rcx + 0x1c], 2
je 0x14009b9b6
cmp byte [rcx + 0x19], 4
jb 0x14009b9b6
mov edx, 0x3b
mov r9d, eax
lea r8, [0x1400bd8a8]
mov rcx, qword [rcx + 0x10]
call fcn.14000ad20
nop
lea rdx, [rbx - 0x18]
or r14, 0xffffffffffffffff
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, r14d
test eax, eax
jg 0x14009b9e7
mov rcx, qword [rdx]
mov rax, qword [rcx]
movabs r10, 0xee98078a7ad38370
mov rax, qword [rax + 8]
call qword [case.0x140071786.0]
mov rbx, qword [rbp - 0x31]
mov rdi, qword [rbp - 0x39]
mov rsi, qword [rbp - 0x41]
mov r15, qword [rbp + 7]
jmp 0x14009b9fd
or r14, 0xffffffffffffffff
inc r12d
add r13, 8
cmp r12d, dword [rbp - 0x21]
jl 0x14009b54e
test r15, r15
je 0x14009ba23
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
nop
mov rdx, qword [rbp - 0x49]
add rdx, 0xffffffffffffffe8
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, r14d
test eax, eax
jg 0x14009ba54
mov rcx, qword [rdx]
mov rax, qword [rcx]
movabs r10, 0xee98078a7ad38370
mov rax, qword [rax + 8]
call qword [case.0x140071786.0]
lea r15, section..data
mov rcx, qword [section..data]
cmp rcx, r15
je 0x14009ba83
test byte [rcx + 0x1c], 1
je 0x14009ba83
mov edx, 0x3c
lea r8, [0x1400bd8a8]
mov rcx, qword [rcx + 0x10]
call fcn.1400062b0
nop
mov rdx, qword [rbp - 0x11]
add rdx, 0xffffffffffffffe8
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, r14d
test eax, eax
jg 0x14009bab5
mov rcx, qword [rdx]
mov rax, qword [rcx]
movabs r10, 0xee98078a7ad38370
mov rax, qword [rax + 8]
call qword [case.0x140071786.0]
nop
mov rdx, qword [rbp - 0x41]
add rdx, 0xffffffffffffffe8
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, r14d
test eax, eax
jg 0x14009bae7
mov rcx, qword [rdx]
mov rax, qword [rcx]
movabs r10, 0xee98078a7ad38370
mov rax, qword [rax + 8]
call qword [case.0x140071786.0]
nop
mov rdx, qword [rbp - 0x39]
add rdx, 0xffffffffffffffe8
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, r14d
test eax, eax
jg 0x14009bb19
mov rcx, qword [rdx]
mov rax, qword [rcx]
movabs r10, 0xee98078a7ad38370
mov rax, qword [rax + 8]
call qword [case.0x140071786.0]
nop
mov rdx, qword [rbp - 0x31]
add rdx, 0xffffffffffffffe8
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, r14d
test eax, eax
jg 0x14009bb4b
mov rcx, qword [rdx]
mov rax, qword [rcx]
movabs r10, 0xee98078a7ad38370
mov rax, qword [rax + 8]
call qword [case.0x140071786.0]
nop
lea rcx, [rbp - 0x29]
call fcn.140015550
nop
mov rcx, qword [rbp - 9]
test rcx, rcx
je 0x14009bb6b
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
nop
mov rcx, qword [rbp + 0x1f]
test rcx, rcx
je 0x14009bb80
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov ecx, 0x80004005
call fcn.1400055a0
int3
mov ecx, 0xc000008c
call fcn.140006108
int3