Function at 0x14009ea50
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 - 0x2b0]
sub rsp, 0x3b0
mov rax, qword [0x14024a650]
xor rax, rsp
mov qword [rbp + 0x2a0], rax
mov edi, 1
xor eax, eax
lock cmpxchg dword [0x14024e760], edi
jne 0x14009ed95
mov dword [0x14024e8e8], 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 0x14009eac5
lea rcx, [0x14024e8e8]
call rax
mov eax, dword [0x14024e8ec]
xor ebx, ebx
test eax, eax
je 0x14009ec29
shl eax, 8
or eax, dword [0x14024e8f0]
sub eax, 0x501
je 0x14009ec23
sub eax, 0x100
je 0x14009ec17
sub eax, edi
je 0x14009ec0b
sub eax, edi
je 0x14009ebff
cmp eax, 0x3fd
je 0x14009eb16
mov dword [0x14024e8e0], ebx
jmp 0x14009ec29
mov eax, dword [0x14024e8f4]
cmp eax, 0x585d
jb 0x14009eb32
mov dword [0x14024e8e0], 0xf
jmp 0x14009ec29
cmp eax, 0x55f0
jb 0x14009eb48
mov dword [0x14024e8e0], 0xe
jmp 0x14009ec29
cmp eax, 0x4a61
jb 0x14009eb5e
mov dword [0x14024e8e0], 0xd
jmp 0x14009ec29
cmp eax, 0x47bb
jb 0x14009eb74
mov dword [0x14024e8e0], 0xc
jmp 0x14009ec29
cmp eax, 0x47ba
jb 0x14009eb8a
mov dword [0x14024e8e0], 0xb
jmp 0x14009ec29
cmp eax, 0x4563
jb 0x14009eba0
mov dword [0x14024e8e0], 0xa
jmp 0x14009ec29
cmp eax, 0x42ee
jb 0x14009ebb3
mov dword [0x14024e8e0], 9
jmp 0x14009ec29
cmp eax, 0x3fab
jb 0x14009ebc6
mov dword [0x14024e8e0], 8
jmp 0x14009ec29
cmp eax, 0x3ad7
jb 0x14009ebd9
mov dword [0x14024e8e0], 7
jmp 0x14009ec29
cmp eax, 0x3839
jb 0x14009ebec
mov dword [0x14024e8e0], 6
jmp 0x14009ec29
cmp eax, 0x295a
jb 0x14009ec29
mov dword [0x14024e8e0], 5
jmp 0x14009ec29
mov dword [0x14024e8e0], 4
jmp 0x14009ec29
mov dword [0x14024e8e0], 3
jmp 0x14009ec29
mov dword [0x14024e8e0], 2
jmp 0x14009ec29
mov dword [0x14024e8e0], edi
call fcn.14009e7b0
mov dword [0x14024e8e4], eax
mov qword [rsp + 0x28], rbx
movdqa xmm0, xmmword [0x14022bcc0]
movdqu xmmword [rsp + 0x38], xmm0
mov r8d, reloc.WS2_32.dll_recv
lea rdx, str.SeDebugPrivilege
lea rcx, [rsp + 0x28]
call fcn.140084dd0
lea rcx, [rsp + 0x28]
call fcn.14009edc0
lea rcx, [rsp + 0x28]
call fcn.140084d60
mov qword [rsp + 0x48], rbx
movdqa xmm0, xmmword [0x14022bcc0]
movdqu xmmword [rsp + 0x58], xmm0
mov r8d, reloc.WS2_32.dll_setsockopt
lea rdx, str.SeLoadDriverPrivilege
lea rcx, [rsp + 0x48]
call fcn.140084dd0
lea rcx, [rsp + 0x48]
call fcn.14009edc0
lea rcx, [rsp + 0x48]
call fcn.140084d60
call fcn.14009eee0
mov word [rsp + 0x20], bx
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
cmp word [rsp + 0x70], bx
jne 0x14009ece3
mov byte [rsp + 0x20], dil
jmp 0x14009ed04
mov dword [rsp + 0x68], ebx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_IsWow64Process]
cmp dword [rsp + 0x68], ebx
setne byte [rsp + 0x21]
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x20]
call fcn.1400aeac0
nop
lea r8, [rbp + 0x120]
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x20]
call fcn.1400ae3b0
lea rdx, [rbp + 0x120]
lea rcx, [rbp - 0x60]
call fcn.1400b4b30
nop
lea rcx, [rbp + 0x120]
call fcn.14008cf30
lea rcx, [rbp - 0x60]
call fcn.14008cf30
call fcn.14008ecb0
mov ecx, dword [0x14024e8ec]
test ecx, ecx
je 0x14009ed95
cmp ecx, 9
ja 0x14009ed8d
cmp ecx, 6
ja 0x14009ed83
jb 0x14009ed95
mov ecx, dword [0x14024e8f0]
cmp ecx, 3
jae 0x14009ed83
cmp ecx, 1
jb 0x14009ed95
mov rcx, rax
call fcn.140090aa0
jmp 0x14009ed95
mov rcx, rax
call fcn.140090840
jmp 0x14009ed95
mov rcx, rax
call fcn.1400905b0
mov al, 1
mov rcx, qword [rbp + 0x2a0]
xor rcx, rsp
call fcn.14010cca0
lea r11, [rsp + 0x3b0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret