Function at 0x1400d358c
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x370]
sub rsp, 0x470
mov rax, qword [0x1403bf028]
xor rax, rsp
mov qword [rbp + 0x360], rax
xor ebx, ebx
mov r13, r9
mov rsi, r8
mov r14, rdx
mov r15, rcx
bt rcx, 9
jae 0x1400d376c
lea r8, [rsp + 0x58]
mov qword [rsp + 0x58], rbx
lea edx, [rbx + 1]
lea rcx, [0x1402d1e28]
call fcn.14008699c
test eax, eax
jne 0x1400d376c
mov r12d, ebx
xor edx, edx
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x44]
lea rax, [rbp + 0x160]
mov dword [rsp + 0x44], 0x100
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x60]
lea rax, [rsp + 0x48]
mov dword [rsp + 0x40], 0x200
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x1400d3761
cmp dword [rsp + 0x48], 1
mov qword [rsp + 0x50], rbx
jne 0x1400d36d6
mov r9d, dword [rsp + 0x44]
test r9d, r9d
je 0x1400d36d6
mov ebx, dword [rsi]
cmp ebx, r9d
jbe 0x1400d36d4
test r9d, r9d
js 0x1400d3836
mov r8, qword [r14]
lea rcx, [rsp + 0x60]
mov edx, r9d
call fcn.14008f504
test eax, eax
jne 0x1400d36d4
mov edi, dword [rsp + 0x40]
lea rdx, [rsp + 0x50]
shr edi, 1
mov r8, r13
dec edi
lea ecx, [rbx + rdi]
add rcx, rcx
call fcn.14008d6d4
xor ebx, ebx
test eax, eax
js 0x1400d36d6
mov r8d, dword [rsi]
lea rbx, [rdi + rdi]
add r8d, edi
mov r15d, 0x16
add r8, r8
test rbx, rbx
je 0x1400d370e
mov rcx, qword [rsp + 0x50]
test rcx, rcx
jne 0x1400d36e1
call fcn.140263a70
mov dword [rax], r15d
jmp 0x1400d3709
xor ebx, ebx
inc r12d
mov edx, r12d
jmp 0x1400d35fb
cmp r8, rbx
jb 0x1400d36f7
mov r8, rbx
lea rdx, [rbp + 0x160]
call fcn.140238940
jmp 0x1400d370e
xor edx, edx
call fcn.140238d40
call fcn.140263a70
mov dword [rax], 0x22
call fcn.140261a3c
mov rax, qword [rsp + 0x50]
movsxd r8, dword [rsi]
mov rdx, qword [r14]
lea rcx, [rbx + rax]
add r8, r8
je 0x1400d3745
test rcx, rcx
je 0x1400d3738
test rdx, rdx
je 0x1400d3733
call fcn.140238940
jmp 0x1400d3745
call fcn.140238d40
call fcn.140263a70
mov dword [rax], r15d
call fcn.140261a3c
mov rcx, qword [rsp + 0x50]
mov qword [r14], rcx
add dword [rsi], edi
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
jmp 0x1400d380c
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
bt r15, 0xa
jae 0x1400d380a
lea r8, [rsp + 0x48]
mov word [rsp + 0x60], bx
lea rdx, [rsp + 0x60]
mov dword [rsp + 0x48], 0x200
lea rcx, [0x1402d2c40]
call fcn.14008d07c
lea rax, [rsp + 0x60]
or rdi, 0xffffffffffffffff
inc rdi
cmp word [rax + rdi*2], bx
jne 0x1400d37a3
mov qword [rsp + 0x50], rbx
test edi, edi
je 0x1400d380a
mov ecx, dword [rsi]
lea rdx, [rsp + 0x50]
add ecx, edi
mov r8, r13
add rcx, rcx
call fcn.14008d6d4
test eax, eax
js 0x1400d380a
mov rcx, qword [rsp + 0x50]
lea rdx, [rsp + 0x60]
mov eax, edi
lea rbx, [rax + rax]
mov r8, rbx
call fcn.140238940
movsxd r8, dword [rsi]
mov rcx, qword [rsp + 0x50]
add r8, r8
mov rdx, qword [r14]
add rcx, rbx
call fcn.140238940
mov rax, qword [rsp + 0x50]
mov qword [r14], rax
add dword [rsi], edi
jmp 0x1400d375a
xor al, al
mov rcx, qword [rbp + 0x360]
xor rcx, rsp
call fcn.1402361b0
mov rbx, qword [rsp + 0x4b0]
add rsp, 0x470
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
xor edx, edx
mov ecx, 0x1402520
call fcn.140025d34
int3