Function at 0x140061aa0
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 [0x1400f5098]
xor rax, rsp
mov qword [rbp + 0x260], rax
mov ebx, 1
xor eax, eax
lock cmpxchg dword [0x1400f8948], ebx
jne 0x140061e5b
mov dword [0x1400f8a98], 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 0x140061b10
lea rcx, [0x1400f8a98]
call rax
mov eax, dword [0x1400f8a9c]
test eax, eax
je 0x140061c76
shl eax, 8
or eax, dword [0x1400f8aa0]
sub eax, 0x501
je 0x140061c70
sub eax, 0x100
je 0x140061c64
sub eax, ebx
je 0x140061c58
sub eax, ebx
je 0x140061c4c
cmp eax, 0x3fd
je 0x140061b63
mov dword [0x1400f8a90], 0
jmp 0x140061c76
mov eax, dword [0x1400f8aa4]
cmp eax, 0x585d
jb 0x140061b7f
mov dword [0x1400f8a90], 0xf
jmp 0x140061c76
cmp eax, 0x55f0
jb 0x140061b95
mov dword [0x1400f8a90], 0xe
jmp 0x140061c76
cmp eax, 0x4a61
jb 0x140061bab
mov dword [0x1400f8a90], 0xd
jmp 0x140061c76
cmp eax, 0x47bb
jb 0x140061bc1
mov dword [0x1400f8a90], 0xc
jmp 0x140061c76
cmp eax, 0x47ba
jb 0x140061bd7
mov dword [0x1400f8a90], 0xb
jmp 0x140061c76
cmp eax, 0x4563
jb 0x140061bed
mov dword [0x1400f8a90], 0xa
jmp 0x140061c76
cmp eax, 0x42ee
jb 0x140061c00
mov dword [0x1400f8a90], 9
jmp 0x140061c76
cmp eax, 0x3fab
jb 0x140061c13
mov dword [0x1400f8a90], 8
jmp 0x140061c76
cmp eax, 0x3ad7
jb 0x140061c26
mov dword [0x1400f8a90], 7
jmp 0x140061c76
cmp eax, 0x3839
jb 0x140061c39
mov dword [0x1400f8a90], 6
jmp 0x140061c76
cmp eax, 0x295a
jb 0x140061c76
mov dword [0x1400f8a90], 5
jmp 0x140061c76
mov dword [0x1400f8a90], 4
jmp 0x140061c76
mov dword [0x1400f8a90], 3
jmp 0x140061c76
mov dword [0x1400f8a90], 2
jmp 0x140061c76
mov dword [0x1400f8a90], ebx
call fcn.140061670
mov dword [0x1400f8a94], 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.140001360
lea rcx, [rsp + 0x28]
call fcn.140061e90
mov rdx, qword [rsp + 0x40]
cmp rdx, 8
jb 0x140061cf5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140061cf0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140061e83
call fcn.14007bc4c
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.140001360
lea rcx, [rsp + 0x28]
call fcn.140061e90
mov rdx, qword [rsp + 0x40]
cmp rdx, 8
jb 0x140061d69
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140061d64
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140061e7d
call fcn.14007bc4c
call fcn.140061fb0
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 0x140061da0
mov byte [rsp + 0x20], bl
jmp 0x140061dc6
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.140071600
nop
lea r8, [rbp + 0xe0]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x20]
call fcn.140070d00
lea rdx, [rbp + 0xe0]
lea rcx, [rsp + 0x60]
call fcn.140077de0
nop
lea rcx, [rbp + 0xe0]
call fcn.14004e980
lea rcx, [rsp + 0x60]
call fcn.14004e980
call fcn.140050c50
mov ecx, dword [0x1400f8a9c]
test ecx, ecx
je 0x140061e5b
cmp ecx, 9
ja 0x140061e53
cmp ecx, 6
ja 0x140061e49
jb 0x140061e5b
mov ecx, dword [0x1400f8aa0]
cmp ecx, 3
jae 0x140061e49
cmp ecx, 1
jb 0x140061e5b
mov rcx, rax
call fcn.140053080
jmp 0x140061e5b
mov rcx, rax
call fcn.140052e50
jmp 0x140061e5b
mov rcx, rax
call fcn.140052c00
mov al, 1
mov rcx, qword [rbp + 0x260]
xor rcx, rsp
call fcn.14007b9a0
mov rbx, qword [rsp + 0x380]
add rsp, 0x370
pop rbp
ret
call fcn.140082678
int3
call fcn.140082678
int3