Function at 0x411ca0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
mov rax, rsp
sub rsp, 0xa8
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 0x20], rbx
mov qword [rax - 8], rbp
mov qword [rax - 0x10], rsi
mov qword [rax - 0x18], rdi
mov qword [rax - 0x20], r12
mov qword [rax - 0x28], r13
mov qword [rax - 0x30], r14
mov qword [rax - 0x38], r15
mov rbp, r8
mov rsi, rcx
xor ebx, ebx
mov dword [rsp + 0x38], ebx
call fcn.0040ee80
mov r13, rax
test rax, rax
jne 0x411d8e
mov qword [rsi + 8], rbx
mov dword [rsi + 0x10], ebx
lea r12, [0x0045e628]
mov qword [rsi], r12
mov dword [rsi + 0x18], ebx
xor edx, edx
mov rcx, rsi
call qword [0x0045e630]
nop
lea r15, [0x0045e668]
mov qword [rsi], r15
test rbp, rbp
je 0x411d3c
cmp byte [rbp], r13b
je 0x411d3c
mov rax, rbp
inc ebx
inc rax
cmp byte [rax], 0
jne 0x411d32
movsxd rdi, dword [rsi + 0x10]
lea edx, [rdi + rbx]
mov rcx, rsi
call qword [0x0045e670]
cmp edi, edi
jge 0x411d69
mov rdx, rdi
add rdx, qword [rsi + 8]
movsxd rcx, ebx
add rcx, rdx
mov eax, edi
sub eax, edi
movsxd r8, eax
call fcn.00446c20
movsxd r8, ebx
mov rcx, rdi
add rcx, qword [rsi + 8]
mov rdx, rbp
call fcn.00446c20
nop
lea r14, [0x0045e6b8]
mov qword [rsi], r14
mov rax, rsi
jmp 0x411f78
mov qword [rsp + 0x50], rbx
mov dword [rsp + 0x58], ebx
lea r12, [0x0045e628]
mov qword [rsp + 0x48], r12
mov dword [rsp + 0x60], ebx
xor edx, edx
lea rcx, [rsp + 0x48]
call qword [0x0045e630]
nop
lea r15, [0x0045e668]
mov qword [rsp + 0x48], r15
movsxd rdi, dword [rsp + 0x58]
mov edx, edi
lea rcx, [rsp + 0x48]
call qword [0x0045e670]
cmp edi, edi
jge 0x411def
mov rcx, qword [rsp + 0x50]
add rcx, rdi
mov eax, edi
sub eax, edi
movsxd r8, eax
mov rdx, rcx
call fcn.00446c20
nop
lea r14, [0x0045e6b8]
mov qword [rsp + 0x48], r14
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x38]
xor r8d, r8d
mov rdi, qword [rsp + 0xb8]
mov rdx, rdi
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [rsp + 0x34], eax
test eax, eax
jne 0x411ea7
mov edx, dword [rsp + 0x30]
lea rcx, [rsp + 0x48]
mov rax, qword [rsp + 0x48]
call qword [rax + 8]
mov edx, dword [rsp + 0x58]
lea rcx, [rsp + 0x48]
mov rax, qword [rsp + 0x48]
call qword [rax + 8]
lea r11, [rsp + 0x30]
mov qword [rsp + 0x28], r11
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x38]
xor r8d, r8d
mov rdx, rdi
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [rsp + 0x34], eax
mov edx, dword [rsp + 0x58]
lea rcx, [rsp + 0x48]
mov rax, qword [rsp + 0x48]
call qword [rax + 8]
xor eax, eax
mov rcx, 0xffffffffffffffff
mov rdi, qword [rsp + 0x50]
repne scasb al, byte [rdi]
not rcx
dec rcx
mov dword [rsp + 0x58], ecx
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [rsp + 0x34], 0
jne 0x411f48
mov qword [rsi + 8], rbx
mov dword [rsi + 0x10], ebx
mov qword [rsi], r12
mov dword [rsi + 0x18], ebx
xor edx, edx
mov rcx, rsi
call qword [0x0045e630]
nop
mov qword [rsi], r15
movsxd rbp, dword [rsp + 0x58]
mov r13, qword [rsp + 0x50]
movsxd rdi, dword [rsi + 0x10]
lea edx, [rdi + rbp]
mov rcx, rsi
call qword [0x0045e670]
cmp edi, edi
jge 0x411f0c
mov rdx, rdi
add rdx, qword [rsi + 8]
lea rcx, [rdx + rbp]
mov eax, edi
sub eax, edi
movsxd r8, eax
call fcn.00446c20
mov r8, rbp
mov rcx, rdi
add rcx, qword [rsi + 8]
mov rdx, r13
call fcn.00446c20
nop
mov qword [rsi], r14
mov qword [rsp + 0x48], r12
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x50], rbx
mov dword [rsp + 0x58], ebx
mov dword [rsp + 0x60], ebx
test rcx, rcx
je 0x411f43
call fcn.00446bf0
mov rax, rsi
jmp 0x411f78
mov rdx, rbp
mov rcx, rsi
call fcn.00404040
nop
mov qword [rsp + 0x48], r12
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x50], rbx
mov dword [rsp + 0x58], ebx
mov dword [rsp + 0x60], ebx
test rcx, rcx
je 0x411f75
call fcn.00446bf0
mov rax, rsi
mov rbx, qword [rsp + 0xc8]
mov rbp, qword [rsp + 0xa0]
mov rsi, qword [rsp + 0x98]
mov rdi, qword [rsp + 0x90]
mov r12, qword [rsp + 0x88]
mov r13, qword [rsp + 0x80]
mov r14, qword [rsp + 0x78]
mov r15, qword [rsp + 0x70]
add rsp, 0xa8
ret