Function at 0x10000f1c0
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x190
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rax, qword [0x100090120]
xor rax, rsp
mov qword [rsp + 0x180], rax
mov rsi, rdx
mov qword [rsp + 0x58], rdx
xor r15d, r15d
mov dword [rsp + 0x34], r15d
mov rax, qword [0x100091250]
mov qword [rdx], rax
lea ebp, [r15 + 1]
mov dword [rsp + 0x34], ebp
mov dword [rsp + 0x30], r15d
mov dil, r15b
mov ebx, 0x11c
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x60]
call sub.msvcrt.dll_memset
mov dword [rsp + 0x60], ebx
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp eax, r15d
je 0x10000f2d3
mov ebp, dword [rsp + 0x64]
mov r12d, dword [rsp + 0x68]
movzx r13d, word [rsp + 0x174]
movzx r14d, word [rsp + 0x176]
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rbx, rax
cmp rax, r15
je 0x1000216da
lea rdx, str.GetProductInfo
mov rcx, rax
call sub.KERNEL32.dll_GetProcAddress
cmp rax, r15
je 0x1000216ce
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
mov r9d, r14d
mov r8d, r13d
mov edx, r12d
mov ecx, ebp
call rax
movzx edi, r15b
lea ebp, [r15 + 1]
cmp eax, ebp
cmove edi, ebp
jmp 0x10000f2c2
mov rcx, rbx
call sub.KERNEL32.dll_FreeLibrary
cmp dil, r15b
je 0x1000216d8
mov edi, dword [rsp + 0x30]
mov rbx, qword [0x100090150]
cmp rbx, r15
jne 0x10000f37e
lea rcx, [rsp + 0x48]
call fcn.10000eeb0
lea r8, [rsp + 0x40]
mov rdx, qword [rax]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
cmp eax, r15d
sete bl
lea rcx, [rsp + 0x48]
call fcn.1000012b0
cmp bl, r15b
je 0x100021733
mov dword [rsp + 0x38], 0x40
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rbx, [0x100092ac0]
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x3c]
xor r8d, r8d
lea rdx, str.ClientName
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_RegQueryValueExW]
cmp eax, r15d
jne 0x1000216ec
cmp dword [rsp + 0x3c], ebp
jne 0x1000216ec
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x10000f377
mov qword [0x100090150], rbx
mov r9d, edi
mov r8, rbx
lea rdx, str._s._d
mov rcx, rsi
call fcn.10000f3d0
mov rax, rsi
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.100001100
lea r11, [rsp + 0x190]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov ebp, 1
jmp 0x10000f2c2
jmp 0x1000216df
mov ebp, 1
mov edi, r15d
mov dword [rsp + 0x30], r15d
jmp 0x10000f2d7
mov ecx, 0x20
mov rdx, rbx
lea r8, str.WIN700
sub r8, rbx
lea rax, [rcx + 0x7fffffde]
cmp rax, r15
je 0x100021721
movzx eax, word [r8 + rdx]
cmp ax, r15w
je 0x100021721
mov word [rdx], ax
add rdx, 2
sub rcx, rbp
jne 0x1000216fe
cmp rcx, r15
jne 0x10002172a
sub rdx, 2
mov word [rdx], r15w
jmp 0x10000f36a
mov ecx, 0x20
lea rbx, [0x100092ac0]
mov rdx, rbx
lea r8, str.WIN700
sub r8, rbx
lea rax, [rcx + 0x7fffffde]
cmp rax, r15
je 0x10002176f
movzx eax, word [r8 + rdx]
cmp ax, r15w
je 0x10002176f
mov word [rdx], ax
add rdx, 2
sub rcx, rbp
jne 0x10002174c
cmp rcx, r15
jne 0x100021778
sub rdx, 2
mov word [rdx], r15w
jmp 0x10000f377