Function at 0x18002b3b0
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 [0x180090080]
xor rax, rsp
mov qword [rbp + 0x260], rax
mov ebx, 1
xor eax, eax
lock cmpxchg dword [0x1800934f8], ebx
jne 0x18002b76b
mov dword [0x180093dc8], 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 0x18002b420
lea rcx, [0x180093dc8]
call rax
mov eax, dword [0x180093dcc]
test eax, eax
je 0x18002b586
shl eax, 8
or eax, dword [0x180093dd0]
sub eax, 0x501
je 0x18002b580
sub eax, 0x100
je 0x18002b574
sub eax, ebx
je 0x18002b568
sub eax, ebx
je 0x18002b55c
cmp eax, 0x3fd
je 0x18002b473
mov dword [0x180093dc0], 0
jmp 0x18002b586
mov eax, dword [0x180093dd4]
cmp eax, 0x585d
jb 0x18002b48f
mov dword [0x180093dc0], 0xf
jmp 0x18002b586
cmp eax, 0x55f0
jb 0x18002b4a5
mov dword [0x180093dc0], 0xe
jmp 0x18002b586
cmp eax, 0x4a61
jb 0x18002b4bb
mov dword [0x180093dc0], 0xd
jmp 0x18002b586
cmp eax, 0x47bb
jb 0x18002b4d1
mov dword [0x180093dc0], 0xc
jmp 0x18002b586
cmp eax, 0x47ba
jb 0x18002b4e7
mov dword [0x180093dc0], 0xb
jmp 0x18002b586
cmp eax, 0x4563
jb 0x18002b4fd
mov dword [0x180093dc0], 0xa
jmp 0x18002b586
cmp eax, 0x42ee
jb 0x18002b510
mov dword [0x180093dc0], 9
jmp 0x18002b586
cmp eax, 0x3fab
jb 0x18002b523
mov dword [0x180093dc0], 8
jmp 0x18002b586
cmp eax, 0x3ad7
jb 0x18002b536
mov dword [0x180093dc0], 7
jmp 0x18002b586
cmp eax, 0x3839
jb 0x18002b549
mov dword [0x180093dc0], 6
jmp 0x18002b586
cmp eax, 0x295a
jb 0x18002b586
mov dword [0x180093dc0], 5
jmp 0x18002b586
mov dword [0x180093dc0], 4
jmp 0x18002b586
mov dword [0x180093dc0], 3
jmp 0x18002b586
mov dword [0x180093dc0], 2
jmp 0x18002b586
mov dword [0x180093dc0], ebx
call fcn.18002af80
mov dword [0x180093dc4], 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.1800059d0
lea rcx, [rsp + 0x28]
call fcn.18002b7a0
mov rdx, qword [rsp + 0x40]
cmp rdx, 8
jb 0x18002b605
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18002b600
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18002b793
call fcn.180046198
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.1800059d0
lea rcx, [rsp + 0x28]
call fcn.18002b7a0
mov rdx, qword [rsp + 0x40]
cmp rdx, 8
jb 0x18002b679
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18002b674
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18002b78d
call fcn.180046198
call fcn.18002b8c0
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 0x18002b6b0
mov byte [rsp + 0x20], bl
jmp 0x18002b6d6
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.18003c440
nop
lea r8, [rbp + 0xe0]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x20]
call fcn.18003bb40
lea rdx, [rbp + 0xe0]
lea rcx, [rsp + 0x60]
call fcn.180042b70
nop
lea rcx, [rbp + 0xe0]
call fcn.180017240
lea rcx, [rsp + 0x60]
call fcn.180017240
call fcn.180019510
mov ecx, dword [0x180093dcc]
test ecx, ecx
je 0x18002b76b
cmp ecx, 9
ja 0x18002b763
cmp ecx, 6
ja 0x18002b759
jb 0x18002b76b
mov ecx, dword [0x180093dd0]
cmp ecx, 3
jae 0x18002b759
cmp ecx, 1
jb 0x18002b76b
mov rcx, rax
call fcn.18001b8b0
jmp 0x18002b76b
mov rcx, rax
call fcn.18001b630
jmp 0x18002b76b
mov rcx, rax
call fcn.18001b3a0
mov al, 1
mov rcx, qword [rbp + 0x260]
xor rcx, rsp
call fcn.180046170
mov rbx, qword [rsp + 0x380]
add rsp, 0x370
pop rbp
ret
call fcn.18004eae4
int3
call fcn.18004eae4
int3