Function at 0x100080328
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xd0
mov rax, qword [0x10010f190]
xor rax, rsp
mov qword [rsp + 0xc0], rax
xor ebp, ebp
mov r13, rdx
lea r8, [rsp + 0x58]
mov dword [rdx], ebp
mov dword [rdx + 4], ebp
lea rdx, [0x100010178]
mov rsi, rcx
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x60], rbp
mov r12, rbp
mov qword [rsp + 0x48], rbp
mov r14b, bpl
mov dword [rsp + 0x50], ebp
mov edi, ebp
mov r15b, bpl
call qword [sym.imp.certcli.dll_CAGetCAProperty]
mov ebx, eax
cmp eax, ebp
je 0x1000803d5
mov ecx, 0x876
call fcn.1000ba420
mov edx, ebx
mov rcx, rax
call fcn.1000b99b0
lea rcx, [0x10000c564]
call fcn.1000b99b0
lea rcx, [0x100010178]
xor r9d, r9d
mov r8d, ebx
mov edx, 0x116013a
call fcn.1000b51b8
jmp 0x10008068b
mov rcx, qword [rsp + 0x58]
mov esi, reloc.WLDAP32.dll_Ordinal_12
lea ebx, [rsi + 0xe]
cmp rcx, rbp
je 0x100080546
cmp qword [rcx], rbp
je 0x100080546
mov rcx, qword [rcx]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x60]
lea rdx, [0x10000f1a8]
xor r8d, r8d
mov qword [rsp + 0x20], rbp
call fcn.1000dd344
mov r12, qword [rsp + 0x48]
mov ebp, eax
test eax, eax
jne 0x100080514
lea rax, [rsp + 0x40]
lea r9, [rsp + 0x48]
lea rdx, [0x10001e5e0]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
xor r8d, r8d
mov rcx, r12
mov dword [rsp + 0x40], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
xor ebp, ebp
cmp eax, ebp
jne 0x10008048d
cmp dword [rsp + 0x48], 4
jne 0x10008048d
mov r9d, dword [rsp + 0x50]
lea r8, [0x10000f614]
lea rcx, [rsp + 0x70]
mov rdx, rsi
call fcn.100038358
mov r14b, 1
jmp 0x1000804a1
lea rcx, [0x10001e608]
xor r9d, r9d
mov r8d, eax
xor edx, edx
call fcn.1000ba5ac
lea rax, [rsp + 0x40]
lea r9, [rsp + 0x48]
lea rdx, [0x10001e628]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x88]
xor r8d, r8d
mov rcx, r12
mov dword [rsp + 0x40], 0x34
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, ebp
jne 0x1000804f4
cmp dword [rsp + 0x48], 1
jne 0x1000804f4
mov edi, dword [rsp + 0x40]
shr edi, 1
cmp edi, ebx
jb 0x100080508
mov edi, reloc.OLEAUT32.dll_SafeArrayPutElement
jmp 0x100080508
lea rcx, [0x10001e608]
xor r9d, r9d
mov r8d, eax
xor edx, edx
call fcn.1000ba5ac
mov eax, edi
mov word [rsp + rax*2 + 0x88], bp
jmp 0x100080542
lea rcx, [0x10001e650]
xor r9d, r9d
mov r8d, eax
xor edx, edx
call fcn.1000ba5ac
mov rcx, qword [rsp + 0x58]
xor r9d, r9d
mov rcx, qword [rcx]
mov r8d, ebp
mov edx, 0x156013a
call fcn.1000b51b8
xor ebp, ebp
cmp edi, ebp
jne 0x10008058e
lea rdx, [0x1000108e0]
lea rax, [rsp + 0x88]
lea rcx, [rsp + 0x88]
sub rdx, rax
lea rax, [rbx + 0x7fffffe4]
cmp rax, rbp
je 0x100080582
movzx eax, word [rdx + rcx]
cmp ax, bp
je 0x100080582
mov word [rcx], ax
add rcx, 2
sub rbx, 1
jne 0x100080560
cmp rbx, rbp
jne 0x10008058b
sub rcx, 2
mov word [rcx], bp
cmp r14b, bpl
jne 0x1000805d5
lea rdx, [0x10000d808]
lea rax, [rsp + 0x70]
lea rcx, [rsp + 0x70]
sub rdx, rax
lea rax, [rsi + 0x7ffffff2]
cmp rax, rbp
je 0x1000805c9
movzx eax, word [rdx + rcx]
cmp ax, bp
je 0x1000805c9
mov word [rcx], ax
add rcx, 2
sub rsi, 1
jne 0x1000805a7
cmp rsi, rbp
jne 0x1000805d2
sub rcx, 2
mov word [rcx], bp
mov edx, dword [rsp + 0x50]
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x48]
lea rcx, [rsp + 0x88]
call fcn.1000afee0
cmp eax, ebp
je 0x10008060e
lea rcx, [rsp + 0x88]
xor r9d, r9d
mov r8d, eax
mov edx, 0x166013a
call fcn.1000b51b8
jmp 0x10008062b
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov r8d, dword [rsp + 0x48]
mov edx, dword [rsp + 0x40]
mov rcx, r13
call fcn.1000b8418
mov r15b, 1
lea rcx, [0x10000c564]
call fcn.1000b99b0
mov ecx, 0x871
call fcn.1000ba420
lea r8, [rsp + 0x88]
lea rdx, [rsp + 0x70]
mov rcx, rax
call fcn.1000b99b0
cmp r15b, bpl
je 0x100080678
lea rcx, [0x10001e4f8]
call fcn.1000b99b0
mov r9, r13
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.100051fbc
jmp 0x100080684
lea rcx, [0x10000c564]
call fcn.1000b99b0
mov rsi, qword [rsp + 0x68]
mov ebx, ebp
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rdx, qword [rsp + 0x58]
cmp rdx, rbp
je 0x1000806a9
mov rcx, rsi
call qword [sym.imp.certcli.dll_CAFreeCAProperty]
cmp r12, rbp
je 0x1000806b7
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1000ef870
mov rbx, qword [rsp + 0x120]
add rsp, 0xd0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret