Function at 0x180010918
Capabilities:
Query or enumerate registry key

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x38]
sub rsp, 0x110
mov rax, qword [0x180035478]
xor rax, rsp
mov qword [rbp], rax
mov rbx, rdx
mov r12, rcx
call fcn.1800106a8
xor r13d, r13d
test al, al
je 0x180010ceb
lea r15d, [r13 + 7]
lea rcx, [rbp - 0x68]
mov bl, 1
mov qword [rbp - 0x40], r13
mov word [rbp - 0x50], r13w
mov qword [rbp - 0x38], r15
call qword [0x180038778]
or r14, 0xffffffffffffffff
test eax, eax
js 0x180010c8d
lea rax, [rsp + 0x70]
lea rdx, str.SECURITYPolicySecrets
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x180010c6b
mov rcx, qword [rsp + 0x70]
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x38], r13
lea rax, [rsp + 0x68]
mov qword [rsp + 0x30], r13
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x64]
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x180010c48
mov edi, r13d
cmp dword [rsp + 0x64], r13d
jbe 0x180010c30
test bl, bl
je 0x180010c30
mov eax, dword [rsp + 0x68]
mov dword [rbp - 0x80], r13d
lea eax, [rax + rax + 2]
mov ecx, eax
mov dword [rsp + 0x60], eax
mov eax, 2
mul rcx
cmovo rax, r14
mov rcx, rax
call fcn.180014110
mov rcx, qword [rsp + 0x70]
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
lea r9, [rsp + 0x60]
mov r8, rax
mov edx, edi
mov qword [rsp + 0x28], r13
mov qword [rbp - 0x78], rax
mov qword [rsp + 0x20], r13
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x180010bed
movzx eax, word [rsp + 0x60]
lea rdx, str._nSecret_____:
lea rcx, [rbp - 0x50]
add ax, ax
mov r8d, 0xe
mov word [rbp - 0x7e], ax
mov word [rbp - 0x80], ax
call fcn.180001e20
movaps xmm0, xmmword [rbp - 0x80]
movdqa xmmword [rbp - 0x60], xmm0
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x28]
call fcn.180008190
lea rcx, [rbp - 0x50]
mov r9, r14
mov rdx, rax
xor r8d, r8d
call fcn.180001918
cmp qword [rbp - 0x10], 8
jb 0x180010ad3
mov rcx, qword [rbp - 0x28]
call fcn.180015b04
lea rcx, [rbp - 0x50]
call fcn.180010d24
mov rcx, qword [rbp - 0x68]
lea r9, [rbp - 0x70]
lea rdx, [rbp - 0x80]
mov r8d, 2
call qword [0x180038780]
test eax, eax
js 0x180010bd7
mov rcx, qword [rbp - 0x70]
lea rdx, [rsp + 0x78]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x78], r13
mov qword [rsp + 0x20], r13
call qword [0x180038788]
lea rcx, [rbp - 0x50]
test eax, eax
js 0x180010bb9
lea rdx, str.Credential_:
mov r8d, 0xd
call fcn.180001a3c
mov rax, qword [rsp + 0x78]
lea rdx, str._NULL_
mov esi, dword [rax]
mov rbx, qword [rax + 8]
lea rcx, [rbp - 0x28]
mov r8d, 6
mov qword [rbp - 0x10], r15
mov qword [rbp - 0x18], r13
mov word [rbp - 0x28], r13w
call fcn.180001e20
test rbx, rbx
je 0x180010b7d
lea rcx, [rbp - 0x28]
mov r8d, esi
mov rdx, rbx
call fcn.180007fa0
jmp 0x180010b81
lea rax, [rbp - 0x28]
lea rcx, [rbp - 0x50]
mov r9, r14
xor r8d, r8d
mov rdx, rax
call fcn.180001918
cmp qword [rbp - 0x10], 8
jb 0x180010ba3
mov rcx, qword [rbp - 0x28]
call fcn.180015b04
lea rcx, [rbp - 0x50]
call fcn.180010d24
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_LsaFreeMemory]
jmp 0x180010bcb
lea rdx, str.Erreur_:_Impossible_de_r
mov r8d, 0x2b
call fcn.180001a3c
lea rcx, [rbp - 0x70]
call qword [0x180038790]
jmp 0x180010bed
lea rdx, str.Erreur_:_Impossible_douvrir_le_secret_n
lea rcx, [rbp - 0x50]
mov r8d, 0x27
call fcn.180001a3c
mov rcx, qword [rbp - 0x78]
call fcn.180015c0c
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x28]
mov r9, r14
xor r8d, r8d
mov qword [rbp - 0x10], r15
mov qword [rbp - 0x18], r13
mov word [rbp - 0x28], r13w
call fcn.180001b90
lea rdx, [rbp - 0x28]
mov rcx, r12
call fcn.1800015e4
inc edi
mov bl, al
cmp edi, dword [rsp + 0x64]
jb 0x180010a12
cmp qword [rbp - 0x38], 8
lea rcx, [rbp - 0x50]
mov qword [rbp - 0x40], r13
cmovae rcx, qword [rbp - 0x50]
mov word [rcx], r13w
jmp 0x180010c5e
lea rdx, str.Erreur_:_Impossible_dobtenir_des_information_sur_le_registre_secret_n
lea rcx, [rbp - 0x50]
mov r8d, 0x45
call fcn.180001e20
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x180010c81
lea rdx, str.Erreur_:_Impossible_douvrir_la_cl
lea rcx, [rbp - 0x50]
mov r8d, 0x2c
call fcn.180001e20
lea rcx, [rbp - 0x68]
call qword [0x180038790]
jmp 0x180010ca3
lea rdx, str.Erreur_:_Impossible_douvrir_la_politique_n
lea rcx, [rbp - 0x50]
mov r8d, 0x2a
call fcn.180001e20
cmp qword [rbp - 0x40], r13
je 0x180010cd7
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x28]
mov r9, r14
xor r8d, r8d
mov qword [rbp - 0x10], r15
mov qword [rbp - 0x18], r13
mov word [rbp - 0x28], r13w
call fcn.180001b90
lea rdx, [rbp - 0x28]
mov rcx, r12
call fcn.1800015e4
mov bl, al
cmp qword [rbp - 0x38], 8
jb 0x180010ce7
mov rcx, qword [rbp - 0x50]
call fcn.180015b04
mov al, bl
jmp 0x180010cf6
mov rdx, rbx
mov rcx, r12
call sym.sekurlsa.dll_getSECFunctions
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.1800155b0
lea r11, [rsp + 0x110]
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