Function at 0x140132d40
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 [0x1402e4100]
xor rax, rsp
mov qword [rbp + 0x260], rax
mov ebx, 1
xor eax, eax
lock cmpxchg dword [0x1403adf40], ebx
jne 0x140133089
mov dword [0x1403b3a08], 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 0x140132db0
lea rcx, [0x1403b3a08]
call rax
mov eax, dword [0x1403b3a0c]
test eax, eax
je 0x140132f42
shl eax, 8
or eax, dword [0x1403b3a10]
sub eax, 0x501
je 0x140132f3c
sub eax, 0x100
je 0x140132f30
sub eax, ebx
je 0x140132f24
sub eax, ebx
je 0x140132f18
cmp eax, 0x3fd
je 0x140132e03
mov dword [0x1403b3a00], 0
jmp 0x140132f42
mov eax, dword [0x1403b3a14]
cmp eax, 0x5867
jb 0x140132e1f
mov dword [0x1403b3a00], 0x11
jmp 0x140132f42
cmp eax, 0x585d
jb 0x140132e35
mov dword [0x1403b3a00], 0x10
jmp 0x140132f42
cmp eax, 0x55f0
jb 0x140132e4b
mov dword [0x1403b3a00], 0xf
jmp 0x140132f42
cmp eax, 0x4a64
jb 0x140132e61
mov dword [0x1403b3a00], 0xe
jmp 0x140132f42
cmp eax, 0x4a61
jb 0x140132e77
mov dword [0x1403b3a00], 0xd
jmp 0x140132f42
cmp eax, 0x47bb
jb 0x140132e8d
mov dword [0x1403b3a00], 0xc
jmp 0x140132f42
cmp eax, 0x47ba
jb 0x140132ea3
mov dword [0x1403b3a00], 0xb
jmp 0x140132f42
cmp eax, 0x4563
jb 0x140132eb9
mov dword [0x1403b3a00], 0xa
jmp 0x140132f42
cmp eax, 0x42ee
jb 0x140132ecc
mov dword [0x1403b3a00], 9
jmp 0x140132f42
cmp eax, 0x3fab
jb 0x140132edf
mov dword [0x1403b3a00], 8
jmp 0x140132f42
cmp eax, 0x3ad7
jb 0x140132ef2
mov dword [0x1403b3a00], 7
jmp 0x140132f42
cmp eax, 0x3839
jb 0x140132f05
mov dword [0x1403b3a00], 6
jmp 0x140132f42
cmp eax, 0x295a
jb 0x140132f42
mov dword [0x1403b3a00], 5
jmp 0x140132f42
mov dword [0x1403b3a00], 4
jmp 0x140132f42
mov dword [0x1403b3a00], 3
jmp 0x140132f42
mov dword [0x1403b3a00], 2
jmp 0x140132f42
mov dword [0x1403b3a00], ebx
call fcn.140132760
mov dword [0x1403b3a04], eax
lea rdx, str.SeDebugPrivilege
lea rcx, [rsp + 0x28]
call fcn.1400d15f0
lea rcx, [rsp + 0x28]
call fcn.1401330b0
lea rcx, [rsp + 0x28]
call fcn.1400d1500
lea rdx, str.SeLoadDriverPrivilege
lea rcx, [rsp + 0x28]
call fcn.1400d15f0
lea rcx, [rsp + 0x28]
call fcn.1401330b0
lea rcx, [rsp + 0x28]
call fcn.1400d1500
call fcn.1401331d0
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 0x140132fce
mov byte [rsp + 0x20], bl
jmp 0x140132ff4
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.1401527c0
nop
lea r8, [rbp + 0xe0]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x20]
call fcn.140152470
lea rdx, [rbp + 0xe0]
lea rcx, [rsp + 0x60]
call fcn.14015cdd0
nop
lea rcx, [rbp + 0xe0]
call fcn.140108e40
lea rcx, [rsp + 0x60]
call fcn.140108e40
call fcn.14010f550
mov ecx, dword [0x1403b3a0c]
test ecx, ecx
je 0x140133089
cmp ecx, 9
ja 0x140133081
cmp ecx, 6
ja 0x140133077
jb 0x140133089
mov ecx, dword [0x1403b3a10]
cmp ecx, 3
jae 0x140133077
cmp ecx, 1
jb 0x140133089
mov rcx, rax
call fcn.140111ee0
jmp 0x140133089
mov rcx, rax
call fcn.140111c70
jmp 0x140133089
mov rcx, rax
call fcn.140111960
mov al, 1
mov rcx, qword [rbp + 0x260]
xor rcx, rsp
call fcn.1401de720
mov rbx, qword [rsp + 0x380]
add rsp, 0x370
pop rbp
ret