Function at 0x411f80
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.0040ee90
mov r13, rax
test rax, rax
jne 0x41206e
mov qword [rsi + 8], rbx
mov dword [rsi + 0x10], ebx
lea r12, [0x00463658]
mov qword [rsi], r12
mov dword [rsi + 0x18], ebx
xor edx, edx
mov rcx, rsi
call qword [0x00463660]
nop
lea r15, [0x00463698]
mov qword [rsi], r15
test rbp, rbp
je 0x41201c
cmp byte [rbp], r13b
je 0x41201c
mov rax, rbp
inc ebx
inc rax
cmp byte [rax], 0
jne 0x412012
movsxd rdi, dword [rsi + 0x10]
lea edx, [rdi + rbx]
mov rcx, rsi
call qword [0x004636a0]
cmp edi, edi
jge 0x412049
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.00448f40
movsxd r8, ebx
mov rcx, rdi
add rcx, qword [rsi + 8]
mov rdx, rbp
call fcn.00448f40
nop
lea r14, [0x004636e8]
mov qword [rsi], r14
mov rax, rsi
jmp 0x412258
mov qword [rsp + 0x50], rbx
mov dword [rsp + 0x58], ebx
lea r12, [0x00463658]
mov qword [rsp + 0x48], r12
mov dword [rsp + 0x60], ebx
xor edx, edx
lea rcx, [rsp + 0x48]
call qword [0x00463660]
nop
lea r15, [0x00463698]
mov qword [rsp + 0x48], r15
movsxd rdi, dword [rsp + 0x58]
mov edx, edi
lea rcx, [rsp + 0x48]
call qword [0x004636a0]
cmp edi, edi
jge 0x4120cf
mov rcx, qword [rsp + 0x50]
add rcx, rdi
mov eax, edi
sub eax, edi
movsxd r8, eax
mov rdx, rcx
call fcn.00448f40
nop
lea r14, [0x004636e8]
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 0x412187
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 0x412228
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 [0x00463660]
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 [0x004636a0]
cmp edi, edi
jge 0x4121ec
mov rdx, rdi
add rdx, qword [rsi + 8]
lea rcx, [rdx + rbp]
mov eax, edi
sub eax, edi
movsxd r8, eax
call fcn.00448f40
mov r8, rbp
mov rcx, rdi
add rcx, qword [rsi + 8]
mov rdx, r13
call fcn.00448f40
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 0x412223
call fcn.00448f10
mov rax, rsi
jmp 0x412258
mov rdx, rbp
mov rcx, rsi
call fcn.00404030
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 0x412255
call fcn.00448f10
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