Function at 0x1400c0090
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x2d0
mov rax, qword [0x140344548]
xor rax, rsp
mov qword [rsp + 0x2c0], rax
mov rdi, rcx
mov qword [rsp + 0x48], rcx
mov sil, 1
mov byte [rsp + 0x30], sil
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xor r15d, r15d
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x68], r15
mov rdx, qword [str.SOFTWARENITROPDF_PRO14NitroPDFCreator]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rdx + r8*2], r15w
jne 0x1400c00f0
lea rcx, [rsp + 0x50]
call fcn.1400768b0
nop
mov rcx, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x68]
mov rax, rdx
sub rax, rcx
cmp rax, 1
jb 0x1400c013c
lea rax, [rcx + 1]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x50]
cmp rdx, 8
cmovae rax, qword [rsp + 0x50]
mov dword [rax + rcx*2], 0x5c
jmp 0x1400c0161
mov qword [rsp + 0x20], 1
lea r9, [0x140282344]
movzx r8d, byte [rsp + 0x30]
mov edx, 1
lea rcx, [rsp + 0x50]
call fcn.14009c2d0
mov r14, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
sub rax, r14
cmp rax, 0xe
jb 0x1400c01ad
lea rax, [r14 + 0xe]
mov qword [rsp + 0x60], rax
lea rbx, [rsp + 0x50]
cmp rcx, 8
cmovae rbx, qword [rsp + 0x50]
lea rcx, [rbx + r14*2]
mov r8d, 0x1c
lea rdx, [0x140282348]
call sub.VCRUNTIME140.dll_memmove
mov word [rbx + r14*2 + 0x1c], r15w
jmp 0x1400c01d2
mov qword [rsp + 0x20], reloc.WS2_32.dll_ntohl
lea r9, [0x140282348]
movzx r8d, byte [rsp + 0x30]
mov edx, reloc.WS2_32.dll_ntohl
lea rcx, [rsp + 0x50]
call fcn.14009c2d0
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae rdx, qword [rsp + 0x50]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400c02ef
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
movdqa xmm1, xmmword [0x14027cfe0]
movdqu xmmword [rsp + 0x80], xmm1
mov word [rsp + 0x70], r15w
mov dword [rsp + 0x34], r15d
mov dword [rsp + 0x3c], 4
mov dword [rsp + 0x38], 4
mov rdx, rdi
cmp qword [rdi + 0x18], 8
jb 0x1400c024c
mov rdx, qword [rdi]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x34]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x3c]
xor r8d, r8d
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400c0286
cmp dword [rsp + 0x34], eax
setne sil
mov byte [rsp + 0x30], sil
jmp 0x1400c02e1
xor r8d, r8d
lea edx, [r8 + 4]
lea rcx, [rsp + 0x90]
call fcn.14025e800
nop
lea rcx, [rsp + 0x90]
call fcn.14025f760
test al, al
je 0x1400c02d4
lea rdx, str.getvalue_error_could_not_query_value
lea rcx, [rsp + 0x90]
call fcn.140255d20
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, rbx
call fcn.140255c30
nop
lea rcx, [rsp + 0x90]
call fcn.140255600
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
jmp 0x1400c034b
xor r8d, r8d
lea edx, [r8 + 4]
lea rcx, [rsp + 0x90]
call fcn.14025e800
nop
lea rcx, [rsp + 0x90]
call fcn.14025f760
test al, al
je 0x1400c033d
lea rdx, str.getvalue_error_could_not_open_key
lea rcx, [rsp + 0x90]
call fcn.140255d20
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, rbx
call fcn.140255c30
nop
lea rcx, [rsp + 0x90]
call fcn.140255600
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x1400c0391
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c038b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400c038b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140082030
nop
jmp 0x1400c039d
mov rcx, rdi
call fcn.140087170
movzx eax, sil
mov rcx, qword [rsp + 0x2c0]
xor rcx, rsp
call fcn.140266400
lea r11, [rsp + 0x2d0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret