Function at 0x14008cee0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x698]
sub rsp, 0x780
mov qword [rbp - 0x40], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x140121ef0]
xor rax, rsp
mov qword [rbp + 0x670], rax
mov r14, rcx
xor r15d, r15d
mov qword [rsp + 0x78], r15
mov qword [rbp - 0x80], r15
lea rcx, [rsp + 0x78]
call fcn.140091810
mov qword [rsp + 0x78], rax
mov word [rbp + 0x470], r15w
xor edx, edx
mov r8d, 0x1fe
lea rcx, [rbp + 0x472]
call sub.MSVCR110.dll_memset
mov word [rbp + 0x270], r15w
xor edx, edx
mov r8d, 0x1fe
lea rcx, [rbp + 0x272]
call sub.MSVCR110.dll_memset
mov word [rbp + 0x70], r15w
xor edx, edx
mov r8d, 0x1fe
lea rcx, [rbp + 0x72]
call sub.MSVCR110.dll_memset
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x68], r15
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 0x20219
xor r8d, r8d
lea rdx, str.SoftwareSIEMENSAUTSW
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14008d401
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x50], r15
lea rax, [rbp - 0x48]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x4c]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x54]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r15
lea rax, [rbp - 0x50]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x78]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
je 0x14008d02d
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x70], r15
jmp 0x14008d401
mov esi, r15d
cmp dword [rbp - 0x78], r15d
jbe 0x14008d393
nop word [rax + rax]
mov dword [rbp - 0x64], 0x100
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
lea r9, [rbp - 0x64]
lea r8, [rbp + 0x70]
mov edx, esi
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x14008d388
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0x20219
xor r8d, r8d
lea rdx, [rbp + 0x70]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14008d388
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, 0x20219
xor r8d, r8d
lea rdx, str.Licenses
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov rcx, qword [rsp + 0x60]
test eax, eax
je 0x14008d0e0
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x60], r15
jmp 0x14008d388
mov dword [rbp - 0x68], 0x200
lea rax, [rbp - 0x68]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x270]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x74]
xor r8d, r8d
lea rdx, str.Version
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x14008d139
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x68], r15
jmp 0x14008d388
lea r8, [rbp + 0x270]
mov edx, 0x100
lea rcx, [rbp + 0x470]
call qword [sym.imp.MSVCR110.dll_wcscpy_s]
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x50], r15
lea rax, [rbp - 0x58]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x6c]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r15
lea rax, [rbp - 0x5c]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x44]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
je 0x14008d1ca
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x68], r15
jmp 0x14008d388
mov qword [rbp - 0x10], 7
mov rcx, r15
mov qword [rbp - 0x18], rcx
mov word [rbp - 0x28], r15w
mov ebx, r15d
cmp dword [rbp - 0x6c], ebx
jbe 0x14008d34e
nop word [rax + rax]
mov eax, dword [rbp - 0x60]
inc eax
mov dword [rbp - 0x70], eax
mov edx, eax
cmp rdx, rcx
ja 0x14008d218
mov qword [rbp - 0x18], rdx
lea rax, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
cmovae rax, qword [rbp - 0x28]
mov word [rax + rdx*2], r15w
jmp 0x14008d227
xor r8d, r8d
sub rdx, rcx
lea rcx, [rbp - 0x28]
call fcn.14001f9d0
lea r8, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
cmovae r8, qword [rbp - 0x28]
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
lea rax, [rbp - 0x74]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
lea r9, [rbp - 0x70]
mov edx, ebx
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov edi, eax
mov edx, dword [rbp - 0x70]
mov rcx, qword [rbp - 0x18]
cmp rdx, rcx
ja 0x14008d285
mov qword [rbp - 0x18], rdx
lea rcx, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
cmovae rcx, qword [rbp - 0x28]
mov word [rcx + rdx*2], r15w
jmp 0x14008d294
xor r8d, r8d
sub rdx, rcx
lea rcx, [rbp - 0x28]
call fcn.14001f9d0
test edi, edi
jne 0x14008d33e
cmp dword [rbp - 0x74], 1
jne 0x14008d33e
lea r8, [rbp + 0x470]
lea rdx, [rbp - 0x28]
lea rcx, [rbp + 0x40]
call fcn.14008bc50
nop
xor r8d, r8d
mov rdx, rax
lea rcx, [rbp]
call fcn.140089b30
nop
movzx eax, byte [0x140122948]
mov byte [rsp + 0x20], al
lea r9, [rbp]
xor r8d, r8d
lea rdx, [rbp - 0x38]
lea rcx, [rsp + 0x78]
call fcn.14008b5d0
nop
cmp qword [rbp + 0x38], 8
jb 0x14008d2fc
mov rcx, qword [rbp + 0x20]
call sub.mfc110u.dll_Ordinal_1482
mov qword [rbp + 0x38], 7
mov qword [rbp + 0x30], r15
mov word [rbp + 0x20], r15w
cmp qword [rbp + 0x18], 8
jb 0x14008d31d
mov rcx, qword [rbp]
call sub.mfc110u.dll_Ordinal_1482
mov qword [rbp + 0x18], 7
mov qword [rbp + 0x10], r15
mov word [rbp], r15w
cmp qword [rbp + 0x58], 8
jb 0x14008d33e
mov rcx, qword [rbp + 0x40]
call sub.mfc110u.dll_Ordinal_1482
inc ebx
cmp ebx, dword [rbp - 0x6c]
jae 0x14008d34e
mov rcx, qword [rbp - 0x18]
jmp 0x14008d1f0
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14008d363
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x68], r15
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14008d378
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x60], r15
cmp qword [rbp - 0x10], 8
jb 0x14008d388
mov rcx, qword [rbp - 0x28]
call sub.mfc110u.dll_Ordinal_1482
inc esi
cmp esi, dword [rbp - 0x78]
jb 0x14008d040
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14008d3a8
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x68], r15
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14008d3bd
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x60], r15
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x14008d3d2
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x70], r15
lea rcx, [rsp + 0x78]
call fcn.14008c300
mov r8b, 1
lea rdx, [rsp + 0x78]
mov rcx, r14
call fcn.14008e180
xor r8d, r8d
lea rdx, [rsp + 0x78]
mov rcx, r14
call fcn.14008e180
mov esi, r15d
jmp 0x14008d404
or esi, 0xffffffff
mov rax, qword [rsp + 0x78]
mov rbx, qword [rax + 8]
mov rdi, rbx
cmp byte [rbx + 0x19], 0
jne 0x14008d489
nop word [rax + rax]
mov rdx, qword [rdi + 0x10]
lea rcx, [rsp + 0x78]
call fcn.140092260
mov rdi, qword [rdi]
cmp qword [rbx + 0x58], 8
jb 0x14008d441
mov rcx, qword [rbx + 0x40]
call sub.mfc110u.dll_Ordinal_1482
mov qword [rbx + 0x58], 7
mov qword [rbx + 0x50], r15
mov word [rbx + 0x40], r15w
cmp qword [rbx + 0x38], 8
jb 0x14008d462
mov rcx, qword [rbx + 0x20]
call sub.mfc110u.dll_Ordinal_1482
mov qword [rbx + 0x38], 7
mov qword [rbx + 0x30], r15
mov word [rbx + 0x20], r15w
mov rcx, rbx
call sub.mfc110u.dll_Ordinal_1482
mov rbx, rdi
cmp byte [rdi + 0x19], 0
je 0x14008d420
mov rax, qword [rsp + 0x78]
mov qword [rax + 8], rax
mov rcx, qword [rsp + 0x78]
mov qword [rcx], rcx
mov rcx, qword [rsp + 0x78]
mov qword [rcx + 0x10], rcx
mov qword [rbp - 0x80], r15
mov rcx, qword [rsp + 0x78]
call sub.mfc110u.dll_Ordinal_1482
mov eax, esi
mov rcx, qword [rbp + 0x670]
xor rcx, rsp
call fcn.1400bb310
lea r11, [rsp + 0x780]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret