Function at 0x7ff9b9c27dc0
Capabilities:
Acquire debug privileges
Get common file path
Query or enumerate registry key

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x5d0
mov rax, qword [0x7ff9b9dc6200]
xor rax, rsp
mov qword [rsp + 0x5c0], rax
lea rax, [rsp + 0x168]
mov rdi, rax
xor eax, eax
mov ecx, 3
rep stosb byte [rdi], al
mov eax, 1
imul rax, rax, 0
lea rax, [rsp + rax + 0x168]
mov r8, rax
mov dl, 1
lea rcx, [0x7ff9b9da59c0]
call fcn.7ff9b9c27790
movzx eax, al
test eax, eax
jne 0x7ff9b9c27e38
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x7ff9b9da59e8]
xor ecx, ecx
call qword [sym.imp.user32.dll_MessageBoxA]
xor al, al
jmp 0x7ff9b9c28596
mov eax, 1
imul rax, rax, 1
lea rax, [rsp + rax + 0x168]
mov r8, rax
mov dl, 1
lea rcx, [0x7ff9b9da5a08]
call fcn.7ff9b9c27790
movzx eax, al
test eax, eax
jne 0x7ff9b9c27e7d
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x7ff9b9da5a40]
xor ecx, ecx
call qword [sym.imp.user32.dll_MessageBoxA]
xor al, al
jmp 0x7ff9b9c28596
mov eax, 1
imul rax, rax, 2
lea rax, [rsp + rax + 0x168]
mov r8, rax
mov dl, 1
lea rcx, [0x7ff9b9da5a68]
call fcn.7ff9b9c27790
movzx eax, al
test eax, eax
jne 0x7ff9b9c27ec2
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x7ff9b9da5a90]
xor ecx, ecx
call qword [sym.imp.user32.dll_MessageBoxA]
xor al, al
jmp 0x7ff9b9c28596
mov dword [rsp + 0x40], 0
lea rax, [rsp + 0x158]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
lea rdx, [0x7ff9b9da5ab0]
mov rcx, 0xffffffff80000000
call qword [sym.imp.advapi32.dll_RegOpenKeyExA]
test eax, eax
jne 0x7ff9b9c27f2a
mov rax, qword [rsp + 0x5e0]
mov rdx, rax
mov rcx, qword [rsp + 0x158]
call fcn.7ff9b9c278c0
mov ecx, dword [rsp + 0x40]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x40], eax
mov rcx, qword [rsp + 0x158]
call qword [sym.imp.advapi32.dll_RegCloseKey]
lea rax, [rsp + 0x158]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
lea rdx, [0x7ff9b9da5af0]
mov rcx, 0xffffffff80000001
call qword [sym.imp.advapi32.dll_RegOpenKeyExA]
test eax, eax
jne 0x7ff9b9c27f8a
mov rax, qword [rsp + 0x5e0]
mov rdx, rax
mov rcx, qword [rsp + 0x158]
call fcn.7ff9b9c278c0
mov ecx, dword [rsp + 0x40]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x40], eax
mov rcx, qword [rsp + 0x158]
call qword [sym.imp.advapi32.dll_RegCloseKey]
lea rax, [rsp + 0x158]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
lea rdx, [0x7ff9b9da5b40]
mov rcx, 0xffffffff80000001
call qword [sym.imp.advapi32.dll_RegOpenKeyExA]
test eax, eax
jne 0x7ff9b9c27fea
mov rax, qword [rsp + 0x5e0]
mov rdx, rax
mov rcx, qword [rsp + 0x158]
call fcn.7ff9b9c278c0
mov ecx, dword [rsp + 0x40]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x40], eax
mov rcx, qword [rsp + 0x158]
call qword [sym.imp.advapi32.dll_RegCloseKey]
lea rax, [rsp + 0x158]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
lea rdx, [0x7ff9b9da5b90]
mov rcx, 0xffffffff80000001
call qword [sym.imp.advapi32.dll_RegOpenKeyExA]
test eax, eax
jne 0x7ff9b9c2804a
mov rax, qword [rsp + 0x5e0]
mov rdx, rax
mov rcx, qword [rsp + 0x158]
call fcn.7ff9b9c278c0
mov ecx, dword [rsp + 0x40]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x40], eax
mov rcx, qword [rsp + 0x158]
call qword [sym.imp.advapi32.dll_RegCloseKey]
lea rax, [rsp + 0x158]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
lea rdx, [0x7ff9b9da5be0]
mov rcx, 0xffffffff80000001
call qword [sym.imp.advapi32.dll_RegOpenKeyExA]
test eax, eax
jne 0x7ff9b9c280aa
mov rax, qword [rsp + 0x5e0]
mov rdx, rax
mov rcx, qword [rsp + 0x158]
call fcn.7ff9b9c278c0
mov ecx, dword [rsp + 0x40]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x40], eax
mov rcx, qword [rsp + 0x158]
call qword [sym.imp.advapi32.dll_RegCloseKey]
lea rax, [rsp + 0x160]
mov qword [rsp + 0x20], rax
mov r9d, 9
xor r8d, r8d
lea rdx, [0x7ff9b9da5c40]
mov rcx, 0xffffffff80000002
call qword [sym.imp.advapi32.dll_RegOpenKeyExA]
test eax, eax
jne 0x7ff9b9c28223
mov dword [rsp + 0x48], 0
mov dword [rsp + 0x16c], 0x200
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x16c]
lea r8, [rsp + 0x3c0]
mov edx, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x160]
call qword [sym.imp.advapi32.dll_RegEnumKeyExA]
test eax, eax
jne 0x7ff9b9c28215
lea rax, [rsp + 0x158]
mov qword [rsp + 0x20], rax
mov r9d, 0x1000000
xor r8d, r8d
lea rdx, [rsp + 0x3c0]
mov rcx, qword [rsp + 0x160]
call qword [sym.imp.advapi32.dll_RegOpenKeyExA]
test eax, eax
jne 0x7ff9b9c281fb
mov rcx, qword [rsp + 0x158]
call fcn.7ff9b9c27be0
mov rcx, qword [rsp + 0x158]
call qword [sym.imp.advapi32.dll_RegCloseKey]
lea rax, [rsp + 0x158]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
lea rdx, [rsp + 0x3c0]
mov rcx, qword [rsp + 0x160]
call qword [sym.imp.advapi32.dll_RegOpenKeyExA]
test eax, eax
jne 0x7ff9b9c281fb
mov rax, qword [rsp + 0x5e0]
mov rdx, rax
mov rcx, qword [rsp + 0x158]
call fcn.7ff9b9c278c0
mov ecx, dword [rsp + 0x40]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x40], eax
mov rcx, qword [rsp + 0x158]
call fcn.7ff9b9c27a00
mov rcx, qword [rsp + 0x158]
call qword [sym.imp.advapi32.dll_RegCloseKey]
mov dword [rsp + 0x16c], 0x200
mov eax, dword [rsp + 0x48]
inc eax
mov dword [rsp + 0x48], eax
jmp 0x7ff9b9c280ef
mov rcx, qword [rsp + 0x160]
call qword [sym.imp.advapi32.dll_RegCloseKey]
mov edx, 0x104
lea rcx, [rsp + 0x2b0]
call qword [sym.imp.kernel32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x7ff9b9c2850c
lea rdx, [0x7ff9b9da5c80]
lea rcx, [rsp + 0x2b0]
call fcn.7ff9b9c285b0
xor r8d, r8d
lea rdx, [rsp + 0x2b0]
lea rcx, [rsp + 0xb8]
call fcn.7ff9b9c285e0
nop
lea rdx, [rsp + 0xb8]
lea rcx, [rsp + 0x190]
call fcn.7ff9b9c153d0
nop
lea rax, [rsp + 0x190]
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0xb8]
call fcn.7ff9b9c143b0
mov edx, 0x10
lea rcx, [rsp + 0x170]
call fcn.7ff9b9c0fec0
lea rax, [rsp + 0xf8]
mov qword [rsp + 0x60], rax
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
call fcn.7ff9b9c16a40
mov qword [rsp + 0x68], rax
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x170]
call fcn.7ff9b9c15510
nop
mov edx, 0x10
lea rcx, [rsp + 0x180]
call fcn.7ff9b9c0fec0
lea rax, [rsp + 0x108]
mov qword [rsp + 0x70], rax
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x70]
call fcn.7ff9b9c16a40
mov qword [rsp + 0x78], rax
mov rdx, qword [rsp + 0x78]
lea rcx, [rsp + 0x180]
call fcn.7ff9b9c155b0
nop
jmp 0x7ff9b9c28336
lea rcx, [rsp + 0x170]
call fcn.7ff9b9c15450
lea rdx, [rsp + 0x180]
lea rcx, [rsp + 0x170]
call fcn.7ff9b9c15490
movzx eax, al
test eax, eax
jne 0x7ff9b9c284e3
lea rcx, [rsp + 0x170]
call fcn.7ff9b9c15430
mov qword [rsp + 0x80], rax
mov rcx, qword [rsp + 0x80]
call fcn.7ff9b9c14e40
mov qword [rsp + 0x88], rax
lea rdx, [rsp + 0x138]
mov rcx, qword [rsp + 0x88]
call fcn.7ff9b9c27540
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0xa0], rax
lea rdx, [rsp + 0x118]
mov rcx, qword [rsp + 0xa0]
call fcn.7ff9b9c14220
mov qword [rsp + 0xa8], rax
mov rcx, qword [rsp + 0xa8]
call fcn.7ff9b9c1b070
mov rdx, rax
lea rcx, [rsp + 0x1a0]
call fcn.7ff9b9c28630
lea rcx, [rsp + 0x118]
call fcn.7ff9b9c1b1e0
nop
lea rcx, [rsp + 0x138]
call fcn.7ff9b9c143b0
mov dword [rsp + 0x48], 0
mov dword [rsp + 0x48], 0
jmp 0x7ff9b9c2842e
mov eax, dword [rsp + 0x48]
inc eax
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x48]
lea rcx, [rsp + 0x1a0]
mov qword [rsp + 0xb0], rcx
mov qword [rsp + 0x50], 0xffffffffffffffff
inc qword [rsp + 0x50]
mov rcx, qword [rsp + 0xb0]
mov rdx, qword [rsp + 0x50]
cmp byte [rcx + rdx], 0
jne 0x7ff9b9c2844b
mov rcx, qword [rsp + 0x50]
cmp rax, rcx
jae 0x7ff9b9c2848d
mov eax, dword [rsp + 0x48]
movsx eax, byte [rsp + rax + 0x1a0]
mov ecx, eax
call fcn.7ff9b9d5583c
mov ecx, dword [rsp + 0x48]
mov byte [rsp + rcx + 0x1a0], al
jmp 0x7ff9b9c28424
mov rax, qword [rsp + 0x5e0]
mov rdx, rax
lea rcx, [rsp + 0x1a0]
call fcn.7ff9b9c0fc90
test rax, rax
je 0x7ff9b9c284de
xor r8d, r8d
lea rdx, [rsp + 0x1a0]
lea rcx, [rsp + 0xd8]
call fcn.7ff9b9c285e0
nop
lea rcx, [rsp + 0xd8]
call fcn.7ff9b9c275d0
nop
lea rcx, [rsp + 0xd8]
call fcn.7ff9b9c143b0
jmp 0x7ff9b9c28329
lea rcx, [rsp + 0x180]
call fcn.7ff9b9c15550
nop
lea rcx, [rsp + 0x170]
call fcn.7ff9b9c15550
nop
lea rcx, [rsp + 0x190]
call fcn.7ff9b9c15550
mov eax, 1
imul rax, rax, 0
movzx eax, byte [rsp + rax + 0x168]
test eax, eax
jne 0x7ff9b9c28532
xor r8d, r8d
xor edx, edx
lea rcx, [0x7ff9b9da5c90]
call fcn.7ff9b9c27790
mov eax, 1
imul rax, rax, 1
movzx eax, byte [rsp + rax + 0x168]
test eax, eax
jne 0x7ff9b9c28558
xor r8d, r8d
xor edx, edx
lea rcx, [0x7ff9b9da5cb8]
call fcn.7ff9b9c27790
mov eax, 1
imul rax, rax, 2
movzx eax, byte [rsp + rax + 0x168]
test eax, eax
jne 0x7ff9b9c2857e
xor r8d, r8d
xor edx, edx
lea rcx, [0x7ff9b9da5cf0]
call fcn.7ff9b9c27790
cmp dword [rsp + 0x40], 0
jbe 0x7ff9b9c2858c
mov byte [rsp + 0x44], 1
jmp 0x7ff9b9c28591
mov byte [rsp + 0x44], 0
movzx eax, byte [rsp + 0x44]
mov rcx, qword [rsp + 0x5c0]
xor rcx, rsp
call fcn.7ff9b9d49770
add rsp, 0x5d0
pop rdi
ret