Function at 0x14005c8b0
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 [0x140132100]
xor rax, rsp
mov qword [rbp + 0x260], rax
mov ebx, 1
xor eax, eax
lock cmpxchg dword [0x14017fb38], ebx
jne 0x14005cc97
mov dword [0x14017fd88], 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 0x14005c920
lea rcx, [0x14017fd88]
call rax
mov eax, dword [0x14017fd8c]
test eax, eax
je 0x14005cab2
shl eax, 8
or eax, dword [0x14017fd90]
sub eax, 0x501
je 0x14005caac
sub eax, 0x100
je 0x14005caa0
sub eax, ebx
je 0x14005ca94
sub eax, ebx
je 0x14005ca88
cmp eax, 0x3fd
je 0x14005c973
mov dword [0x14017fd80], 0
jmp 0x14005cab2
mov eax, dword [0x14017fd94]
cmp eax, 0x5867
jb 0x14005c98f
mov dword [0x14017fd80], 0x11
jmp 0x14005cab2
cmp eax, 0x585d
jb 0x14005c9a5
mov dword [0x14017fd80], 0x10
jmp 0x14005cab2
cmp eax, 0x55f0
jb 0x14005c9bb
mov dword [0x14017fd80], 0xf
jmp 0x14005cab2
cmp eax, 0x4a64
jb 0x14005c9d1
mov dword [0x14017fd80], 0xe
jmp 0x14005cab2
cmp eax, 0x4a61
jb 0x14005c9e7
mov dword [0x14017fd80], 0xd
jmp 0x14005cab2
cmp eax, 0x47bb
jb 0x14005c9fd
mov dword [0x14017fd80], 0xc
jmp 0x14005cab2
cmp eax, 0x47ba
jb 0x14005ca13
mov dword [0x14017fd80], 0xb
jmp 0x14005cab2
cmp eax, 0x4563
jb 0x14005ca29
mov dword [0x14017fd80], 0xa
jmp 0x14005cab2
cmp eax, 0x42ee
jb 0x14005ca3c
mov dword [0x14017fd80], 9
jmp 0x14005cab2
cmp eax, 0x3fab
jb 0x14005ca4f
mov dword [0x14017fd80], 8
jmp 0x14005cab2
cmp eax, 0x3ad7
jb 0x14005ca62
mov dword [0x14017fd80], 7
jmp 0x14005cab2
cmp eax, 0x3839
jb 0x14005ca75
mov dword [0x14017fd80], 6
jmp 0x14005cab2
cmp eax, 0x295a
jb 0x14005cab2
mov dword [0x14017fd80], 5
jmp 0x14005cab2
mov dword [0x14017fd80], 4
jmp 0x14005cab2
mov dword [0x14017fd80], 3
jmp 0x14005cab2
mov dword [0x14017fd80], 2
jmp 0x14005cab2
mov dword [0x14017fd80], ebx
call fcn.14005c480
mov dword [0x14017fd84], 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.14002fbe0
lea rcx, [rsp + 0x28]
call fcn.14005ccd0
mov rdx, qword [rsp + 0x40]
cmp rdx, 7
jbe 0x14005cb31
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005cb2c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005ccbf
call fcn.1400b61d0
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.14002fbe0
lea rcx, [rsp + 0x28]
call fcn.14005ccd0
mov rdx, qword [rsp + 0x40]
cmp rdx, 7
jbe 0x14005cba5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005cba0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005ccb9
call fcn.1400b61d0
call fcn.14005cdf0
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 0x14005cbdc
mov byte [rsp + 0x20], bl
jmp 0x14005cc02
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.14006db70
nop
lea r8, [rbp + 0xe0]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x20]
call fcn.14006d270
lea rdx, [rbp + 0xe0]
lea rcx, [rsp + 0x60]
call fcn.140074150
nop
lea rcx, [rbp + 0xe0]
call fcn.1400494c0
lea rcx, [rsp + 0x60]
call fcn.1400494c0
call fcn.14004b800
mov ecx, dword [0x14017fd8c]
test ecx, ecx
je 0x14005cc97
cmp ecx, 9
ja 0x14005cc8f
cmp ecx, 6
ja 0x14005cc85
jb 0x14005cc97
mov ecx, dword [0x14017fd90]
cmp ecx, 3
jae 0x14005cc85
cmp ecx, 1
jb 0x14005cc97
mov rcx, rax
call fcn.14004de00
jmp 0x14005cc97
mov rcx, rax
call fcn.14004dbd0
jmp 0x14005cc97
mov rcx, rax
call fcn.14004d980
mov al, 1
mov rcx, qword [rbp + 0x260]
xor rcx, rsp
call fcn.1400b5fc0
mov rbx, qword [rsp + 0x380]
add rsp, 0x370
pop rbp
ret
call fcn.1400c8dbc
int3
call fcn.1400c8dbc
int3