Function at 0x1800094a4
Capabilities:
Check os version

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r13
push r15
lea rbp, [rax - 0x278]
sub rsp, 0x350
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x180038008]
xor rax, rsp
mov qword [rbp + 0x240], rax
mov rsi, rcx
mov r13d, send
mov qword [rsp + 0x78], r13
xor r15d, r15d
mov qword [rsp + 0x70], r15
mov byte [rsp + 0x60], r15b
mov ebx, 0x9c
mov r8d, ebx
xor edx, edx
lea rcx, [rbp - 0x60]
call fcn.18000ce00
mov dword [rbp - 0x60], ebx
lea rcx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_GetVersionExA]
mov qword [rsp + 0x20], r15
lea r8, [rsp + 0x20]
lea edx, [rbx - 0x38]
xor ecx, ecx
call qword [sym.imp.NETAPI32.dll_NetWkstaGetInfo]
lea r12d, [r13 - 0xc]
test eax, eax
jne 0x180009550
mov rcx, qword [rsp + 0x20]
mov ebx, dword [rcx + 0x18]
mov edi, dword [rcx + 0x1c]
call qword [sym.imp.NETAPI32.dll_NetApiBufferFree]
mov dword [rbp - 0x5c], ebx
mov dword [rbp - 0x58], edi
jmp 0x1800095b3
cmp dword [rbp - 0x5c], 6
jne 0x1800095b3
cmp dword [rbp - 0x58], 2
jne 0x1800095b3
mov r8b, 1
mov edx, 1
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VerSetConditionMask]
mov rbx, rax
mov edi, 0x11c
mov r8d, edi
xor edx, edx
lea rcx, [rbp + 0xa0]
call fcn.18000ce00
mov dword [rbp + 0xa0], edi
mov dword [rbp + 0xa8], r12d
mov r8, rbx
mov edx, 1
lea rcx, [rbp + 0xa0]
call qword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
mov ecx, dword [rbp - 0x58]
test eax, eax
cmovne ecx, r12d
mov dword [rbp - 0x58], ecx
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.GetNativeSystemInfo
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
cmove rax, qword [sym.imp.KERNEL32.dll_GetSystemInfo]
lea rcx, [rsp + 0x30]
call rax
cmp dword [rbp - 0x5c], 0xa
jne 0x18000960b
lea rcx, [rsp + 0x60]
cmp byte [rbp + 0x3a], 1
je 0x1800095ff
lea rdx, str.Win10_Server
jmp 0x1800096aa
lea rdx, str.Win10
jmp 0x1800096aa
cmp dword [rbp - 0x5c], 6
jne 0x18000969e
mov eax, dword [rbp - 0x58]
cmp eax, r12d
jne 0x18000963a
lea rcx, [rsp + 0x60]
cmp byte [rbp + 0x3a], 1
je 0x180009631
lea rdx, str.Win2012_R2
jmp 0x1800096aa
lea rdx, str.Win8.1
jmp 0x1800096aa
cmp eax, 2
jne 0x18000965c
lea rcx, [rsp + 0x60]
cmp byte [rbp + 0x3a], 1
je 0x180009653
lea rdx, str.Win2012
jmp 0x1800096aa
lea rdx, str.Win8
jmp 0x1800096aa
cmp eax, 1
jne 0x18000967d
lea rcx, [rsp + 0x60]
cmp byte [rbp + 0x3a], al
je 0x180009674
lea rdx, str.Win2008_R2
jmp 0x1800096aa
lea rdx, str.Win7
jmp 0x1800096aa
test eax, eax
jne 0x18000969e
lea rcx, [rsp + 0x60]
cmp byte [rbp + 0x3a], 1
je 0x180009695
lea rdx, str.Win2008
jmp 0x1800096aa
lea rdx, str.Win_Vista
jmp 0x1800096aa
lea rdx, str.unknown
lea rcx, [rsp + 0x60]
call fcn.1800039b0
cmp word [rbp + 0x34], r15w
je 0x18000973a
mov qword [rbp - 0x68], r13
mov qword [rbp - 0x70], r15
mov byte [rbp - 0x80], r15b
mov ebx, 0x80
mov r8d, ebx
xor edx, edx
lea rcx, [rbp + 0x1c0]
call fcn.18000ce00
lea rdx, [0x180030768]
lea rcx, [rbp - 0x80]
call fcn.1800039b0
movzx r9d, word [rbp + 0x34]
lea r8, [0x18003076c]
mov edx, ebx
lea rcx, [rbp + 0x1c0]
call fcn.180008920
lea rdx, [rbp + 0x1c0]
lea rcx, [rbp - 0x80]
call fcn.180003604
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x60]
call fcn.180003be4
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x80]
call fcn.180003904
lea rdx, [rbp + 0x40]
call fcn.180009424
nop
mov qword [rbp - 0x68], r13
mov qword [rbp - 0x70], r15
mov byte [rbp - 0x80], r15b
lea rdx, [0x180030770]
lea rcx, [rbp - 0x80]
call fcn.1800039b0
nop
lea r8, [0x180030454]
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x80]
call fcn.1800061b8
nop
lea r8, [rbp + 0x40]
mov rdx, rax
lea rcx, [rbp + 0x60]
call fcn.180009b50
nop
lea rcx, [rsi + 0x28]
mov r8, rax
lea rdx, [rbp - 0x80]
call fcn.180002da0
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp + 0x60]
call fcn.180003904
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp + 0x80]
call fcn.180003904
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x80]
call fcn.180003904
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp + 0x40]
call fcn.180003904
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x60]
call fcn.180003904
mov rcx, qword [rbp + 0x240]
xor rcx, rsp
call fcn.180009ba0
lea r11, [rsp + 0x350]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r13
pop r12
pop rdi
pop rbp
ret