Function at 0x14008acf0
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 [0x14016f0a8]
xor rax, rsp
mov qword [rbp + 0x260], rax
mov ebx, 1
xor eax, eax
lock cmpxchg dword [0x140176a80], ebx
jne 0x14008b03b
mov dword [0x140176c78], 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 0x14008ad60
lea rcx, [0x140176c78]
call rax
mov eax, dword [0x140176c7c]
test eax, eax
je 0x14008aec6
shl eax, 8
or eax, dword [0x140176c80]
sub eax, 0x501
je 0x14008aec0
sub eax, 0x100
je 0x14008aeb4
sub eax, ebx
je 0x14008aea8
sub eax, ebx
je 0x14008ae9c
cmp eax, 0x3fd
je 0x14008adb3
mov dword [0x140176c70], 0
jmp 0x14008aec6
mov eax, dword [0x140176c84]
cmp eax, 0x585d
jb 0x14008adcf
mov dword [0x140176c70], 0xf
jmp 0x14008aec6
cmp eax, 0x55f0
jb 0x14008ade5
mov dword [0x140176c70], 0xe
jmp 0x14008aec6
cmp eax, 0x4a61
jb 0x14008adfb
mov dword [0x140176c70], 0xd
jmp 0x14008aec6
cmp eax, 0x47bb
jb 0x14008ae11
mov dword [0x140176c70], 0xc
jmp 0x14008aec6
cmp eax, 0x47ba
jb 0x14008ae27
mov dword [0x140176c70], 0xb
jmp 0x14008aec6
cmp eax, 0x4563
jb 0x14008ae3d
mov dword [0x140176c70], 0xa
jmp 0x14008aec6
cmp eax, 0x42ee
jb 0x14008ae50
mov dword [0x140176c70], 9
jmp 0x14008aec6
cmp eax, 0x3fab
jb 0x14008ae63
mov dword [0x140176c70], 8
jmp 0x14008aec6
cmp eax, 0x3ad7
jb 0x14008ae76
mov dword [0x140176c70], 7
jmp 0x14008aec6
cmp eax, 0x3839
jb 0x14008ae89
mov dword [0x140176c70], 6
jmp 0x14008aec6
cmp eax, 0x295a
jb 0x14008aec6
mov dword [0x140176c70], 5
jmp 0x14008aec6
mov dword [0x140176c70], 4
jmp 0x14008aec6
mov dword [0x140176c70], 3
jmp 0x14008aec6
mov dword [0x140176c70], 2
jmp 0x14008aec6
mov dword [0x140176c70], ebx
call fcn.14008aa50
mov dword [0x140176c74], 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.140070410
lea rcx, [rsp + 0x28]
call fcn.14008b060
lea rcx, [rsp + 0x28]
call fcn.14006fd30
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.140070410
lea rcx, [rsp + 0x28]
call fcn.14008b060
lea rcx, [rsp + 0x28]
call fcn.14006fd30
call fcn.14008b180
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 0x14008af80
mov byte [rsp + 0x20], bl
jmp 0x14008afa6
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.14009ad80
nop
lea r8, [rbp + 0xe0]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x20]
call fcn.14009a6c0
lea rdx, [rbp + 0xe0]
lea rcx, [rsp + 0x60]
call fcn.1400a0f40
nop
lea rcx, [rbp + 0xe0]
call fcn.140077cd0
lea rcx, [rsp + 0x60]
call fcn.140077cd0
call fcn.140079b10
mov ecx, dword [0x140176c7c]
test ecx, ecx
je 0x14008b03b
cmp ecx, 9
ja 0x14008b033
cmp ecx, 6
ja 0x14008b029
jb 0x14008b03b
mov ecx, dword [0x140176c80]
cmp ecx, 3
jae 0x14008b029
cmp ecx, 1
jb 0x14008b03b
mov rcx, rax
call fcn.14007bab0
jmp 0x14008b03b
mov rcx, rax
call fcn.14007b850
jmp 0x14008b03b
mov rcx, rax
call fcn.14007b5e0
mov al, 1
mov rcx, qword [rbp + 0x260]
xor rcx, rsp
call fcn.1400a40e0
mov rbx, qword [rsp + 0x380]
add rsp, 0x370
pop rbp
ret