Function at 0x1000691dc
Capabilities:
Query or enumerate registry key

Disassembly:
mov r11, rsp
push r12
push r13
push r15
sub rsp, 0x500
mov qword [rsp + 0x190], 0xfffffffffffffffe
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
mov qword [r11 + 0x18], rdi
mov rax, qword [0x100175150]
xor rax, rsp
mov qword [rsp + 0x4f0], rax
lea rsi, [0x10000eff0]
mov qword [rsp + 0x60], rsi
lea r13, [0x10000f670]
mov qword [rsp + 0x68], r13
lea r12, [0x10000efd0]
mov qword [rsp + 0x70], r12
mov dword [rsp + 0x78], 0x3d6
mov ebx, 1
mov dword [rsp + 0x7c], ebx
mov dword [rsp + 0x80], 0xff
xor edi, edi
mov word [rsp + 0x100], di
mov byte [rsp + 0x102], dil
mov byte [rsp + 0x103], bl
xor edx, edx
lea r8d, [rbx + 0x77]
lea rcx, [r11 - 0x490]
call sub.msvcrt.dll_memset
xor r8d, r8d
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x110]
call fcn.1000e7c38
nop
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x48], rdi
cmp qword [0x100176d68], rdi
jne 0x10006974b
lea ecx, [rbx + 0x1f]
call fcn.10012fec8
cmp rax, rdi
je 0x1000692d4
mov qword [rax + 8], rdi
mov dword [rax + 0x10], edi
mov dword [rax + 0x14], edi
mov dword [rax + 0x18], edi
lea rcx, [0x10000ef08]
mov qword [rax], rcx
jmp 0x1000692d7
mov rax, rdi
mov qword [0x100176d68], rax
cmp rax, rdi
jne 0x100069355
lea rdx, [rsp + 0x60]
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x70], r12
mov dword [rsp + 0x78], 0x3e9
mov dword [rsp + 0x7c], ebx
mov dword [rsp + 0x80], 0xff
mov word [rsp + 0x100], di
mov byte [rsp + 0x102], dil
mov byte [rsp + 0x103], bl
movzx ecx, di
cmp cx, 0xf
jae 0x10006933b
movzx eax, cx
mov qword [rdx + rax*8 + 0x28], rdi
add cx, bx
jmp 0x100069328
lea r9, [0x10000e888]
mov r8d, 0x8007000e
lea rcx, [rsp + 0x110]
call fcn.1000e8ff8
lea r15, [0x100005e90]
mov qword [rsp + 0x20], r15
lea r9, [0x100005e40]
lea r8, [0x10000a068]
mov edx, 0x100
lea rcx, [rsp + 0x2f0]
call fcn.100052590
mov r8d, eax
mov dword [rsp + 0x118], eax
cmp eax, edi
jge 0x1000693fb
lea rdx, [rsp + 0x60]
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x70], r12
mov dword [rsp + 0x78], 0x3ef
mov dword [rsp + 0x7c], ebx
mov dword [rsp + 0x80], 0xff
mov word [rsp + 0x100], di
mov byte [rsp + 0x102], dil
mov byte [rsp + 0x103], bl
movzx ecx, di
cmp cx, 0xf
jae 0x1000693e7
movzx eax, cx
mov qword [rdx + rax*8 + 0x28], rdi
add cx, bx
jmp 0x1000693d4
lea r9, [0x10000a040]
lea rcx, [rsp + 0x110]
call fcn.1000e9a68
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, [rsp + 0x2f0]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov r11d, eax
cmp eax, edi
je 0x1000694bd
lea rdx, [rsp + 0x60]
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x70], r12
mov dword [rsp + 0x78], 0x3f8
mov dword [rsp + 0x7c], ebx
mov dword [rsp + 0x80], 0xff
mov word [rsp + 0x100], di
mov byte [rsp + 0x102], dil
mov byte [rsp + 0x103], bl
movzx ecx, di
cmp cx, 0xf
jae 0x100069486
movzx eax, cx
mov qword [rdx + rax*8 + 0x28], rdi
add cx, bx
jmp 0x100069473
movzx r8d, r11w
or r8d, 0x80070000
cmp r11d, edi
cmovle r8d, r11d
mov qword [rsp + 0x28], r15
lea rax, [0x100005e40]
mov qword [rsp + 0x20], rax
lea r9, [0x10000f6d0]
lea rcx, [rsp + 0x110]
call fcn.1000e9a68
mov r15b, dil
mov eax, edi
mov dword [rsp + 0x40], eax
cmp r15b, dil
jne 0x10006974b
mov dword [rsp + 0x58], 0x100
lea rcx, [rsp + 0x180]
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x2f0]
mov edx, eax
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov r11d, eax
cmp eax, edi
je 0x1000695d6
cmp eax, 0x103
je 0x1000695ce
lea rdx, [rsp + 0x60]
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x70], r12
mov dword [rsp + 0x78], 0x435
mov dword [rsp + 0x7c], ebx
mov dword [rsp + 0x80], 0xff
mov word [rsp + 0x100], di
mov byte [rsp + 0x102], dil
mov byte [rsp + 0x103], bl
movzx ecx, di
cmp cx, 0xf
jae 0x10006957b
movzx eax, cx
mov qword [rdx + rax*8 + 0x28], rdi
add cx, bx
jmp 0x100069568
movzx r8d, r11w
or r8d, 0x80070000
cmp r11d, edi
cmovle r8d, r11d
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x38], eax
lea rax, [rsp + 0x2f0]
mov qword [rsp + 0x30], rax
lea rax, [0x100005e90]
mov qword [rsp + 0x28], rax
lea rax, [0x100005e40]
mov qword [rsp + 0x20], rax
lea r9, [0x10000f7a0]
lea rcx, [rsp + 0x110]
call fcn.1000e9a68
mov r15b, bl
jmp 0x10006973c
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x2f0]
mov rcx, qword [rsp + 0x48]
call fcn.10006a210
mov r11d, eax
mov dword [rsp + 0x118], eax
cmp eax, edi
jge 0x100069696
lea rdx, [rsp + 0x1a0]
mov qword [rsp + 0x1a0], rsi
mov qword [rsp + 0x1a8], r13
mov qword [rsp + 0x1b0], r12
mov dword [rsp + 0x1b8], 0x419
mov dword [rsp + 0x1bc], ebx
mov dword [rsp + 0x1c0], 0xff
mov word [rsp + 0x240], di
mov byte [rsp + 0x242], dil
mov byte [rsp + 0x243], bl
movzx ecx, di
cmp cx, 0xf
jae 0x100069669
movzx eax, cx
mov qword [rdx + rax*8 + 0x28], rdi
add cx, bx
jmp 0x100069656
mov dword [rsp + 0x20], r11d
lea r9, [rsp + 0x2f0]
lea r8, [0x10000f730]
lea rcx, [rsp + 0x110]
call fcn.1000e8e14
mov dword [rsp + 0x118], edi
jmp 0x10006973c
mov rcx, qword [0x100176d68]
add rcx, 8
lea rdx, [rsp + 0x50]
call fcn.10006af30
cmp eax, edi
jne 0x100069737
lea rdx, [rsp + 0x248]
mov qword [rsp + 0x248], rsi
mov qword [rsp + 0x250], r13
mov qword [rsp + 0x258], r12
mov dword [rsp + 0x260], 0x426
mov dword [rsp + 0x264], ebx
mov dword [rsp + 0x268], 0xff
mov word [rsp + 0x2e8], di
mov byte [rsp + 0x2ea], dil
mov byte [rsp + 0x2eb], bl
movzx ecx, di
cmp cx, 0xf
jae 0x10006971d
movzx eax, cx
mov qword [rdx + rax*8 + 0x28], rdi
add cx, bx
jmp 0x10006970a
lea r9, [0x10000f090]
mov r8d, 0x8007000e
lea rcx, [rsp + 0x110]
call fcn.1000e8ff8
mov qword [rsp + 0x50], rdi
mov eax, dword [rsp + 0x40]
add eax, ebx
mov dword [rsp + 0x40], eax
jmp 0x1000694c6
jmp 0x1000697c3
mov rcx, qword [rsp + 0x48]
cmp rcx, rdi
je 0x1000697d5
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1000697d7
mov eax, edi
cmp eax, edi
je 0x10006984d
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x70], r12
mov dword [rsp + 0x78], 0x442
mov dword [rsp + 0x7c], ebx
mov dword [rsp + 0x80], 0xff
mov word [rsp + 0x100], di
mov byte [rsp + 0x102], dil
mov byte [rsp + 0x103], bl
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x88]
call sub.msvcrt.dll_memset
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
lea r8, [0x10000f7f0]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x110]
call fcn.1000e8e14
cmp dword [rsp + 0x118], edi
jge 0x1000698d2
call fcn.100069930
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x70], r12
mov dword [rsp + 0x78], 0x449
mov dword [rsp + 0x7c], ebx
mov dword [rsp + 0x80], 0xff
mov word [rsp + 0x100], di
mov byte [rsp + 0x102], dil
mov byte [rsp + 0x103], bl
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x88]
call sub.msvcrt.dll_memset
mov r8d, dword [rsp + 0x118]
mov dword [rsp + 0x20], r8d
lea r9, [0x10000f850]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x110]
call fcn.1000e8ff8
nop
mov rbx, qword [rsp + 0x50]
cmp rbx, rdi
je 0x1000698ee
mov rcx, rbx
call fcn.1000ef7cc
mov rcx, rbx
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop
lea rcx, [rsp + 0x110]
call fcn.1000e7d24
mov rcx, qword [rsp + 0x4f0]
xor rcx, rsp
call fcn.1001303c0
lea r11, [rsp + 0x500]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r13
pop r12
ret