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

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x2c8]
sub rsp, 0x3c0
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rax, qword [0x140095080]
xor rax, rsp
mov qword [rbp + 0x2b0], rax
mov esi, 1
xor eax, eax
lock cmpxchg dword [0x14009846c], esi
jne 0x14002c573
call fcn.140002000
mov rbx, rax
mov dword [rax + 8], 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 0x14002c284
lea rcx, [rbx + 8]
call rax
mov eax, dword [rbx + 0xc]
xor edi, edi
test eax, eax
je 0x14002c375
shl eax, 8
or eax, dword [rbx + 0x10]
sub eax, 0x501
je 0x14002c373
sub eax, 0x100
je 0x14002c36b
sub eax, esi
je 0x14002c363
sub eax, esi
je 0x14002c35b
cmp eax, 0x3fd
je 0x14002c2cb
mov dword [rbx], edi
jmp 0x14002c375
mov eax, dword [rbx + 0x14]
cmp eax, 0x4a61
jb 0x14002c2e0
mov dword [rbx], 0xd
jmp 0x14002c375
cmp eax, 0x47bb
jb 0x14002c2f2
mov dword [rbx], 0xc
jmp 0x14002c375
cmp eax, 0x47ba
jb 0x14002c301
mov dword [rbx], 0xb
jmp 0x14002c375
cmp eax, 0x4563
jb 0x14002c310
mov dword [rbx], 0xa
jmp 0x14002c375
cmp eax, 0x42ee
jb 0x14002c31f
mov dword [rbx], 9
jmp 0x14002c375
cmp eax, 0x3fab
jb 0x14002c32e
mov dword [rbx], 8
jmp 0x14002c375
cmp eax, 0x3ad7
jb 0x14002c33d
mov dword [rbx], 7
jmp 0x14002c375
cmp eax, 0x3839
jb 0x14002c34c
mov dword [rbx], 6
jmp 0x14002c375
cmp eax, 0x295a
jb 0x14002c375
mov dword [rbx], 5
jmp 0x14002c375
mov dword [rbx], 4
jmp 0x14002c375
mov dword [rbx], 3
jmp 0x14002c375
mov dword [rbx], 2
jmp 0x14002c375
mov dword [rbx], esi
call fcn.14002bd70
mov dword [rbx + 4], eax
movdqa xmm0, xmmword [0x140084720]
movdqu xmmword [rsp + 0x38], xmm0
mov word [rsp + 0x28], di
mov r8d, 0x10
lea rdx, str.SeDebugPrivilege
lea rcx, [rsp + 0x28]
call fcn.140002410
lea rcx, [rsp + 0x28]
call fcn.14002c5b0
mov rdx, qword [rsp + 0x40]
cmp rdx, 8
jb 0x14002c3f3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002c3ee
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002c5a3
call fcn.14004654c
movdqa xmm0, xmmword [0x140084720]
movdqu xmmword [rsp + 0x58], xmm0
mov word [rsp + 0x48], di
mov r8d, 0x15
lea rdx, str.SeLoadDriverPrivilege
lea rcx, [rsp + 0x48]
call fcn.140002410
lea rcx, [rsp + 0x48]
call fcn.14002c5b0
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x14002c469
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002c464
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002c59d
call fcn.14004654c
call fcn.14002c6d0
mov word [rsp + 0x20], di
xor eax, eax
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], rax
mov qword [rbp - 0x60], rax
lea rcx, [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
cmp word [rsp + 0x78], di
jne 0x14002c4a7
mov byte [rsp + 0x20], sil
jmp 0x14002c4c8
mov dword [rsp + 0x70], edi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_IsWow64Process]
cmp dword [rsp + 0x70], edi
setne byte [rsp + 0x21]
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x20]
call fcn.14003c4d0
nop
lea r8, [rbp + 0x130]
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x20]
call fcn.14003bde0
lea rdx, [rbp + 0x130]
lea rcx, [rbp - 0x50]
call fcn.140041c30
nop
lea rcx, [rbp + 0x130]
call fcn.140017200
lea rcx, [rbp - 0x50]
call fcn.140017200
call fcn.140019510
mov rbx, rax
call fcn.140002000
cmp dword [rax + 0xc], 0xa
jb 0x14002c52f
mov rcx, rbx
call fcn.14001afa0
jmp 0x14002c573
call fcn.140002000
mov ecx, dword [rax + 0xc]
test ecx, ecx
je 0x14002c552
cmp ecx, 6
ja 0x14002c548
jb 0x14002c552
cmp dword [rax + 0x10], 3
jb 0x14002c552
mov rcx, rbx
call fcn.14001b2c0
jmp 0x14002c573
call fcn.140002000
mov ecx, dword [rax + 0xc]
test ecx, ecx
je 0x14002c573
cmp ecx, 6
ja 0x14002c56b
jb 0x14002c573
cmp dword [rax + 0x10], 1
jb 0x14002c573
mov rcx, rbx
call fcn.14001b5a0
mov al, 1
mov rcx, qword [rbp + 0x2b0]
xor rcx, rsp
call fcn.140045ef0
lea r11, [rsp + 0x3c0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
call fcn.14004cff4
int3
call fcn.14004cff4
int3