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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x270]
sub rsp, 0x370
mov rax, qword [0x1402acd18]
xor rax, rsp
mov qword [rbp + 0x260], rax
mov edi, 1
xor eax, eax
lock cmpxchg dword [0x1402b4b40], edi
jne 0x14002905f
mov dword [0x1402b4a18], 0x11c
lea rcx, [0x140128f38]
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 0x140028d45
lea rcx, [0x1402b4a18]
call rax
mov eax, dword [0x1402b4a1c]
xor ebx, ebx
test eax, eax
je 0x140028e7d
shl eax, 8
or eax, dword [0x1402b4a20]
sub eax, 0x501
je 0x140028e77
sub eax, 0x100
je 0x140028e6b
sub eax, edi
je 0x140028e5f
sub eax, edi
je 0x140028e53
cmp eax, 0x3fd
je 0x140028d96
mov dword [0x1402b4a10], ebx
jmp 0x140028e7d
mov eax, dword [0x1402b4a24]
cmp eax, 0x4a61
jb 0x140028db2
mov dword [0x1402b4a10], 0xd
jmp 0x140028e7d
cmp eax, 0x47bb
jb 0x140028dc8
mov dword [0x1402b4a10], 0xc
jmp 0x140028e7d
cmp eax, 0x47ba
jb 0x140028dde
mov dword [0x1402b4a10], 0xb
jmp 0x140028e7d
cmp eax, 0x4563
jb 0x140028df4
mov dword [0x1402b4a10], 0xa
jmp 0x140028e7d
cmp eax, 0x42ee
jb 0x140028e07
mov dword [0x1402b4a10], 9
jmp 0x140028e7d
cmp eax, 0x3fab
jb 0x140028e1a
mov dword [0x1402b4a10], 8
jmp 0x140028e7d
cmp eax, 0x3ad7
jb 0x140028e2d
mov dword [0x1402b4a10], 7
jmp 0x140028e7d
cmp eax, 0x3839
jb 0x140028e40
mov dword [0x1402b4a10], 6
jmp 0x140028e7d
cmp eax, 0x295a
jb 0x140028e7d
mov dword [0x1402b4a10], 5
jmp 0x140028e7d
mov dword [0x1402b4a10], 4
jmp 0x140028e7d
mov dword [0x1402b4a10], 3
jmp 0x140028e7d
mov dword [0x1402b4a10], 2
jmp 0x140028e7d
mov dword [0x1402b4a10], edi
call fcn.1400288a0
mov dword [0x1402b4a14], eax
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], 7
mov word [rsp + 0x28], bx
mov r8d, 0x10
lea rdx, str.SeDebugPrivilege
lea rcx, [rsp + 0x28]
call fcn.140009c80
lea rcx, [rsp + 0x28]
call fcn.1400290a0
mov rdx, qword [rsp + 0x40]
cmp rdx, 8
jb 0x140028efe
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140028ef9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002908b
call fcn.1400a031c
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], 7
mov word [rsp + 0x28], bx
mov r8d, 0x15
lea rdx, str.SeLoadDriverPrivilege
lea rcx, [rsp + 0x28]
call fcn.140009c80
lea rcx, [rsp + 0x28]
call fcn.1400290a0
mov rdx, qword [rsp + 0x40]
cmp rdx, 8
jb 0x140028f74
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140028f6f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140029085
call fcn.1400a031c
call fcn.1400291c0
mov word [rsp + 0x20], bx
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], bx
jne 0x140028fa9
mov byte [rsp + 0x20], dil
jmp 0x140028fca
mov dword [rsp + 0x24], ebx
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], ebx
setne byte [rsp + 0x21]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x20]
call fcn.140039620
nop
lea r8, [rbp + 0xe0]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x20]
call fcn.140038a70
lea rdx, [rbp + 0xe0]
lea rcx, [rsp + 0x60]
call fcn.1400403c0
nop
lea rcx, [rbp + 0xe0]
call fcn.1400145d0
lea rcx, [rsp + 0x60]
call fcn.1400145d0
call fcn.140016810
mov ecx, dword [0x1402b4a1c]
test ecx, ecx
je 0x14002905f
cmp ecx, 9
ja 0x140029057
cmp ecx, 6
ja 0x14002904d
jb 0x14002905f
mov ecx, dword [0x1402b4a20]
cmp ecx, 3
jae 0x14002904d
cmp ecx, 1
jb 0x14002905f
mov rcx, rax
call fcn.140018c60
jmp 0x14002905f
mov rcx, rax
call fcn.140018980
jmp 0x14002905f
mov rcx, rax
call fcn.140018690
mov al, 1
mov rcx, qword [rbp + 0x260]
xor rcx, rsp
call fcn.1400a02c0
lea r11, [rsp + 0x370]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
call fcn.1400d0a24
int3
call fcn.1400d0a24
int3