Function at 0x18000c1a7
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
sub rsp, 0xab0
lea rbp, [rsp + 0x40]
mov qword [rsp], rax
mov rax, 0xaac
mov dword [rsp + rax], 0xcccccccc
sub rax, 4
cmp rax, 4
jg 0x18000c196
mov rax, qword [rsp]
mov dword [rsp], 0xcccccccc
mov dword [rsp + 4], 0xcccccccc
mov qword [rbp + 0x1c0], rsi
mov qword [rbp + 0x1b8], rbx
mov qword [rbp + 0xa80], rcx
mov dword [rbp + 0xa88], edx
mov rax, qword [0x1800f4ae8]
xor rax, rbp
mov qword [rbp + 0xa60], rax
mov byte [rbp + 0x4e], 0
mov byte [rbp + 0x4d], 0
mov byte [rbp + 0x4a], 0
mov byte [rbp + 0x49], 0
mov byte [rbp + 0x48], 0
mov byte [rbp + 0x4b], 0
mov byte [rbp + 0x4c], 0
mov dword [rbp + 0x50], 0
mov eax, 0
mov edx, 0
mov rcx, qword [sym.imp.ole32.dll_CoInitializeEx]
mov qword [rbp + 0x158], rcx
mov rcx, rax
mov rax, qword [rbp + 0x158]
call rax
mov dword [rbp + 0x54], eax
mov qword [rbp + 0xa0], 0
mov qword [rbp + 0xa8], 0
lea rax, [0x1801016b2]
mov rdx, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rcx, rax
call rdx
mov qword [rbp + 0xb0], rax
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0xb8], rax
mov rax, qword [rbp + 0xb8]
test rax, rax
je 0x18000c7b4
lea rax, [0x1801016be]
mov rdx, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
call rdx
mov qword [rbp + 0xc0], rax
mov rax, qword [rbp + 0xc0]
lea rdx, [0x1801016ca]
mov rcx, qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp + 0x160], rcx
mov rcx, rax
mov rax, qword [rbp + 0x160]
call rax
mov qword [rbp + 0xc8], rax
mov byte [rbp + 0x48], 1
mov rax, qword [rbp + 0xc8]
mov qword [rbp + 0xd0], rax
lea rax, [0x1801016e2]
mov rdx, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
call rdx
mov qword [rbp + 0xd8], rax
mov rax, qword [rbp + 0xd8]
lea rdx, [0x1801016ee]
mov rcx, qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp + 0x168], rcx
mov rcx, rax
mov rax, qword [rbp + 0x168]
call rax
mov qword [rbp + 0xe0], rax
mov byte [rbp + 0x49], 1
mov rax, qword [rbp + 0xe0]
mov qword [rbp + 0xf0], rax
lea rax, [0x180101705]
mov rdx, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
call rdx
mov qword [rbp + 0xf8], rax
mov rax, qword [rbp + 0xf8]
lea rdx, [0x180101711]
mov rcx, qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp + 0x170], rcx
mov rcx, rax
mov rax, qword [rbp + 0x170]
call rax
mov qword [rbp + 0x100], rax
mov byte [rbp + 0x4a], 1
mov rax, qword [rbp + 0x100]
mov qword [rbp + 0xe8], rax
movzx eax, byte [rbp + 0x48]
test eax, eax
jne 0x18000c3a6
lea rax, [0x180101648]
mov rcx, rax
call fcn.180064a90
mov rax, qword [rbp + 0xd0]
test rax, rax
je 0x18000c79e
movzx eax, byte [rbp + 0x49]
test eax, eax
jne 0x18000c3cd
lea rax, [0x180101664]
mov rcx, rax
call fcn.180064a90
mov rax, qword [rbp + 0xf0]
test rax, rax
je 0x18000c79e
movzx eax, byte [rbp + 0x4a]
test eax, eax
jne 0x18000c3f4
lea rax, [0x180101680]
mov rcx, rax
call fcn.180064a90
mov rax, qword [rbp + 0xe8]
test rax, rax
je 0x18000c79e
mov byte [rbp + 0x4b], 1
mov dword [rbp + 8], 0
movzx eax, byte [rbp + 0x48]
test eax, eax
jne 0x18000c426
lea rax, [0x180101648]
mov rcx, rax
call fcn.180064a90
mov byte [rbp + 0x4b], 1
mov rax, qword [rbp + 0xd0]
lea rdx, [0x180101634]
mov ecx, 0
lea rbx, [rbp + 8]
mov qword [rbp + 0x178], rcx
mov rcx, rdx
mov rdx, qword [rbp + 0x178]
mov r8, rbx
call rax
mov qword [rbp + 0x110], rax
mov rax, qword [rbp + 0x110]
test rax, rax
jne 0x18000c79e
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
mov dword [rbp + 0x80], eax
mov eax, dword [rbp + 0x80]
mov dword [rbp + 0x84], eax
mov byte [rbp + 0x4c], 1
mov eax, dword [rbp + 0x84]
mov dword [rbp + 0x88], eax
mov eax, dword [rbp + 0x84]
cmp eax, 0x7a
jne 0x18000c79e
movzx eax, byte [rbp + 0x4b]
test eax, eax
jne 0x18000c4bf
lea rax, [0x180101694]
mov rcx, rax
call fcn.180064a90
mov eax, dword [rbp + 8]
mov ecx, eax
call fcn.1800106cc
mov qword [rbp + 0x120], rax
mov rax, qword [rbp + 0x120]
mov qword [rbp + 0xa8], rax
mov rax, qword [rbp + 0xa8]
test rax, rax
je 0x18000c79e
movzx eax, byte [rbp + 0x48]
test eax, eax
jne 0x18000c505
lea rax, [0x180101648]
mov rcx, rax
call fcn.180064a90
mov byte [rbp + 0x4b], 1
mov rax, qword [rbp + 0xd0]
lea rdx, [0x180101620]
mov rcx, qword [rbp + 0xa8]
lea rbx, [rbp + 8]
mov qword [rbp + 0x180], rcx
mov rcx, rdx
mov rdx, qword [rbp + 0x180]
mov r8, rbx
call rax
mov qword [rbp + 0x128], rax
mov rax, qword [rbp + 0x128]
mov qword [rbp + 0xa0], rax
mov rax, qword [rbp + 0xa0]
test rax, rax
je 0x18000c79e
mov eax, 0
cmp eax, 1
je 0x18000c79e
mov eax, dword [rbp + 0x50]
mov edx, dword [rbp + 0xa88]
cmp eax, edx
jae 0x18000c79e
mov rax, qword [rbp + 0xa8]
mov rax, qword [rax + 8]
test rax, rax
je 0x18000c667
mov rax, qword [rbp + 0xa8]
mov rax, qword [rax + 8]
mov edx, 0x40
mov rcx, rax
call fcn.180001794
mov qword [rbp + 0x130], rax
mov rax, qword [rbp + 0x130]
test rax, rax
je 0x18000c667
mov rax, qword [rbp + 0xa8]
mov rax, qword [rax + 8]
mov edx, 0x40
mov rcx, rax
call fcn.180001794
mov qword [rbp + 0x138], rax
mov eax, dword [rbp + 0x50]
imul rax, rax, 0x400
add rax, qword [rbp + 0xa80]
mov edx, 2
add rdx, qword [rbp + 0x138]
mov ecx, 0x200
mov qword [rbp + 0x188], rcx
mov rcx, rax
mov rax, qword [rbp + 0x188]
mov r8, rax
call fcn.180063c00
mov qword [rbp + 0x140], rax
mov eax, dword [rbp + 0x50]
imul rax, rax, 0x400
add rax, qword [rbp + 0xa80]
add rax, 0x3fe
mov word [rax], 0
mov eax, dword [rbp + 0x50]
imul rax, rax, 0x400
add rax, qword [rbp + 0xa80]
mov rcx, rax
call fcn.1800c12a0
mov qword [rbp + 0x148], rax
mov eax, 1
add eax, dword [rbp + 0x50]
mov dword [rbp + 0x50], eax
movzx eax, byte [rbp + 0x49]
test eax, eax
jne 0x18000c67e
lea rax, [0x180101664]
mov rcx, rax
call fcn.180064a90
mov byte [rbp + 0x4b], 1
mov rax, qword [rbp + 0xf0]
mov rdx, qword [rbp + 0xa0]
mov rcx, qword [rbp + 0xa8]
lea rbx, [rbp + 8]
mov qword [rbp + 0x190], rcx
mov rcx, rdx
mov rdx, qword [rbp + 0x190]
mov r8, rbx
call rax
mov dword [rbp + 0x8c], eax
mov eax, dword [rbp + 0x8c]
test eax, eax
jne 0x18000c55d
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
mov dword [rbp + 0x90], eax
mov eax, dword [rbp + 0x90]
mov dword [rbp + 0x94], eax
mov eax, dword [rbp + 0x94]
cmp eax, 0x7a
jne 0x18000c79e
mov rax, qword [rbp + 0xa8]
mov rcx, rax
call fcn.1800622b0
movzx eax, byte [rbp + 0x4b]
test eax, eax
jne 0x18000c715
lea rax, [0x180101694]
mov rcx, rax
call fcn.180064a90
mov eax, dword [rbp + 8]
mov ecx, eax
call fcn.1800106cc
mov qword [rbp + 0x150], rax
mov rax, qword [rbp + 0x150]
mov qword [rbp + 0xa8], rax
mov rax, qword [rbp + 0xa8]
test rax, rax
je 0x18000c79e
movzx eax, byte [rbp + 0x49]
test eax, eax
jne 0x18000c757
lea rax, [0x180101664]
mov rcx, rax
call fcn.180064a90
mov byte [rbp + 0x4b], 1
mov rax, qword [rbp + 0xf0]
mov rdx, qword [rbp + 0xa0]
mov rcx, qword [rbp + 0xa8]
lea rbx, [rbp + 8]
mov qword [rbp + 0x198], rcx
mov rcx, rdx
mov rdx, qword [rbp + 0x198]
mov r8, rbx
call rax
mov dword [rbp + 0x98], eax
mov eax, dword [rbp + 0x98]
test eax, eax
jne 0x18000c55d
mov rax, qword [rbp + 0xb8]
mov rdx, qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, rax
call rdx
mov dword [rbp + 0x6c], eax
mov rax, qword [rbp + 0xa8]
test rax, rax
je 0x18000c7cf
mov rax, qword [rbp + 0xa8]
mov rcx, rax
call fcn.1800622b0
mov rax, qword [rbp + 0xa0]
test rax, rax
je 0x18000c808
movzx eax, byte [rbp + 0x4a]
test eax, eax
jne 0x18000c7f2
lea rax, [0x180101680]
mov rcx, rax
call fcn.180064a90
mov rax, qword [rbp + 0xe8]
mov rdx, qword [rbp + 0xa0]
mov rcx, rdx
call rax
mov dword [rbp + 0x5c], eax
mov byte [rbp + 0x4d], 1
mov rax, 0xffffffff80000001
lea rdx, [0x1801015c0]
mov ecx, 0
mov ebx, 0x20019
lea rsi, [rbp + 0x38]
mov qword [rsp + 0x20], rsi
mov rsi, qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [rbp + 0x1a0], ecx
mov rcx, rax
mov eax, dword [rbp + 0x1a0]
mov r8d, eax
mov r9d, ebx
call rsi
mov dword [rbp + 0x58], eax
mov eax, dword [rbp + 0x58]
test eax, eax
jne 0x18000ca68
mov dword [rbp + 0x60], 0
mov eax, 0
cmp eax, 1
jne 0x18000c87c
jmp 0x18000ca3e
mov eax, 1
add eax, dword [rbp + 0x60]
mov dword [rbp + 0x60], eax
jmp 0x18000c860
mov dword [rbp + 0x14], 0x40
mov dword [rbp + 0x20], 0x400
movzx eax, byte [rbp + 0x4d]
test eax, eax
jne 0x18000c8a1
lea rax, [0x1801016a0]
mov rcx, rax
call fcn.180064a90
mov byte [rbp + 0x4e], 1
mov rax, qword [rbp + 0x38]
mov edx, dword [rbp + 0x60]
lea rcx, [rbp + 0x1d0]
lea rbx, [rbp + 0x14]
mov qword [rsp + 0x20], 0
lea rsi, [rbp + 0x2c]
mov qword [rsp + 0x28], rsi
lea rsi, [rbp + 0x258]
mov qword [rsp + 0x30], rsi
lea rsi, [rbp + 0x20]
mov qword [rsp + 0x38], rsi
mov rsi, qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov qword [rbp + 0x1a8], rcx
mov rcx, rax
mov rax, qword [rbp + 0x1a8]
mov r8, rax
mov r9, rbx
call rsi
mov dword [rbp + 0x64], eax
mov eax, dword [rbp + 0x64]
mov dword [rbp + 0x70], eax
mov eax, dword [rbp + 0x70]
test eax, eax
jne 0x18000ca30
movzx eax, byte [rbp + 0x4e]
test eax, eax
jne 0x18000c929
lea rax, [0x1801016a8]
mov rcx, rax
call fcn.180064a90
mov eax, dword [rbp + 0x2c]
cmp eax, 1
jne 0x18000c86f
lea rax, [rbp + 0x258]
mov edx, dword [rbp + 0x20]
shr rdx, 1
imul rdx, rdx, 2
add rax, rdx
mov word [rax], 0
lea rax, [rbp + 0x258]
mov rcx, rax
call fcn.1800c12a0
mov qword [rbp + 0x108], rax
mov dword [rbp + 0x74], 0
mov dword [rbp + 0x78], 0
mov eax, dword [rbp + 0x78]
mov edx, dword [rbp + 0x50]
cmp eax, edx
jb 0x18000c98b
jmp 0x18000c9bc
mov eax, 1
add eax, dword [rbp + 0x78]
mov dword [rbp + 0x78], eax
jmp 0x18000c972
mov eax, dword [rbp + 0x78]
imul rax, rax, 0x400
add rax, qword [rbp + 0xa80]
lea rdx, [rbp + 0x258]
mov rcx, rax
call fcn.18006aac0
mov dword [rbp + 0x7c], eax
mov eax, dword [rbp + 0x7c]
test eax, eax
jne 0x18000c97e
mov dword [rbp + 0x74], 1
mov eax, dword [rbp + 0x74]
test eax, eax
jne 0x18000c86f
mov eax, dword [rbp + 0x50]
imul rax, rax, 0x400
add rax, qword [rbp + 0xa80]
lea rdx, [rbp + 0x258]
mov ecx, 0x200
mov qword [rbp + 0x1b0], rcx
mov rcx, rax
mov rax, qword [rbp + 0x1b0]
mov r8, rax
call fcn.180063c00
mov qword [rbp + 0x118], rax
mov eax, dword [rbp + 0x50]
imul rax, rax, 0x400
add rax, qword [rbp + 0xa80]
add rax, 0x3fe
mov word [rax], 0
mov eax, 1
add eax, dword [rbp + 0x50]
mov dword [rbp + 0x50], eax
jmp 0x18000c86f
mov eax, dword [rbp + 0x70]
cmp eax, 0x103
jne 0x18000c86f
movzx eax, byte [rbp + 0x4d]
test eax, eax
jne 0x18000ca55
lea rax, [0x1801016a0]
mov rcx, rax
call fcn.180064a90
mov rax, qword [rbp + 0x38]
mov rdx, qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, rax
call rdx
mov dword [rbp + 0x68], eax
mov rax, qword [sym.imp.ole32.dll_CoUninitialize]
call rax
mov eax, dword [rbp + 0x50]
mov dword [rbp + 0x9c], eax
lea rax, [0x1800c4468]
mov rdx, rax
mov rcx, rbp
call fcn.180061140
mov rax, qword [rbp + 0xa60]
xor rax, rbp
mov rcx, rax
call fcn.1800612f0
mov eax, dword [rbp + 0x9c]
mov rbx, qword [rbp + 0x1b8]
mov rsi, qword [rbp + 0x1c0]
lea rsp, [rbp + 0xa70]
pop rbp
ret