Function at 0x14014dcc0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x110]
sub rsp, 0x210
mov rax, qword [0x140300040]
xor rax, rsp
mov qword [rbp + 0x100], rax
mov r12d, r9d
mov r14d, r8d
mov r13, rdx
mov r15, rcx
mov qword [rbp - 0x60], rdx
call fcn.1400f1ae0
cmp qword [rax + 8], 0
je 0x14014e230
call fcn.1400f1ae0
mov rcx, qword [rax + 8]
mov rax, qword [rcx]
mov rax, qword [rax + 0x98]
call qword [case.0x140038ca6.0]
test eax, eax
je 0x14014e230
lea rcx, [rbp - 0x40]
call fcn.140112850
nop
mov dword [rbp - 0x40], 5
mov rdx, qword [r13]
lea rcx, [rdx - 0x18]
mov rbx, qword [rbp]
add rbx, 0xffffffffffffffe8
mov rdi, 0xffffffffffffffff
cmp rcx, rbx
je 0x14014ddad
cmp dword [rbx + 0x10], 0
jl 0x14014dda0
mov rax, qword [rbx]
cmp qword [rcx], rax
jne 0x14014dda0
call fcn.140019180
mov rsi, rax
mov ecx, edi
lock xadd dword [rbx + 0x10], ecx
sub ecx, 1
jg 0x14014dd96
mov r8, qword [rbx]
mov rcx, qword [r8]
mov rax, qword [rcx + 8]
mov rdx, rbx
mov rcx, r8
call qword [case.0x140038ca6.0]
lea rax, [rsi + 0x18]
mov qword [rbp], rax
jmp 0x14014ddad
mov r8d, dword [rdx - 0x10]
lea rcx, [rbp]
call fcn.140018f50
call fcn.14012bfe0
cmp dword [rax + 0xb0], 0
jl 0x14014de01
call fcn.14012bfe0
mov rbx, qword [rax + 0xb8]
mov dword [rbp + 8], edi
lea rcx, [rbp + 0x10]
call fcn.140018cc0
test rbx, rbx
je 0x14014de01
mov r8, rdi
nop dword [rax + rax]
inc r8
cmp word [rbx + r8*2], 0
jne 0x14014dde0
mov rdx, rbx
lea rcx, [rbp + 0x10]
call fcn.140018f50
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax - 0x10]
mov dword [rbp + 8], ecx
mov dword [rbp + 0xa0], r12d
mov eax, dword [rbp + 0x178]
mov dword [rbp + 0xa4], eax
cmp r14d, 1
jne 0x14014de67
lea rdx, [rbp - 0x20]
mov rcx, r15
call fcn.14015a210
lea rdx, [rbp - 0x68]
mov rcx, r15
call fcn.14013da90
nop
mov rdx, rax
lea rcx, [rbp + 0xb8]
call fcn.140017b80
nop
mov rdx, qword [rbp - 0x68]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, r14d
jg 0x14014de67
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038ca6.0]
call fcn.1400f1ae0
mov rsi, qword [rax + 8]
xor r12d, r12d
test rsi, rsi
je 0x14014dff4
mov rax, qword [rsi]
mov rcx, rsi
mov rax, qword [rax + 0x78]
call qword [case.0x140038ca6.0]
cmp eax, 0x23
ja 0x14014dff4
movabs rcx, 0xc00002001
bt rcx, rax
jae 0x14014dff4
mov rax, qword [rbp - 0x18]
mov r14, rax
test rax, rax
je 0x14014defc
mov ebx, r12d
test rax, rax
je 0x14014dff4
cmp rbx, rax
jae 0x14014e285
mov rax, qword [rsi]
mov rdx, qword [rbp - 0x20]
mov edx, dword [rdx + rbx*4]
mov rcx, rsi
mov rax, qword [rax + 0x70]
call qword [case.0x140038ca6.0]
test dword [rax + 0x2c], 0x400
jne 0x14014df47
inc rbx
cmp rbx, r14
jae 0x14014dff4
mov rax, qword [rbp - 0x18]
jmp 0x14014dec1
mov rax, qword [rsi]
mov rcx, rsi
mov rax, qword [rax + 0x68]
call qword [case.0x140038ca6.0]
mov r14d, eax
mov ebx, r12d
test eax, eax
jle 0x14014dff4
nop word [rax + rax]
mov rcx, qword [rsi]
mov rax, qword [rcx + 0x70]
mov edx, ebx
mov rcx, rsi
call qword [case.0x140038ca6.0]
test dword [rax + 0x2c], 0x400
jne 0x14014df47
inc ebx
cmp ebx, r14d
jl 0x14014df20
jmp 0x14014dff4
call fcn.14012bfe0
cmp dword [rax + 0xc], 0x11
jl 0x14014dfd9
call fcn.14012bfe0
cmp dword [rax + 0xc], 0x11
jl 0x14014dff4
lea rax, [rbp - 0x58]
mov qword [rsp + 0x20], rax
mov r9d, 0x20119
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionAppModelUnlock
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14014dfd9
mov dword [rbp - 0x50], r12d
mov dword [rbp - 0x4c], 4
lea rax, [rbp - 0x4c]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x50]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.AllowDevelopmentWithoutDevLicense
mov rcx, qword [rbp - 0x58]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
mov rcx, qword [rbp - 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x14014dfd9
cmp dword [rbp - 0x50], r12d
jne 0x14014dff4
call fcn.14012bfe0
cmp dword [rax + 8], 1
jne 0x14014dff4
call fcn.14012bfe0
cmp dword [rax + 4], r12d
mov esi, 1
je 0x14014dff7
mov esi, r12d
lea rcx, [rsp + 0x40]
call fcn.140112ed0
nop
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], r12
mov dword [rsp + 0x68], r12d
mov qword [rbp - 0x7c], r12
mov dword [rbp - 0x80], 1
mov qword [rbp - 0x74], r12
mov rdx, qword [r15 + 0x1b8]
lea rcx, [rdx - 0x18]
mov rbx, qword [rbp - 0x38]
add rbx, 0xffffffffffffffe8
cmp rcx, rbx
je 0x14014e087
cmp dword [rbx + 0x10], 0
jl 0x14014e07a
mov rax, qword [rbx]
cmp qword [rcx], rax
jne 0x14014e07a
call fcn.140019180
mov r14, rax
mov ecx, edi
lock xadd dword [rbx + 0x10], ecx
sub ecx, 1
jg 0x14014e070
mov r8, qword [rbx]
mov rcx, qword [r8]
mov rax, qword [rcx + 8]
mov rdx, rbx
mov rcx, r8
call qword [case.0x140038ca6.0]
lea rax, [r14 + 0x18]
mov qword [rbp - 0x38], rax
jmp 0x14014e087
mov r8d, dword [rdx - 0x10]
lea rcx, [rbp - 0x38]
call fcn.140018f50
mov dword [rsp + 0x6c], 1
mov dword [rbp - 0x6c], 1
mov dword [rsp + 0x28], esi
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x68]
lea r8, [rbp - 0x40]
mov rdx, r15
mov rcx, qword [r15 + 8]
call fcn.140140550
call fcn.140166630
cmp dword [rax + 0x280], 0
je 0x14014e0f2
lea rax, [rsp + 0x30]
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x40]
add rcx, 0xffffffffffffffe8
call fcn.140019180
add rax, 0x18
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x30]
call fcn.140027330
mov rdx, qword [rsp + 0x40]
lea rcx, [rdx - 0x18]
mov rbx, qword [r15 + 0x1c0]
sub rbx, 0x18
cmp rcx, rbx
je 0x14014e160
cmp dword [rbx + 0x10], 0
jl 0x14014e150
mov rax, qword [rbx]
cmp qword [rcx], rax
jne 0x14014e150
call fcn.140019180
mov r14, rax
mov ecx, edi
lock xadd dword [rbx + 0x10], ecx
sub ecx, 1
jg 0x14014e143
mov r8, qword [rbx]
mov rcx, qword [r8]
mov rax, qword [rcx + 8]
mov rdx, rbx
mov rcx, r8
call qword [case.0x140038ca6.0]
lea rax, [r14 + 0x18]
mov qword [r15 + 0x1c0], rax
jmp 0x14014e160
mov r8d, dword [rdx - 0x10]
lea rcx, [r15 + 0x1c0]
call fcn.140018f50
mov rcx, r15
call fcn.140160e20
cmp dword [rbp + 0xa4], 0
je 0x14014e19d
cmp dword [rsp + 0x58], 0
jne 0x14014e19d
cmp dword [rsp + 0x54], 0
jne 0x14014e19d
mov rcx, r15
cmp byte [rsp + 0x5d], 0
je 0x14014e195
mov edx, 1
call fcn.14015a3a0
jmp 0x14014e19d
xor edx, edx
call fcn.14013e930
nop
lea rax, [rsp + 0x48]
mov qword [rsp + 0x38], rax
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14014e1cd
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038ca6.0]
nop
lea rax, [rsp + 0x40]
mov qword [rsp + 0x38], rax
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14014e1fd
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038ca6.0]
nop
lea rcx, [rbp - 0x40]
call fcn.140112bf0
nop
mov rdx, qword [r13]
sub rdx, 0x18
lock xadd dword [rdx + 0x10], edi
sub edi, 1
jg 0x14014e229
mov rcx, qword [rdx]
mov r8, qword [rcx]
mov rax, qword [r8 + 8]
call qword [case.0x140038ca6.0]
mov eax, 1
jmp 0x14014e25b
mov rdx, qword [r13]
sub rdx, 0x18
mov rdi, 0xffffffffffffffff
lock xadd dword [rdx + 0x10], edi
sub edi, 1
jg 0x14014e259
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038ca6.0]
xor eax, eax
mov rcx, qword [rbp + 0x100]
xor rcx, rsp
call fcn.1401f74b0
mov rbx, qword [rsp + 0x260]
add rsp, 0x210
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x80070057
call fcn.140019300
int3