Function at 0x1400917dc
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov r15, rdx
mov r14, rcx
mov rcx, qword [section..data]
lea rsi, section..data
lea r13, [0x1400bd6b0]
cmp rcx, rsi
je 0x140091830
test byte [rcx + 0x1c], 1
je 0x140091830
cmp byte [rcx + 0x19], 5
jb 0x140091830
mov rcx, qword [rcx + 0x10]
mov edx, 0x3f
mov r8, r13
call fcn.1400062b0
mov rcx, qword [r14]
lea rax, [rbp + 0x40]
xor r12d, r12d
xor r9d, r9d
mov qword [rsp + 0x58], r12
xor r8d, r8d
mov qword [rsp + 0x50], r12
xor edx, edx
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x50]
mov qword [rsp + 0x20], rax
mov dword [rbp + 0x50], r12d
mov dword [rbp + 0x40], r12d
call qword [sym.imp.KERNEL32.dll_RegQueryInfoKeyW]
nop dword [rax + rax]
mov edi, eax
mov r10, qword [section..data]
cmp r10, rsi
je 0x1400918b9
test byte [r10 + 0x1c], 2
je 0x1400918b9
cmp byte [r10 + 0x19], 4
jb 0x1400918b9
mov rcx, qword [r10 + 0x10]
lea edx, [r12 + 0x40]
mov r9d, eax
mov r8, r13
call fcn.14000ad20
mov r10, qword [section..data]
inc dword [rbp + 0x40]
test edi, edi
jne 0x140091a92
mov rax, qword [0x1400cce40]
movabs r10, 0xb1a8ae8f5a5da170
mov rax, qword [rax + 0x18]
lea rcx, [0x1400cce40]
call qword [case.0x140071786.0]
lea rbx, [rax + 0x18]
mov qword [rbp - 0x10], rbx
mov rcx, qword [section..data]
cmp rcx, rsi
je 0x140091919
test byte [rcx + 0x1c], 2
je 0x140091919
cmp byte [rcx + 0x19], 4
jb 0x140091919
mov r9d, dword [rbp + 0x50]
lea edx, [rdi + 0x41]
mov rcx, qword [rcx + 0x10]
mov r8, r13
call fcn.14000af7c
mov esi, r12d
cmp dword [rbp + 0x50], r12d
jbe 0x140091a59
test edi, edi
jne 0x140091a59
movsxd rdi, dword [rbp + 0x40]
mov ecx, 1
mov dword [rbp + 0x58], edi
mov eax, dword [rbx - 0xc]
sub ecx, dword [rbx - 8]
sub eax, edi
or ecx, eax
jge 0x140091955
mov edx, edi
lea rcx, [rbp - 0x10]
call fcn.140005c2c
mov rbx, qword [rbp - 0x10]
test edi, edi
js 0x140091ae2
cmp edi, dword [rbx - 0xc]
jg 0x140091ae2
mov dword [rbx - 0x10], edi
lea rax, [rbp - 8]
mov qword [rsp + 0x38], rax
lea r9, [rbp + 0x58]
mov qword [rsp + 0x30], r12
mov r8, rbx
mov word [rbx + rdi*2], r12w
mov edx, esi
mov rcx, qword [r14]
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
nop dword [rax + rax]
mov edi, eax
mov rcx, qword [section..data]
lea rax, section..data
cmp rcx, rax
je 0x1400919d3
test byte [rcx + 0x1c], 2
je 0x1400919d3
cmp byte [rcx + 0x19], 4
jb 0x1400919d3
mov rcx, qword [rcx + 0x10]
mov edx, 0x42
mov r9d, edi
mov r8, r13
call fcn.14000ad20
test edi, edi
jne 0x1400919f7
mov eax, dword [rbp + 0x58]
cmp eax, 0xffffffff
jne 0x1400919ed
or rax, 0xffffffffffffffff
inc rax
cmp word [rbx + rax*2], r12w
jne 0x1400919e3
test eax, eax
js 0x140091ae2
jmp 0x1400919fa
mov eax, r12d
cmp eax, dword [rbx - 0xc]
jg 0x140091ae2
mov dword [rbx - 0x10], eax
cdqe
mov word [rbx + rax*2], r12w
test edi, edi
jne 0x140091a4e
lea rdx, [rbp - 0x10]
mov rcx, r15
call fcn.14000c674
mov rcx, qword [section..data]
lea rax, section..data
cmp rcx, rax
je 0x140091a4e
test byte [rcx + 0x1c], 2
je 0x140091a4e
cmp byte [rcx + 0x19], 4
jb 0x140091a4e
mov rcx, qword [rcx + 0x10]
lea edx, [rdi + 0x43]
mov r9, rbx
mov r8, r13
call fcn.1400062dc
inc esi
cmp esi, dword [rbp + 0x50]
jb 0x140091926
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140091a84
mov rcx, qword [rdx]
mov rax, qword [rcx]
movabs r10, 0xee98078a7ad38370
mov rax, qword [rax + 8]
call qword [case.0x140071786.0]
mov r10, qword [section..data]
lea rsi, section..data
cmp r10, rsi
je 0x140091ac7
test byte [r10 + 0x1c], 1
je 0x140091ac7
movzx edx, byte [r10 + 0x19]
mov eax, edi
neg eax
sbb ecx, ecx
and ecx, 0xfffffffd
add ecx, 5
cmp edx, ecx
jb 0x140091ac7
mov rcx, qword [r10 + 0x10]
mov edx, 0x44
mov r9d, edi
mov r8, r13
call fcn.14000ad20
mov rbx, qword [rsp + 0xb8]
mov eax, edi
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x80070057
call fcn.1400055a0
int3