Function at 0x1401f2320
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 [0x140431aa0]
lea rcx, vtable.Core::Win32::RegistryKey.0
test al, 1
jne 0x1401f2397
or eax, 1
mov dword [0x140431aa0], eax
mov qword [0x140431ab0], rcx
mov qword [0x140431ab8], 0xffffffff80000003
lea rcx, [0x140305080]
call fcn.1402be804
lea rdx, [rbp - 0x18]
lea rcx, [0x140431ab0]
call fcn.1400ed120
call fcn.140114b00
lea r12, [0x14034d1a0]
mov r15d, 0x5c
test al, al
mov eax, dword [rbp - 0x10]
je 0x1401f2b52
test eax, eax
js 0x1401f32d8
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 0x1401f2431
lea edx, [rbx + 4]
call fcn.1402028a0
mov eax, dword [rsp + 0x38]
inc eax
movsxd rdx, eax
lea r9d, [rbx + 4]
lea r8, [0x14034c0a8]
mov rcx, qword [rsp + 0x30]
call fcn.1402c06dc
lea edx, [rbx + 4]
lea rcx, [rsp + 0x30]
call fcn.140203bb0
jmp 0x1401f24f3
mov edx, 3
call fcn.1402028a0
mov eax, dword [rsp + 0x38]
inc eax
movsxd rdx, eax
mov r9d, 3
lea r8, [0x14034c0a0]
mov rcx, qword [rsp + 0x30]
call fcn.1402c06dc
mov edx, 3
lea rcx, [rsp + 0x30]
call fcn.140203bb0
mov edx, dword [rsp + 0x3c]
inc edx
lea rcx, [rsp + 0x30]
call fcn.1402028a0
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.140203bb0
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.1402028a0
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.1402c06dc
mov edx, ebx
lea rcx, [rsp + 0x30]
call fcn.140203bb0
lea rdi, str.SOFTWAREMicrosoftWindowsCurrentVersionExplorer_
mov edx, dword [rsp + 0x3c]
inc edx
lea rcx, [rsp + 0x30]
call fcn.1402028a0
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.140203bb0
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.1402015b0
nop
mov rdi, qword [r12]
test rdi, rdi
jne 0x1401f255c
mov ebx, esi
mov qword [rsp + 0x58], rdi
jmp 0x1401f2577
or rbx, 0xffffffffffffffff
inc rbx
cmp word [rdi + rbx*2], 0
jne 0x1401f2560
mov qword [rsp + 0x58], 0
test ebx, ebx
jne 0x1401f2585
lea rdi, [0x14034d1a0]
mov qword [rsp + 0x50], rdi
jmp 0x1401f25b1
mov edx, ebx
lea rcx, [rsp + 0x50]
call fcn.1402028a0
movsxd r9, ebx
mov eax, dword [rsp + 0x58]
inc eax
movsxd rdx, eax
mov r8, rdi
mov rcx, qword [rsp + 0x50]
call fcn.1402c06dc
lea rdi, [0x14034d1a0]
mov edx, ebx
lea rcx, [rsp + 0x50]
call fcn.140203bb0
nop
cmp dword [rsp + 0x5c], 0
je 0x1401f2ad0
mov edx, r15d
mov rcx, qword [rsp + 0x50]
call fcn.1402c00ac
mov rbx, rax
test rax, rax
je 0x1401f2ad0
sub rbx, qword [rsp + 0x50]
sar rbx, 1
test ebx, ebx
jle 0x1401f2ad0
lea r9d, [rbx + 1]
xor r8d, r8d
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x50]
call fcn.140204ad0
nop
lea r8d, [rbx + 1]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x50]
call fcn.140204810
nop
mov ebx, dword [rbp - 0x64]
add ebx, dword [rbp - 0x7c]
mov edx, ebx
lea rcx, [rsp + 0x78]
call fcn.1402028a0
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.1402c06dc
mov edx, ebx
lea rcx, [rsp + 0x78]
call fcn.140203bb0
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x78]
call fcn.1400ed8e0
mov r15, rax
test rax, rax
je 0x1401f2aa9
xor bl, bl
mov rdx, qword [rsp + 0x60]
mov rcx, rax
call fcn.1400ed340
cmp eax, 4
jne 0x1401f26ef
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 0x1401f26df
xor bl, bl
jmp 0x1401f2767
mov eax, dword [rbp + 0xe8]
mov dword [rbp + 0xf0], eax
mov bl, 1
jmp 0x1401f2767
cmp eax, 1
jne 0x1401f2a9b
mov qword [rbp - 0x58], rdi
mov qword [rbp - 0x50], 0
lea r8, [rbp - 0x58]
mov rdx, qword [rsp + 0x60]
mov rcx, r15
call fcn.1400d9fd0
test al, al
je 0x1401f2758
cmp dword [rbp - 0x4c], 0
jne 0x1401f2723
xor bl, bl
jmp 0x1401f2758
mov rbx, qword [rbp - 0x58]
mov r8d, 0xa
lea rdx, [rbp - 0x20]
mov rcx, rbx
call fcn.1402c04f0
mov rdx, qword [rbp - 0x20]
sub rdx, rbx
sar rdx, 1
movsxd rcx, dword [rbp - 0x4c]
cmp rdx, rcx
je 0x1401f2750
xor bl, bl
jmp 0x1401f2758
mov dword [rbp + 0xf0], eax
mov bl, 1
cmp dword [rbp - 0x50], 0
jle 0x1401f2767
mov rcx, qword [rbp - 0x58]
call fcn.1402bd0e0
test bl, bl
je 0x1401f2a9b
mov eax, dword [rbp + 0xf0]
dec eax
cmp eax, 1
ja 0x1401f2a9b
mov r8, qword [rsp + 0x60]
lea rdx, str.Policies__s_Title
lea rcx, [rbp]
call fcn.140202d40
nop
mov rdx, rax
lea rcx, [rbp - 0x30]
call fcn.1400f6d90
nop
cmp dword [rbp + 8], 0
jle 0x1401f27b2
mov rcx, qword [rbp]
call fcn.1402bd0e0
mov r8, qword [rsp + 0x60]
lea rdx, str.Policies__s_Description
lea rcx, [rbp + 0x50]
call fcn.140202d40
nop
mov rdx, rax
lea rcx, [rbp - 0x48]
call fcn.1400f6d90
nop
cmp dword [rbp + 0x58], 0
jle 0x1401f27e4
mov rcx, qword [rbp + 0x50]
call fcn.1402bd0e0
mov qword [rsp + 0x48], 0
mov edx, dword [rbp - 0x7c]
test edx, edx
jne 0x1401f27fb
mov qword [rsp + 0x40], rdi
jmp 0x1401f2824
lea rcx, [rsp + 0x40]
call fcn.1402028a0
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.1402c06dc
mov edx, dword [rbp - 0x7c]
lea rcx, [rsp + 0x40]
call fcn.140203bb0
nop
mov ebx, dword [rsp + 0x6c]
add ebx, dword [rsp + 0x4c]
mov edx, ebx
lea rcx, [rsp + 0x40]
call fcn.1402028a0
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.1402c06dc
mov edx, ebx
lea rcx, [rsp + 0x40]
call fcn.140203bb0
mov ecx, 0x90
call fcn.1402bcb4c
mov qword [rbp + 0xe8], rax
test rax, rax
je 0x1401f28a6
lea r9, [rbp - 0x30]
lea rdx, [rsp + 0x40]
mov rcx, rax
call fcn.1401fb640
mov rbx, rax
jmp 0x1401f28a9
mov rbx, rsi
mov rdx, qword [rbp - 0x48]
mov rcx, rbx
call fcn.14016b280
lea rdx, [rbx + 8]
mov rcx, qword [r14 + 8]
call fcn.1401138e0
movzx r14d, al
test al, al
sete dil
movzx edx, dil
mov rcx, rbx
call fcn.1400d8ef0
mov rdx, rbx
mov rcx, qword [rbp + 0xe0]
mov rcx, qword [rcx + 8]
call fcn.1400fab10
mov rcx, rbx
call fcn.1400daa90
mov rbx, rax
lea rcx, [rax + 0x18]
call fcn.1400cd550
cmp dword [rbx + 0x28], 0
je 0x1401f2937
mov dword [rbx + 0x28], 0
cmp byte [rbx + 8], 0
je 0x1401f2937
mov rcx, qword [rbx]
mov rdx, qword [0x140430c10]
mov qword [rbp + 0x30], rcx
mov dword [rbp + 0x38], 7
lea rcx, [rdx + 0x390]
lea r8, [rbp + 0x30]
call fcn.14011b550
mov dword [rbp + 0xe8], 7
movzx eax, byte [0x140431249]
mov byte [rsp + 0x20], al
lea r9, [rbp + 0xe8]
lea rdx, [rbp + 0x80]
lea rcx, [rbx + 0x18]
call fcn.1400e4f60
mov dword [rbp + 0xe8], 8
movzx eax, byte [0x140431249]
mov byte [rsp + 0x20], al
lea r9, [rbp + 0xe8]
lea rdx, [rbp + 0x70]
lea rcx, [rbx + 0x18]
call fcn.1400e4f60
xor esi, esi
mov edx, esi
test r14b, r14b
setne dl
add edx, 7
mov rcx, rbx
call fcn.1400e4c20
cmp byte [rbx + 0xa], 1
je 0x1401f29d6
mov byte [rbx + 0xa], 1
cmp byte [rbx + 8], sil
je 0x1401f29d6
mov rax, qword [rbx]
mov rdx, qword [0x140430c10]
mov qword [rbp + 0x20], rax
mov dword [rbp + 0x28], 1
lea rcx, [rdx + 0x390]
lea r8, [rbp + 0x20]
call fcn.14011b550
cmp byte [rbx + 9], dil
je 0x1401f2a0b
mov byte [rbx + 9], dil
cmp byte [rbx + 8], sil
je 0x1401f2a0b
mov rax, qword [rbx]
mov rdx, qword [0x140430c10]
mov qword [rbp + 0x10], rax
mov dword [rbp + 0x18], 2
lea rcx, [rdx + 0x390]
lea r8, [rbp + 0x10]
call fcn.14011b550
cmp byte [rbx + 8], 1
je 0x1401f2a63
mov byte [rbx + 8], 1
mov rax, qword [rbx]
mov rdx, qword [0x140430c10]
mov qword [rbp + 0x40], rax
mov dword [rbp + 0x48], 5
lea rcx, [rdx + 0x390]
lea r8, [rbp + 0x40]
call fcn.14011b550
mov rdx, qword [0x140430c10]
lea rax, vtable.Core::EventArgs.0
mov qword [rbp + 0xe8], rax
lea rcx, [rdx + 0x3c0]
lea r8, [rbp + 0xe8]
call fcn.14011b860
nop
cmp dword [rsp + 0x48], 0
jle 0x1401f2a75
mov rcx, qword [rsp + 0x40]
call fcn.1402bd0e0
nop
cmp dword [rbp - 0x40], 0
jle 0x1401f2a85
mov rcx, qword [rbp - 0x48]
call fcn.1402bd0e0
nop
cmp dword [rbp - 0x28], 0
jle 0x1401f2a94
mov rcx, qword [rbp - 0x30]
call fcn.1402bd0e0
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 0x1401f2abb
mov rcx, qword [rsp + 0x60]
call fcn.1402bd0e0
nop
cmp dword [rbp - 0x68], 0
jle 0x1401f2aca
mov rcx, qword [rbp - 0x70]
call fcn.1402bd0e0
mov r15d, 0x5c
cmp dword [rsp + 0x58], 0
jle 0x1401f2ae2
mov rcx, qword [rsp + 0x50]
call fcn.1402bd0e0
nop
cmp dword [rbp - 0x80], 0
jle 0x1401f2af2
mov rcx, qword [rsp + 0x78]
call fcn.1402bd0e0
inc r13d
add r12, 0x10
movsxd rax, r13d
cmp rax, 8
lea rdi, str.SOFTWAREMicrosoftWindowsCurrentVersionExplorer_
jb 0x1401f2530
cmp dword [rsp + 0x38], 0
jle 0x1401f2b1e
mov rcx, qword [rsp + 0x30]
call fcn.1402bd0e0
mov rbx, qword [rbp - 0x38]
inc rbx
mov qword [rbp - 0x38], rbx
dec qword [rbp - 0x60]
lea rdi, str.SOFTWAREMicrosoftWindowsCurrentVersionExplorer_
lea r12, [0x14034d1a0]
jne 0x1401f23e1
mov eax, dword [rbp - 0x10]
lea r12, [0x14034d1a0]
lea r13, vtable.Core::Array_class_Core::String_.0
test eax, eax
js 0x1401f32d8
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 0x1401f2bb8
lea edx, [r14 + 4]
call fcn.1402028a0
mov eax, dword [rsp + 0x38]
inc eax
movsxd rdx, eax
lea r9d, [r14 + 4]
lea r8, [0x14034c0a8]
mov rcx, qword [rsp + 0x30]
call fcn.1402c06dc
lea edx, [r14 + 4]
jmp 0x1401f2c6d
mov edx, 3
call fcn.1402028a0
mov eax, dword [rsp + 0x38]
inc eax
movsxd rdx, eax
mov r9d, 3
lea r8, [0x14034c0a0]
mov rcx, qword [rsp + 0x30]
call fcn.1402c06dc
mov edx, 3
lea rcx, [rsp + 0x30]
call fcn.140203bb0
mov edx, dword [rsp + 0x3c]
inc edx
lea rcx, [rsp + 0x30]
call fcn.1402028a0
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.140203bb0
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.1402028a0
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.1402c06dc
mov edx, ebx
lea rcx, [rsp + 0x30]
call fcn.140203bb0
mov edx, dword [rsp + 0x3c]
inc edx
lea rcx, [rsp + 0x30]
call fcn.1402028a0
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.140203bb0
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionInternet_SettingsZones_
lea rcx, [rsp + 0x30]
call fcn.140200ef0
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.1400ed8e0
mov rbx, rax
mov qword [rbp - 0x20], rax
test rax, rax
je 0x1401f32b0
mov qword [rsp + 0x60], r13
mov dword [rsp + 0x68], esi
mov qword [rsp + 0x70], rsi
lea rdx, [rsp + 0x60]
mov rcx, rax
call fcn.1400ed120
test al, al
je 0x1401f3274
mov eax, dword [rsp + 0x68]
test eax, eax
jle 0x1401f3274
mov r13, qword [rsp + 0x70]
mov qword [rbp + 0xf0], rax
nop word [rax + rax]
mov r8d, 1
lea rdx, [0x14036da44]
mov rcx, r13
call fcn.140202b80
test al, al
je 0x1401f324d
lea r8, str.Zones
lea rdx, str.Policies__s_Title
lea rcx, [rbp + 0x40]
call fcn.140202d40
nop
mov rdx, rax
lea rcx, [rbp - 0x48]
call fcn.1400f6d90
nop
cmp dword [rbp + 0x48], 0
jle 0x1401f2d71
mov rcx, qword [rbp + 0x40]
call fcn.1402bd0e0
lea r8, str.Zones
lea rdx, str.Policies__s_Description
lea rcx, [rbp + 0x10]
call fcn.140202d40
nop
mov rdx, rax
lea rcx, [rbp - 0x30]
call fcn.1400f6d90
nop
cmp dword [rbp + 0x18], 0
jle 0x1401f2da5
mov rcx, qword [rbp + 0x10]
call fcn.1402bd0e0
mov qword [rsp + 0x48], 0
mov edx, dword [rsp + 0x3c]
test edx, edx
jne 0x1401f2dbd
mov qword [rsp + 0x40], r12
jmp 0x1401f2de8
lea rcx, [rsp + 0x40]
call fcn.1402028a0
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.1402c06dc
mov edx, dword [rsp + 0x3c]
lea rcx, [rsp + 0x40]
call fcn.140203bb0
nop
mov ebx, dword [rsp + 0x4c]
add ebx, dword [r13 + 0xc]
mov edx, ebx
lea rcx, [rsp + 0x40]
call fcn.1402028a0
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.1402c06dc
mov edx, ebx
lea rcx, [rsp + 0x40]
call fcn.140203bb0
lea rdx, [0x14034c088]
lea rcx, [rsp + 0x40]
call fcn.140200ef0
mov ecx, 0x90
call fcn.1402bcb4c
mov qword [rbp + 0xe8], rax
test rax, rax
je 0x1401f2e77
lea r9, [rbp - 0x48]
lea rdx, [rsp + 0x40]
mov rcx, rax
call fcn.1401fb640
mov rsi, rax
mov rdx, qword [rbp - 0x30]
mov rcx, rsi
call fcn.14016b280
lea rdx, [rsi + 8]
mov rbx, qword [rbp + 0xe0]
mov rcx, qword [rbx + 8]
call fcn.1401138e0
movzx r15d, al
test al, al
sete r12b
movzx edx, r12b
mov rcx, rsi
call fcn.1400d8ef0
mov qword [rbp + 0xe8], rsi
mov rbx, qword [rbx + 8]
lea rcx, [rbx + 0x470]
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 + 0x4a0]
call fcn.14000a580
lea r9, [rax + 0x20]
mov qword [rsp + 0x20], rax
lea rdx, [rbp + 0x70]
lea rcx, [rbx + 0x4a0]
call fcn.14000a620
nop
cmp dword [rbp - 0x80], 0
jle 0x1401f2f21
mov rcx, qword [rsp + 0x78]
call fcn.1402bd0e0
nop
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, rsi
call fcn.1400daa90
mov r14, rax
mov rcx, qword [rax + 0x18]
mov rdi, qword [rcx + 8]
mov rbx, rdi
cmp byte [rdi + 0x19], 0
jne 0x1401f2f71
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.14021ae20
mov rdi, rbx
cmp byte [rbx + 0x19], 0
je 0x1401f2f50
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 0x1401f2fc3
mov dword [r14 + 0x28], ebx
cmp byte [r14 + 8], bl
je 0x1401f2fc3
mov rax, qword [r14]
mov rdx, qword [0x140430c10]
mov qword [rbp + 0x20], rax
mov dword [rbp + 0x28], 7
lea rcx, [rdx + 0x390]
lea r8, [rbp + 0x20]
call fcn.14011b550
mov dword [rbp + 0xe8], 7
movzx eax, byte [0x140431249]
mov byte [rsp + 0x20], al
lea r9, [rbp + 0xe8]
lea rdx, [rbp + 0x80]
lea rcx, [r14 + 0x18]
call fcn.1400e4f60
mov dword [rbp + 0xe8], 8
movzx eax, byte [0x140431249]
mov byte [rsp + 0x20], al
lea r9, [rbp + 0xe8]
lea rdx, [rbp - 0x58]
lea rcx, [r14 + 0x18]
call fcn.1400e4f60
mov r9d, ebx
test r15b, r15b
setne r9b
add r9d, 7
cmp r9d, 6
jne 0x1401f3118
mov r8, qword [r14 + 0x20]
test r8, r8
je 0x1401f3118
mov rcx, qword [r14 + 0x18]
mov rax, qword [rcx]
cmp rax, rcx
je 0x1401f30aa
nop dword [rax]
cmp dword [rax + 0x1c], 6
je 0x1401f3118
cmp byte [rax + 0x19], bl
jne 0x1401f30a5
mov rdx, qword [rax + 0x10]
cmp byte [rdx + 0x19], bl
jne 0x1401f3080
mov rax, rdx
mov rdx, qword [rdx]
cmp byte [rdx + 0x19], bl
jne 0x1401f30a5
mov rax, rdx
mov rdx, qword [rdx]
cmp byte [rdx + 0x19], bl
je 0x1401f3073
jmp 0x1401f30a5
mov rdx, qword [rax + 8]
cmp byte [rdx + 0x19], bl
jne 0x1401f30a2
nop dword [rax]
cmp rax, qword [rdx + 0x10]
jne 0x1401f30a2
mov rax, rdx
mov rdx, qword [rdx + 8]
cmp byte [rdx + 0x19], bl
je 0x1401f3090
mov rax, rdx
cmp rax, rcx
jne 0x1401f3050
test r8, r8
je 0x1401f3118
mov rcx, qword [r14 + 0x18]
mov rax, qword [rcx]
cmp rax, rcx
je 0x1401f3118
nop dword [rax + rax]
cmp dword [rax + 0x1c], 5
je 0x1401f3112
cmp byte [rax + 0x19], bl
jne 0x1401f310b
mov rdx, qword [rax + 0x10]
cmp byte [rdx + 0x19], bl
jne 0x1401f30ed
mov rax, rdx
mov rdx, qword [rdx]
cmp byte [rdx + 0x19], bl
jne 0x1401f310b
nop
mov rax, rdx
mov rdx, qword [rdx]
cmp byte [rdx + 0x19], bl
je 0x1401f30e0
jmp 0x1401f310b
mov rdx, qword [rax + 8]
cmp byte [rdx + 0x19], bl
jne 0x1401f3108
cmp rax, qword [rdx + 0x10]
jne 0x1401f3108
mov rax, rdx
mov rdx, qword [rdx + 8]
cmp byte [rdx + 0x19], bl
je 0x1401f30f6
mov rax, rdx
cmp rax, rcx
jne 0x1401f30c0
jmp 0x1401f3118
mov r9d, 5
cmp dword [r14 + 0x28], r9d
je 0x1401f314d
mov dword [r14 + 0x28], r9d
cmp byte [r14 + 8], bl
je 0x1401f314d
mov rax, qword [r14]
mov rdx, qword [0x140430c10]
mov qword [rbp + 0x30], rax
mov dword [rbp + 0x38], 7
lea rcx, [rdx + 0x390]
lea r8, [rbp + 0x30]
call fcn.14011b550
cmp byte [r14 + 0xa], 1
je 0x1401f3184
mov byte [r14 + 0xa], 1
cmp byte [r14 + 8], bl
je 0x1401f3184
mov rax, qword [r14]
mov rdx, qword [0x140430c10]
mov qword [rbp + 0x50], rax
mov dword [rbp + 0x58], 1
lea rcx, [rdx + 0x390]
lea r8, [rbp + 0x50]
call fcn.14011b550
cmp byte [r14 + 9], r12b
je 0x1401f31b9
mov byte [r14 + 9], r12b
cmp byte [r14 + 8], bl
je 0x1401f31b9
mov rax, qword [r14]
mov rdx, qword [0x140430c10]
mov qword [rbp], rax
mov dword [rbp + 8], 2
lea rcx, [rdx + 0x390]
lea r8, [rbp]
call fcn.14011b550
cmp byte [r14 + 8], 1
je 0x1401f3213
mov byte [r14 + 8], 1
mov rax, qword [r14]
mov rdx, qword [0x140430c10]
mov qword [rbp - 0x70], rax
mov dword [rbp - 0x68], 5
lea rcx, [rdx + 0x390]
lea r8, [rbp - 0x70]
call fcn.14011b550
mov rdx, qword [0x140430c10]
lea rax, vtable.Core::EventArgs.0
mov qword [rbp + 0xe8], rax
lea rcx, [rdx + 0x3c0]
lea r8, [rbp + 0xe8]
call fcn.14011b860
nop
cmp dword [rsp + 0x48], 0
jle 0x1401f3225
mov rcx, qword [rsp + 0x40]
call fcn.1402bd0e0
nop
cmp dword [rbp - 0x28], 0
jle 0x1401f3235
mov rcx, qword [rbp - 0x30]
call fcn.1402bd0e0
nop
cmp dword [rbp - 0x40], 0
jle 0x1401f3244
mov rcx, qword [rbp - 0x48]
call fcn.1402bd0e0
lea r12, [0x14034d1a0]
xor esi, esi
add r13, 0x10
dec qword [rbp + 0xf0]
jne 0x1401f2d20
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 0x1401f32b0
lea rbx, [rax - 8]
lea r9, [fcn.140005eb0]
mov r8d, dword [rbx]
mov edx, 0x10
mov rcx, rax
call fcn.1402bda84
mov rcx, rbx
call fcn.1402bcebc
nop
cmp dword [rsp + 0x38], 0
jle 0x1401f32c1
mov rcx, qword [rsp + 0x30]
call fcn.1402bd0e0
inc r14
mov qword [rbp + 0xf8], r14
dec r15
mov qword [rbp - 0x60], r15
jne 0x1401f2b70
call qword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 6
jb 0x1401f35af
mov qword [rsp + 0x68], 0
mov edx, 0x49
lea rcx, [rsp + 0x60]
call fcn.1402028a0
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.1402c06dc
mov edx, 0x49
lea rcx, [rsp + 0x60]
call fcn.140203bb0
nop
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x60]
call fcn.1400ed8e0
mov rbx, rax
test rax, rax
je 0x1401f359d
mov qword [rbp - 0x80], 0
mov edx, 8
lea rcx, [rsp + 0x78]
call fcn.1402028a0
mov ecx, dword [rbp - 0x80]
inc ecx
movsxd rdx, ecx
mov r9d, 8
lea r8, str.26000022
mov rcx, qword [rsp + 0x78]
call fcn.1402c06dc
mov edx, 8
lea rcx, [rsp + 0x78]
call fcn.140203bb0
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 0x1401f357e
lea ecx, [rax + 0x10]
call fcn.1402bcb4c
test rax, rax
je 0x1401f357e
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.140202d40
nop
mov qword [rsp + 0x58], 0
mov edx, 8
lea rcx, [rsp + 0x50]
call fcn.1402028a0
mov eax, dword [rsp + 0x58]
inc eax
movsxd rdx, eax
mov r9d, 8
lea r8, str.16000020
mov rcx, qword [rsp + 0x50]
call fcn.1402c06dc
mov edx, 8
lea rcx, [rsp + 0x50]
call fcn.140203bb0
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 0x1401f34d8
lea ecx, [rax + 0x10]
call fcn.1402bcb4c
mov rcx, rax
test rax, rax
je 0x1401f3495
mov rax, qword [rbp + 0xe8]
mov qword [rcx], rdi
mov qword [rcx + 8], rax
jmp 0x1401f3498
mov rcx, rsi
test rcx, rcx
je 0x1401f34d8
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov ecx, 0xc0
call fcn.1402bcb4c
mov qword [rbp + 0xe8], rax
test rax, rax
je 0x1401f34d6
lea r9, [rbp - 0x70]
lea r8, [rsp + 0x78]
lea rdx, [rsp + 0x60]
mov rcx, rax
call fcn.1401f1fe0
mov rsi, rax
jmp 0x1401f3511
mov ecx, 0xc0
call fcn.1402bcb4c
mov qword [rbp + 0xe8], rax
test rax, rax
je 0x1401f3511
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.1401f1e10
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.1400e5420
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.1400fab10
nop
cmp dword [rsp + 0x58], 0
jle 0x1401f356f
mov rcx, qword [rsp + 0x50]
call fcn.1402bd0e0
nop
cmp dword [rbp - 0x68], 0
jle 0x1401f357e
mov rcx, qword [rbp - 0x70]
call fcn.1402bd0e0
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [rax]
nop
cmp dword [rbp - 0x80], 0
jle 0x1401f359d
mov rcx, qword [rsp + 0x78]
call fcn.1402bd0e0
nop
cmp dword [rsp + 0x68], 0
jle 0x1401f35af
mov rcx, qword [rsp + 0x60]
call fcn.1402bd0e0
nop
mov rax, qword [rbp - 8]
test rax, rax
je 0x1401f35db
lea rbx, [rax - 8]
lea r9, [fcn.140005eb0]
mov r8d, dword [rbx]
mov edx, 0x10
mov rcx, rax
call fcn.1402bda84
mov rcx, rbx
call fcn.1402bcebc
mov al, 1
add rsp, 0x198
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret