Function at 0x100010080
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0xbc8
mov rax, qword [0x100023110]
xor rax, rsp
mov qword [rsp + 0xbb0], rax
mov qword [rsp + 0xa0], r9
mov qword [rsp + 0x80], r8
mov qword [rsp + 0x88], rdx
mov r15, rcx
mov rax, qword [rsp + 0xc20]
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0xc28]
mov qword [rsp + 0x98], rax
xor edi, edi
mov r12, rdi
mov qword [rsp + 0x48], rdi
mov r14d, edi
mov dword [rsp + 0x40], edi
mov rbx, qword [rcx + 0x158]
mov dword [rsp + 0xd0], edi
xor edx, edx
mov r8d, 0x8cc
lea rcx, [rsp + 0xd4]
call sub.msvcrt.dll_memset
cmp rbx, rdi
je 0x100010167
mov qword [rsp + 0x48], rdi
xor edx, edx
mov r8d, 0x8d0
lea rcx, [rsp + 0xd0]
call sub.msvcrt.dll_memset
lea rdx, [rsp + 0xd0]
mov rcx, rbx
call fcn.10001d7bc
mov ebx, eax
cmp eax, edi
jl 0x10001017a
mov r12, qword [rsp + 0x940]
cmp r12, rdi
jne 0x10001015e
mov ebx, 0x80070490
jmp 0x100010573
mov qword [rsp + 0x48], r12
mov ebx, edi
jmp 0x10001017a
lea rdx, [0x100003fc0]
xor ecx, ecx
call fcn.10001da04
mov ebx, 0x80070057
cmp ebx, edi
jl 0x100010573
cmp r12, rdi
je 0x100010573
lea rsi, [0x100023120]
cmp dword [rsp + 0x40], edi
jne 0x10001052c
cmp r12, rdi
je 0x10001052c
mov eax, r14d
inc r14d
mov dword [rsp + 0x64], r14d
cmp eax, 0x10
jae 0x10001052c
mov qword [rsp + 0xa8], rdi
xor eax, eax
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0xb8], rax
mov dword [rsp + 0x60], edi
mov qword [rsp + 0x58], rdi
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov r9d, 0x18
lea r8, [rsp + 0xa8]
mov rdx, r12
mov rcx, qword [r15 + 0x158]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
cmp eax, edi
je 0x1000104fe
cmp qword [rsp + 0x58], 0x18
jne 0x1000104fe
mov rax, qword [rsp + 0xb0]
mov dword [rsp + 0x60], eax
cmp eax, 0x220
ja 0x1000104d2
cmp eax, 0x18
jb 0x1000104d2
mov qword [rsp + 0x58], rdi
mov rcx, qword gs:[0x30]
mov ebx, dword [rsp + 0xb0]
mov rcx, qword [rcx + 0x60]
mov r8, rbx
xor edx, edx
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov r14, rax
cmp rax, rdi
jne 0x10001029c
mov rcx, qword [0x100023120]
cmp rcx, rsi
je 0x10001052c
test byte [rcx + 0x1c], 1
je 0x10001052c
mov edx, 0x19
lea r8, [0x100001920]
mov rcx, qword [rcx + 0x10]
call fcn.100004898
jmp 0x10001052c
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov r9, rbx
mov r8, r14
mov rdx, qword [rsp + 0x48]
mov rcx, qword [r15 + 0x158]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
cmp eax, edi
je 0x100010493
mov r12, qword [r14]
mov qword [rsp + 0x48], r12
lea rax, [r12 + 0x18]
cmp rax, rdi
jne 0x100010311
mov rcx, qword [0x100023120]
cmp rcx, rsi
je 0x10001049b
test byte [rcx + 0x1c], 1
je 0x10001049b
mov edx, 0x1a
lea r8, [0x100001920]
mov rcx, qword [rcx + 0x10]
call fcn.100004898
jmp 0x10001049b
mov word [rsp + 0x9a0], di
mov r8d, 0x7ffffffe
mov qword [rsp + 0x90], r8
lea r10, [r14 + 0x18]
mov qword [rsp + 0xc8], r10
mov edx, 0x104
mov qword [rsp + 0x78], rdx
lea rax, [rsp + 0x9a0]
mov qword [rsp + 0x68], rax
mov r11d, edi
mov rcx, rdi
mov qword [rsp + 0x70], rcx
cmp rdx, rdi
je 0x10001039f
cmp r8, rdi
je 0x10001039f
movzx r9d, word [r10]
cmp r9w, di
je 0x10001039f
mov word [rax], r9w
add rax, 2
mov qword [rsp + 0x68], rax
add r10, 2
mov qword [rsp + 0xc8], r10
dec rdx
mov qword [rsp + 0x78], rdx
dec r8
mov qword [rsp + 0x90], r8
inc rcx
mov qword [rsp + 0x70], rcx
jmp 0x100010355
cmp rdx, rdi
jne 0x1000103bb
sub rax, 2
mov qword [rsp + 0x68], rax
dec rcx
mov qword [rsp + 0x70], rcx
mov r11d, 0x8007007a
mov word [rax], di
cmp r11d, edi
jge 0x1000103f7
mov rcx, qword [0x100023120]
cmp rcx, rsi
je 0x10001049b
test byte [rcx + 0x1c], 1
je 0x10001049b
mov edx, 0x1b
lea r8, [0x100001920]
mov rcx, qword [rcx + 0x10]
call fcn.100004898
jmp 0x10001049b
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
mov r9d, 0x10
lea r8, [rsp + 0x9a0]
lea rdx, [0x100002c60]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov ecx, edi
cmp eax, edi
sete cl
cmp ecx, edi
je 0x10001049b
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x88]
mov r8, qword [r14 + 0x10]
lea rdx, [rsp + 0x9a0]
mov rcx, r15
call fcn.1000105cc
cmp eax, edi
jl 0x10001049b
mov dword [rsp + 0x40], 1
mov rax, qword [r14 + 0x10]
mov rcx, qword [rsp + 0x98]
mov qword [rcx], rax
jmp 0x10001049b
mov r12, rdi
mov qword [rsp + 0x48], rdi
cmp r14, rdi
je 0x1000104c8
mov rax, qword gs:[0x30]
mov rcx, qword [rax + 0x60]
mov r8, qword [rsp + 0x50]
xor edx, edx
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov qword [rsp + 0x50], rdi
mov r12, qword [rsp + 0x48]
mov r14d, dword [rsp + 0x64]
jmp 0x100010192
mov rcx, qword [0x100023120]
cmp rcx, rsi
je 0x10001052c
test byte [rcx + 0x1c], 1
je 0x10001052c
mov edx, 0x1c
mov r9d, eax
lea r8, [0x100001920]
mov rcx, qword [rcx + 0x10]
call fcn.1000048bc
jmp 0x10001052c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [0x100023120]
cmp rcx, rsi
je 0x10001052c
test byte [rcx + 0x1c], 1
je 0x10001052c
mov edx, 0x18
lea r8, [0x100001920]
mov rcx, qword [rcx + 0x10]
call fcn.100004898
nop
mov eax, dword [rsp + 0x40]
neg eax
sbb ebx, ebx
not ebx
and ebx, 0x80004005
jmp 0x1000105a1
lea rsi, [0x100023120]
mov rcx, qword [0x100023120]
cmp rcx, rsi
je 0x1000105a1
test byte [rcx + 0x1c], 1
je 0x1000105a1
mov edx, 0x17
lea r8, [0x100001920]
mov rcx, qword [rcx + 0x10]
call fcn.100004898
mov eax, ebx
mov rcx, qword [rsp + 0xbb0]
xor rcx, rsp
call fcn.10001e7a0
add rsp, 0xbc8
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
ret