Function at 0x1401ec5e0
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 [0x140429a00]
lea rcx, vtable.Core::Win32::RegistryKey.0
test al, 1
jne 0x1401ec657
or eax, 1
mov dword [0x140429a00], eax
mov qword [0x1404299e0], rcx
mov qword [0x1404299e8], 0xffffffff80000003
lea rcx, [0x1402fed90]
call fcn.1402b8a74
lea rdx, [rbp - 0x18]
lea rcx, [0x1404299e0]
call fcn.1400ea910
call fcn.140111e90
lea r12, [0x140346ce0]
mov r15d, 0x5c
test al, al
mov eax, dword [rbp - 0x10]
je 0x1401ece12
test eax, eax
js 0x1401ed598
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 0x1401ec6f1
lea edx, [rbx + 4]
call fcn.1401fcb40
mov eax, dword [rsp + 0x38]
inc eax
movsxd rdx, eax
lea r9d, [rbx + 4]
lea r8, [0x140345fb8]
mov rcx, qword [rsp + 0x30]
call fcn.1402ba94c
lea edx, [rbx + 4]
lea rcx, [rsp + 0x30]
call fcn.1401fde50
jmp 0x1401ec7b3
mov edx, 3
call fcn.1401fcb40
mov eax, dword [rsp + 0x38]
inc eax
movsxd rdx, eax
mov r9d, 3
lea r8, [0x140345fb0]
mov rcx, qword [rsp + 0x30]
call fcn.1402ba94c
mov edx, 3
lea rcx, [rsp + 0x30]
call fcn.1401fde50
mov edx, dword [rsp + 0x3c]
inc edx
lea rcx, [rsp + 0x30]
call fcn.1401fcb40
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.1401fde50
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.1401fcb40
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.1402ba94c
mov edx, ebx
lea rcx, [rsp + 0x30]
call fcn.1401fde50
lea rdi, str.SOFTWAREMicrosoftWindowsCurrentVersionExplorer_
mov edx, dword [rsp + 0x3c]
inc edx
lea rcx, [rsp + 0x30]
call fcn.1401fcb40
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.1401fde50
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.1401fb850
nop
mov rdi, qword [r12]
test rdi, rdi
jne 0x1401ec81c
mov ebx, esi
mov qword [rsp + 0x58], rdi
jmp 0x1401ec837
or rbx, 0xffffffffffffffff
inc rbx
cmp word [rdi + rbx*2], 0
jne 0x1401ec820
mov qword [rsp + 0x58], 0
test ebx, ebx
jne 0x1401ec845
lea rdi, [0x140346ce0]
mov qword [rsp + 0x50], rdi
jmp 0x1401ec871
mov edx, ebx
lea rcx, [rsp + 0x50]
call fcn.1401fcb40
movsxd r9, ebx
mov eax, dword [rsp + 0x58]
inc eax
movsxd rdx, eax
mov r8, rdi
mov rcx, qword [rsp + 0x50]
call fcn.1402ba94c
lea rdi, [0x140346ce0]
mov edx, ebx
lea rcx, [rsp + 0x50]
call fcn.1401fde50
nop
cmp dword [rsp + 0x5c], 0
je 0x1401ecd90
mov edx, r15d
mov rcx, qword [rsp + 0x50]
call fcn.1402ba31c
mov rbx, rax
test rax, rax
je 0x1401ecd90
sub rbx, qword [rsp + 0x50]
sar rbx, 1
test ebx, ebx
jle 0x1401ecd90
lea r9d, [rbx + 1]
xor r8d, r8d
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x50]
call fcn.1401fed70
nop
lea r8d, [rbx + 1]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x50]
call fcn.1401feab0
nop
mov ebx, dword [rbp - 0x64]
add ebx, dword [rbp - 0x7c]
mov edx, ebx
lea rcx, [rsp + 0x78]
call fcn.1401fcb40
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.1402ba94c
mov edx, ebx
lea rcx, [rsp + 0x78]
call fcn.1401fde50
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x78]
call fcn.1400eb0d0
mov r15, rax
test rax, rax
je 0x1401ecd69
xor bl, bl
mov rdx, qword [rsp + 0x60]
mov rcx, rax
call fcn.1400eab30
cmp eax, 4
jne 0x1401ec9af
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 0x1401ec99f
xor bl, bl
jmp 0x1401eca27
mov eax, dword [rbp + 0xe8]
mov dword [rbp + 0xf0], eax
mov bl, 1
jmp 0x1401eca27
cmp eax, 1
jne 0x1401ecd5b
mov qword [rbp - 0x58], rdi
mov qword [rbp - 0x50], 0
lea r8, [rbp - 0x58]
mov rdx, qword [rsp + 0x60]
mov rcx, r15
call fcn.1400d8ae0
test al, al
je 0x1401eca18
cmp dword [rbp - 0x4c], 0
jne 0x1401ec9e3
xor bl, bl
jmp 0x1401eca18
mov rbx, qword [rbp - 0x58]
mov r8d, 0xa
lea rdx, [rbp - 0x20]
mov rcx, rbx
call fcn.1402ba760
mov rdx, qword [rbp - 0x20]
sub rdx, rbx
sar rdx, 1
movsxd rcx, dword [rbp - 0x4c]
cmp rdx, rcx
je 0x1401eca10
xor bl, bl
jmp 0x1401eca18
mov dword [rbp + 0xf0], eax
mov bl, 1
cmp dword [rbp - 0x50], 0
jle 0x1401eca27
mov rcx, qword [rbp - 0x58]
call fcn.1402b7350
test bl, bl
je 0x1401ecd5b
mov eax, dword [rbp + 0xf0]
dec eax
cmp eax, 1
ja 0x1401ecd5b
mov r8, qword [rsp + 0x60]
lea rdx, str.Policies__s_Title
lea rcx, [rbp]
call fcn.1401fcfe0
nop
mov rdx, rax
lea rcx, [rbp - 0x30]
call fcn.1400f4800
nop
cmp dword [rbp + 8], 0
jle 0x1401eca72
mov rcx, qword [rbp]
call fcn.1402b7350
mov r8, qword [rsp + 0x60]
lea rdx, str.Policies__s_Description
lea rcx, [rbp + 0x50]
call fcn.1401fcfe0
nop
mov rdx, rax
lea rcx, [rbp - 0x48]
call fcn.1400f4800
nop
cmp dword [rbp + 0x58], 0
jle 0x1401ecaa4
mov rcx, qword [rbp + 0x50]
call fcn.1402b7350
mov qword [rsp + 0x48], 0
mov edx, dword [rbp - 0x7c]
test edx, edx
jne 0x1401ecabb
mov qword [rsp + 0x40], rdi
jmp 0x1401ecae4
lea rcx, [rsp + 0x40]
call fcn.1401fcb40
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.1402ba94c
mov edx, dword [rbp - 0x7c]
lea rcx, [rsp + 0x40]
call fcn.1401fde50
nop
mov ebx, dword [rsp + 0x6c]
add ebx, dword [rsp + 0x4c]
mov edx, ebx
lea rcx, [rsp + 0x40]
call fcn.1401fcb40
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.1402ba94c
mov edx, ebx
lea rcx, [rsp + 0x40]
call fcn.1401fde50
mov ecx, 0x90
call fcn.1402b6dbc
mov qword [rbp + 0xe8], rax
test rax, rax
je 0x1401ecb66
lea r9, [rbp - 0x30]
lea rdx, [rsp + 0x40]
mov rcx, rax
call fcn.1401f58e0
mov rbx, rax
jmp 0x1401ecb69
mov rbx, rsi
mov rdx, qword [rbp - 0x48]
mov rcx, rbx
call fcn.1401683e0
lea rdx, [rbx + 8]
mov rcx, qword [r14 + 8]
call fcn.140110c70
movzx r14d, al
test al, al
sete dil
movzx edx, dil
mov rcx, rbx
call fcn.1400d7a00
mov rdx, rbx
mov rcx, qword [rbp + 0xe0]
mov rcx, qword [rcx + 8]
call fcn.1400f8580
mov rcx, rbx
call fcn.1400d95a0
mov rbx, rax
lea rcx, [rax + 0x18]
call fcn.1400cd540
cmp dword [rbx + 0x28], 0
je 0x1401ecbf7
mov dword [rbx + 0x28], 0
cmp byte [rbx + 8], 0
je 0x1401ecbf7
mov rcx, qword [rbx]
mov rdx, qword [0x140428b78]
mov qword [rbp + 0x30], rcx
mov dword [rbp + 0x38], 7
lea rcx, [rdx + 0x388]
lea r8, [rbp + 0x30]
call fcn.1401188e0
mov dword [rbp + 0xe8], 7
movzx eax, byte [0x140429189]
mov byte [rsp + 0x20], al
lea r9, [rbp + 0xe8]
lea rdx, [rbp + 0x80]
lea rcx, [rbx + 0x18]
call fcn.1400e3a70
mov dword [rbp + 0xe8], 8
movzx eax, byte [0x140429189]
mov byte [rsp + 0x20], al
lea r9, [rbp + 0xe8]
lea rdx, [rbp + 0x70]
lea rcx, [rbx + 0x18]
call fcn.1400e3a70
xor esi, esi
mov edx, esi
test r14b, r14b
setne dl
add edx, 7
mov rcx, rbx
call fcn.1400e3730
cmp byte [rbx + 0xa], 1
je 0x1401ecc96
mov byte [rbx + 0xa], 1
cmp byte [rbx + 8], sil
je 0x1401ecc96
mov rax, qword [rbx]
mov rdx, qword [0x140428b78]
mov qword [rbp + 0x20], rax
mov dword [rbp + 0x28], 1
lea rcx, [rdx + 0x388]
lea r8, [rbp + 0x20]
call fcn.1401188e0
cmp byte [rbx + 9], dil
je 0x1401ecccb
mov byte [rbx + 9], dil
cmp byte [rbx + 8], sil
je 0x1401ecccb
mov rax, qword [rbx]
mov rdx, qword [0x140428b78]
mov qword [rbp + 0x10], rax
mov dword [rbp + 0x18], 2
lea rcx, [rdx + 0x388]
lea r8, [rbp + 0x10]
call fcn.1401188e0
cmp byte [rbx + 8], 1
je 0x1401ecd23
mov byte [rbx + 8], 1
mov rax, qword [rbx]
mov rdx, qword [0x140428b78]
mov qword [rbp + 0x40], rax
mov dword [rbp + 0x48], 5
lea rcx, [rdx + 0x388]
lea r8, [rbp + 0x40]
call fcn.1401188e0
mov rdx, qword [0x140428b78]
lea rax, vtable.Core::EventArgs.0
mov qword [rbp + 0xe8], rax
lea rcx, [rdx + 0x3b8]
lea r8, [rbp + 0xe8]
call fcn.140118bf0
nop
cmp dword [rsp + 0x48], 0
jle 0x1401ecd35
mov rcx, qword [rsp + 0x40]
call fcn.1402b7350
nop
cmp dword [rbp - 0x40], 0
jle 0x1401ecd45
mov rcx, qword [rbp - 0x48]
call fcn.1402b7350
nop
cmp dword [rbp - 0x28], 0
jle 0x1401ecd54
mov rcx, qword [rbp - 0x30]
call fcn.1402b7350
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 0x1401ecd7b
mov rcx, qword [rsp + 0x60]
call fcn.1402b7350
nop
cmp dword [rbp - 0x68], 0
jle 0x1401ecd8a
mov rcx, qword [rbp - 0x70]
call fcn.1402b7350
mov r15d, 0x5c
cmp dword [rsp + 0x58], 0
jle 0x1401ecda2
mov rcx, qword [rsp + 0x50]
call fcn.1402b7350
nop
cmp dword [rbp - 0x80], 0
jle 0x1401ecdb2
mov rcx, qword [rsp + 0x78]
call fcn.1402b7350
inc r13d
add r12, 0x10
movsxd rax, r13d
cmp rax, 8
lea rdi, str.SOFTWAREMicrosoftWindowsCurrentVersionExplorer_
jb 0x1401ec7f0
cmp dword [rsp + 0x38], 0
jle 0x1401ecdde
mov rcx, qword [rsp + 0x30]
call fcn.1402b7350
mov rbx, qword [rbp - 0x38]
inc rbx
mov qword [rbp - 0x38], rbx
dec qword [rbp - 0x60]
lea rdi, str.SOFTWAREMicrosoftWindowsCurrentVersionExplorer_
lea r12, [0x140346ce0]
jne 0x1401ec6a1
mov eax, dword [rbp - 0x10]
lea r12, [0x140346ce0]
lea r13, vtable.Core::Array_class_Core::String_.0
test eax, eax
js 0x1401ed598
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 0x1401ece78
lea edx, [r14 + 4]
call fcn.1401fcb40
mov eax, dword [rsp + 0x38]
inc eax
movsxd rdx, eax
lea r9d, [r14 + 4]
lea r8, [0x140345fb8]
mov rcx, qword [rsp + 0x30]
call fcn.1402ba94c
lea edx, [r14 + 4]
jmp 0x1401ecf2d
mov edx, 3
call fcn.1401fcb40
mov eax, dword [rsp + 0x38]
inc eax
movsxd rdx, eax
mov r9d, 3
lea r8, [0x140345fb0]
mov rcx, qword [rsp + 0x30]
call fcn.1402ba94c
mov edx, 3
lea rcx, [rsp + 0x30]
call fcn.1401fde50
mov edx, dword [rsp + 0x3c]
inc edx
lea rcx, [rsp + 0x30]
call fcn.1401fcb40
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.1401fde50
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.1401fcb40
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.1402ba94c
mov edx, ebx
lea rcx, [rsp + 0x30]
call fcn.1401fde50
mov edx, dword [rsp + 0x3c]
inc edx
lea rcx, [rsp + 0x30]
call fcn.1401fcb40
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.1401fde50
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionInternet_SettingsZones_
lea rcx, [rsp + 0x30]
call fcn.1401fb190
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.1400eb0d0
mov rbx, rax
mov qword [rbp - 0x20], rax
test rax, rax
je 0x1401ed570
mov qword [rsp + 0x60], r13
mov dword [rsp + 0x68], esi
mov qword [rsp + 0x70], rsi
lea rdx, [rsp + 0x60]
mov rcx, rax
call fcn.1400ea910
test al, al
je 0x1401ed534
mov eax, dword [rsp + 0x68]
test eax, eax
jle 0x1401ed534
mov r13, qword [rsp + 0x70]
mov qword [rbp + 0xf0], rax
nop word [rax + rax]
mov r8d, 1
lea rdx, [0x140366734]
mov rcx, r13
call fcn.1401fce20
test al, al
je 0x1401ed50d
lea r8, str.Zones
lea rdx, str.Policies__s_Title
lea rcx, [rbp + 0x40]
call fcn.1401fcfe0
nop
mov rdx, rax
lea rcx, [rbp - 0x48]
call fcn.1400f4800
nop
cmp dword [rbp + 0x48], 0
jle 0x1401ed031
mov rcx, qword [rbp + 0x40]
call fcn.1402b7350
lea r8, str.Zones
lea rdx, str.Policies__s_Description
lea rcx, [rbp + 0x10]
call fcn.1401fcfe0
nop
mov rdx, rax
lea rcx, [rbp - 0x30]
call fcn.1400f4800
nop
cmp dword [rbp + 0x18], 0
jle 0x1401ed065
mov rcx, qword [rbp + 0x10]
call fcn.1402b7350
mov qword [rsp + 0x48], 0
mov edx, dword [rsp + 0x3c]
test edx, edx
jne 0x1401ed07d
mov qword [rsp + 0x40], r12
jmp 0x1401ed0a8
lea rcx, [rsp + 0x40]
call fcn.1401fcb40
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.1402ba94c
mov edx, dword [rsp + 0x3c]
lea rcx, [rsp + 0x40]
call fcn.1401fde50
nop
mov ebx, dword [rsp + 0x4c]
add ebx, dword [r13 + 0xc]
mov edx, ebx
lea rcx, [rsp + 0x40]
call fcn.1401fcb40
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.1402ba94c
mov edx, ebx
lea rcx, [rsp + 0x40]
call fcn.1401fde50
lea rdx, [0x140345f98]
lea rcx, [rsp + 0x40]
call fcn.1401fb190
mov ecx, 0x90
call fcn.1402b6dbc
mov qword [rbp + 0xe8], rax
test rax, rax
je 0x1401ed137
lea r9, [rbp - 0x48]
lea rdx, [rsp + 0x40]
mov rcx, rax
call fcn.1401f58e0
mov rsi, rax
mov rdx, qword [rbp - 0x30]
mov rcx, rsi
call fcn.1401683e0
lea rdx, [rsi + 8]
mov rbx, qword [rbp + 0xe0]
mov rcx, qword [rbx + 8]
call fcn.140110c70
movzx r15d, al
test al, al
sete r12b
movzx edx, r12b
mov rcx, rsi
call fcn.1400d7a00
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 0x1401ed1e1
mov rcx, qword [rsp + 0x78]
call fcn.1402b7350
nop
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, rsi
call fcn.1400d95a0
mov r14, rax
mov rcx, qword [rax + 0x18]
mov rdi, qword [rcx + 8]
mov rbx, rdi
cmp byte [rdi + 0x19], 0
jne 0x1401ed231
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.1402150f0
mov rdi, rbx
cmp byte [rbx + 0x19], 0
je 0x1401ed210
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 0x1401ed283
mov dword [r14 + 0x28], ebx
cmp byte [r14 + 8], bl
je 0x1401ed283
mov rax, qword [r14]
mov rdx, qword [0x140428b78]
mov qword [rbp + 0x20], rax
mov dword [rbp + 0x28], 7
lea rcx, [rdx + 0x388]
lea r8, [rbp + 0x20]
call fcn.1401188e0
mov dword [rbp + 0xe8], 7
movzx eax, byte [0x140429189]
mov byte [rsp + 0x20], al
lea r9, [rbp + 0xe8]
lea rdx, [rbp + 0x80]
lea rcx, [r14 + 0x18]
call fcn.1400e3a70
mov dword [rbp + 0xe8], 8
movzx eax, byte [0x140429189]
mov byte [rsp + 0x20], al
lea r9, [rbp + 0xe8]
lea rdx, [rbp - 0x58]
lea rcx, [r14 + 0x18]
call fcn.1400e3a70
mov r9d, ebx
test r15b, r15b
setne r9b
add r9d, 7
cmp r9d, 6
jne 0x1401ed3d8
mov r8, qword [r14 + 0x20]
test r8, r8
je 0x1401ed3d8
mov rcx, qword [r14 + 0x18]
mov rax, qword [rcx]
cmp rax, rcx
je 0x1401ed36a
nop dword [rax]
cmp dword [rax + 0x1c], 6
je 0x1401ed3d8
cmp byte [rax + 0x19], bl
jne 0x1401ed365
mov rdx, qword [rax + 0x10]
cmp byte [rdx + 0x19], bl
jne 0x1401ed340
mov rax, rdx
mov rdx, qword [rdx]
cmp byte [rdx + 0x19], bl
jne 0x1401ed365
mov rax, rdx
mov rdx, qword [rdx]
cmp byte [rdx + 0x19], bl
je 0x1401ed333
jmp 0x1401ed365
mov rdx, qword [rax + 8]
cmp byte [rdx + 0x19], bl
jne 0x1401ed362
nop dword [rax]
cmp rax, qword [rdx + 0x10]
jne 0x1401ed362
mov rax, rdx
mov rdx, qword [rdx + 8]
cmp byte [rdx + 0x19], bl
je 0x1401ed350
mov rax, rdx
cmp rax, rcx
jne 0x1401ed310
test r8, r8
je 0x1401ed3d8
mov rcx, qword [r14 + 0x18]
mov rax, qword [rcx]
cmp rax, rcx
je 0x1401ed3d8
nop dword [rax + rax]
cmp dword [rax + 0x1c], 5
je 0x1401ed3d2
cmp byte [rax + 0x19], bl
jne 0x1401ed3cb
mov rdx, qword [rax + 0x10]
cmp byte [rdx + 0x19], bl
jne 0x1401ed3ad
mov rax, rdx
mov rdx, qword [rdx]
cmp byte [rdx + 0x19], bl
jne 0x1401ed3cb
nop
mov rax, rdx
mov rdx, qword [rdx]
cmp byte [rdx + 0x19], bl
je 0x1401ed3a0
jmp 0x1401ed3cb
mov rdx, qword [rax + 8]
cmp byte [rdx + 0x19], bl
jne 0x1401ed3c8
cmp rax, qword [rdx + 0x10]
jne 0x1401ed3c8
mov rax, rdx
mov rdx, qword [rdx + 8]
cmp byte [rdx + 0x19], bl
je 0x1401ed3b6
mov rax, rdx
cmp rax, rcx
jne 0x1401ed380
jmp 0x1401ed3d8
mov r9d, 5
cmp dword [r14 + 0x28], r9d
je 0x1401ed40d
mov dword [r14 + 0x28], r9d
cmp byte [r14 + 8], bl
je 0x1401ed40d
mov rax, qword [r14]
mov rdx, qword [0x140428b78]
mov qword [rbp + 0x30], rax
mov dword [rbp + 0x38], 7
lea rcx, [rdx + 0x388]
lea r8, [rbp + 0x30]
call fcn.1401188e0
cmp byte [r14 + 0xa], 1
je 0x1401ed444
mov byte [r14 + 0xa], 1
cmp byte [r14 + 8], bl
je 0x1401ed444
mov rax, qword [r14]
mov rdx, qword [0x140428b78]
mov qword [rbp + 0x50], rax
mov dword [rbp + 0x58], 1
lea rcx, [rdx + 0x388]
lea r8, [rbp + 0x50]
call fcn.1401188e0
cmp byte [r14 + 9], r12b
je 0x1401ed479
mov byte [r14 + 9], r12b
cmp byte [r14 + 8], bl
je 0x1401ed479
mov rax, qword [r14]
mov rdx, qword [0x140428b78]
mov qword [rbp], rax
mov dword [rbp + 8], 2
lea rcx, [rdx + 0x388]
lea r8, [rbp]
call fcn.1401188e0
cmp byte [r14 + 8], 1
je 0x1401ed4d3
mov byte [r14 + 8], 1
mov rax, qword [r14]
mov rdx, qword [0x140428b78]
mov qword [rbp - 0x70], rax
mov dword [rbp - 0x68], 5
lea rcx, [rdx + 0x388]
lea r8, [rbp - 0x70]
call fcn.1401188e0
mov rdx, qword [0x140428b78]
lea rax, vtable.Core::EventArgs.0
mov qword [rbp + 0xe8], rax
lea rcx, [rdx + 0x3b8]
lea r8, [rbp + 0xe8]
call fcn.140118bf0
nop
cmp dword [rsp + 0x48], 0
jle 0x1401ed4e5
mov rcx, qword [rsp + 0x40]
call fcn.1402b7350
nop
cmp dword [rbp - 0x28], 0
jle 0x1401ed4f5
mov rcx, qword [rbp - 0x30]
call fcn.1402b7350
nop
cmp dword [rbp - 0x40], 0
jle 0x1401ed504
mov rcx, qword [rbp - 0x48]
call fcn.1402b7350
lea r12, [0x140346ce0]
xor esi, esi
add r13, 0x10
dec qword [rbp + 0xf0]
jne 0x1401ecfe0
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 0x1401ed570
lea rbx, [rax - 8]
lea r9, [fcn.140005eb0]
mov r8d, dword [rbx]
mov edx, 0x10
mov rcx, rax
call fcn.1402b7cf4
mov rcx, rbx
call fcn.1402b712c
nop
cmp dword [rsp + 0x38], 0
jle 0x1401ed581
mov rcx, qword [rsp + 0x30]
call fcn.1402b7350
inc r14
mov qword [rbp + 0xf8], r14
dec r15
mov qword [rbp - 0x60], r15
jne 0x1401ece30
call qword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 6
jb 0x1401ed86f
mov qword [rsp + 0x68], 0
mov edx, 0x49
lea rcx, [rsp + 0x60]
call fcn.1401fcb40
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.1402ba94c
mov edx, 0x49
lea rcx, [rsp + 0x60]
call fcn.1401fde50
nop
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x60]
call fcn.1400eb0d0
mov rbx, rax
test rax, rax
je 0x1401ed85d
mov qword [rbp - 0x80], 0
mov edx, 8
lea rcx, [rsp + 0x78]
call fcn.1401fcb40
mov ecx, dword [rbp - 0x80]
inc ecx
movsxd rdx, ecx
mov r9d, 8
lea r8, str.26000022
mov rcx, qword [rsp + 0x78]
call fcn.1402ba94c
mov edx, 8
lea rcx, [rsp + 0x78]
call fcn.1401fde50
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 0x1401ed83e
lea ecx, [rax + 0x10]
call fcn.1402b6dbc
test rax, rax
je 0x1401ed83e
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.1401fcfe0
nop
mov qword [rsp + 0x58], 0
mov edx, 8
lea rcx, [rsp + 0x50]
call fcn.1401fcb40
mov eax, dword [rsp + 0x58]
inc eax
movsxd rdx, eax
mov r9d, 8
lea r8, str.16000020
mov rcx, qword [rsp + 0x50]
call fcn.1402ba94c
mov edx, 8
lea rcx, [rsp + 0x50]
call fcn.1401fde50
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 0x1401ed798
lea ecx, [rax + 0x10]
call fcn.1402b6dbc
mov rcx, rax
test rax, rax
je 0x1401ed755
mov rax, qword [rbp + 0xe8]
mov qword [rcx], rdi
mov qword [rcx + 8], rax
jmp 0x1401ed758
mov rcx, rsi
test rcx, rcx
je 0x1401ed798
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov ecx, 0xc0
call fcn.1402b6dbc
mov qword [rbp + 0xe8], rax
test rax, rax
je 0x1401ed796
lea r9, [rbp - 0x70]
lea r8, [rsp + 0x78]
lea rdx, [rsp + 0x60]
mov rcx, rax
call fcn.1401ec2a0
mov rsi, rax
jmp 0x1401ed7d1
mov ecx, 0xc0
call fcn.1402b6dbc
mov qword [rbp + 0xe8], rax
test rax, rax
je 0x1401ed7d1
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.1401ec0d0
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.1400e3f30
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.1400f8580
nop
cmp dword [rsp + 0x58], 0
jle 0x1401ed82f
mov rcx, qword [rsp + 0x50]
call fcn.1402b7350
nop
cmp dword [rbp - 0x68], 0
jle 0x1401ed83e
mov rcx, qword [rbp - 0x70]
call fcn.1402b7350
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [rax]
nop
cmp dword [rbp - 0x80], 0
jle 0x1401ed85d
mov rcx, qword [rsp + 0x78]
call fcn.1402b7350
nop
cmp dword [rsp + 0x68], 0
jle 0x1401ed86f
mov rcx, qword [rsp + 0x60]
call fcn.1402b7350
nop
mov rax, qword [rbp - 8]
test rax, rax
je 0x1401ed89b
lea rbx, [rax - 8]
lea r9, [fcn.140005eb0]
mov r8d, dword [rbx]
mov edx, 0x10
mov rcx, rax
call fcn.1402b7cf4
mov rcx, rbx
call fcn.1402b712c
mov al, 1
add rsp, 0x198
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret