Function at 0x180086630
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 [0x180140080]
xor rax, rsp
mov qword [rbp + 0x260], rax
mov ebx, 1
xor eax, eax
lock cmpxchg dword [0x18077609c], ebx
jne 0x18008697b
mov dword [0x180777a48], 0x11c
lea rcx, [0x180123da0]
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 0x1800866a0
lea rcx, [0x180777a48]
call rax
mov eax, dword [0x180777a4c]
test eax, eax
je 0x180086806
shl eax, 8
or eax, dword [0x180777a50]
sub eax, 0x501
je 0x180086800
sub eax, 0x100
je 0x1800867f4
sub eax, ebx
je 0x1800867e8
sub eax, ebx
je 0x1800867dc
cmp eax, 0x3fd
je 0x1800866f3
mov dword [0x180777a40], 0
jmp 0x180086806
mov eax, dword [0x180777a54]
cmp eax, 0x585d
jb 0x18008670f
mov dword [0x180777a40], 0xf
jmp 0x180086806
cmp eax, 0x55f0
jb 0x180086725
mov dword [0x180777a40], 0xe
jmp 0x180086806
cmp eax, 0x4a61
jb 0x18008673b
mov dword [0x180777a40], 0xd
jmp 0x180086806
cmp eax, 0x47bb
jb 0x180086751
mov dword [0x180777a40], 0xc
jmp 0x180086806
cmp eax, 0x47ba
jb 0x180086767
mov dword [0x180777a40], 0xb
jmp 0x180086806
cmp eax, 0x4563
jb 0x18008677d
mov dword [0x180777a40], 0xa
jmp 0x180086806
cmp eax, 0x42ee
jb 0x180086790
mov dword [0x180777a40], 9
jmp 0x180086806
cmp eax, 0x3fab
jb 0x1800867a3
mov dword [0x180777a40], 8
jmp 0x180086806
cmp eax, 0x3ad7
jb 0x1800867b6
mov dword [0x180777a40], 7
jmp 0x180086806
cmp eax, 0x3839
jb 0x1800867c9
mov dword [0x180777a40], 6
jmp 0x180086806
cmp eax, 0x295a
jb 0x180086806
mov dword [0x180777a40], 5
jmp 0x180086806
mov dword [0x180777a40], 4
jmp 0x180086806
mov dword [0x180777a40], 3
jmp 0x180086806
mov dword [0x180777a40], 2
jmp 0x180086806
mov dword [0x180777a40], ebx
call fcn.180086390
mov dword [0x180777a44], eax
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x38], xmm1
mov r8d, reloc.WS2_32.dll_recv
lea rdx, str.SeDebugPrivilege
lea rcx, [rsp + 0x28]
call fcn.1800065a0
lea rcx, [rsp + 0x28]
call fcn.1800869a0
lea rcx, [rsp + 0x28]
call fcn.1800058a0
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x38], xmm1
mov r8d, reloc.WS2_32.dll_setsockopt
lea rdx, str.SeLoadDriverPrivilege
lea rcx, [rsp + 0x28]
call fcn.1800065a0
lea rcx, [rsp + 0x28]
call fcn.1800869a0
lea rcx, [rsp + 0x28]
call fcn.1800058a0
call fcn.180086ac0
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 0x1800868c0
mov byte [rsp + 0x20], bl
jmp 0x1800868e6
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.180096a90
nop
lea r8, [rbp + 0xe0]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x20]
call fcn.180096380
lea rdx, [rbp + 0xe0]
lea rcx, [rsp + 0x60]
call fcn.18009b930
nop
lea rcx, [rbp + 0xe0]
call fcn.180074910
lea rcx, [rsp + 0x60]
call fcn.180074910
call fcn.180076760
mov ecx, dword [0x180777a4c]
test ecx, ecx
je 0x18008697b
cmp ecx, 9
ja 0x180086973
cmp ecx, 6
ja 0x180086969
jb 0x18008697b
mov ecx, dword [0x180777a50]
cmp ecx, 3
jae 0x180086969
cmp ecx, 1
jb 0x18008697b
mov rcx, rax
call fcn.180078500
jmp 0x18008697b
mov rcx, rax
call fcn.1800782a0
jmp 0x18008697b
mov rcx, rax
call fcn.180078020
mov al, 1
mov rcx, qword [rbp + 0x260]
xor rcx, rsp
call fcn.180100f50
mov rbx, qword [rsp + 0x380]
add rsp, 0x370
pop rbp
ret