Function at 0x140065c10
Capabilities:
Check os version
Get system information on windows
Query or enumerate registry value
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x368
mov rax, qword [0x1402aa808]
xor rax, rsp
mov qword [rsp + 0x350], rax
mov rax, qword [rsp + 0x370]
lea rcx, vtable.CSysInfo.0
mov qword [rax], rcx
mov rax, qword [rsp + 0x370]
add rax, 8
mov r8d, 0x2c
xor edx, edx
mov rcx, rax
call fcn.1401ac6a0
mov rax, qword [rsp + 0x370]
add rax, 0x34
mov r8d, 0x80
xor edx, edx
mov rcx, rax
call fcn.1401ac6a0
mov rax, qword [rsp + 0x370]
add rax, 0xb4
mov r8d, 0x18
xor edx, edx
mov rcx, rax
call fcn.1401ac6a0
mov rax, qword [rsp + 0x370]
mov dword [rax + 0xcc], 0
mov rax, qword [rsp + 0x370]
mov dword [rax + 0xd0], 0
mov rax, qword [rsp + 0x370]
mov dword [rax + 0x2d4], 0
mov qword [rsp + 0x170], 0
mov r8d, 0x11c
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.1401ac6a0
mov dword [rsp + 0x50], 0x11c
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
mov dword [rsp + 0x178], eax
mov r8d, dword [rsp + 0x58]
lea rdx, str.CSysInfo::CSysInfo___osviEx.dwMinorVersion__1_d__n
mov ecx, 5
call fcn.14001c160
mov r8d, dword [rsp + 0x54]
lea rdx, str.CSysInfo::CSysInfo___osviEx.dwMajorVersion__1_d__n
mov ecx, 5
call fcn.14001c160
cmp dword [rsp + 0x178], 0
je 0x140065f5b
cmp dword [rsp + 0x54], 0xa
jbe 0x140065f5b
lea rdx, str.CSysInfo::CSysInfo___osviEx.dwMajorVersion___10_n
mov ecx, 5
call fcn.14001c160
mov rax, qword [rsp + 0x370]
mov ecx, dword [rsp + 0x54]
mov dword [rax + 0xcc], ecx
mov rax, qword [rsp + 0x370]
mov ecx, dword [rsp + 0x58]
mov dword [rax + 0xd0], ecx
mov rax, qword [rsp + 0x370]
mov dword [rax + 0x34], 1
mov rax, qword [rsp + 0x370]
mov dword [rax + 0x68], 1
mov rax, qword [rsp + 0x370]
mov dword [rax + 0x6c], 1
mov rax, qword [rsp + 0x370]
mov dword [rax + 0x70], 1
mov rax, qword [rsp + 0x370]
mov dword [rax + 0x74], 1
mov rax, qword [rsp + 0x370]
mov dword [rax + 0x78], 1
mov rax, qword [rsp + 0x370]
mov dword [rax + 0x80], 1
mov rax, qword [rsp + 0x370]
mov dword [rax + 0x58], 1
mov rax, qword [rsp + 0x370]
movzx ecx, word [rsp + 0x164]
mov word [rax + 0xb0], cx
mov rax, qword [rsp + 0x370]
movzx ecx, word [rsp + 0x166]
mov word [rax + 0xb2], cx
mov rax, qword [rsp + 0x370]
mov dword [rax + 0x88], 1
mov rax, qword [rsp + 0x370]
mov dword [rax + 0x60], 1
mov rax, qword [rsp + 0x370]
mov dword [rax + 0x90], 1
mov rax, qword [rsp + 0x370]
mov dword [rax + 0x98], 1
mov rax, qword [rsp + 0x370]
mov dword [rax + 0xa0], 1
mov rax, qword [rsp + 0x370]
mov dword [rax + 0xa8], 1
movzx eax, byte [rsp + 0x16a]
cmp eax, 1
je 0x140065f49
mov rax, qword [rsp + 0x370]
mov dword [rax + 0x38], 1
mov rax, qword [rsp + 0x370]
mov dword [rax + 0x7c], 1
mov rax, qword [rsp + 0x370]
mov dword [rax + 0x5c], 1
mov rax, qword [rsp + 0x370]
mov dword [rax + 0x84], 1
mov rax, qword [rsp + 0x370]
mov dword [rax + 0x64], 1
mov rax, qword [rsp + 0x370]
mov dword [rax + 0x8c], 1
mov rax, qword [rsp + 0x370]
mov dword [rax + 0x94], 1
mov rax, qword [rsp + 0x370]
mov dword [rax + 0x9c], 1
mov rax, qword [rsp + 0x370]
mov dword [rax + 0xa4], 1
mov rax, qword [rsp + 0x370]
mov dword [rax + 0xac], 1
mov rcx, qword [rsp + 0x370]
call fcn.140066fa0
jmp 0x140066c41
cmp dword [rsp + 0x178], 0
je 0x140066122
cmp dword [rsp + 0x54], 0xa
jne 0x140066122
lea rdx, str.CSysInfo::CSysInfo___osviEx.dwMajorVersion__10_n
mov ecx, 5
call fcn.14001c160
mov rax, qword [rsp + 0x370]
mov ecx, dword [rsp + 0x54]
mov dword [rax + 0xcc], ecx
mov rax, qword [rsp + 0x370]
mov ecx, dword [rsp + 0x58]
mov dword [rax + 0xd0], ecx
mov rax, qword [rsp + 0x370]
mov dword [rax + 0x34], 1
mov rax, qword [rsp + 0x370]
mov dword [rax + 0x68], 1
mov rax, qword [rsp + 0x370]
mov dword [rax + 0x6c], 1
mov rax, qword [rsp + 0x370]
mov dword [rax + 0x70], 1
mov rax, qword [rsp + 0x370]
mov dword [rax + 0x74], 1
mov rax, qword [rsp + 0x370]
mov dword [rax + 0x78], 1
mov rax, qword [rsp + 0x370]
mov dword [rax + 0x80], 1
mov rax, qword [rsp + 0x370]
movzx ecx, word [rsp + 0x164]
mov word [rax + 0xb0], cx
mov rax, qword [rsp + 0x370]
movzx ecx, word [rsp + 0x166]
mov word [rax + 0xb2], cx
mov rax, qword [rsp + 0x370]
mov dword [rax + 0x88], 1
mov rax, qword [rsp + 0x370]
mov dword [rax + 0x98], 1
mov rax, qword [rsp + 0x370]
mov dword [rax + 0xa0], 1
mov rax, qword [rsp + 0x370]
mov dword [rax + 0xa8], 1
movzx eax, byte [rsp + 0x16a]
cmp eax, 1
je 0x140066110
mov rax, qword [rsp + 0x370]
mov dword [rax + 0x38], 1
mov rax, qword [rsp + 0x370]
mov dword [rax + 0x7c], 1
mov rax, qword [rsp + 0x370]
mov dword [rax + 0x84], 1
mov rax, qword [rsp + 0x370]
mov dword [rax + 0x8c], 1
mov rax, qword [rsp + 0x370]
mov dword [rax + 0x9c], 1
mov rax, qword [rsp + 0x370]
mov dword [rax + 0xa4], 1
mov rax, qword [rsp + 0x370]
mov dword [rax + 0xac], 1
mov rcx, qword [rsp + 0x370]
call fcn.140066fa0
jmp 0x140066c41
cmp dword [rsp + 0x178], 0
je 0x140066305
cmp dword [rsp + 0x54], 6
jbe 0x140066305
lea rdx, str.CSysInfo::CSysInfo___osviEx.dwMajorVersion___6_n
mov ecx, 5
call fcn.14001c160
mov rax, qword [rsp + 0x370]
mov ecx, dword [rsp + 0x54]
mov dword [rax + 0xcc], ecx
mov rax, qword [rsp + 0x370]
mov ecx, dword [rsp + 0x58]
mov dword [rax + 0xd0], ecx
mov rax, qword [rsp + 0x370]
mov dword [rax + 0x34], 1
mov rax, qword [rsp + 0x370]
mov dword [rax + 0x68], 1
mov rax, qword [rsp + 0x370]
mov dword [rax + 0x6c], 1
mov rax, qword [rsp + 0x370]
mov dword [rax + 0x70], 1
mov rax, qword [rsp + 0x370]
mov dword [rax + 0x74], 1
mov rax, qword [rsp + 0x370]
mov dword [rax + 0x78], 1
mov rax, qword [rsp + 0x370]
mov dword [rax + 0x80], 1
mov rax, qword [rsp + 0x370]
mov dword [rax + 0x58], 1
mov rax, qword [rsp + 0x370]
movzx ecx, word [rsp + 0x164]
mov word [rax + 0xb0], cx
mov rax, qword [rsp + 0x370]
movzx ecx, word [rsp + 0x166]
mov word [rax + 0xb2], cx
mov rax, qword [rsp + 0x370]
mov dword [rax + 0x88], 1
mov rax, qword [rsp + 0x370]
mov dword [rax + 0x60], 1
mov rax, qword [rsp + 0x370]
mov dword [rax + 0x90], 1
mov rax, qword [rsp + 0x370]
mov dword [rax + 0x98], 1
movzx eax, byte [rsp + 0x16a]
cmp eax, 1
je 0x1400662f3
mov rax, qword [rsp + 0x370]
mov dword [rax + 0x38], 1
mov rax, qword [rsp + 0x370]
mov dword [rax + 0x7c], 1
mov rax, qword [rsp + 0x370]
mov dword [rax + 0x5c], 1
mov rax, qword [rsp + 0x370]
mov dword [rax + 0x84], 1
mov rax, qword [rsp + 0x370]
mov dword [rax + 0x64], 1
mov rax, qword [rsp + 0x370]
mov dword [rax + 0x8c], 1
mov rax, qword [rsp + 0x370]
mov dword [rax + 0x94], 1
mov rax, qword [rsp + 0x370]
mov dword [rax + 0x9c], 1
mov rcx, qword [rsp + 0x370]
call fcn.140066fa0
jmp 0x140066c41
cmp dword [rsp + 0x178], 0
je 0x1400666d4
cmp dword [rsp + 0x54], 6
jne 0x1400666d4
lea rdx, str.CSysInfo::CSysInfo___osviEx.dwMajorVersion__6_n
mov ecx, 5
call fcn.14001c160
mov rax, qword [rsp + 0x370]
mov ecx, dword [rsp + 0x54]
mov dword [rax + 0xcc], ecx
mov rax, qword [rsp + 0x370]
mov ecx, dword [rsp + 0x58]
mov dword [rax + 0xd0], ecx
mov rax, qword [rsp + 0x370]
mov dword [rax + 0x34], 1
mov rax, qword [rsp + 0x370]
mov dword [rax + 0x68], 1
mov rax, qword [rsp + 0x370]
mov dword [rax + 0x6c], 1
mov rax, qword [rsp + 0x370]
mov dword [rax + 0x70], 1
mov rax, qword [rsp + 0x370]
mov dword [rax + 0x74], 1
mov rax, qword [rsp + 0x370]
mov dword [rax + 0x78], 1
mov rax, qword [rsp + 0x370]
movzx ecx, word [rsp + 0x164]
mov word [rax + 0xb0], cx
mov rax, qword [rsp + 0x370]
movzx ecx, word [rsp + 0x166]
mov word [rax + 0xb2], cx
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x320], eax
cmp dword [rsp + 0x320], 0
je 0x140066413
cmp dword [rsp + 0x320], 1
je 0x140066427
cmp dword [rsp + 0x320], 2
je 0x14006644d
cmp dword [rsp + 0x320], 3
je 0x140066485
jmp 0x1400664cf
mov rax, qword [rsp + 0x370]
mov dword [rax + 0x50], 1
jmp 0x140066517
mov rax, qword [rsp + 0x370]
mov dword [rax + 0x58], 1
mov rax, qword [rsp + 0x370]
mov dword [rax + 0x80], 1
jmp 0x140066517
mov rax, qword [rsp + 0x370]
mov dword [rax + 0x80], 1
mov rax, qword [rsp + 0x370]
mov dword [rax + 0x60], 1
mov rax, qword [rsp + 0x370]
mov dword [rax + 0x88], 1
jmp 0x140066517
mov rax, qword [rsp + 0x370]
mov dword [rax + 0x80], 1
mov rax, qword [rsp + 0x370]
mov dword [rax + 0x88], 1
mov rax, qword [rsp + 0x370]
mov dword [rax + 0x90], 1
mov rax, qword [rsp + 0x370]
mov dword [rax + 0x98], 1
jmp 0x140066517
mov rax, qword [rsp + 0x370]
mov dword [rax + 0x80], 1
mov rax, qword [rsp + 0x370]
mov dword [rax + 0x88], 1
mov rax, qword [rsp + 0x370]
mov dword [rax + 0x90], 1
mov rax, qword [rsp + 0x370]
mov dword [rax + 0x98], 1
movzx eax, byte [rsp + 0x16a]
cmp eax, 1
je 0x1400666c2
mov rax, qword [rsp + 0x370]
mov dword [rax + 0x38], 1
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x324], eax
cmp dword [rsp + 0x324], 0
je 0x140066573
cmp dword [rsp + 0x324], 1
je 0x140066596
cmp dword [rsp + 0x324], 2
je 0x1400665cb
cmp dword [rsp + 0x324], 3
je 0x140066612
jmp 0x14006666b
mov rax, qword [rsp + 0x370]
mov dword [rax + 0x54], 1
mov rax, qword [rsp + 0x370]
mov dword [rax + 0x7c], 1
jmp 0x1400666c2
mov rax, qword [rsp + 0x370]
mov dword [rax + 0x5c], 1
mov rax, qword [rsp + 0x370]
mov dword [rax + 0x7c], 1
mov rax, qword [rsp + 0x370]
mov dword [rax + 0x84], 1
jmp 0x1400666c2
mov rax, qword [rsp + 0x370]
mov dword [rax + 0x64], 1
mov rax, qword [rsp + 0x370]
mov dword [rax + 0x7c], 1
mov rax, qword [rsp + 0x370]
mov dword [rax + 0x84], 1
mov rax, qword [rsp + 0x370]
mov dword [rax + 0x8c], 1
jmp 0x1400666c2
mov rax, qword [rsp + 0x370]
mov dword [rax + 0x94], 1
mov rax, qword [rsp + 0x370]
mov dword [rax + 0x7c], 1
mov rax, qword [rsp + 0x370]
mov dword [rax + 0x84], 1
mov rax, qword [rsp + 0x370]
mov dword [rax + 0x8c], 1
mov rax, qword [rsp + 0x370]
mov dword [rax + 0x9c], 1
jmp 0x1400666c2
mov rax, qword [rsp + 0x370]
mov dword [rax + 0x94], 1
mov rax, qword [rsp + 0x370]
mov dword [rax + 0x7c], 1
mov rax, qword [rsp + 0x370]
mov dword [rax + 0x84], 1
mov rax, qword [rsp + 0x370]
mov dword [rax + 0x8c], 1
mov rax, qword [rsp + 0x370]
mov dword [rax + 0x9c], 1
mov rcx, qword [rsp + 0x370]
call fcn.140066fa0
jmp 0x140066c41
cmp dword [rsp + 0x178], 0
je 0x140066951
cmp dword [rsp + 0x54], 5
jne 0x140066951
lea rdx, str.CSysInfo::CSysInfo___osviEx.dwMajorVersion__5_n
mov ecx, 5
call fcn.14001c160
mov rax, qword [rsp + 0x370]
mov ecx, dword [rsp + 0x54]
mov dword [rax + 0xcc], ecx
mov rax, qword [rsp + 0x370]
mov ecx, dword [rsp + 0x58]
mov dword [rax + 0xd0], ecx
mov rax, qword [rsp + 0x370]
mov dword [rax + 0x34], 1
mov rax, qword [rsp + 0x370]
movzx ecx, word [rsp + 0x164]
mov word [rax + 0xb0], cx
mov rax, qword [rsp + 0x370]
movzx ecx, word [rsp + 0x166]
mov word [rax + 0xb2], cx
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x328], eax
cmp dword [rsp + 0x328], 0
je 0x140066795
cmp dword [rsp + 0x328], 1
je 0x140066803
cmp dword [rsp + 0x328], 2
je 0x140066844
jmp 0x140066901
movzx eax, byte [rsp + 0x16a]
cmp eax, 1
je 0x1400667e0
mov rax, qword [rsp + 0x370]
mov dword [rax + 0x38], 1
mov rax, qword [rsp + 0x370]
mov dword [rax + 0x44], 1
mov rax, qword [rsp + 0x370]
mov dword [rax + 0x68], 1
mov rax, qword [rsp + 0x370]
mov dword [rax + 0x6c], 1
jmp 0x1400667fe
mov rax, qword [rsp + 0x370]
mov dword [rax + 0x40], 1
mov rax, qword [rsp + 0x370]
mov dword [rax + 0x68], 1
jmp 0x14006694c
mov rax, qword [rsp + 0x370]
mov dword [rax + 0x48], 1
mov rax, qword [rsp + 0x370]
mov dword [rax + 0x68], 1
mov rax, qword [rsp + 0x370]
mov dword [rax + 0x6c], 1
mov rax, qword [rsp + 0x370]
mov dword [rax + 0x70], 1
jmp 0x14006694c
lea rdx, str.CSysInfo::CSysInfo___swith_case__2_n
mov ecx, 5
call fcn.14001c160
movzx eax, byte [rsp + 0x16a]
cmp eax, 1
je 0x1400668c3
mov rax, qword [rsp + 0x370]
mov dword [rax + 0x38], 1
mov rax, qword [rsp + 0x370]
mov dword [rax + 0x4c], 1
mov rax, qword [rsp + 0x370]
mov dword [rax + 0x68], 1
mov rax, qword [rsp + 0x370]
mov dword [rax + 0x6c], 1
mov rax, qword [rsp + 0x370]
mov dword [rax + 0x70], 1
mov rax, qword [rsp + 0x370]
mov dword [rax + 0x74], 1
jmp 0x14006694c
mov rax, qword [rsp + 0x370]
mov dword [rax + 0x48], 1
mov rax, qword [rsp + 0x370]
mov dword [rax + 0x68], 1
mov rax, qword [rsp + 0x370]
mov dword [rax + 0x6c], 1
mov rax, qword [rsp + 0x370]
mov dword [rax + 0x70], 1
jmp 0x14006694c
mov rax, qword [rsp + 0x370]
mov dword [rax + 0x4c], 1
mov rax, qword [rsp + 0x370]
mov dword [rax + 0x68], 1
mov rax, qword [rsp + 0x370]
mov dword [rax + 0x6c], 1
mov rax, qword [rsp + 0x370]
mov dword [rax + 0x70], 1
mov rax, qword [rsp + 0x370]
mov dword [rax + 0x74], 1
jmp 0x140066c41
lea rdx, str.CIstDrvApp::InitInstance_osviEx.dwMajorVersion__other_n
mov ecx, 5
call fcn.14001c160
mov byte [rsp + 0x2e8], 0
mov r8d, 0x114
xor edx, edx
lea rcx, [rsp + 0x1c0]
call fcn.1401ac6a0
mov dword [rsp + 0x1c0], 0x114
lea rcx, [rsp + 0x1c0]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
mov dword [rsp + 0x178], eax
cmp dword [rsp + 0x178], 0
je 0x140066c41
mov rax, qword [rsp + 0x370]
mov ecx, dword [rsp + 0x1c4]
mov dword [rax + 0xcc], ecx
mov rax, qword [rsp + 0x370]
mov ecx, dword [rsp + 0x1c8]
mov dword [rax + 0xd0], ecx
mov eax, dword [rsp + 0x1d0]
mov dword [rsp + 0x32c], eax
cmp dword [rsp + 0x32c], 1
je 0x140066a7b
cmp dword [rsp + 0x32c], 2
je 0x140066a02
jmp 0x140066c41
mov rax, qword [rsp + 0x370]
mov dword [rax + 0x34], 1
cmp dword [rsp + 0x1c4], 4
jne 0x140066a76
mov rax, qword [rsp + 0x370]
mov dword [rax + 0x3c], 1
lea rcx, [rsp + 0x1d4]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [rsp + 0x330], eax
lea rcx, str.Service_Pack_6a
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [rsp + 0x330]
cmp ecx, eax
jl 0x140066a76
lea rax, [rsp + 0x1ee]
mov rcx, rax
call fcn.1401ada78
mov rcx, qword [rsp + 0x370]
mov word [rcx + 0xb0], ax
jmp 0x140066c41
mov rax, qword [rsp + 0x370]
mov dword [rax + 8], 1
movzx eax, word [rsp + 0x1d6]
mov dword [rsp + 0x334], eax
cmp dword [rsp + 0x334], 0x41
je 0x140066ab9
cmp dword [rsp + 0x334], 0x42
je 0x140066aca
cmp dword [rsp + 0x334], 0x43
je 0x140066adb
jmp 0x140066aec
mov rax, qword [rsp + 0x370]
mov dword [rax + 0x24], 1
jmp 0x140066afb
mov rax, qword [rsp + 0x370]
mov dword [rax + 0x28], 1
jmp 0x140066afb
mov rax, qword [rsp + 0x370]
mov dword [rax + 0x2c], 1
jmp 0x140066afb
mov rax, qword [rsp + 0x370]
mov dword [rax + 0x30], 1
mov eax, dword [rsp + 0x1c8]
mov dword [rsp + 0x338], eax
cmp dword [rsp + 0x338], 0
je 0x140066b30
cmp dword [rsp + 0x338], 0xa
je 0x140066b44
cmp dword [rsp + 0x338], 0x5a
je 0x140066c05
jmp 0x140066c41
mov rax, qword [rsp + 0x370]
mov dword [rax + 0xc], 1
jmp 0x140066c41
mov eax, dword [rsp + 0x1cc]
shr rax, 0x10
and rax, 0xffff
movzx eax, ax
and rax, 0xff
mov byte [rsp + 0x2e8], al
movzx eax, byte [rsp + 0x2e8]
mov byte [rsp + 0x33c], al
cmp byte [rsp + 0x33c], 0xa
je 0x140066b8a
cmp byte [rsp + 0x33c], 0x5a
je 0x140066bc7
jmp 0x140066c03
mov rax, qword [rsp + 0x370]
mov dword [rax + 0x10], 1
mov rax, qword [rsp + 0x370]
mov dword [rax + 0x18], 1
mov rax, qword [rsp + 0x370]
cmp dword [rax + 0x24], 0
je 0x140066bc5
mov rax, qword [rsp + 0x370]
mov dword [rax + 0x1c], 1
jmp 0x140066c03
mov rax, qword [rsp + 0x370]
mov dword [rax + 0x14], 1
mov rax, qword [rsp + 0x370]
mov dword [rax + 0x18], 1
mov rax, qword [rsp + 0x370]
mov dword [rax + 0x1c], 1
mov rax, qword [rsp + 0x370]
mov dword [rax + 0x20], 1
jmp 0x140066c41
mov rax, qword [rsp + 0x370]
mov dword [rax + 0x14], 1
mov rax, qword [rsp + 0x370]
mov dword [rax + 0x18], 1
mov rax, qword [rsp + 0x370]
mov dword [rax + 0x1c], 1
mov rax, qword [rsp + 0x370]
mov dword [rax + 0x20], 1
lea rcx, str.kernel32
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x140066c60
jmp 0x140066ef2
lea rdx, str.IsWow64Process
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x2e0], rax
lea rdx, str.GetNativeSystemInfo
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x180], rax
cmp qword [rsp + 0x2e0], 0
je 0x140066cd0
mov rax, qword [rsp + 0x370]
add rax, 0xb4
mov qword [rsp + 0x340], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, qword [rsp + 0x340]
mov rdx, rcx
mov rcx, rax
call qword [rsp + 0x2e0]
mov rax, qword [rsp + 0x370]
cmp dword [rax + 0xb4], 0
je 0x140066d5b
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x2f0]
call fcn.1401ac6a0
cmp qword [rsp + 0x180], 0
je 0x140066d5b
lea rcx, [rsp + 0x2f0]
call qword [rsp + 0x180]
movzx eax, word [rsp + 0x2f0]
mov dword [rsp + 0x348], eax
cmp dword [rsp + 0x348], 6
je 0x140066d35
cmp dword [rsp + 0x348], 9
je 0x140066d49
jmp 0x140066d5b
mov rax, qword [rsp + 0x370]
mov dword [rax + 0xc8], 1
jmp 0x140066d5b
mov rax, qword [rsp + 0x370]
mov dword [rax + 0xc4], 1
mov rax, qword [rsp + 0x370]
mov dword [rax + 0xb8], 1
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x188]
call fcn.1401ac6a0
lea rcx, [rsp + 0x188]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
movzx eax, word [rsp + 0x188]
mov dword [rsp + 0x34c], eax
cmp dword [rsp + 0x34c], 6
je 0x140066db5
cmp dword [rsp + 0x34c], 9
je 0x140066dc9
jmp 0x140066ddd
mov rax, qword [rsp + 0x370]
mov dword [rax + 0xc0], 1
jmp 0x140066def
mov rax, qword [rsp + 0x370]
mov dword [rax + 0xbc], 1
jmp 0x140066def
mov rax, qword [rsp + 0x370]
mov dword [rax + 0xb8], 0
mov rax, qword [rsp + 0x370]
add rax, 0xd4
mov r8d, 0x200
xor edx, edx
mov rcx, rax
call fcn.1401ac6a0
mov rax, qword [rsp + 0x370]
cmp dword [rax + 0x34], 0
je 0x140066e99
lea rax, [rsp + 0x170]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftWindows_NTCurrentVersion
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140066e99
mov dword [rsp + 0x38], 0x200
mov rax, qword [rsp + 0x370]
add rax, 0xd4
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x3c]
xor r8d, r8d
lea rdx, [0x140211f80]
mov rcx, qword [rsp + 0x170]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x170]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, qword [rsp + 0x370]
cmp dword [rax + 0xb8], 0
je 0x140066ef2
movzx eax, byte [rsp + 0x16a]
cmp eax, 1
jne 0x140066ef2
cmp dword [rsp + 0x54], 5
jne 0x140066ef2
cmp dword [rsp + 0x58], 2
jne 0x140066ef2
mov rax, qword [rsp + 0x370]
mov dword [rax + 0x48], 1
mov rax, qword [rsp + 0x370]
mov dword [rax + 0x4c], 0
mov rax, qword [rsp + 0x370]
mov dword [rax + 0x74], 0
mov rax, qword [rsp + 0x370]
mov rcx, qword [rsp + 0x350]
xor rcx, rsp
call fcn.1401ab2d0
add rsp, 0x368
ret