Function at 0x140027e60
Capabilities:
Acquire debug privileges
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x270]
sub rsp, 0x370
mov rax, qword [0x140089040]
xor rax, rsp
mov qword [rbp + 0x260], rax
mov ebx, 1
xor eax, eax
lock cmpxchg dword [0x14008c5c0], ebx
jne 0x14002821b
mov dword [0x14008c418], 0x11c
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.RtlGetVersion
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140027ed0
lea rcx, [0x14008c418]
call rax
mov eax, dword [0x14008c41c]
test eax, eax
je 0x140028036
shl eax, 8
or eax, dword [0x14008c420]
sub eax, 0x501
je 0x140028030
sub eax, 0x100
je 0x140028024
sub eax, ebx
je 0x140028018
sub eax, ebx
je 0x14002800c
cmp eax, 0x3fd
je 0x140027f23
mov dword [0x14008c410], 0
jmp 0x140028036
mov eax, dword [0x14008c424]
cmp eax, 0x585d
jb 0x140027f3f
mov dword [0x14008c410], 0xf
jmp 0x140028036
cmp eax, 0x55f0
jb 0x140027f55
mov dword [0x14008c410], 0xe
jmp 0x140028036
cmp eax, 0x4a61
jb 0x140027f6b
mov dword [0x14008c410], 0xd
jmp 0x140028036
cmp eax, 0x47bb
jb 0x140027f81
mov dword [0x14008c410], 0xc
jmp 0x140028036
cmp eax, 0x47ba
jb 0x140027f97
mov dword [0x14008c410], 0xb
jmp 0x140028036
cmp eax, 0x4563
jb 0x140027fad
mov dword [0x14008c410], 0xa
jmp 0x140028036
cmp eax, 0x42ee
jb 0x140027fc0
mov dword [0x14008c410], 9
jmp 0x140028036
cmp eax, 0x3fab
jb 0x140027fd3
mov dword [0x14008c410], 8
jmp 0x140028036
cmp eax, 0x3ad7
jb 0x140027fe6
mov dword [0x14008c410], 7
jmp 0x140028036
cmp eax, 0x3839
jb 0x140027ff9
mov dword [0x14008c410], 6
jmp 0x140028036
cmp eax, 0x295a
jb 0x140028036
mov dword [0x14008c410], 5
jmp 0x140028036
mov dword [0x14008c410], 4
jmp 0x140028036
mov dword [0x14008c410], 3
jmp 0x140028036
mov dword [0x14008c410], 2
jmp 0x140028036
mov dword [0x14008c410], ebx
call fcn.140027a30
mov dword [0x14008c414], eax
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x38], xmm1
mov r8d, 0x10
lea rdx, str.SeDebugPrivilege
lea rcx, [rsp + 0x28]
call fcn.140002d90
lea rcx, [rsp + 0x28]
call fcn.140028250
mov rdx, qword [rsp + 0x40]
cmp rdx, 7
jbe 0x1400280b5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400280b0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140028243
call fcn.1400430cc
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x38], xmm1
mov r8d, 0x15
lea rdx, str.SeLoadDriverPrivilege
lea rcx, [rsp + 0x28]
call fcn.140002d90
lea rcx, [rsp + 0x28]
call fcn.140028250
mov rdx, qword [rsp + 0x40]
cmp rdx, 7
jbe 0x140028129
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140028124
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002823d
call fcn.1400430cc
call fcn.140028370
mov word [rsp + 0x20], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
movups xmmword [rsp + 0x38], xmm0
movups xmmword [rsp + 0x48], xmm0
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
cmp word [rsp + 0x28], 0
jne 0x140028160
mov byte [rsp + 0x20], bl
jmp 0x140028186
mov dword [rsp + 0x24], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [rsp + 0x24]
call qword [sym.imp.KERNEL32.dll_IsWow64Process]
cmp dword [rsp + 0x24], 0
setne byte [rsp + 0x21]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x20]
call fcn.140039200
nop
lea r8, [rbp + 0xe0]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x20]
call fcn.140038900
lea rdx, [rbp + 0xe0]
lea rcx, [rsp + 0x60]
call fcn.14003ef80
nop
lea rcx, [rbp + 0xe0]
call fcn.140014870
lea rcx, [rsp + 0x60]
call fcn.140014870
call fcn.140016be0
mov ecx, dword [0x14008c41c]
test ecx, ecx
je 0x14002821b
cmp ecx, 9
ja 0x140028213
cmp ecx, 6
ja 0x140028209
jb 0x14002821b
mov ecx, dword [0x14008c420]
cmp ecx, 3
jae 0x140028209
cmp ecx, 1
jb 0x14002821b
mov rcx, rax
call fcn.1400190f0
jmp 0x14002821b
mov rcx, rax
call fcn.140018e70
jmp 0x14002821b
mov rcx, rax
call fcn.140018be0
mov al, 1
mov rcx, qword [rbp + 0x260]
xor rcx, rsp
call fcn.140042e30
mov rbx, qword [rsp + 0x380]
add rsp, 0x370
pop rbp
ret
call fcn.14004e104
int3
call fcn.14004e104
int3