Function at 0x180025cf0
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 [0x180085040]
xor rax, rsp
mov qword [rbp + 0x260], rax
mov ebx, 1
xor eax, eax
lock cmpxchg dword [0x180cb9284], ebx
jne 0x1800260b0
mov dword [0x180cb9388], 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 0x180025d60
lea rcx, [0x180cb9388]
call rax
mov eax, dword [0x180cb938c]
test eax, eax
je 0x180025ec6
shl eax, 8
or eax, dword [0x180cb9390]
sub eax, 0x501
je 0x180025ec0
sub eax, 0x100
je 0x180025eb4
sub eax, ebx
je 0x180025ea8
sub eax, ebx
je 0x180025e9c
cmp eax, 0x3fd
je 0x180025db3
mov dword [0x180cb9380], 0
jmp 0x180025ec6
mov eax, dword [0x180cb9394]
cmp eax, 0x585d
jb 0x180025dcf
mov dword [0x180cb9380], 0xf
jmp 0x180025ec6
cmp eax, 0x55f0
jb 0x180025de5
mov dword [0x180cb9380], 0xe
jmp 0x180025ec6
cmp eax, 0x4a61
jb 0x180025dfb
mov dword [0x180cb9380], 0xd
jmp 0x180025ec6
cmp eax, 0x47bb
jb 0x180025e11
mov dword [0x180cb9380], 0xc
jmp 0x180025ec6
cmp eax, 0x47ba
jb 0x180025e27
mov dword [0x180cb9380], 0xb
jmp 0x180025ec6
cmp eax, 0x4563
jb 0x180025e3d
mov dword [0x180cb9380], 0xa
jmp 0x180025ec6
cmp eax, 0x42ee
jb 0x180025e50
mov dword [0x180cb9380], 9
jmp 0x180025ec6
cmp eax, 0x3fab
jb 0x180025e63
mov dword [0x180cb9380], 8
jmp 0x180025ec6
cmp eax, 0x3ad7
jb 0x180025e76
mov dword [0x180cb9380], 7
jmp 0x180025ec6
cmp eax, 0x3839
jb 0x180025e89
mov dword [0x180cb9380], 6
jmp 0x180025ec6
cmp eax, 0x295a
jb 0x180025ec6
mov dword [0x180cb9380], 5
jmp 0x180025ec6
mov dword [0x180cb9380], 4
jmp 0x180025ec6
mov dword [0x180cb9380], 3
jmp 0x180025ec6
mov dword [0x180cb9380], 2
jmp 0x180025ec6
mov dword [0x180cb9380], ebx
call fcn.1800258c0
mov dword [0x180cb9384], 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.180009950
nop
lea rcx, [rsp + 0x28]
call fcn.1800260e0
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, 7
jbe 0x180025f47
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180025f42
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800260d8
call fcn.180040cf8
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.180009950
nop
lea rcx, [rsp + 0x28]
call fcn.1800260e0
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, 7
jbe 0x180025fbd
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180025fb8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800260d2
call fcn.180040cf8
call fcn.180026200
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 0x180025ff5
mov byte [rsp + 0x20], 1
jmp 0x18002601b
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.1800370d0
nop
lea r8, [rbp + 0xe0]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x20]
call fcn.1800367d0
lea rdx, [rbp + 0xe0]
lea rcx, [rsp + 0x60]
call fcn.18003e170
nop
lea rcx, [rbp + 0xe0]
call fcn.180011d30
lea rcx, [rsp + 0x60]
call fcn.180011d30
call fcn.180014080
mov ecx, dword [0x180cb938c]
test ecx, ecx
je 0x1800260b0
cmp ecx, 9
ja 0x1800260a8
cmp ecx, 6
ja 0x18002609e
jb 0x1800260b0
mov ecx, dword [0x180cb9390]
cmp ecx, 3
jae 0x18002609e
cmp ecx, 1
jb 0x1800260b0
mov rcx, rax
call fcn.180016500
jmp 0x1800260b0
mov rcx, rax
call fcn.180016280
jmp 0x1800260b0
mov rcx, rax
call fcn.180015ff0
mov al, 1
mov rcx, qword [rbp + 0x260]
xor rcx, rsp
call fcn.1800410a0
mov rbx, qword [rsp + 0x380]
add rsp, 0x370
pop rbp
ret
call fcn.18004ce30
int3
call fcn.18004ce30
int3