Function at 0x140035d20
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 [0x1400fc100]
xor rax, rsp
mov qword [rbp + 0x260], rax
mov ebx, 1
xor eax, eax
lock cmpxchg dword [0x1400ffc80], ebx
jne 0x140036069
mov dword [0x1400ffb58], 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 0x140035d90
lea rcx, [0x1400ffb58]
call rax
mov eax, dword [0x1400ffb5c]
test eax, eax
je 0x140035f22
shl eax, 8
or eax, dword [0x1400ffb60]
sub eax, 0x501
je 0x140035f1c
sub eax, 0x100
je 0x140035f10
sub eax, ebx
je 0x140035f04
sub eax, ebx
je 0x140035ef8
cmp eax, 0x3fd
je 0x140035de3
mov dword [0x1400ffb50], 0
jmp 0x140035f22
mov eax, dword [0x1400ffb64]
cmp eax, 0x5867
jb 0x140035dff
mov dword [0x1400ffb50], 0x11
jmp 0x140035f22
cmp eax, 0x585d
jb 0x140035e15
mov dword [0x1400ffb50], 0x10
jmp 0x140035f22
cmp eax, 0x55f0
jb 0x140035e2b
mov dword [0x1400ffb50], 0xf
jmp 0x140035f22
cmp eax, 0x4a64
jb 0x140035e41
mov dword [0x1400ffb50], 0xe
jmp 0x140035f22
cmp eax, 0x4a61
jb 0x140035e57
mov dword [0x1400ffb50], 0xd
jmp 0x140035f22
cmp eax, 0x47bb
jb 0x140035e6d
mov dword [0x1400ffb50], 0xc
jmp 0x140035f22
cmp eax, 0x47ba
jb 0x140035e83
mov dword [0x1400ffb50], 0xb
jmp 0x140035f22
cmp eax, 0x4563
jb 0x140035e99
mov dword [0x1400ffb50], 0xa
jmp 0x140035f22
cmp eax, 0x42ee
jb 0x140035eac
mov dword [0x1400ffb50], 9
jmp 0x140035f22
cmp eax, 0x3fab
jb 0x140035ebf
mov dword [0x1400ffb50], 8
jmp 0x140035f22
cmp eax, 0x3ad7
jb 0x140035ed2
mov dword [0x1400ffb50], 7
jmp 0x140035f22
cmp eax, 0x3839
jb 0x140035ee5
mov dword [0x1400ffb50], 6
jmp 0x140035f22
cmp eax, 0x295a
jb 0x140035f22
mov dword [0x1400ffb50], 5
jmp 0x140035f22
mov dword [0x1400ffb50], 4
jmp 0x140035f22
mov dword [0x1400ffb50], 3
jmp 0x140035f22
mov dword [0x1400ffb50], 2
jmp 0x140035f22
mov dword [0x1400ffb50], ebx
call fcn.140035aa0
mov dword [0x1400ffb54], eax
lea rdx, str.SeDebugPrivilege
lea rcx, [rsp + 0x28]
call fcn.140004270
lea rcx, [rsp + 0x28]
call fcn.140036090
lea rcx, [rsp + 0x28]
call fcn.1400079d0
lea rdx, str.SeLoadDriverPrivilege
lea rcx, [rsp + 0x28]
call fcn.140004270
lea rcx, [rsp + 0x28]
call fcn.140036090
lea rcx, [rsp + 0x28]
call fcn.1400079d0
call fcn.1400361b0
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 0x140035fae
mov byte [rsp + 0x20], bl
jmp 0x140035fd4
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.1400464c0
nop
lea r8, [rbp + 0xe0]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x20]
call fcn.1400461b0
lea rdx, [rbp + 0xe0]
lea rcx, [rsp + 0x60]
call fcn.14004c480
nop
lea rcx, [rbp + 0xe0]
call fcn.140021f90
lea rcx, [rsp + 0x60]
call fcn.140021f90
call fcn.1400240e0
mov ecx, dword [0x1400ffb5c]
test ecx, ecx
je 0x140036069
cmp ecx, 9
ja 0x140036061
cmp ecx, 6
ja 0x140036057
jb 0x140036069
mov ecx, dword [0x1400ffb60]
cmp ecx, 3
jae 0x140036057
cmp ecx, 1
jb 0x140036069
mov rcx, rax
call fcn.140025c60
jmp 0x140036069
mov rcx, rax
call fcn.140025a10
jmp 0x140036069
mov rcx, rax
call fcn.1400257a0
mov al, 1
mov rcx, qword [rbp + 0x260]
xor rcx, rsp
call fcn.14008e960
mov rbx, qword [rsp + 0x380]
add rsp, 0x370
pop rbp
ret