Function at 0x7ff7784a9a00
Capabilities:
Query or enumerate registry value

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x88
mov rsi, r9
mov rdi, r8
mov r10, rdx
mov byte [rsp + 0x38], 5
movzx eax, byte [rsp + 0x38]
movzx r8d, al
mov eax, 0x1887ccf
xor edx, edx
div r8d
mov byte [rsp + 0x34], dl
movzx eax, byte [rsp + 0x34]
movzx eax, al
movabs rdx, 0x91a198211cc0000
mov qword [rsp + rax*8 + 0x40], rdx
movzx eax, byte [rsp + 0x34]
movzx eax, al
cmp qword [rsp + rax + 0x40], 0x1887ccf
lea r14, [rsp + 0x40]
jne 0x7ff7784a9a71
cmp r14, 0x80e
ja 0x7ff7784a9a6a
jmp 0x7ff79c8f507d
movzx eax, byte [rsp + 0x34]
jmp 0x7ff7784a9aaa
movzx eax, byte [rsp + 0x34]
mov byte [rsp + 0x31], al
inc byte [rsp + 0x31]
movzx eax, byte [rsp + 0x34]
movzx eax, al
cmp qword [rsp + rax + 0x40], 0x1887bde
je 0x7ff7784a9a95
dec byte [rsp + 0x31]
lea rax, [rsp + 0x31]
cmp rax, 0x80e
ja 0x7ff7784a9aa5
mov ebx, 0xb60f31f1
and al, 0x31
movzx eax, byte [rsp + 0x31]
movzx eax, al
mov rax, qword [rsp + rax*8 + 0x40]
mov r9d, 0x82a35b38
lea r11, [rax + r9]
add r11, 0x6b92a4c8
mov byte [rsp + 0x38], 3
movzx eax, byte [rsp + 0x38]
movzx r8d, al
mov eax, 0x187edf3
xor edx, edx
div r8d
mov byte [rsp + 0x34], dl
movzx eax, byte [rsp + 0x34]
movzx eax, al
movabs rdx, 0x6bbc62592e8
mov qword [rsp + rax*8 + 0x40], rdx
movzx eax, byte [rsp + 0x34]
movzx eax, al
cmp qword [rsp + rax + 0x40], 0x187edf3
jne 0x7ff7784a9b1a
cmp r14, 0x1572
ja 0x7ff7784a9b13
movabs eax, dword [0xf39eb342444b60f]
mov dh, 0x44
and al, 0x34
movzx eax, byte [rsp + 0x34]
jmp 0x7ff7784a9b53
movzx eax, byte [rsp + 0x34]
mov byte [rsp + 0x31], al
inc byte [rsp + 0x31]
movzx eax, byte [rsp + 0x34]
movzx eax, al
cmp qword [rsp + rax + 0x40], 0x187ed02
je 0x7ff7784a9b3e
dec byte [rsp + 0x31]
lea rax, [rsp + 0x31]
cmp rax, 0x1572
ja 0x7ff7784a9b4e
mov ebx, 0xb60f31f1
and al, 0x31
movzx eax, byte [rsp + 0x31]
movzx eax, al
mov r8, qword [rsp + rax*8 + 0x40]
add r8, 0x39da6d19
or r8, r11
mov byte [rsp + 0x38], 3
movzx eax, byte [rsp + 0x38]
movzx r11d, al
mov eax, 0x18abda5
xor edx, edx
div r11d
mov byte [rsp + 0x34], dl
movzx eax, byte [rsp + 0x34]
movzx eax, al
movabs rdx, 0x57e87d5ca4d0
mov qword [rsp + rax*8 + 0x40], rdx
movzx eax, byte [rsp + 0x34]
movzx eax, al
cmp qword [rsp + rax + 0x40], 0x18abda5
jne 0x7ff7784a9bbc
cmp r14, 0x2604
ja 0x7ff7784a9bb5
jmp 0x7ff79c8f51c8
movzx eax, byte [rsp + 0x34]
jmp 0x7ff7784a9bf5
movzx eax, byte [rsp + 0x34]
mov byte [rsp + 0x31], al
inc byte [rsp + 0x31]
movzx eax, byte [rsp + 0x34]
movzx eax, al
cmp qword [rsp + rax + 0x40], 0x18abcb4
je 0x7ff7784a9be0
dec byte [rsp + 0x31]
lea rax, [rsp + 0x31]
cmp rax, 0x2604
ja 0x7ff7784a9bf0
mov ebx, 0xb60f31f1
and al, 0x31
movzx eax, byte [rsp + 0x31]
movzx eax, al
mov rax, qword [rsp + rax*8 + 0x40]
add rax, r9
or r8, rax
mov byte [rsp + 0x38], 5
movzx eax, byte [rsp + 0x38]
movzx r11d, al
mov eax, 0x189c14d
xor edx, edx
div r11d
mov byte [rsp + 0x34], dl
movzx eax, byte [rsp + 0x34]
movzx eax, al
movabs rdx, 0x97f1133c45a0
mov qword [rsp + rax*8 + 0x40], rdx
movzx eax, byte [rsp + 0x34]
movzx eax, al
cmp qword [rsp + rax + 0x40], 0x189c14d
jne 0x7ff7784a9c5a
cmp r14, 0x140c
ja 0x7ff7784a9c53
movabs eax, dword [0xf39eb342444b60f]
mov dh, 0x44
and al, 0x34
movzx eax, byte [rsp + 0x34]
jmp 0x7ff7784a9c93
movzx eax, byte [rsp + 0x34]
mov byte [rsp + 0x31], al
inc byte [rsp + 0x31]
movzx eax, byte [rsp + 0x34]
movzx eax, al
cmp qword [rsp + rax + 0x40], 0x189c05c
je 0x7ff7784a9c7e
dec byte [rsp + 0x31]
lea rax, [rsp + 0x31]
cmp rax, 0x140c
ja 0x7ff7784a9c8e
mov ebx, 0xb60f31f1
and al, 0x31
movzx eax, byte [rsp + 0x31]
movzx eax, al
mov rax, qword [rsp + rax*8 + 0x40]
add eax, r9d
add eax, 0x6a205f38
or r8d, eax
mov byte [rsp + 0x38], 3
movzx eax, byte [rsp + 0x38]
movzx r9d, al
mov eax, 0x199fe7f
xor edx, edx
div r9d
mov byte [rsp + 0x34], dl
movzx eax, byte [rsp + 0x34]
movzx eax, al
movabs rdx, 0x9dbc96dbe0600000
mov qword [rsp + rax*8 + 0x40], rdx
movzx eax, byte [rsp + 0x34]
movzx eax, al
cmp qword [rsp + rax + 0x40], 0x199fe7f
jne 0x7ff7784a9cfd
cmp r14, 0x249e
ja 0x7ff7784a9cf6
movabs eax, dword [0xf39eb342444b60f]
mov dh, 0x44
and al, 0x34
movzx eax, byte [rsp + 0x34]
jmp 0x7ff7784a9d36
movzx eax, byte [rsp + 0x34]
mov byte [rsp + 0x31], al
inc byte [rsp + 0x31]
movzx eax, byte [rsp + 0x34]
movzx eax, al
cmp qword [rsp + rax + 0x40], 0x199fd8e
je 0x7ff7784a9d21
dec byte [rsp + 0x31]
lea rax, [rsp + 0x31]
cmp rax, 0x249e
ja 0x7ff7784a9d31
mov ebx, 0xb60f31f1
and al, 0x31
movzx eax, byte [rsp + 0x31]
movzx eax, al
mov rax, qword [rsp + rax*8 + 0x40]
mov r9d, 0xe04fffff
sub r9d, eax
and r9d, r8d
mov byte [rsp + 0x38], 2
movzx eax, byte [rsp + 0x38]
movzx r8d, al
mov eax, 0x1864362
xor edx, edx
div r8d
mov byte [rsp + 0x34], dl
movzx eax, byte [rsp + 0x34]
movzx eax, al
mov qword [rsp + rax*8 + 0x40], 0
movzx eax, byte [rsp + 0x34]
movzx eax, al
cmp qword [rsp + rax + 0x40], 0x1864362
jne 0x7ff7784a9d9b
cmp r14, 0x3fa1
ja 0x7ff7784a9d94
movabs eax, dword [0xf39eb342444b60f]
mov dh, 0x44
and al, 0x34
movzx eax, byte [rsp + 0x34]
jmp 0x7ff7784a9dd4
movzx eax, byte [rsp + 0x34]
mov byte [rsp + 0x31], al
inc byte [rsp + 0x31]
movzx eax, byte [rsp + 0x34]
movzx eax, al
cmp qword [rsp + rax + 0x40], 0x1864271
je 0x7ff7784a9dbf
dec byte [rsp + 0x31]
lea rax, [rsp + 0x31]
cmp rax, 0x3fa1
ja 0x7ff7784a9dcf
mov ebx, 0xb60f31f1
and al, 0x31
movzx eax, byte [rsp + 0x31]
movzx eax, al
mov r8, qword [rsp + rax*8 + 0x40]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov rdx, r10
call qword [sym.imp.advapi32.dll_RegOpenKeyExA]
mov ebx, eax
mov byte [rsp + 0x34], 6
movzx eax, byte [rsp + 0x34]
movzx ecx, al
mov eax, 0x18e08b4
xor edx, edx
div ecx
mov byte [rsp + 0x31], dl
movzx eax, byte [rsp + 0x31]
movzx eax, al
mov qword [rsp + rax*8 + 0x40], 0
movzx eax, byte [rsp + 0x31]
movzx eax, al
cmp qword [rsp + rax + 0x40], 0x18e08b4
jne 0x7ff7784a9e40
cmp r14, 0x15b3
ja 0x7ff7784a9e39
movabs eax, dword [0xf39eb312444b60f]
mov dh, 0x44
and al, 0x31
movzx eax, byte [rsp + 0x31]
jmp 0x7ff7784a9e79
movzx eax, byte [rsp + 0x31]
mov byte [rsp + 0x32], al
inc byte [rsp + 0x32]
movzx eax, byte [rsp + 0x31]
movzx eax, al
cmp qword [rsp + rax + 0x40], 0x18e07c3
je 0x7ff7784a9e64
dec byte [rsp + 0x32]
lea rax, [rsp + 0x32]
cmp rax, 0x15b3
ja 0x7ff7784a9e74
mov ebx, 0xb60f31f1
and al, 0x32
movzx eax, byte [rsp + 0x32]
movzx eax, al
mov rax, qword [rsp + rax*8 + 0x40]
cmp ebx, eax
jne 0x7ff7784aa15d
mov byte [rsp + 0x34], 7
movzx eax, byte [rsp + 0x34]
movzx ecx, al
mov eax, 0x192b93f
xor edx, edx
div ecx
mov byte [rsp + 0x31], dl
movzx eax, byte [rsp + 0x31]
movzx eax, al
mov qword [rsp + rax*8 + 0x40], 0
movzx eax, byte [rsp + 0x31]
movzx eax, al
cmp qword [rsp + rax + 0x40], 0x192b93f
jne 0x7ff7784a9ed8
cmp r14, 0x325e
ja 0x7ff7784a9ed1
movabs eax, dword [0xf39eb312444b60f]
mov dh, 0x44
and al, 0x31
movzx eax, byte [rsp + 0x31]
jmp 0x7ff7784a9f11
movzx eax, byte [rsp + 0x31]
mov byte [rsp + 0x32], al
inc byte [rsp + 0x32]
movzx eax, byte [rsp + 0x31]
movzx eax, al
cmp qword [rsp + rax + 0x40], 0x192b84e
je 0x7ff7784a9efc
dec byte [rsp + 0x32]
lea rax, [rsp + 0x32]
cmp rax, 0x325e
ja 0x7ff7784a9f0c
mov ebx, 0xb60f31f1
and al, 0x32
movzx eax, byte [rsp + 0x32]
movzx eax, al
mov r8, qword [rsp + rax*8 + 0x40]
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0xd0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x34]
mov rdx, rdi
call qword [sym.imp.advapi32.dll_RegQueryValueExA]
mov ebx, eax
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.advapi32.dll_RegCloseKey]
mov ecx, dword [rsp + 0x34]
mov byte [rsp + 0x31], 7
movzx eax, byte [rsp + 0x31]
movzx r8d, al
mov eax, 0x18523af
xor edx, edx
div r8d
mov byte [rsp + 0x32], dl
movzx eax, byte [rsp + 0x32]
movzx eax, al
movabs rdx, 0x119265ec71d4
mov qword [rsp + rax*8 + 0x40], rdx
movzx eax, byte [rsp + 0x32]
movzx eax, al
cmp qword [rsp + rax + 0x40], 0x18523af
jne 0x7ff7784a9fa6
cmp r14, 0xa4e
ja 0x7ff7784a9f9f
movabs eax, dword [0xf39eb322444b60f]
mov dh, 0x44
and al, 0x32
movzx eax, byte [rsp + 0x32]
jmp 0x7ff7784a9fdf
movzx eax, byte [rsp + 0x32]
mov byte [rsp + 0x33], al
inc byte [rsp + 0x33]
movzx eax, byte [rsp + 0x32]
movzx eax, al
cmp qword [rsp + rax + 0x40], 0x18522be
je 0x7ff7784a9fca
dec byte [rsp + 0x33]
lea rax, [rsp + 0x33]
cmp rax, 0xa4e
ja 0x7ff7784a9fda
mov ebx, 0xb60f31f1
and al, 0x33
movzx eax, byte [rsp + 0x33]
movzx eax, al
mov rax, qword [rsp + rax*8 + 0x40]
add eax, 0x9a138e33
cmp ecx, eax
jne 0x7ff7784aa15d
mov byte [rsp + 0x31], 3
movzx eax, byte [rsp + 0x31]
movzx ecx, al
mov eax, 0x1863397
xor edx, edx
div ecx
mov byte [rsp + 0x32], dl
movzx eax, byte [rsp + 0x32]
movzx eax, al
mov qword [rsp + rax*8 + 0x40], 0
movzx eax, byte [rsp + 0x32]
movzx eax, al
cmp qword [rsp + rax + 0x40], 0x1863397
jne 0x7ff7784aa043
cmp r14, 0x2fd6
ja 0x7ff7784aa03c
movabs eax, dword [0xf39eb322444b60f]
mov dh, 0x44
and al, 0x32
movzx eax, byte [rsp + 0x32]
jmp 0x7ff7784aa07c
movzx eax, byte [rsp + 0x32]
mov byte [rsp + 0x33], al
inc byte [rsp + 0x33]
movzx eax, byte [rsp + 0x32]
movzx eax, al
cmp qword [rsp + rax + 0x40], 0x18632a6
je 0x7ff7784aa067
dec byte [rsp + 0x33]
lea rax, [rsp + 0x33]
cmp rax, 0x2fd6
ja 0x7ff7784aa077
mov ebx, 0xb60f31f1
and al, 0x33
movzx eax, byte [rsp + 0x33]
movzx eax, al
mov rcx, qword [rsp + rax*8 + 0x40]
movsxd rax, ecx
add rsi, rax
movabs r8, 0xd352699b6bc
lea r9, [rsp + 0x33]
jmp 0x7ff7784aa0a5
inc rsi
inc ecx
mov r10d, dword [rsp + 0xd0]
mov byte [rsp + 0x31], 7
movzx eax, byte [rsp + 0x31]
movzx r11d, al
mov eax, 0x18c34f1
xor edx, edx
div r11d
mov byte [rsp + 0x32], dl
movzx eax, byte [rsp + 0x32]
movzx eax, al
mov qword [rsp + rax*8 + 0x40], r8
movzx eax, byte [rsp + 0x32]
movzx eax, al
cmp qword [rsp + rax + 0x40], 0x18c34f1
jne 0x7ff7784aa100
cmp r14, 0x16b0
ja 0x7ff7784aa0f3
movabs eax, dword [0x663beb322444b60f]
nop dword [rax + rax]
movzx eax, byte [rsp + 0x32]
jmp 0x7ff7784aa135
movzx eax, byte [rsp + 0x32]
mov byte [rsp + 0x33], al
inc byte [rsp + 0x33]
movzx eax, byte [rsp + 0x32]
movzx eax, al
cmp qword [rsp + rax + 0x40], 0x18c3400
je 0x7ff7784aa124
dec byte [rsp + 0x33]
cmp r9, 0x16b0
ja 0x7ff7784aa130
mov ebx, 0xb60f31f1
and al, 0x33
movzx eax, byte [rsp + 0x33]
movzx eax, al
mov rax, qword [rsp + rax*8 + 0x40]
sub r10d, eax
add r10d, 0x2699b6bb
cmp r10d, ecx
jbe 0x7ff7784aa15d
cmp byte [rsi], 0
jne 0x7ff7784aa0a0
mov byte [rsi], 0x20
jmp 0x7ff7784aa0a0
mov eax, ebx
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop r14
ret