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

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x2b0]
sub rsp, 0x3b0
mov rax, qword [0x14008d030]
xor rax, rsp
mov qword [rbp + 0x2a0], rax
mov ebx, 1
xor eax, eax
lock cmpxchg dword [0x140090498], ebx
jne 0x140025ccc
mov dword [0x1400905c8], 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 0x140025a00
lea rcx, [0x1400905c8]
call rax
mov eax, dword [0x1400905cc]
test eax, eax
je 0x140025b3a
shl eax, 8
or eax, dword [0x1400905d0]
sub eax, 0x501
je 0x140025b34
sub eax, 0x100
je 0x140025b28
sub eax, ebx
je 0x140025b1c
sub eax, ebx
je 0x140025b10
cmp eax, 0x3fd
je 0x140025a53
mov dword [0x1400905c0], 0
jmp 0x140025b3a
mov eax, dword [0x1400905d4]
cmp eax, 0x4a61
jb 0x140025a6f
mov dword [0x1400905c0], 0xd
jmp 0x140025b3a
cmp eax, 0x47bb
jb 0x140025a85
mov dword [0x1400905c0], 0xc
jmp 0x140025b3a
cmp eax, 0x47ba
jb 0x140025a9b
mov dword [0x1400905c0], 0xb
jmp 0x140025b3a
cmp eax, 0x4563
jb 0x140025ab1
mov dword [0x1400905c0], 0xa
jmp 0x140025b3a
cmp eax, 0x42ee
jb 0x140025ac4
mov dword [0x1400905c0], 9
jmp 0x140025b3a
cmp eax, 0x3fab
jb 0x140025ad7
mov dword [0x1400905c0], 8
jmp 0x140025b3a
cmp eax, 0x3ad7
jb 0x140025aea
mov dword [0x1400905c0], 7
jmp 0x140025b3a
cmp eax, 0x3839
jb 0x140025afd
mov dword [0x1400905c0], 6
jmp 0x140025b3a
cmp eax, 0x295a
jb 0x140025b3a
mov dword [0x1400905c0], 5
jmp 0x140025b3a
mov dword [0x1400905c0], 4
jmp 0x140025b3a
mov dword [0x1400905c0], 3
jmp 0x140025b3a
mov dword [0x1400905c0], 2
jmp 0x140025b3a
mov dword [0x1400905c0], ebx
call fcn.140025700
mov dword [0x1400905c4], eax
movzx edx, byte [rsp + 0x20]
lea rcx, [rsp + 0x28]
call fcn.140003290
nop
lea rcx, str.SeDebugPrivilege
call fcn.140004b50
mov rcx, rax
call fcn.1400032c0
mov r8, rax
lea rdx, str.SeDebugPrivilege
lea rcx, [rsp + 0x28]
call fcn.14000ecc0
nop
lea rcx, [rsp + 0x28]
call fcn.140025cf0
lea rcx, [rsp + 0x28]
call fcn.140003de0
movzx edx, byte [rsp + 0x20]
lea rcx, [rsp + 0x48]
call fcn.140003290
nop
lea rcx, str.SeLoadDriverPrivilege
call fcn.140004b50
mov rcx, rax
call fcn.1400032c0
mov r8, rax
lea rdx, str.SeLoadDriverPrivilege
lea rcx, [rsp + 0x48]
call fcn.14000ecc0
nop
lea rcx, [rsp + 0x48]
call fcn.140025cf0
lea rcx, [rsp + 0x48]
call fcn.140003de0
call fcn.140025e10
mov word [rsp + 0x20], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
cmp word [rsp + 0x70], 0
jne 0x140025c15
mov byte [rsp + 0x20], 1
jmp 0x140025c3b
mov dword [rsp + 0x68], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_IsWow64Process]
cmp dword [rsp + 0x68], 0
setne byte [rsp + 0x21]
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x20]
call fcn.1400358e0
nop
lea r8, [rbp + 0x120]
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x20]
call fcn.140035470
lea rdx, [rbp + 0x120]
lea rcx, [rbp - 0x60]
call fcn.14003a9d0
nop
lea rcx, [rbp + 0x120]
call fcn.140016070
lea rcx, [rbp - 0x60]
call fcn.140016070
call fcn.140017d70
mov ecx, dword [0x1400905cc]
test ecx, ecx
je 0x140025ccc
cmp ecx, 9
ja 0x140025cc4
cmp ecx, 6
ja 0x140025cba
jb 0x140025ccc
mov ecx, dword [0x1400905d0]
cmp ecx, 3
jae 0x140025cba
cmp ecx, 1
jb 0x140025ccc
mov rcx, rax
call fcn.140019c50
jmp 0x140025ccc
mov rcx, rax
call fcn.1400199e0
jmp 0x140025ccc
mov rcx, rax
call fcn.140019740
mov al, 1
mov rcx, qword [rbp + 0x2a0]
xor rcx, rsp
call fcn.14003ecb0
mov rbx, qword [rsp + 0x3c0]
add rsp, 0x3b0
pop rbp
ret