Function at 0x14000fa50
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 [0x140078040]
xor rax, rsp
mov qword [rbp + 0x260], rax
mov ebx, 1
xor eax, eax
lock cmpxchg dword [0x14007b650], ebx
jne 0x14000fe0b
mov dword [0x14007b528], 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 0x14000fac0
lea rcx, [0x14007b528]
call rax
mov eax, dword [0x14007b52c]
test eax, eax
je 0x14000fc26
shl eax, 8
or eax, dword [0x14007b530]
sub eax, 0x501
je 0x14000fc20
sub eax, 0x100
je 0x14000fc14
sub eax, ebx
je 0x14000fc08
sub eax, ebx
je 0x14000fbfc
cmp eax, 0x3fd
je 0x14000fb13
mov dword [0x14007b520], 0
jmp 0x14000fc26
mov eax, dword [0x14007b534]
cmp eax, 0x585d
jb 0x14000fb2f
mov dword [0x14007b520], 0xf
jmp 0x14000fc26
cmp eax, 0x55f0
jb 0x14000fb45
mov dword [0x14007b520], 0xe
jmp 0x14000fc26
cmp eax, 0x4a61
jb 0x14000fb5b
mov dword [0x14007b520], 0xd
jmp 0x14000fc26
cmp eax, 0x47bb
jb 0x14000fb71
mov dword [0x14007b520], 0xc
jmp 0x14000fc26
cmp eax, 0x47ba
jb 0x14000fb87
mov dword [0x14007b520], 0xb
jmp 0x14000fc26
cmp eax, 0x4563
jb 0x14000fb9d
mov dword [0x14007b520], 0xa
jmp 0x14000fc26
cmp eax, 0x42ee
jb 0x14000fbb0
mov dword [0x14007b520], 9
jmp 0x14000fc26
cmp eax, 0x3fab
jb 0x14000fbc3
mov dword [0x14007b520], 8
jmp 0x14000fc26
cmp eax, 0x3ad7
jb 0x14000fbd6
mov dword [0x14007b520], 7
jmp 0x14000fc26
cmp eax, 0x3839
jb 0x14000fbe9
mov dword [0x14007b520], 6
jmp 0x14000fc26
cmp eax, 0x295a
jb 0x14000fc26
mov dword [0x14007b520], 5
jmp 0x14000fc26
mov dword [0x14007b520], 4
jmp 0x14000fc26
mov dword [0x14007b520], 3
jmp 0x14000fc26
mov dword [0x14007b520], 2
jmp 0x14000fc26
mov dword [0x14007b520], ebx
call fcn.14000f620
mov dword [0x14007b524], 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.140007d70
lea rcx, [rsp + 0x28]
call fcn.14000fe40
mov rdx, qword [rsp + 0x40]
cmp rdx, 7
jbe 0x14000fca5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000fca0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000fe33
call fcn.14002fd70
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.140007d70
lea rcx, [rsp + 0x28]
call fcn.14000fe40
mov rdx, qword [rsp + 0x40]
cmp rdx, 7
jbe 0x14000fd19
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000fd14
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000fe2d
call fcn.14002fd70
call fcn.14000ff60
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 0x14000fd50
mov byte [rsp + 0x20], bl
jmp 0x14000fd76
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.14001d9b0
nop
lea r8, [rbp + 0xe0]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x20]
call fcn.14001d0b0
lea rdx, [rbp + 0xe0]
lea rcx, [rsp + 0x60]
call fcn.14002bb00
nop
lea rcx, [rbp + 0xe0]
call fcn.140014860
lea rcx, [rsp + 0x60]
call fcn.140014860
call fcn.140015340
mov ecx, dword [0x14007b52c]
test ecx, ecx
je 0x14000fe0b
cmp ecx, 9
ja 0x14000fe03
cmp ecx, 6
ja 0x14000fdf9
jb 0x14000fe0b
mov ecx, dword [0x14007b530]
cmp ecx, 3
jae 0x14000fdf9
cmp ecx, 1
jb 0x14000fe0b
mov rcx, rax
call fcn.1400165b0
jmp 0x14000fe0b
mov rcx, rax
call fcn.140016330
jmp 0x14000fe0b
mov rcx, rax
call fcn.1400160a0
mov al, 1
mov rcx, qword [rbp + 0x260]
xor rcx, rsp
call fcn.14002fd50
mov rbx, qword [rsp + 0x380]
add rsp, 0x370
pop rbp
ret
call fcn.14003c058
int3
call fcn.14003c058
int3