Function at 0x1401ee600
Capabilities:
Check os version

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1030]
mov eax, 0x1130
call fcn.1402c8f60
sub rsp, rax
mov qword [rsp + 0x78], 0xfffffffffffffffe
mov qword [rsp + 0x1180], rbx
mov rax, qword [0x140415a10]
xor rax, rsp
mov qword [rbp + 0x1020], rax
mov r13d, edx
mov dword [rsp + 0x68], edx
mov r14, rcx
mov qword [rsp + 0x70], rcx
mov r8d, edx
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r12, rax
test rax, rax
je 0x1401eeb0d
mov rsi, qword [0x140416ee8]
lea rax, [0x140346ce0]
test rsi, rsi
jne 0x1401ee68c
xor edi, edi
mov ebx, edi
mov qword [rsp + 0x50], rdi
jmp 0x1401ee6a5
or rbx, 0xffffffffffffffff
inc rbx
cmp word [rsi + rbx*2], 0
jne 0x1401ee690
xor edi, edi
mov qword [rsp + 0x50], rdi
test ebx, ebx
jne 0x1401ee6ac
mov qword [rsp + 0x48], rax
jmp 0x1401ee6d1
mov edx, ebx
lea rcx, [rsp + 0x48]
call fcn.1401fcb40
movsxd r9, ebx
mov eax, dword [rsp + 0x50]
inc eax
movsxd rdx, eax
mov r8, rsi
mov rcx, qword [rsp + 0x48]
call fcn.1402ba94c
mov edx, ebx
lea rcx, [rsp + 0x48]
call fcn.1401fde50
nop
mov dword [rsp + 0x64], edi
lea rax, [rsp + 0x64]
mov qword [rsp + 0x20], rax
mov r9d, 0x30
lea r8, [rbp - 0x40]
xor edx, edx
mov rcx, r12
call qword [0x140428c08]
mov esi, edi
test eax, eax
cmove esi, dword [rbp - 0x18]
mov dword [rsp + 0x58], r13d
mov dword [rsp + 0x5c], esi
lea rbx, [r14 + 0x20]
lea rdx, [rsp + 0x58]
mov rcx, rbx
call fcn.1400e2e20
lea r9, [rax + 0x1c]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x38]
mov rcx, rbx
call fcn.1401eeff0
mov r9d, 0x800
lea r8, [rbp + 0x20]
xor edx, edx
mov rcx, r12
call qword [sym.imp.PSAPI.DLL_GetModuleFileNameExW]
test eax, eax
je 0x1401ee7b3
lea rax, [rbp + 0x20]
or rbx, 0xffffffffffffffff
nop word [rax + rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1401ee760
test ebx, ebx
jle 0x1401ee796
mov edx, ebx
lea rcx, [rsp + 0x48]
call fcn.1401fcb40
movsxd r9, ebx
mov eax, dword [rsp + 0x50]
inc eax
movsxd rdx, eax
lea r8, [rbp + 0x20]
mov rcx, qword [rsp + 0x48]
call fcn.1402ba94c
jmp 0x1401ee79d
cmp dword [rsp + 0x54], 0
jle 0x1401ee7a9
mov edx, ebx
lea rcx, [rsp + 0x48]
call fcn.1401fde50
lea rdx, [rsp + 0x48]
call fcn.1401edb50
mov r15, rdi
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1401ee959
or rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x1401ee7d0
test rax, rax
je 0x1401ee959
mov r8b, 1
lea rdx, [rsp + 0x48]
mov rcx, qword [r14 + 8]
call fcn.1400f8340
mov r15, rax
test rax, rax
je 0x1401ee959
mov r9, qword [r14 + 8]
mov r8d, esi
mov edx, r13d
mov rcx, rax
call fcn.1400d97c0
mov dword [rsp + 0x60], edi
call qword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 6
jb 0x1401ee8bf
mov qword [rbp - 0x80], 0x40
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0x40
lea r8, [rbp - 0x80]
xor edx, edx
mov rcx, r12
call qword [0x140428c08]
test eax, eax
jne 0x1401ee8bf
test byte [rbp - 0x48], 1
je 0x1401ee8bf
mov qword [rsp + 0x40], 0
lea edx, [rax + 9]
lea rcx, [rsp + 0x38]
call fcn.1401fcb40
mov eax, dword [rsp + 0x40]
inc eax
movsxd rdx, eax
mov r9d, 9
lea r8, str.Protected
mov rcx, qword [rsp + 0x38]
call fcn.1402ba94c
mov edx, 9
lea rcx, [rsp + 0x38]
call fcn.1401fde50
nop
lea r8, [rsp + 0x38]
mov edx, 0xf
mov rcx, r15
call fcn.14000b8f0
nop
cmp dword [rsp + 0x40], 0
jle 0x1401ee8bf
mov rcx, qword [rsp + 0x38]
call fcn.1402b7350
mov dword [rsp + 0x58], edi
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 4
lea r8, [rsp + 0x58]
lea edx, [r9 + 0x19]
mov rcx, r12
call qword [0x140428c08]
test eax, eax
jne 0x1401ee959
cmp dword [rsp + 0x58], eax
je 0x1401ee959
mov qword [rsp + 0x40], 0
lea edx, [rax + 8]
lea rcx, [rsp + 0x38]
call fcn.1401fcb40
mov eax, dword [rsp + 0x40]
inc eax
movsxd rdx, eax
mov r9d, 8
lea r8, str.Critical
mov rcx, qword [rsp + 0x38]
call fcn.1402ba94c
mov edx, 8
lea rcx, [rsp + 0x38]
call fcn.1401fde50
nop
lea r8, [rsp + 0x38]
mov edx, 0xf
mov rcx, r15
call fcn.14000b8f0
nop
cmp dword [rsp + 0x40], 0
jle 0x1401ee959
mov rcx, qword [rsp + 0x38]
call fcn.1402b7350
test r15, r15
sete bl
mov byte [rsp + 0x30], bl
mov r13, rdi
mov r14, rdi
mov r9d, 0x30
lea r8, [rbp - 0x10]
xor edx, edx
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_VirtualQueryEx]
test rax, rax
je 0x1401eeae7
nop word [rax + rax]
mov eax, dword [rbp + 0x18]
cmp eax, 0x40000
je 0x1401ee9a5
cmp eax, 0x1000000
jne 0x1401eeabf
mov rax, qword [rbp - 8]
cmp rax, r13
je 0x1401eeabf
mov r13, rax
mov qword [rsp + 0x58], rdi
lea r8, [rsp + 0x58]
mov rdx, r14
mov rcx, r12
call fcn.1401ee500
mov rsi, qword [rsp + 0x58]
test eax, eax
js 0x1401eeaab
test rsi, rsi
jne 0x1401ee9e5
mov ebx, edi
mov qword [rsp + 0x40], rsi
jmp 0x1401eea07
or rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp word [rsi + rbx*2], 0
jne 0x1401ee9f0
mov qword [rsp + 0x40], 0
test ebx, ebx
jne 0x1401eea15
lea rax, [0x140346ce0]
mov qword [rsp + 0x38], rax
jmp 0x1401eea3a
mov edx, ebx
lea rcx, [rsp + 0x38]
call fcn.1401fcb40
movsxd r9, ebx
mov eax, dword [rsp + 0x40]
inc eax
movsxd rdx, eax
mov r8, rsi
mov rcx, qword [rsp + 0x38]
call fcn.1402ba94c
mov edx, ebx
lea rcx, [rsp + 0x38]
call fcn.1401fde50
nop
lea rdx, [rsp + 0x38]
mov rbx, qword [rsp + 0x70]
mov rcx, qword [rbx + 8]
call fcn.1400f7ec0
lea rdx, [rsp + 0x38]
call fcn.1401edb50
mov r8b, 1
lea rdx, [rsp + 0x38]
mov rcx, qword [rbx + 8]
call fcn.1400f8340
test rax, rax
je 0x1401eea93
cmp rax, r15
jne 0x1401eea87
mov bl, 1
mov byte [rsp + 0x30], bl
jmp 0x1401eea98
mov edx, dword [rsp + 0x68]
mov rcx, rax
call fcn.1401ed9e0
movzx ebx, byte [rsp + 0x30]
cmp dword [rsp + 0x40], 0
jle 0x1401eeab0
mov rcx, qword [rsp + 0x38]
call fcn.1402b7350
jmp 0x1401eeab0
movzx ebx, byte [rsp + 0x30]
test rsi, rsi
je 0x1401eeac4
mov rcx, rsi
call fcn.1402b7350
jmp 0x1401eeac4
movzx ebx, byte [rsp + 0x30]
add r14, qword [rbp + 8]
mov r9d, 0x30
lea r8, [rbp - 0x10]
mov rdx, r14
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_VirtualQueryEx]
test rax, rax
jne 0x1401ee990
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test bl, bl
jne 0x1401eeafc
or qword [r15 + 0x40], 0x40000000
cmp dword [rsp + 0x50], 0
jle 0x1401eeb0d
mov rcx, qword [rsp + 0x48]
call fcn.1402b7350
mov rcx, qword [rbp + 0x1020]
xor rcx, rsp
call fcn.1402b6d40
mov rbx, qword [rsp + 0x1180]
add rsp, 0x1130
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret