Function at 0x1401d8c70
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 [0x1403fe5f0]
lea rcx, vtable.Core::Win32::RegistryKey.0
test al, 1
jne 0x1401d8ce7
or eax, 1
mov dword [0x1403fe5f0], eax
mov qword [0x1403fe5d0], rcx
mov qword [0x1403fe5d8], 0xffffffff80000003
lea rcx, [0x1402de010]
call fcn.140299c6c
lea rdx, [rbp - 0x18]
lea rcx, [0x1403fe5d0]
call fcn.1400ec710
call fcn.140112bd0
lea r12, [0x140323de0]
mov r15d, 0x5c
test al, al
mov eax, dword [rbp - 0x10]
je 0x1401d94a2
test eax, eax
js 0x1401d9c28
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 0x1401d8d81
lea edx, [rbx + 4]
call fcn.1401e9030
mov eax, dword [rsp + 0x38]
inc eax
movsxd rdx, eax
lea r9d, [rbx + 4]
lea r8, [0x1403232e8]
mov rcx, qword [rsp + 0x30]
call fcn.14029b4d8
lea edx, [rbx + 4]
lea rcx, [rsp + 0x30]
call fcn.1401ea290
jmp 0x1401d8e43
mov edx, 3
call fcn.1401e9030
mov eax, dword [rsp + 0x38]
inc eax
movsxd rdx, eax
mov r9d, 3
lea r8, [0x1403232e0]
mov rcx, qword [rsp + 0x30]
call fcn.14029b4d8
mov edx, 3
lea rcx, [rsp + 0x30]
call fcn.1401ea290
mov edx, dword [rsp + 0x3c]
inc edx
lea rcx, [rsp + 0x30]
call fcn.1401e9030
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.1401ea290
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.1401e9030
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.14029b4d8
mov edx, ebx
lea rcx, [rsp + 0x30]
call fcn.1401ea290
lea rdi, str.SOFTWAREMicrosoftWindowsCurrentVersionExplorer_
mov edx, dword [rsp + 0x3c]
inc edx
lea rcx, [rsp + 0x30]
call fcn.1401e9030
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.1401ea290
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.1401e7d40
nop
mov rdi, qword [r12]
test rdi, rdi
jne 0x1401d8eac
mov ebx, esi
mov qword [rsp + 0x58], rdi
jmp 0x1401d8ec7
or rbx, 0xffffffffffffffff
inc rbx
cmp word [rdi + rbx*2], 0
jne 0x1401d8eb0
mov qword [rsp + 0x58], 0
test ebx, ebx
jne 0x1401d8ed5
lea rdi, [0x140323de0]
mov qword [rsp + 0x50], rdi
jmp 0x1401d8f01
mov edx, ebx
lea rcx, [rsp + 0x50]
call fcn.1401e9030
movsxd r9, ebx
mov eax, dword [rsp + 0x58]
inc eax
movsxd rdx, eax
mov r8, rdi
mov rcx, qword [rsp + 0x50]
call fcn.14029b4d8
lea rdi, [0x140323de0]
mov edx, ebx
lea rcx, [rsp + 0x50]
call fcn.1401ea290
nop
cmp dword [rsp + 0x5c], 0
je 0x1401d9420
mov edx, r15d
mov rcx, qword [rsp + 0x50]
call fcn.14029aea8
mov rbx, rax
test rax, rax
je 0x1401d9420
sub rbx, qword [rsp + 0x50]
sar rbx, 1
test ebx, ebx
jle 0x1401d9420
lea r9d, [rbx + 1]
xor r8d, r8d
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x50]
call fcn.1401eb1b0
nop
lea r8d, [rbx + 1]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x50]
call fcn.1401eaef0
nop
mov ebx, dword [rbp - 0x64]
add ebx, dword [rbp - 0x7c]
mov edx, ebx
lea rcx, [rsp + 0x78]
call fcn.1401e9030
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.14029b4d8
mov edx, ebx
lea rcx, [rsp + 0x78]
call fcn.1401ea290
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x78]
call fcn.1400ecf50
mov r15, rax
test rax, rax
je 0x1401d93f9
xor bl, bl
mov rdx, qword [rsp + 0x60]
mov rcx, rax
call fcn.1400ec9b0
cmp eax, 4
jne 0x1401d903f
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 0x1401d902f
xor bl, bl
jmp 0x1401d90b7
mov eax, dword [rbp + 0xe8]
mov dword [rbp + 0xf0], eax
mov bl, 1
jmp 0x1401d90b7
cmp eax, 1
jne 0x1401d93eb
mov qword [rbp - 0x58], rdi
mov qword [rbp - 0x50], 0
lea r8, [rbp - 0x58]
mov rdx, qword [rsp + 0x60]
mov rcx, r15
call fcn.1400d5720
test al, al
je 0x1401d90a8
cmp dword [rbp - 0x4c], 0
jne 0x1401d9073
xor bl, bl
jmp 0x1401d90a8
mov rbx, qword [rbp - 0x58]
mov r8d, 0xa
lea rdx, [rbp - 0x20]
mov rcx, rbx
call fcn.14029b2ec
mov rdx, qword [rbp - 0x20]
sub rdx, rbx
sar rdx, 1
movsxd rcx, dword [rbp - 0x4c]
cmp rdx, rcx
je 0x1401d90a0
xor bl, bl
jmp 0x1401d90a8
mov dword [rbp + 0xf0], eax
mov bl, 1
cmp dword [rbp - 0x50], 0
jle 0x1401d90b7
mov rcx, qword [rbp - 0x58]
call fcn.140298600
test bl, bl
je 0x1401d93eb
mov eax, dword [rbp + 0xf0]
dec eax
cmp eax, 1
ja 0x1401d93eb
mov r8, qword [rsp + 0x60]
lea rdx, str.Policies__s_Title
lea rcx, [rbp]
call fcn.1401e94c0
nop
mov rdx, rax
lea rcx, [rbp - 0x30]
call fcn.1400f6370
nop
cmp dword [rbp + 8], 0
jle 0x1401d9102
mov rcx, qword [rbp]
call fcn.140298600
mov r8, qword [rsp + 0x60]
lea rdx, str.Policies__s_Description
lea rcx, [rbp + 0x50]
call fcn.1401e94c0
nop
mov rdx, rax
lea rcx, [rbp - 0x48]
call fcn.1400f6370
nop
cmp dword [rbp + 0x58], 0
jle 0x1401d9134
mov rcx, qword [rbp + 0x50]
call fcn.140298600
mov qword [rsp + 0x48], 0
mov edx, dword [rbp - 0x7c]
test edx, edx
jne 0x1401d914b
mov qword [rsp + 0x40], rdi
jmp 0x1401d9174
lea rcx, [rsp + 0x40]
call fcn.1401e9030
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.14029b4d8
mov edx, dword [rbp - 0x7c]
lea rcx, [rsp + 0x40]
call fcn.1401ea290
nop
mov ebx, dword [rsp + 0x6c]
add ebx, dword [rsp + 0x4c]
mov edx, ebx
lea rcx, [rsp + 0x40]
call fcn.1401e9030
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.14029b4d8
mov edx, ebx
lea rcx, [rsp + 0x40]
call fcn.1401ea290
mov ecx, 0x90
call fcn.14029806c
mov qword [rbp + 0xe8], rax
test rax, rax
je 0x1401d91f6
lea r9, [rbp - 0x30]
lea rdx, [rsp + 0x40]
mov rcx, rax
call fcn.1401e1d70
mov rbx, rax
jmp 0x1401d91f9
mov rbx, rsi
mov rdx, qword [rbp - 0x48]
mov rcx, rbx
call fcn.14015c010
lea rdx, [rbx + 8]
mov rcx, qword [r14 + 8]
call fcn.1401119b0
movzx r14d, al
test al, al
sete dil
movzx edx, dil
mov rcx, rbx
call fcn.1400d4640
mov rdx, rbx
mov rcx, qword [rbp + 0xe0]
mov rcx, qword [rcx + 8]
call fcn.1400fa0f0
mov rcx, rbx
call fcn.1400d61e0
mov rbx, rax
lea rcx, [rax + 0x18]
call fcn.1400ccbc0
cmp dword [rbx + 0x28], 0
je 0x1401d9287
mov dword [rbx + 0x28], 0
cmp byte [rbx + 8], 0
je 0x1401d9287
mov rcx, qword [rbx]
mov rdx, qword [0x1403fd7a8]
mov qword [rbp + 0x30], rcx
mov dword [rbp + 0x38], 7
lea rcx, [rdx + 0x388]
lea r8, [rbp + 0x30]
call fcn.140119670
mov dword [rbp + 0xe8], 7
movzx eax, byte [0x1403fdd76]
mov byte [rsp + 0x20], al
lea r9, [rbp + 0xe8]
lea rdx, [rbp + 0x80]
lea rcx, [rbx + 0x18]
call fcn.1400e06b0
mov dword [rbp + 0xe8], 8
movzx eax, byte [0x1403fdd76]
mov byte [rsp + 0x20], al
lea r9, [rbp + 0xe8]
lea rdx, [rbp + 0x70]
lea rcx, [rbx + 0x18]
call fcn.1400e06b0
xor esi, esi
mov edx, esi
test r14b, r14b
setne dl
add edx, 7
mov rcx, rbx
call fcn.1400e0370
cmp byte [rbx + 0xa], 1
je 0x1401d9326
mov byte [rbx + 0xa], 1
cmp byte [rbx + 8], sil
je 0x1401d9326
mov rax, qword [rbx]
mov rdx, qword [0x1403fd7a8]
mov qword [rbp + 0x20], rax
mov dword [rbp + 0x28], 1
lea rcx, [rdx + 0x388]
lea r8, [rbp + 0x20]
call fcn.140119670
cmp byte [rbx + 9], dil
je 0x1401d935b
mov byte [rbx + 9], dil
cmp byte [rbx + 8], sil
je 0x1401d935b
mov rax, qword [rbx]
mov rdx, qword [0x1403fd7a8]
mov qword [rbp + 0x10], rax
mov dword [rbp + 0x18], 2
lea rcx, [rdx + 0x388]
lea r8, [rbp + 0x10]
call fcn.140119670
cmp byte [rbx + 8], 1
je 0x1401d93b3
mov byte [rbx + 8], 1
mov rax, qword [rbx]
mov rdx, qword [0x1403fd7a8]
mov qword [rbp + 0x40], rax
mov dword [rbp + 0x48], 5
lea rcx, [rdx + 0x388]
lea r8, [rbp + 0x40]
call fcn.140119670
mov rdx, qword [0x1403fd7a8]
lea rax, vtable.Core::EventArgs.0
mov qword [rbp + 0xe8], rax
lea rcx, [rdx + 0x3b8]
lea r8, [rbp + 0xe8]
call fcn.140119980
nop
cmp dword [rsp + 0x48], 0
jle 0x1401d93c5
mov rcx, qword [rsp + 0x40]
call fcn.140298600
nop
cmp dword [rbp - 0x40], 0
jle 0x1401d93d5
mov rcx, qword [rbp - 0x48]
call fcn.140298600
nop
cmp dword [rbp - 0x28], 0
jle 0x1401d93e4
mov rcx, qword [rbp - 0x30]
call fcn.140298600
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 0x1401d940b
mov rcx, qword [rsp + 0x60]
call fcn.140298600
nop
cmp dword [rbp - 0x68], 0
jle 0x1401d941a
mov rcx, qword [rbp - 0x70]
call fcn.140298600
mov r15d, 0x5c
cmp dword [rsp + 0x58], 0
jle 0x1401d9432
mov rcx, qword [rsp + 0x50]
call fcn.140298600
nop
cmp dword [rbp - 0x80], 0
jle 0x1401d9442
mov rcx, qword [rsp + 0x78]
call fcn.140298600
inc r13d
add r12, 0x10
movsxd rax, r13d
cmp rax, 8
lea rdi, str.SOFTWAREMicrosoftWindowsCurrentVersionExplorer_
jb 0x1401d8e80
cmp dword [rsp + 0x38], 0
jle 0x1401d946e
mov rcx, qword [rsp + 0x30]
call fcn.140298600
mov rbx, qword [rbp - 0x38]
inc rbx
mov qword [rbp - 0x38], rbx
dec qword [rbp - 0x60]
lea rdi, str.SOFTWAREMicrosoftWindowsCurrentVersionExplorer_
lea r12, [0x140323de0]
jne 0x1401d8d31
mov eax, dword [rbp - 0x10]
lea r12, [0x140323de0]
lea r13, vtable.Core::Array_class_Core::String_.0
test eax, eax
js 0x1401d9c28
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 0x1401d9508
lea edx, [r14 + 4]
call fcn.1401e9030
mov eax, dword [rsp + 0x38]
inc eax
movsxd rdx, eax
lea r9d, [r14 + 4]
lea r8, [0x1403232e8]
mov rcx, qword [rsp + 0x30]
call fcn.14029b4d8
lea edx, [r14 + 4]
jmp 0x1401d95bd
mov edx, 3
call fcn.1401e9030
mov eax, dword [rsp + 0x38]
inc eax
movsxd rdx, eax
mov r9d, 3
lea r8, [0x1403232e0]
mov rcx, qword [rsp + 0x30]
call fcn.14029b4d8
mov edx, 3
lea rcx, [rsp + 0x30]
call fcn.1401ea290
mov edx, dword [rsp + 0x3c]
inc edx
lea rcx, [rsp + 0x30]
call fcn.1401e9030
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.1401ea290
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.1401e9030
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.14029b4d8
mov edx, ebx
lea rcx, [rsp + 0x30]
call fcn.1401ea290
mov edx, dword [rsp + 0x3c]
inc edx
lea rcx, [rsp + 0x30]
call fcn.1401e9030
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.1401ea290
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionInternet_SettingsZones_
lea rcx, [rsp + 0x30]
call fcn.1401e7680
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.1400ecf50
mov rbx, rax
mov qword [rbp - 0x20], rax
test rax, rax
je 0x1401d9c00
mov qword [rsp + 0x60], r13
mov dword [rsp + 0x68], esi
mov qword [rsp + 0x70], rsi
lea rdx, [rsp + 0x60]
mov rcx, rax
call fcn.1400ec710
test al, al
je 0x1401d9bc4
mov eax, dword [rsp + 0x68]
test eax, eax
jle 0x1401d9bc4
mov r13, qword [rsp + 0x70]
mov qword [rbp + 0xf0], rax
nop word [rax + rax]
mov r8d, 1
lea rdx, [0x140341b14]
mov rcx, r13
call fcn.1401e9310
test al, al
je 0x1401d9b9d
lea r8, str.Zones
lea rdx, str.Policies__s_Title
lea rcx, [rbp + 0x40]
call fcn.1401e94c0
nop
mov rdx, rax
lea rcx, [rbp - 0x48]
call fcn.1400f6370
nop
cmp dword [rbp + 0x48], 0
jle 0x1401d96c1
mov rcx, qword [rbp + 0x40]
call fcn.140298600
lea r8, str.Zones
lea rdx, str.Policies__s_Description
lea rcx, [rbp + 0x10]
call fcn.1401e94c0
nop
mov rdx, rax
lea rcx, [rbp - 0x30]
call fcn.1400f6370
nop
cmp dword [rbp + 0x18], 0
jle 0x1401d96f5
mov rcx, qword [rbp + 0x10]
call fcn.140298600
mov qword [rsp + 0x48], 0
mov edx, dword [rsp + 0x3c]
test edx, edx
jne 0x1401d970d
mov qword [rsp + 0x40], r12
jmp 0x1401d9738
lea rcx, [rsp + 0x40]
call fcn.1401e9030
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.14029b4d8
mov edx, dword [rsp + 0x3c]
lea rcx, [rsp + 0x40]
call fcn.1401ea290
nop
mov ebx, dword [rsp + 0x4c]
add ebx, dword [r13 + 0xc]
mov edx, ebx
lea rcx, [rsp + 0x40]
call fcn.1401e9030
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.14029b4d8
mov edx, ebx
lea rcx, [rsp + 0x40]
call fcn.1401ea290
lea rdx, [0x1403232c8]
lea rcx, [rsp + 0x40]
call fcn.1401e7680
mov ecx, 0x90
call fcn.14029806c
mov qword [rbp + 0xe8], rax
test rax, rax
je 0x1401d97c7
lea r9, [rbp - 0x48]
lea rdx, [rsp + 0x40]
mov rcx, rax
call fcn.1401e1d70
mov rsi, rax
mov rdx, qword [rbp - 0x30]
mov rcx, rsi
call fcn.14015c010
lea rdx, [rsi + 8]
mov rbx, qword [rbp + 0xe0]
mov rcx, qword [rbx + 8]
call fcn.1401119b0
movzx r15d, al
test al, al
sete r12b
movzx edx, r12b
mov rcx, rsi
call fcn.1400d4640
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.14000a2d0
nop
mov rdx, rax
lea rcx, [rbx + 0x498]
call fcn.14000a450
lea r9, [rax + 0x20]
mov qword [rsp + 0x20], rax
lea rdx, [rbp + 0x70]
lea rcx, [rbx + 0x498]
call fcn.14000a4f0
nop
cmp dword [rbp - 0x80], 0
jle 0x1401d9871
mov rcx, qword [rsp + 0x78]
call fcn.140298600
nop
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, rsi
call fcn.1400d61e0
mov r14, rax
mov rcx, qword [rax + 0x18]
mov rdi, qword [rcx + 8]
mov rbx, rdi
cmp byte [rdi + 0x19], 0
jne 0x1401d98c1
nop word [rax + rax]
mov rdx, qword [rbx + 0x10]
lea rcx, [r14 + 0x18]
call fcn.140009cb0
mov rbx, qword [rbx]
mov rcx, rdi
call fcn.1402012c0
mov rdi, rbx
cmp byte [rbx + 0x19], 0
je 0x1401d98a0
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 0x1401d9913
mov dword [r14 + 0x28], ebx
cmp byte [r14 + 8], bl
je 0x1401d9913
mov rax, qword [r14]
mov rdx, qword [0x1403fd7a8]
mov qword [rbp + 0x20], rax
mov dword [rbp + 0x28], 7
lea rcx, [rdx + 0x388]
lea r8, [rbp + 0x20]
call fcn.140119670
mov dword [rbp + 0xe8], 7
movzx eax, byte [0x1403fdd76]
mov byte [rsp + 0x20], al
lea r9, [rbp + 0xe8]
lea rdx, [rbp + 0x80]
lea rcx, [r14 + 0x18]
call fcn.1400e06b0
mov dword [rbp + 0xe8], 8
movzx eax, byte [0x1403fdd76]
mov byte [rsp + 0x20], al
lea r9, [rbp + 0xe8]
lea rdx, [rbp - 0x58]
lea rcx, [r14 + 0x18]
call fcn.1400e06b0
mov r9d, ebx
test r15b, r15b
setne r9b
add r9d, 7
cmp r9d, 6
jne 0x1401d9a68
mov r8, qword [r14 + 0x20]
test r8, r8
je 0x1401d9a68
mov rcx, qword [r14 + 0x18]
mov rax, qword [rcx]
cmp rax, rcx
je 0x1401d99fa
nop dword [rax]
cmp dword [rax + 0x1c], 6
je 0x1401d9a68
cmp byte [rax + 0x19], bl
jne 0x1401d99f5
mov rdx, qword [rax + 0x10]
cmp byte [rdx + 0x19], bl
jne 0x1401d99d0
mov rax, rdx
mov rdx, qword [rdx]
cmp byte [rdx + 0x19], bl
jne 0x1401d99f5
mov rax, rdx
mov rdx, qword [rdx]
cmp byte [rdx + 0x19], bl
je 0x1401d99c3
jmp 0x1401d99f5
mov rdx, qword [rax + 8]
cmp byte [rdx + 0x19], bl
jne 0x1401d99f2
nop dword [rax]
cmp rax, qword [rdx + 0x10]
jne 0x1401d99f2
mov rax, rdx
mov rdx, qword [rdx + 8]
cmp byte [rdx + 0x19], bl
je 0x1401d99e0
mov rax, rdx
cmp rax, rcx
jne 0x1401d99a0
test r8, r8
je 0x1401d9a68
mov rcx, qword [r14 + 0x18]
mov rax, qword [rcx]
cmp rax, rcx
je 0x1401d9a68
nop dword [rax + rax]
cmp dword [rax + 0x1c], 5
je 0x1401d9a62
cmp byte [rax + 0x19], bl
jne 0x1401d9a5b
mov rdx, qword [rax + 0x10]
cmp byte [rdx + 0x19], bl
jne 0x1401d9a3d
mov rax, rdx
mov rdx, qword [rdx]
cmp byte [rdx + 0x19], bl
jne 0x1401d9a5b
nop
mov rax, rdx
mov rdx, qword [rdx]
cmp byte [rdx + 0x19], bl
je 0x1401d9a30
jmp 0x1401d9a5b
mov rdx, qword [rax + 8]
cmp byte [rdx + 0x19], bl
jne 0x1401d9a58
cmp rax, qword [rdx + 0x10]
jne 0x1401d9a58
mov rax, rdx
mov rdx, qword [rdx + 8]
cmp byte [rdx + 0x19], bl
je 0x1401d9a46
mov rax, rdx
cmp rax, rcx
jne 0x1401d9a10
jmp 0x1401d9a68
mov r9d, 5
cmp dword [r14 + 0x28], r9d
je 0x1401d9a9d
mov dword [r14 + 0x28], r9d
cmp byte [r14 + 8], bl
je 0x1401d9a9d
mov rax, qword [r14]
mov rdx, qword [0x1403fd7a8]
mov qword [rbp + 0x30], rax
mov dword [rbp + 0x38], 7
lea rcx, [rdx + 0x388]
lea r8, [rbp + 0x30]
call fcn.140119670
cmp byte [r14 + 0xa], 1
je 0x1401d9ad4
mov byte [r14 + 0xa], 1
cmp byte [r14 + 8], bl
je 0x1401d9ad4
mov rax, qword [r14]
mov rdx, qword [0x1403fd7a8]
mov qword [rbp + 0x50], rax
mov dword [rbp + 0x58], 1
lea rcx, [rdx + 0x388]
lea r8, [rbp + 0x50]
call fcn.140119670
cmp byte [r14 + 9], r12b
je 0x1401d9b09
mov byte [r14 + 9], r12b
cmp byte [r14 + 8], bl
je 0x1401d9b09
mov rax, qword [r14]
mov rdx, qword [0x1403fd7a8]
mov qword [rbp], rax
mov dword [rbp + 8], 2
lea rcx, [rdx + 0x388]
lea r8, [rbp]
call fcn.140119670
cmp byte [r14 + 8], 1
je 0x1401d9b63
mov byte [r14 + 8], 1
mov rax, qword [r14]
mov rdx, qword [0x1403fd7a8]
mov qword [rbp - 0x70], rax
mov dword [rbp - 0x68], 5
lea rcx, [rdx + 0x388]
lea r8, [rbp - 0x70]
call fcn.140119670
mov rdx, qword [0x1403fd7a8]
lea rax, vtable.Core::EventArgs.0
mov qword [rbp + 0xe8], rax
lea rcx, [rdx + 0x3b8]
lea r8, [rbp + 0xe8]
call fcn.140119980
nop
cmp dword [rsp + 0x48], 0
jle 0x1401d9b75
mov rcx, qword [rsp + 0x40]
call fcn.140298600
nop
cmp dword [rbp - 0x28], 0
jle 0x1401d9b85
mov rcx, qword [rbp - 0x30]
call fcn.140298600
nop
cmp dword [rbp - 0x40], 0
jle 0x1401d9b94
mov rcx, qword [rbp - 0x48]
call fcn.140298600
lea r12, [0x140323de0]
xor esi, esi
add r13, 0x10
dec qword [rbp + 0xf0]
jne 0x1401d9670
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 0x1401d9c00
lea rbx, [rax - 8]
lea r9, [fcn.140005d80]
mov r8d, dword [rbx]
mov edx, 0x10
mov rcx, rax
call fcn.140298fa4
mov rcx, rbx
call fcn.1402983dc
nop
cmp dword [rsp + 0x38], 0
jle 0x1401d9c11
mov rcx, qword [rsp + 0x30]
call fcn.140298600
inc r14
mov qword [rbp + 0xf8], r14
dec r15
mov qword [rbp - 0x60], r15
jne 0x1401d94c0
call qword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 6
jb 0x1401d9eff
mov qword [rsp + 0x68], 0
mov edx, 0x49
lea rcx, [rsp + 0x60]
call fcn.1401e9030
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.14029b4d8
mov edx, 0x49
lea rcx, [rsp + 0x60]
call fcn.1401ea290
nop
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x60]
call fcn.1400ecf50
mov rbx, rax
test rax, rax
je 0x1401d9eed
mov qword [rbp - 0x80], 0
mov edx, 8
lea rcx, [rsp + 0x78]
call fcn.1401e9030
mov ecx, dword [rbp - 0x80]
inc ecx
movsxd rdx, ecx
mov r9d, 8
lea r8, str.26000022
mov rcx, qword [rsp + 0x78]
call fcn.14029b4d8
mov edx, 8
lea rcx, [rsp + 0x78]
call fcn.1401ea290
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 0x1401d9ece
lea ecx, [rax + 0x10]
call fcn.14029806c
test rax, rax
je 0x1401d9ece
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.1401e94c0
nop
mov qword [rsp + 0x58], 0
mov edx, 8
lea rcx, [rsp + 0x50]
call fcn.1401e9030
mov eax, dword [rsp + 0x58]
inc eax
movsxd rdx, eax
mov r9d, 8
lea r8, str.16000020
mov rcx, qword [rsp + 0x50]
call fcn.14029b4d8
mov edx, 8
lea rcx, [rsp + 0x50]
call fcn.1401ea290
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 0x1401d9e28
lea ecx, [rax + 0x10]
call fcn.14029806c
mov rcx, rax
test rax, rax
je 0x1401d9de5
mov rax, qword [rbp + 0xe8]
mov qword [rcx], rdi
mov qword [rcx + 8], rax
jmp 0x1401d9de8
mov rcx, rsi
test rcx, rcx
je 0x1401d9e28
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov ecx, 0xc0
call fcn.14029806c
mov qword [rbp + 0xe8], rax
test rax, rax
je 0x1401d9e26
lea r9, [rbp - 0x70]
lea r8, [rsp + 0x78]
lea rdx, [rsp + 0x60]
mov rcx, rax
call fcn.1401d8930
mov rsi, rax
jmp 0x1401d9e61
mov ecx, 0xc0
call fcn.14029806c
mov qword [rbp + 0xe8], rax
test rax, rax
je 0x1401d9e61
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.1401d8760
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.1400e0b70
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.1400fa0f0
nop
cmp dword [rsp + 0x58], 0
jle 0x1401d9ebf
mov rcx, qword [rsp + 0x50]
call fcn.140298600
nop
cmp dword [rbp - 0x68], 0
jle 0x1401d9ece
mov rcx, qword [rbp - 0x70]
call fcn.140298600
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [rax]
nop
cmp dword [rbp - 0x80], 0
jle 0x1401d9eed
mov rcx, qword [rsp + 0x78]
call fcn.140298600
nop
cmp dword [rsp + 0x68], 0
jle 0x1401d9eff
mov rcx, qword [rsp + 0x60]
call fcn.140298600
nop
mov rax, qword [rbp - 8]
test rax, rax
je 0x1401d9f2b
lea rbx, [rax - 8]
lea r9, [fcn.140005d80]
mov r8d, dword [rbx]
mov edx, 0x10
mov rcx, rax
call fcn.140298fa4
mov rcx, rbx
call fcn.1402983dc
mov al, 1
add rsp, 0x198
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret