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

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0x90
mov qword [rbp - 0x39], 0xfffffffffffffffe
mov qword [rsp + 0xe8], rbx
mov r14, rcx
xor r12b, r12b
mov byte [rcx + 0x10], 1
xor ecx, ecx
call fcn.1400f3b20
mov rdi, rax
xor r15d, r15d
lea esi, [r15 + 1]
test rax, rax
je 0x1401d185f
mov dword [rbp + 0x67], r15d
mov dword [rbp + 0x6f], 4
lea rax, [rbp + 0x6f]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x67]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x77]
xor r8d, r8d
lea rdx, str.NoCookieScan
mov rcx, qword [rdi + 8]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
test ebx, ebx
jne 0x1401d1855
cmp dword [rbp + 0x67], r15d
je 0x1401d1855
mov byte [r14 + 0x10], r15b
mov rax, qword [rdi]
mov edx, esi
mov rcx, rdi
call qword [rax]
cmp byte [r14 + 0x10], r15b
je 0x1401d1873
mov rax, qword [r14 + 8]
cmp byte [rax + 0x23], r15b
je 0x1401d1873
mov byte [r14 + 0x10], r15b
mov qword [rbp - 0x31], r15
mov qword [rbp - 0x29], r15
call fcn.1400df600
mov qword [rbp - 0x31], rax
mov edx, 0x21
lea rcx, [rbp - 0x21]
call fcn.1401f44e0
nop
xor r9d, r9d
lea r8, [rbp - 0x31]
lea rdx, [rbp - 0x21]
mov rcx, r14
call fcn.1401d1eb0
movzx ebx, al
cmp dword [rbp - 0x19], 0
jle 0x1401d18b8
mov rcx, qword [rbp - 0x21]
call fcn.140298600
movzx r15d, r12b
test bl, bl
cmovne r15d, esi
call qword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 0xa
jb 0x1401d18e2
lea rdx, [rbp - 0x31]
mov rcx, r14
call fcn.1401d1af0
movzx r15d, r15b
test al, al
cmovne r15d, esi
cmp byte [r14 + 0x10], 0
je 0x1401d18f9
lea rdx, [rbp - 0x31]
mov rcx, r14
call fcn.1401d27c0
test al, al
je 0x1401d18fc
mov r15b, 1
cmp byte [r14 + 0x10], 0
je 0x1401d1913
lea rdx, [rbp - 0x31]
mov rcx, r14
call fcn.1401d2990
test al, al
je 0x1401d1916
mov r15b, 1
cmp byte [r14 + 0x10], 0
je 0x1401d1aa5
cmp qword [rbp - 0x29], 0
jbe 0x1401d1aa5
mov r8, qword [rbp - 0x31]
mov rbx, qword [r8]
cmp rbx, r8
je 0x1401d1aa9
mov dword [rbp + 0x6f], 8
mov r12d, 5
lea r13, vtable.Core::EventArgs.0
mov rdi, qword [rbx + 0x20]
mov rdx, rdi
mov rcx, qword [r14 + 8]
call fcn.1400fa0f0
mov dl, 1
mov rcx, rdi
call fcn.1400d4640
mov rcx, rdi
call fcn.1400d61e0
mov rsi, rax
mov edx, 9
mov rcx, qword [rax]
call fcn.1400d4b20
mov ecx, 4
test al, al
cmovne ecx, r12d
mov dword [rbp + 0x67], ecx
movzx edx, byte [0x1403fdd76]
mov byte [rsp + 0x20], dl
lea r9, [rbp + 0x67]
lea rdx, [rbp - 1]
lea rcx, [rsi + 0x18]
call fcn.1400e06b0
movzx eax, byte [0x1403fdd76]
mov byte [rsp + 0x20], al
lea r9, [rbp + 0x6f]
lea rdx, [rbp + 0xf]
lea rcx, [rsi + 0x18]
call fcn.1400e06b0
cmp dword [rsi + 0x28], 4
je 0x1401d1a00
mov dword [rsi + 0x28], 4
cmp byte [rsi + 8], 0
je 0x1401d1a00
mov rax, qword [rsi]
mov rdx, qword [0x1403fd7a8]
mov qword [rbp - 0x21], rax
mov dword [rbp - 0x19], 7
lea rcx, [rdx + 0x388]
lea r8, [rbp - 0x21]
call fcn.140119670
cmp byte [rsi + 8], 1
je 0x1401d1a48
mov byte [rsi + 8], 1
mov rax, qword [rsi]
mov rdx, qword [0x1403fd7a8]
mov qword [rbp - 0x11], rax
mov dword [rbp - 9], r12d
lea rcx, [rdx + 0x388]
lea r8, [rbp - 0x11]
call fcn.140119670
mov rdx, qword [0x1403fd7a8]
mov qword [rbp + 0x67], r13
lea rcx, [rdx + 0x3b8]
lea r8, [rbp + 0x67]
call fcn.140119980
nop
cmp byte [rbx + 0x19], 0
jne 0x1401d1a96
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
jne 0x1401d1a72
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x1401d1a96
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x1401d1a64
jmp 0x1401d1a96
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x1401d1a93
nop dword [rax]
cmp rbx, qword [rax + 0x10]
jne 0x1401d1a93
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x1401d1a80
mov rbx, rax
mov r8, qword [rbp - 0x31]
cmp rbx, r8
jne 0x1401d1950
jmp 0x1401d1aa9
mov r8, qword [rbp - 0x31]
mov r9, r8
mov r8, qword [r8]
lea rdx, [rbp + 0x67]
lea rcx, [rbp - 0x31]
call fcn.140009220
mov rcx, qword [rbp - 0x31]
call fcn.1402012c0
movzx eax, r15b
mov rbx, qword [rsp + 0xe8]
add rsp, 0x90
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret