Function at 0x1401eece0
Capabilities:
Check os version
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x98]
sub rsp, 0x198
mov qword [rbp + 0x68], 0xfffffffffffffffe
mov r14, rcx
lea r13, vtable.Core::Array_class_Core::String_.0
mov qword [rbp - 0x18], r13
xor esi, esi
mov dword [rbp - 0x10], esi
mov qword [rbp - 8], rsi
mov eax, dword [0x14042c9c0]
lea rcx, vtable.Core::Win32::RegistryKey.0
test al, 1
jne 0x1401eed57
or eax, 1
mov dword [0x14042c9c0], eax
mov qword [0x14042c9d0], rcx
mov qword [0x14042c9d8], 0xffffffff80000003
lea rcx, [0x1403017a0]
call fcn.1402bb344
lea rdx, [rbp - 0x18]
lea rcx, [0x14042c9d0]
call fcn.1400ebbb0
call fcn.140113110
lea r12, [0x140348ca0]
mov r15d, 0x5c
test al, al
mov eax, dword [rbp - 0x10]
je 0x1401ef512
test eax, eax
js 0x1401efc98
mov rbx, rsi
mov qword [rbp - 0x38], rbx
lea ecx, [rax + 1]
mov qword [rbp - 0x60], rcx
lea rdi, str.SOFTWAREMicrosoftWindowsCurrentVersionExplorer_
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x38], 0
lea rcx, [rsp + 0x30]
test rbx, rbx
jne 0x1401eedf1
lea edx, [rbx + 4]
call fcn.1401ff260
mov eax, dword [rsp + 0x38]
inc eax
movsxd rdx, eax
lea r9d, [rbx + 4]
lea r8, [0x140347f78]
mov rcx, qword [rsp + 0x30]
call fcn.1402bd21c
lea edx, [rbx + 4]
lea rcx, [rsp + 0x30]
call fcn.140200570
jmp 0x1401eeeb3
mov edx, 3
call fcn.1401ff260
mov eax, dword [rsp + 0x38]
inc eax
movsxd rdx, eax
mov r9d, 3
lea r8, [0x140347f70]
mov rcx, qword [rsp + 0x30]
call fcn.1402bd21c
mov edx, 3
lea rcx, [rsp + 0x30]
call fcn.140200570
mov edx, dword [rsp + 0x3c]
inc edx
lea rcx, [rsp + 0x30]
call fcn.1401ff260
movsxd rcx, dword [rsp + 0x3c]
mov rax, qword [rsp + 0x30]
mov word [rax + rcx*2], r15w
mov edx, dword [rsp + 0x3c]
inc edx
lea rcx, [rsp + 0x30]
call fcn.140200570
mov rdi, rbx
shl rdi, 4
add rdi, qword [rbp - 8]
mov ebx, dword [rsp + 0x3c]
add ebx, dword [rdi - 4]
mov edx, ebx
lea rcx, [rsp + 0x30]
call fcn.1401ff260
movsxd r9, dword [rdi - 4]
mov ecx, dword [rsp + 0x38]
movsxd rax, dword [rsp + 0x3c]
sub ecx, eax
inc ecx
movsxd rdx, ecx
mov rcx, rax
mov rax, qword [rsp + 0x30]
lea rcx, [rax + rcx*2]
mov r8, qword [rdi - 0x10]
call fcn.1402bd21c
mov edx, ebx
lea rcx, [rsp + 0x30]
call fcn.140200570
lea rdi, str.SOFTWAREMicrosoftWindowsCurrentVersionExplorer_
mov edx, dword [rsp + 0x3c]
inc edx
lea rcx, [rsp + 0x30]
call fcn.1401ff260
movsxd rcx, dword [rsp + 0x3c]
mov rax, qword [rsp + 0x30]
mov word [rax + rcx*2], r15w
mov edx, dword [rsp + 0x3c]
inc edx
lea rcx, [rsp + 0x30]
call fcn.140200570
mov r13d, esi
lea r12, str.SystemDisableRegistryTools
nop dword [rax]
movzx r8d, byte [r12 - 8]
mov r8, qword [rdi + r8*8]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x78]
call fcn.1401fdf70
nop
mov rdi, qword [r12]
test rdi, rdi
jne 0x1401eef1c
mov ebx, esi
mov qword [rsp + 0x58], rdi
jmp 0x1401eef37
or rbx, 0xffffffffffffffff
inc rbx
cmp word [rdi + rbx*2], 0
jne 0x1401eef20
mov qword [rsp + 0x58], 0
test ebx, ebx
jne 0x1401eef45
lea rdi, [0x140348ca0]
mov qword [rsp + 0x50], rdi
jmp 0x1401eef71
mov edx, ebx
lea rcx, [rsp + 0x50]
call fcn.1401ff260
movsxd r9, ebx
mov eax, dword [rsp + 0x58]
inc eax
movsxd rdx, eax
mov r8, rdi
mov rcx, qword [rsp + 0x50]
call fcn.1402bd21c
lea rdi, [0x140348ca0]
mov edx, ebx
lea rcx, [rsp + 0x50]
call fcn.140200570
nop
cmp dword [rsp + 0x5c], 0
je 0x1401ef490
mov edx, r15d
mov rcx, qword [rsp + 0x50]
call fcn.1402bcbec
mov rbx, rax
test rax, rax
je 0x1401ef490
sub rbx, qword [rsp + 0x50]
sar rbx, 1
test ebx, ebx
jle 0x1401ef490
lea r9d, [rbx + 1]
xor r8d, r8d
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x50]
call fcn.140201490
nop
lea r8d, [rbx + 1]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x50]
call fcn.1402011d0
nop
mov ebx, dword [rbp - 0x64]
add ebx, dword [rbp - 0x7c]
mov edx, ebx
lea rcx, [rsp + 0x78]
call fcn.1401ff260
movsxd r9, dword [rbp - 0x64]
mov ecx, dword [rbp - 0x80]
movsxd rax, dword [rbp - 0x7c]
sub ecx, eax
inc ecx
movsxd rdx, ecx
mov rcx, rax
mov rax, qword [rsp + 0x78]
lea rcx, [rax + rcx*2]
mov r8, qword [rbp - 0x70]
call fcn.1402bd21c
mov edx, ebx
lea rcx, [rsp + 0x78]
call fcn.140200570
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x78]
call fcn.1400ec370
mov r15, rax
test rax, rax
je 0x1401ef469
xor bl, bl
mov rdx, qword [rsp + 0x60]
mov rcx, rax
call fcn.1400ebdd0
cmp eax, 4
jne 0x1401ef0af
mov dword [rbp + 0xe8], esi
mov dword [rbp + 0xf8], eax
lea rax, [rbp + 0xf8]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0xe8]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x60]
xor r8d, r8d
mov rdx, qword [rsp + 0x60]
mov rcx, qword [r15 + 8]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
test ebx, ebx
je 0x1401ef09f
xor bl, bl
jmp 0x1401ef127
mov eax, dword [rbp + 0xe8]
mov dword [rbp + 0xf0], eax
mov bl, 1
jmp 0x1401ef127
cmp eax, 1
jne 0x1401ef45b
mov qword [rbp - 0x58], rdi
mov qword [rbp - 0x50], 0
lea r8, [rbp - 0x58]
mov rdx, qword [rsp + 0x60]
mov rcx, r15
call fcn.1400d8b50
test al, al
je 0x1401ef118
cmp dword [rbp - 0x4c], 0
jne 0x1401ef0e3
xor bl, bl
jmp 0x1401ef118
mov rbx, qword [rbp - 0x58]
mov r8d, 0xa
lea rdx, [rbp - 0x20]
mov rcx, rbx
call fcn.1402bd030
mov rdx, qword [rbp - 0x20]
sub rdx, rbx
sar rdx, 1
movsxd rcx, dword [rbp - 0x4c]
cmp rdx, rcx
je 0x1401ef110
xor bl, bl
jmp 0x1401ef118
mov dword [rbp + 0xf0], eax
mov bl, 1
cmp dword [rbp - 0x50], 0
jle 0x1401ef127
mov rcx, qword [rbp - 0x58]
call fcn.1402b9c20
test bl, bl
je 0x1401ef45b
mov eax, dword [rbp + 0xf0]
dec eax
cmp eax, 1
ja 0x1401ef45b
mov r8, qword [rsp + 0x60]
lea rdx, str.Policies__s_Title
lea rcx, [rbp]
call fcn.1401ff700
nop
mov rdx, rax
lea rcx, [rbp - 0x30]
call fcn.1400f57b0
nop
cmp dword [rbp + 8], 0
jle 0x1401ef172
mov rcx, qword [rbp]
call fcn.1402b9c20
mov r8, qword [rsp + 0x60]
lea rdx, str.Policies__s_Description
lea rcx, [rbp + 0x50]
call fcn.1401ff700
nop
mov rdx, rax
lea rcx, [rbp - 0x48]
call fcn.1400f57b0
nop
cmp dword [rbp + 0x58], 0
jle 0x1401ef1a4
mov rcx, qword [rbp + 0x50]
call fcn.1402b9c20
mov qword [rsp + 0x48], 0
mov edx, dword [rbp - 0x7c]
test edx, edx
jne 0x1401ef1bb
mov qword [rsp + 0x40], rdi
jmp 0x1401ef1e4
lea rcx, [rsp + 0x40]
call fcn.1401ff260
movsxd r9, dword [rbp - 0x7c]
mov eax, dword [rsp + 0x48]
inc eax
movsxd rdx, eax
mov r8, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x40]
call fcn.1402bd21c
mov edx, dword [rbp - 0x7c]
lea rcx, [rsp + 0x40]
call fcn.140200570
nop
mov ebx, dword [rsp + 0x6c]
add ebx, dword [rsp + 0x4c]
mov edx, ebx
lea rcx, [rsp + 0x40]
call fcn.1401ff260
movsxd r9, dword [rsp + 0x6c]
mov ecx, dword [rsp + 0x48]
movsxd rax, dword [rsp + 0x4c]
sub ecx, eax
inc ecx
movsxd rdx, ecx
mov rcx, rax
mov rax, qword [rsp + 0x40]
lea rcx, [rax + rcx*2]
mov r8, qword [rsp + 0x60]
call fcn.1402bd21c
mov edx, ebx
lea rcx, [rsp + 0x40]
call fcn.140200570
mov ecx, 0x90
call fcn.1402b968c
mov qword [rbp + 0xe8], rax
test rax, rax
je 0x1401ef266
lea r9, [rbp - 0x30]
lea rdx, [rsp + 0x40]
mov rcx, rax
call fcn.1401f8000
mov rbx, rax
jmp 0x1401ef269
mov rbx, rsi
mov rdx, qword [rbp - 0x48]
mov rcx, rbx
call fcn.140169670
lea rdx, [rbx + 8]
mov rcx, qword [r14 + 8]
call fcn.140111ef0
movzx r14d, al
test al, al
sete dil
movzx edx, dil
mov rcx, rbx
call fcn.1400d7a70
mov rdx, rbx
mov rcx, qword [rbp + 0xe0]
mov rcx, qword [rcx + 8]
call fcn.1400f9530
mov rcx, rbx
call fcn.1400d9610
mov rbx, rax
lea rcx, [rax + 0x18]
call fcn.1400cd550
cmp dword [rbx + 0x28], 0
je 0x1401ef2f7
mov dword [rbx + 0x28], 0
cmp byte [rbx + 8], 0
je 0x1401ef2f7
mov rcx, qword [rbx]
mov rdx, qword [0x14042bb58]
mov qword [rbp + 0x30], rcx
mov dword [rbp + 0x38], 7
lea rcx, [rdx + 0x388]
lea r8, [rbp + 0x30]
call fcn.140119b60
mov dword [rbp + 0xe8], 7
movzx eax, byte [0x14042c169]
mov byte [rsp + 0x20], al
lea r9, [rbp + 0xe8]
lea rdx, [rbp + 0x80]
lea rcx, [rbx + 0x18]
call fcn.1400e3ae0
mov dword [rbp + 0xe8], 8
movzx eax, byte [0x14042c169]
mov byte [rsp + 0x20], al
lea r9, [rbp + 0xe8]
lea rdx, [rbp + 0x70]
lea rcx, [rbx + 0x18]
call fcn.1400e3ae0
xor esi, esi
mov edx, esi
test r14b, r14b
setne dl
add edx, 7
mov rcx, rbx
call fcn.1400e37a0
cmp byte [rbx + 0xa], 1
je 0x1401ef396
mov byte [rbx + 0xa], 1
cmp byte [rbx + 8], sil
je 0x1401ef396
mov rax, qword [rbx]
mov rdx, qword [0x14042bb58]
mov qword [rbp + 0x20], rax
mov dword [rbp + 0x28], 1
lea rcx, [rdx + 0x388]
lea r8, [rbp + 0x20]
call fcn.140119b60
cmp byte [rbx + 9], dil
je 0x1401ef3cb
mov byte [rbx + 9], dil
cmp byte [rbx + 8], sil
je 0x1401ef3cb
mov rax, qword [rbx]
mov rdx, qword [0x14042bb58]
mov qword [rbp + 0x10], rax
mov dword [rbp + 0x18], 2
lea rcx, [rdx + 0x388]
lea r8, [rbp + 0x10]
call fcn.140119b60
cmp byte [rbx + 8], 1
je 0x1401ef423
mov byte [rbx + 8], 1
mov rax, qword [rbx]
mov rdx, qword [0x14042bb58]
mov qword [rbp + 0x40], rax
mov dword [rbp + 0x48], 5
lea rcx, [rdx + 0x388]
lea r8, [rbp + 0x40]
call fcn.140119b60
mov rdx, qword [0x14042bb58]
lea rax, vtable.Core::EventArgs.0
mov qword [rbp + 0xe8], rax
lea rcx, [rdx + 0x3b8]
lea r8, [rbp + 0xe8]
call fcn.140119e70
nop
cmp dword [rsp + 0x48], 0
jle 0x1401ef435
mov rcx, qword [rsp + 0x40]
call fcn.1402b9c20
nop
cmp dword [rbp - 0x40], 0
jle 0x1401ef445
mov rcx, qword [rbp - 0x48]
call fcn.1402b9c20
nop
cmp dword [rbp - 0x28], 0
jle 0x1401ef454
mov rcx, qword [rbp - 0x30]
call fcn.1402b9c20
mov r14, qword [rbp + 0xe0]
mov rax, qword [r15]
mov edx, 1
mov rcx, r15
call qword [rax]
nop
cmp dword [rsp + 0x68], 0
jle 0x1401ef47b
mov rcx, qword [rsp + 0x60]
call fcn.1402b9c20
nop
cmp dword [rbp - 0x68], 0
jle 0x1401ef48a
mov rcx, qword [rbp - 0x70]
call fcn.1402b9c20
mov r15d, 0x5c
cmp dword [rsp + 0x58], 0
jle 0x1401ef4a2
mov rcx, qword [rsp + 0x50]
call fcn.1402b9c20
nop
cmp dword [rbp - 0x80], 0
jle 0x1401ef4b2
mov rcx, qword [rsp + 0x78]
call fcn.1402b9c20
inc r13d
add r12, 0x10
movsxd rax, r13d
cmp rax, 8
lea rdi, str.SOFTWAREMicrosoftWindowsCurrentVersionExplorer_
jb 0x1401eeef0
cmp dword [rsp + 0x38], 0
jle 0x1401ef4de
mov rcx, qword [rsp + 0x30]
call fcn.1402b9c20
mov rbx, qword [rbp - 0x38]
inc rbx
mov qword [rbp - 0x38], rbx
dec qword [rbp - 0x60]
lea rdi, str.SOFTWAREMicrosoftWindowsCurrentVersionExplorer_
lea r12, [0x140348ca0]
jne 0x1401eeda1
mov eax, dword [rbp - 0x10]
lea r12, [0x140348ca0]
lea r13, vtable.Core::Array_class_Core::String_.0
test eax, eax
js 0x1401efc98
mov r14, rsi
mov qword [rbp + 0xf8], rsi
lea r15d, [rax + 1]
mov qword [rbp - 0x60], r15
nop dword [rax]
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x38], 0
lea rcx, [rsp + 0x30]
test r14, r14
jne 0x1401ef578
lea edx, [r14 + 4]
call fcn.1401ff260
mov eax, dword [rsp + 0x38]
inc eax
movsxd rdx, eax
lea r9d, [r14 + 4]
lea r8, [0x140347f78]
mov rcx, qword [rsp + 0x30]
call fcn.1402bd21c
lea edx, [r14 + 4]
jmp 0x1401ef62d
mov edx, 3
call fcn.1401ff260
mov eax, dword [rsp + 0x38]
inc eax
movsxd rdx, eax
mov r9d, 3
lea r8, [0x140347f70]
mov rcx, qword [rsp + 0x30]
call fcn.1402bd21c
mov edx, 3
lea rcx, [rsp + 0x30]
call fcn.140200570
mov edx, dword [rsp + 0x3c]
inc edx
lea rcx, [rsp + 0x30]
call fcn.1401ff260
movsxd rcx, dword [rsp + 0x3c]
mov rax, qword [rsp + 0x30]
mov edx, 0x5c
mov word [rax + rcx*2], dx
mov edx, dword [rsp + 0x3c]
inc edx
lea rcx, [rsp + 0x30]
call fcn.140200570
mov rdi, r14
shl rdi, 4
add rdi, qword [rbp - 8]
mov ebx, dword [rsp + 0x3c]
add ebx, dword [rdi - 4]
mov edx, ebx
lea rcx, [rsp + 0x30]
call fcn.1401ff260
movsxd r9, dword [rdi - 4]
mov ecx, dword [rsp + 0x38]
movsxd rax, dword [rsp + 0x3c]
sub ecx, eax
inc ecx
movsxd rdx, ecx
mov rcx, rax
mov rax, qword [rsp + 0x30]
lea rcx, [rax + rcx*2]
mov r8, qword [rdi - 0x10]
call fcn.1402bd21c
mov edx, ebx
lea rcx, [rsp + 0x30]
call fcn.140200570
mov edx, dword [rsp + 0x3c]
inc edx
lea rcx, [rsp + 0x30]
call fcn.1401ff260
movsxd rcx, dword [rsp + 0x3c]
mov rax, qword [rsp + 0x30]
mov edx, 0x5c
mov word [rax + rcx*2], dx
mov edx, dword [rsp + 0x3c]
inc edx
lea rcx, [rsp + 0x30]
call fcn.140200570
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionInternet_SettingsZones_
lea rcx, [rsp + 0x30]
call fcn.1401fd8b0
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.1400ec370
mov rbx, rax
mov qword [rbp - 0x20], rax
test rax, rax
je 0x1401efc70
mov qword [rsp + 0x60], r13
mov dword [rsp + 0x68], esi
mov qword [rsp + 0x70], rsi
lea rdx, [rsp + 0x60]
mov rcx, rax
call fcn.1400ebbb0
test al, al
je 0x1401efc34
mov eax, dword [rsp + 0x68]
test eax, eax
jle 0x1401efc34
mov r13, qword [rsp + 0x70]
mov qword [rbp + 0xf0], rax
nop word [rax + rax]
mov r8d, 1
lea rdx, [0x140368d94]
mov rcx, r13
call fcn.1401ff540
test al, al
je 0x1401efc0d
lea r8, str.Zones
lea rdx, str.Policies__s_Title
lea rcx, [rbp + 0x40]
call fcn.1401ff700
nop
mov rdx, rax
lea rcx, [rbp - 0x48]
call fcn.1400f57b0
nop
cmp dword [rbp + 0x48], 0
jle 0x1401ef731
mov rcx, qword [rbp + 0x40]
call fcn.1402b9c20
lea r8, str.Zones
lea rdx, str.Policies__s_Description
lea rcx, [rbp + 0x10]
call fcn.1401ff700
nop
mov rdx, rax
lea rcx, [rbp - 0x30]
call fcn.1400f57b0
nop
cmp dword [rbp + 0x18], 0
jle 0x1401ef765
mov rcx, qword [rbp + 0x10]
call fcn.1402b9c20
mov qword [rsp + 0x48], 0
mov edx, dword [rsp + 0x3c]
test edx, edx
jne 0x1401ef77d
mov qword [rsp + 0x40], r12
jmp 0x1401ef7a8
lea rcx, [rsp + 0x40]
call fcn.1401ff260
movsxd r9, dword [rsp + 0x3c]
mov eax, dword [rsp + 0x48]
inc eax
movsxd rdx, eax
mov r8, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x40]
call fcn.1402bd21c
mov edx, dword [rsp + 0x3c]
lea rcx, [rsp + 0x40]
call fcn.140200570
nop
mov ebx, dword [rsp + 0x4c]
add ebx, dword [r13 + 0xc]
mov edx, ebx
lea rcx, [rsp + 0x40]
call fcn.1401ff260
movsxd r9, dword [r13 + 0xc]
mov ecx, dword [rsp + 0x48]
movsxd rax, dword [rsp + 0x4c]
sub ecx, eax
inc ecx
movsxd rdx, ecx
mov rcx, rax
mov rax, qword [rsp + 0x40]
lea rcx, [rax + rcx*2]
mov r8, qword [r13]
call fcn.1402bd21c
mov edx, ebx
lea rcx, [rsp + 0x40]
call fcn.140200570
lea rdx, [0x140347f58]
lea rcx, [rsp + 0x40]
call fcn.1401fd8b0
mov ecx, 0x90
call fcn.1402b968c
mov qword [rbp + 0xe8], rax
test rax, rax
je 0x1401ef837
lea r9, [rbp - 0x48]
lea rdx, [rsp + 0x40]
mov rcx, rax
call fcn.1401f8000
mov rsi, rax
mov rdx, qword [rbp - 0x30]
mov rcx, rsi
call fcn.140169670
lea rdx, [rsi + 8]
mov rbx, qword [rbp + 0xe0]
mov rcx, qword [rbx + 8]
call fcn.140111ef0
movzx r15d, al
test al, al
sete r12b
movzx edx, r12b
mov rcx, rsi
call fcn.1400d7a70
mov qword [rbp + 0xe8], rsi
mov rbx, qword [rbx + 8]
lea rcx, [rbx + 0x468]
mov qword [rbp - 0x38], rcx
lea r14, [rcx + 8]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
lea r8, [rbp + 0xe8]
lea rdx, [rsi + 8]
lea rcx, [rsp + 0x78]
call fcn.14000a400
nop
mov rdx, rax
lea rcx, [rbx + 0x498]
call fcn.14000a580
lea r9, [rax + 0x20]
mov qword [rsp + 0x20], rax
lea rdx, [rbp + 0x70]
lea rcx, [rbx + 0x498]
call fcn.14000a620
nop
cmp dword [rbp - 0x80], 0
jle 0x1401ef8e1
mov rcx, qword [rsp + 0x78]
call fcn.1402b9c20
nop
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, rsi
call fcn.1400d9610
mov r14, rax
mov rcx, qword [rax + 0x18]
mov rdi, qword [rcx + 8]
mov rbx, rdi
cmp byte [rdi + 0x19], 0
jne 0x1401ef931
nop word [rax + rax]
mov rdx, qword [rbx + 0x10]
lea rcx, [r14 + 0x18]
call fcn.140009de0
mov rbx, qword [rbx]
mov rcx, rdi
call fcn.1402177e0
mov rdi, rbx
cmp byte [rbx + 0x19], 0
je 0x1401ef910
mov rax, qword [r14 + 0x18]
mov qword [rax + 8], rax
mov rax, qword [r14 + 0x18]
mov qword [rax], rax
mov rax, qword [r14 + 0x18]
mov qword [rax + 0x10], rax
xor ebx, ebx
mov qword [r14 + 0x20], rbx
cmp dword [r14 + 0x28], ebx
je 0x1401ef983
mov dword [r14 + 0x28], ebx
cmp byte [r14 + 8], bl
je 0x1401ef983
mov rax, qword [r14]
mov rdx, qword [0x14042bb58]
mov qword [rbp + 0x20], rax
mov dword [rbp + 0x28], 7
lea rcx, [rdx + 0x388]
lea r8, [rbp + 0x20]
call fcn.140119b60
mov dword [rbp + 0xe8], 7
movzx eax, byte [0x14042c169]
mov byte [rsp + 0x20], al
lea r9, [rbp + 0xe8]
lea rdx, [rbp + 0x80]
lea rcx, [r14 + 0x18]
call fcn.1400e3ae0
mov dword [rbp + 0xe8], 8
movzx eax, byte [0x14042c169]
mov byte [rsp + 0x20], al
lea r9, [rbp + 0xe8]
lea rdx, [rbp - 0x58]
lea rcx, [r14 + 0x18]
call fcn.1400e3ae0
mov r9d, ebx
test r15b, r15b
setne r9b
add r9d, 7
cmp r9d, 6
jne 0x1401efad8
mov r8, qword [r14 + 0x20]
test r8, r8
je 0x1401efad8
mov rcx, qword [r14 + 0x18]
mov rax, qword [rcx]
cmp rax, rcx
je 0x1401efa6a
nop dword [rax]
cmp dword [rax + 0x1c], 6
je 0x1401efad8
cmp byte [rax + 0x19], bl
jne 0x1401efa65
mov rdx, qword [rax + 0x10]
cmp byte [rdx + 0x19], bl
jne 0x1401efa40
mov rax, rdx
mov rdx, qword [rdx]
cmp byte [rdx + 0x19], bl
jne 0x1401efa65
mov rax, rdx
mov rdx, qword [rdx]
cmp byte [rdx + 0x19], bl
je 0x1401efa33
jmp 0x1401efa65
mov rdx, qword [rax + 8]
cmp byte [rdx + 0x19], bl
jne 0x1401efa62
nop dword [rax]
cmp rax, qword [rdx + 0x10]
jne 0x1401efa62
mov rax, rdx
mov rdx, qword [rdx + 8]
cmp byte [rdx + 0x19], bl
je 0x1401efa50
mov rax, rdx
cmp rax, rcx
jne 0x1401efa10
test r8, r8
je 0x1401efad8
mov rcx, qword [r14 + 0x18]
mov rax, qword [rcx]
cmp rax, rcx
je 0x1401efad8
nop dword [rax + rax]
cmp dword [rax + 0x1c], 5
je 0x1401efad2
cmp byte [rax + 0x19], bl
jne 0x1401efacb
mov rdx, qword [rax + 0x10]
cmp byte [rdx + 0x19], bl
jne 0x1401efaad
mov rax, rdx
mov rdx, qword [rdx]
cmp byte [rdx + 0x19], bl
jne 0x1401efacb
nop
mov rax, rdx
mov rdx, qword [rdx]
cmp byte [rdx + 0x19], bl
je 0x1401efaa0
jmp 0x1401efacb
mov rdx, qword [rax + 8]
cmp byte [rdx + 0x19], bl
jne 0x1401efac8
cmp rax, qword [rdx + 0x10]
jne 0x1401efac8
mov rax, rdx
mov rdx, qword [rdx + 8]
cmp byte [rdx + 0x19], bl
je 0x1401efab6
mov rax, rdx
cmp rax, rcx
jne 0x1401efa80
jmp 0x1401efad8
mov r9d, 5
cmp dword [r14 + 0x28], r9d
je 0x1401efb0d
mov dword [r14 + 0x28], r9d
cmp byte [r14 + 8], bl
je 0x1401efb0d
mov rax, qword [r14]
mov rdx, qword [0x14042bb58]
mov qword [rbp + 0x30], rax
mov dword [rbp + 0x38], 7
lea rcx, [rdx + 0x388]
lea r8, [rbp + 0x30]
call fcn.140119b60
cmp byte [r14 + 0xa], 1
je 0x1401efb44
mov byte [r14 + 0xa], 1
cmp byte [r14 + 8], bl
je 0x1401efb44
mov rax, qword [r14]
mov rdx, qword [0x14042bb58]
mov qword [rbp + 0x50], rax
mov dword [rbp + 0x58], 1
lea rcx, [rdx + 0x388]
lea r8, [rbp + 0x50]
call fcn.140119b60
cmp byte [r14 + 9], r12b
je 0x1401efb79
mov byte [r14 + 9], r12b
cmp byte [r14 + 8], bl
je 0x1401efb79
mov rax, qword [r14]
mov rdx, qword [0x14042bb58]
mov qword [rbp], rax
mov dword [rbp + 8], 2
lea rcx, [rdx + 0x388]
lea r8, [rbp]
call fcn.140119b60
cmp byte [r14 + 8], 1
je 0x1401efbd3
mov byte [r14 + 8], 1
mov rax, qword [r14]
mov rdx, qword [0x14042bb58]
mov qword [rbp - 0x70], rax
mov dword [rbp - 0x68], 5
lea rcx, [rdx + 0x388]
lea r8, [rbp - 0x70]
call fcn.140119b60
mov rdx, qword [0x14042bb58]
lea rax, vtable.Core::EventArgs.0
mov qword [rbp + 0xe8], rax
lea rcx, [rdx + 0x3b8]
lea r8, [rbp + 0xe8]
call fcn.140119e70
nop
cmp dword [rsp + 0x48], 0
jle 0x1401efbe5
mov rcx, qword [rsp + 0x40]
call fcn.1402b9c20
nop
cmp dword [rbp - 0x28], 0
jle 0x1401efbf5
mov rcx, qword [rbp - 0x30]
call fcn.1402b9c20
nop
cmp dword [rbp - 0x40], 0
jle 0x1401efc04
mov rcx, qword [rbp - 0x48]
call fcn.1402b9c20
lea r12, [0x140348ca0]
xor esi, esi
add r13, 0x10
dec qword [rbp + 0xf0]
jne 0x1401ef6e0
mov rbx, qword [rbp - 0x20]
mov r14, qword [rbp + 0xf8]
mov r15, qword [rbp - 0x60]
lea r13, vtable.Core::Array_class_Core::String_.0
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [rax]
nop
mov rax, qword [rsp + 0x70]
test rax, rax
je 0x1401efc70
lea rbx, [rax - 8]
lea r9, [fcn.140005eb0]
mov r8d, dword [rbx]
mov edx, 0x10
mov rcx, rax
call fcn.1402ba5c4
mov rcx, rbx
call fcn.1402b99fc
nop
cmp dword [rsp + 0x38], 0
jle 0x1401efc81
mov rcx, qword [rsp + 0x30]
call fcn.1402b9c20
inc r14
mov qword [rbp + 0xf8], r14
dec r15
mov qword [rbp - 0x60], r15
jne 0x1401ef530
call qword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 6
jb 0x1401eff6f
mov qword [rsp + 0x68], 0
mov edx, 0x49
lea rcx, [rsp + 0x60]
call fcn.1401ff260
mov eax, dword [rsp + 0x68]
inc eax
movsxd rdx, eax
mov r9d, 0x49
lea r8, str.HKLMBCD00000000Objects0ce4991b_e6b3_4b16_b23c_5e0d9250e5d9Elements_
mov rcx, qword [rsp + 0x60]
call fcn.1402bd21c
mov edx, 0x49
lea rcx, [rsp + 0x60]
call fcn.140200570
nop
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x60]
call fcn.1400ec370
mov rbx, rax
test rax, rax
je 0x1401eff5d
mov qword [rbp - 0x80], 0
mov edx, 8
lea rcx, [rsp + 0x78]
call fcn.1401ff260
mov ecx, dword [rbp - 0x80]
inc ecx
movsxd rdx, ecx
mov r9d, 8
lea r8, str.26000022
mov rcx, qword [rsp + 0x78]
call fcn.1402bd21c
mov edx, 8
lea rcx, [rsp + 0x78]
call fcn.140200570
nop
mov qword [rbp + 0xe8], rsi
lea rax, [rbp + 0xe8]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rbx + 8]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1401eff3e
lea ecx, [rax + 0x10]
call fcn.1402b968c
test rax, rax
je 0x1401eff3e
mov rcx, qword [rbp + 0xe8]
lea rdi, vtable.Core::Win32::RegistryKey.0
mov qword [rax], rdi
mov qword [rax + 8], rcx
mov r8, qword [rsp + 0x78]
lea rdx, str.Boot_Configuration_Data__BCD__WinPE_mode
lea rcx, [rbp - 0x70]
call fcn.1401ff700
nop
mov qword [rsp + 0x58], 0
mov edx, 8
lea rcx, [rsp + 0x50]
call fcn.1401ff260
mov eax, dword [rsp + 0x58]
inc eax
movsxd rdx, eax
mov r9d, 8
lea r8, str.16000020
mov rcx, qword [rsp + 0x50]
call fcn.1402bd21c
mov edx, 8
lea rcx, [rsp + 0x50]
call fcn.140200570
nop
mov qword [rbp + 0xe8], rsi
lea rax, [rbp + 0xe8]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rbx + 8]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1401efe98
lea ecx, [rax + 0x10]
call fcn.1402b968c
mov rcx, rax
test rax, rax
je 0x1401efe55
mov rax, qword [rbp + 0xe8]
mov qword [rcx], rdi
mov qword [rcx + 8], rax
jmp 0x1401efe58
mov rcx, rsi
test rcx, rcx
je 0x1401efe98
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov ecx, 0xc0
call fcn.1402b968c
mov qword [rbp + 0xe8], rax
test rax, rax
je 0x1401efe96
lea r9, [rbp - 0x70]
lea r8, [rsp + 0x78]
lea rdx, [rsp + 0x60]
mov rcx, rax
call fcn.1401ee9a0
mov rsi, rax
jmp 0x1401efed1
mov ecx, 0xc0
call fcn.1402b968c
mov qword [rbp + 0xe8], rax
test rax, rax
je 0x1401efed1
lea rcx, [rbp - 0x70]
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x78]
lea rdx, [rsp + 0x60]
mov rcx, rax
call fcn.1401ee7d0
mov rsi, rax
movabs rax, 0xfefffedfffffffff
and qword [rsi + 0x40], rax
movabs rax, 0x20000000000
or qword [rsi + 0x40], rax
lea rdx, str.Bad_Configuration
mov rcx, rsi
call fcn.1400e3fa0
mov rax, qword [rsi]
mov rdi, qword [rbp + 0xe0]
mov rdx, qword [rdi + 8]
mov rcx, rsi
call qword [rax + 0x70]
mov rdx, rsi
mov rcx, qword [rdi + 8]
call fcn.1400f9530
nop
cmp dword [rsp + 0x58], 0
jle 0x1401eff2f
mov rcx, qword [rsp + 0x50]
call fcn.1402b9c20
nop
cmp dword [rbp - 0x68], 0
jle 0x1401eff3e
mov rcx, qword [rbp - 0x70]
call fcn.1402b9c20
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [rax]
nop
cmp dword [rbp - 0x80], 0
jle 0x1401eff5d
mov rcx, qword [rsp + 0x78]
call fcn.1402b9c20
nop
cmp dword [rsp + 0x68], 0
jle 0x1401eff6f
mov rcx, qword [rsp + 0x60]
call fcn.1402b9c20
nop
mov rax, qword [rbp - 8]
test rax, rax
je 0x1401eff9b
lea rbx, [rax - 8]
lea r9, [fcn.140005eb0]
mov r8d, dword [rbx]
mov edx, 0x10
mov rcx, rax
call fcn.1402ba5c4
mov rcx, rbx
call fcn.1402b99fc
mov al, 1
add rsp, 0x198
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret