Function at 0x100103308
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x180
mov qword [rsp + 0x108], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov rbp, r8
mov rsi, rdx
mov rdi, rcx
lea r13, [0x10003c880]
mov qword [rsp + 0x60], r13
lea r14, [0x10003cad0]
mov qword [rsp + 0x68], r14
lea r15, [0x10003c868]
mov qword [rsp + 0x70], r15
mov dword [rsp + 0x78], 0x1fa
mov dword [rsp + 0x7c], reloc.VssTrace.DLL_Ordinal_11
mov dword [rax - 0x138], 0xff
xor r12d, r12d
mov word [rax - 0xb8], r12w
mov byte [rax - 0xb6], r12b
mov byte [rax - 0xb5], 1
xor edx, edx
lea r8d, [r12 + 0x78]
lea rcx, [rax - 0x130]
call sub.msvcrt.dll_memset
xor r8d, r8d
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x110]
call fcn.1000e842c
nop
mov dword [rbp], r12d
mov dword [rsp + 0x1c0], r12d
mov dword [rsp + 0x1d0], r12d
lea rax, [rsp + 0x1d0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x1c0]
xor r8d, r8d
mov rdx, rsi
mov rcx, qword [rdi + 8]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
cmp eax, 2
jne 0x10010343d
lea rax, [0x100008440]
mov qword [rsp + 0x20], rax
lea r9, [0x100008450]
mov r8d, 0xaa
lea rdx, [0x100008420]
lea rcx, [rsp + 0x110]
call fcn.1000e8a60
nop
lea rcx, [rsp + 0x110]
call fcn.1000e8518
xor al, al
jmp 0x10010379c
cmp eax, r12d
je 0x100103500
cmp eax, 0xea
je 0x100103500
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x70], r15
mov dword [rsp + 0x78], 0x219
mov dword [rsp + 0x7c], reloc.VssTrace.DLL_Ordinal_11
mov dword [rsp + 0x80], 0xff
mov word [rsp + 0x100], r12w
mov byte [rsp + 0x102], r12b
mov byte [rsp + 0x103], 1
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x88]
call sub.msvcrt.dll_memset
movzx r8d, bx
or r8d, 0x80070000
cmp ebx, r12d
cmovle r8d, ebx
mov eax, dword [rsp + 0x1d0]
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x1c0]
mov dword [rsp + 0x38], eax
mov qword [rsp + 0x30], rsi
mov rax, qword [rdi + 0x18]
mov qword [rsp + 0x28], rax
mov rax, qword [rdi + 8]
mov qword [rsp + 0x20], rax
lea r9, [0x10003cb10]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x110]
call fcn.1000ea25c
int3
cmp dword [rsp + 0x1c0], 4
je 0x1001035c8
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x70], r15
mov dword [rsp + 0x78], 0x220
mov dword [rsp + 0x7c], reloc.VssTrace.DLL_Ordinal_11
mov dword [rsp + 0x80], 0xff
mov word [rsp + 0x100], r12w
mov byte [rsp + 0x102], r12b
mov byte [rsp + 0x103], 1
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x88]
call sub.msvcrt.dll_memset
mov qword [rsp + 0x20], rsi
mov r9, qword [rdi + 0x18]
lea r8, [0x10003cbf0]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x110]
call fcn.1000eb470
lea rax, [0x100008440]
mov qword [rsp + 0x20], rax
lea r9, [0x100008450]
mov r8d, 0xaa
lea rdx, [0x100008420]
lea rcx, [rsp + 0x110]
call fcn.1000e8a60
nop
lea rcx, [rsp + 0x110]
call fcn.1000e8518
xor al, al
jmp 0x10010379c
mov ebx, dword [rsp + 0x1d0]
cmp ebx, 4
je 0x100103669
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x70], r15
mov dword [rsp + 0x78], 0x22d
mov dword [rsp + 0x7c], reloc.VssTrace.DLL_Ordinal_11
mov dword [rsp + 0x80], 0xff
mov word [rsp + 0x100], r12w
mov byte [rsp + 0x102], r12b
mov byte [rsp + 0x103], 1
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x88]
call sub.msvcrt.dll_memset
mov qword [rsp + 0x38], rsi
mov rax, qword [rdi + 0x18]
mov qword [rsp + 0x30], rax
mov rax, qword [rdi + 8]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ebx
lea r9, [0x10003ccb0]
mov r8d, 0x8000ffff
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x110]
call fcn.1000ea25c
int3
mov dword [rsp + 0x58], r12d
mov dword [rsp + 0x54], 4
mov dword [rsp + 0x50], r12d
lea rax, [rsp + 0x54]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
xor r8d, r8d
mov rdx, rsi
mov rcx, qword [rdi + 8]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
cmp eax, r12d
je 0x100103758
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x70], r15
mov dword [rsp + 0x78], 0x23c
mov dword [rsp + 0x7c], reloc.VssTrace.DLL_Ordinal_11
mov dword [rsp + 0x80], 0xff
mov word [rsp + 0x100], r12w
mov byte [rsp + 0x102], r12b
mov byte [rsp + 0x103], 1
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x88]
call sub.msvcrt.dll_memset
movzx r8d, bx
or r8d, 0x80070000
cmp ebx, r12d
cmovle r8d, ebx
mov eax, dword [rsp + 0x54]
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x38], eax
mov qword [rsp + 0x30], rsi
mov rax, qword [rdi + 0x18]
mov qword [rsp + 0x28], rax
mov rax, qword [rdi + 8]
mov qword [rsp + 0x20], rax
lea r9, [0x10003cb10]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x110]
call fcn.1000ea25c
int3
mov ecx, dword [rsp + 0x50]
mov dword [rbp], ecx
lea rcx, [0x100008430]
mov qword [rsp + 0x20], rcx
lea r9, [0x100008450]
mov r8d, 0xaa
lea rdx, [0x100008420]
lea rcx, [rsp + 0x110]
call fcn.1000e8a60
nop
lea rcx, [rsp + 0x110]
call fcn.1000e8518
mov al, 1
mov rbx, qword [rsp + 0x1c8]
add rsp, 0x180
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret