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

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x2b0]
sub rsp, 0x3b0
mov rax, qword [0x140093020]
xor rax, rsp
mov qword [rbp + 0x2a0], rax
mov ebx, 1
xor eax, eax
lock cmpxchg dword [0x1400961b4], ebx
jne 0x14002b2fb
mov dword [0x1400962b8], 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 0x14002b080
lea rcx, [0x1400962b8]
call rax
mov eax, dword [0x1400962bc]
test eax, eax
je 0x14002b1ba
shl eax, 8
or eax, dword [0x1400962c0]
sub eax, 0x501
je 0x14002b1b4
sub eax, 0x100
je 0x14002b1a8
sub eax, ebx
je 0x14002b19c
sub eax, ebx
je 0x14002b190
cmp eax, 0x3fd
je 0x14002b0d3
mov dword [0x1400962b0], 0
jmp 0x14002b1ba
mov eax, dword [0x1400962c4]
cmp eax, 0x4a61
jb 0x14002b0ef
mov dword [0x1400962b0], 0xd
jmp 0x14002b1ba
cmp eax, 0x47bb
jb 0x14002b105
mov dword [0x1400962b0], 0xc
jmp 0x14002b1ba
cmp eax, 0x47ba
jb 0x14002b11b
mov dword [0x1400962b0], 0xb
jmp 0x14002b1ba
cmp eax, 0x4563
jb 0x14002b131
mov dword [0x1400962b0], 0xa
jmp 0x14002b1ba
cmp eax, 0x42ee
jb 0x14002b144
mov dword [0x1400962b0], 9
jmp 0x14002b1ba
cmp eax, 0x3fab
jb 0x14002b157
mov dword [0x1400962b0], 8
jmp 0x14002b1ba
cmp eax, 0x3ad7
jb 0x14002b16a
mov dword [0x1400962b0], 7
jmp 0x14002b1ba
cmp eax, 0x3839
jb 0x14002b17d
mov dword [0x1400962b0], 6
jmp 0x14002b1ba
cmp eax, 0x295a
jb 0x14002b1ba
mov dword [0x1400962b0], 5
jmp 0x14002b1ba
mov dword [0x1400962b0], 4
jmp 0x14002b1ba
mov dword [0x1400962b0], 3
jmp 0x14002b1ba
mov dword [0x1400962b0], 2
jmp 0x14002b1ba
mov dword [0x1400962b0], ebx
call fcn.14002ad80
mov dword [0x1400962b4], eax
lea rdx, str.SeDebugPrivilege
lea rcx, [rsp + 0x28]
call fcn.140002e30
lea rcx, [rsp + 0x28]
call fcn.14002b320
lea rcx, [rsp + 0x28]
call fcn.140002d40
lea rdx, str.SeLoadDriverPrivilege
lea rcx, [rsp + 0x48]
call fcn.140002e30
lea rcx, [rsp + 0x48]
call fcn.14002b320
lea rcx, [rsp + 0x48]
call fcn.140002d40
call fcn.14002b440
mov word [rsp + 0x20], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
cmp word [rsp + 0x70], 0
jne 0x14002b244
mov byte [rsp + 0x20], bl
jmp 0x14002b26a
mov dword [rsp + 0x68], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_IsWow64Process]
cmp dword [rsp + 0x68], 0
setne byte [rsp + 0x21]
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x20]
call fcn.14003aa10
nop
lea r8, [rbp + 0x120]
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x20]
call fcn.14003a700
lea rdx, [rbp + 0x120]
lea rcx, [rbp - 0x60]
call fcn.1400409e0
nop
lea rcx, [rbp + 0x120]
call fcn.1400181e0
lea rcx, [rbp - 0x60]
call fcn.1400181e0
call fcn.14001a250
mov ecx, dword [0x1400962bc]
test ecx, ecx
je 0x14002b2fb
cmp ecx, 9
ja 0x14002b2f3
cmp ecx, 6
ja 0x14002b2e9
jb 0x14002b2fb
mov ecx, dword [0x1400962c0]
cmp ecx, 3
jae 0x14002b2e9
cmp ecx, 1
jb 0x14002b2fb
mov rcx, rax
call fcn.14001bcb0
jmp 0x14002b2fb
mov rcx, rax
call fcn.14001ba10
jmp 0x14002b2fb
mov rcx, rax
call fcn.14001b750
mov al, 1
mov rcx, qword [rbp + 0x2a0]
xor rcx, rsp
call fcn.1400433a0
mov rbx, qword [rsp + 0x3c0]
add rsp, 0x3b0
pop rbp
ret