Function at 0x140026290
Capabilities:
Check os version

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0x60
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rsp + 0x98], rbx
mov r13d, edx
mov r12, rcx
cmp qword [rcx + 0xc8], 0
je 0x1400266fc
mov rax, qword [rcx + 0xc0]
test rax, rax
je 0x1400266fc
test byte [rax + 8], 8
jne 0x1400266fc
call fcn.1401ff164
mov rdx, rax
xor edi, edi
mov ecx, edi
test rax, rax
setne cl
test ecx, ecx
jne 0x1400262fc
mov ecx, 0x80004005
call fcn.140002bc0
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0xa0], rax
call fcn.1401ff164
mov rcx, rax
test rax, rax
setne dil
test edi, edi
jne 0x14002632f
mov ecx, 0x80004005
call fcn.140002bc0
int3
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x90], rax
mov rsi, qword [r12 + 0xc0]
xor eax, eax
or rbp, 0xffffffffffffffff
mov rcx, rbp
lea rdi, [0x140275388]
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rdx, [0x140275388]
lea rcx, [rsp + 0xa0]
call fcn.14000b770
call fcn.1401f2234
movzx r9d, word [rsi + 0x55c]
mov r8d, 0x80a
mov rdx, qword [rax + 0x10]
lea rcx, [rsp + 0xa0]
call fcn.1400c6a80
xor r11d, r11d
lea rdi, [0x140275388]
mov rbx, qword [rsp + 0xa0]
mov rsi, rbx
mov ecx, 1
repe cmpsw word [rsi], word [rdi]
je 0x1400263c0
sbb r11d, r11d
sbb r11d, ebp
test r11d, r11d
sete al
test al, al
je 0x1400263f3
call fcn.1401f2234
mov r9w, 0x409
mov r8d, 0x80a
mov rdx, qword [rax + 0x10]
lea rcx, [rsp + 0xa0]
call fcn.1400c6a80
mov rbx, qword [rsp + 0xa0]
test r13d, r13d
je 0x1400264a9
mov rsi, qword [r12 + 0xc0]
xor eax, eax
mov rcx, rbp
lea rdi, [0x140275388]
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rdx, [0x140275388]
lea rcx, [rsp + 0x90]
call fcn.14000b770
call fcn.1401f2234
movzx r9d, word [rsi + 0x55c]
mov r8d, 0x9d8
mov rdx, qword [rax + 0x10]
lea rcx, [rsp + 0x90]
call fcn.1400c6a80
xor r11d, r11d
lea rdi, [0x140275388]
mov rsi, qword [rsp + 0x90]
mov ecx, 1
repe cmpsw word [rsi], word [rdi]
je 0x140026475
sbb r11d, r11d
sbb r11d, 0xffffffff
test r11d, r11d
sete al
test al, al
je 0x14002654d
call fcn.1401f2234
mov r9w, 0x409
mov r8d, 0x9d8
mov rdx, qword [rax + 0x10]
lea rcx, [rsp + 0x90]
call fcn.1400c6a80
jmp 0x14002654d
mov rsi, qword [r12 + 0xc0]
xor eax, eax
mov rcx, rbp
lea rdi, [0x140275388]
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rdx, [0x140275388]
lea rcx, [rsp + 0x90]
call fcn.14000b770
call fcn.1401f2234
movzx r9d, word [rsi + 0x55c]
mov r8d, 0x9d9
mov rdx, qword [rax + 0x10]
lea rcx, [rsp + 0x90]
call fcn.1400c6a80
xor r11d, r11d
lea rdi, [0x140275388]
mov rsi, qword [rsp + 0x90]
mov ecx, 1
repe cmpsw word [rsi], word [rdi]
je 0x140026522
sbb r11d, r11d
sbb r11d, 0xffffffff
test r11d, r11d
sete al
test al, al
je 0x14002654d
call fcn.1401f2234
mov r9w, 0x409
mov r8d, 0x9d9
mov rdx, qword [rax + 0x10]
lea rcx, [rsp + 0x90]
call fcn.1400c6a80
mov r9d, 4
mov r8, qword [rsp + 0x90]
mov rdx, rbx
mov rcx, qword [r12 + 0xc8]
call fcn.1401ddbf0
mov eax, dword [0x14032f0e4]
test eax, eax
jne 0x140026592
mov dword [0x14032f0e0], 0x114
lea rcx, [0x14032f0e0]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [0x14032f0e4]
cmp eax, 6
jne 0x1400265a4
mov eax, dword [0x14032f0e8]
cmp eax, 2
jne 0x1400265d4
jmp 0x1400265dd
test eax, eax
jne 0x1400265c5
mov dword [0x14032f0e0], 0x114
lea rcx, [0x14032f0e0]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [0x14032f0e4]
cmp eax, 6
jne 0x1400266b7
mov eax, dword [0x14032f0e8]
cmp eax, 3
jne 0x1400266b7
mov rax, qword [r12 + 0xc0]
test byte [rax + 0x1b4], 4
je 0x1400266b7
mov r9d, 1
lea r8, str.JDPopup
lea rdx, str.General
lea rcx, [0x140333a50]
call fcn.140204860
test r13d, r13d
je 0x1400266b7
test eax, eax
je 0x1400266b7
mov rcx, qword [r12 + 0xc0]
add rcx, 0x550
mov r8d, 0x10a2
lea rdx, [rsp + 0x90]
call fcn.1400d5290
lea rcx, [rsp + 0xa8]
mov qword [rsp + 0x40], rcx
lea rax, [rsp + 0x30]
mov qword [rsp + 0x48], rax
lea rdx, [0x140275388]
lea rcx, [rsp + 0xa8]
call fcn.14000b5a0
mov rsi, rax
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x30]
call fcn.140002d40
mov rdi, rax
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x50]
call fcn.140002d40
nop
mov dword [rsp + 0x20], 0x1f4
mov r9, rsi
mov r8, rdi
mov rdx, rax
mov ecx, 5
call fcn.1401dcf30
nop
mov rdx, qword [rsp + 0x90]
add rdx, 0xffffffffffffffe8
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400266db
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0xa0]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebp
add ebp, 0xffffffff
test ebp, ebp
jg 0x1400266fc
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, qword [rsp + 0x98]
add rsp, 0x60
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret