Function at 0x1400abd30
Capabilities:
Check os version
Get system information on windows
Query or enumerate registry value

Disassembly:
push rbp
push rdi
lea rbp, [rsp - 0x2b8]
sub rsp, 0x3b8
mov rax, qword [0x140136348]
xor rax, rsp
mov qword [rbp + 0x2a0], rax
mov rdi, rcx
test rcx, rcx
jne 0x1400abd65
mov eax, 0xfffff019
jmp 0x1400ac04b
mov qword [rsp + 0x3e0], rsi
mov qword [rsp + 0x3b0], r14
call fcn.1400b45a0
mov rax, qword [0x1403c1a58]
lea rcx, [rbp - 0x80]
xor r14d, r14d
mov dword [rbp - 0x80], 0x114
mov word [rbp - 0x6c], r14w
test rax, rax
je 0x1400abd9d
call rax
jmp 0x1400abdab
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x1400abf0c
lea rax, [rsp + 0x48]
mov r9d, 1
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SOFTWAREMicrosoftWindows_NTCurrentVersion
mov rcx, 0xffffffff80000002
mov esi, r14d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400abeb8
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
lea r8, str.ProductName
lea rax, [rbp + 0xa0]
mov qword [rsp + 0x3d8], rbx
mov qword [rsp + 0x28], rax
mov r9d, 2
xor edx, edx
mov qword [rsp + 0x20], r14
mov dword [rsp + 0x40], 0x200
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov rcx, qword [rsp + 0x48]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
mov rbx, qword [rsp + 0x3d8]
jne 0x1400abeb8
cmp dword [rbp - 0x7c], 0xa
jne 0x1400abe7a
cmp dword [rbp - 0x74], 0x55f0
jb 0x1400abe7a
cmp dword [rsp + 0x40], 0xb
jb 0x1400abe7a
mov r8d, 0xa
lea rdx, str.Windows_10
lea rcx, [rbp + 0xa0]
call fcn.1400e7dc0
test eax, eax
jne 0x1400abe7a
mov eax, getprotobyname
mov word [rbp + 0xb2], ax
mov qword [rsp + 0x38], r14
lea rax, [rdi + 0x200]
mov qword [rsp + 0x30], r14
lea r8, [rbp + 0xa0]
mov dword [rsp + 0x28], 0x100
mov r9d, 0xffffffff
xor edx, edx
mov qword [rsp + 0x20], rax
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov esi, eax
test eax, eax
je 0x1400abf0c
cmp word [rbp - 0x6c], r14w
je 0x1400abf36
movsxd rax, esi
test esi, esi
jle 0x1400abece
mov byte [rax + rdi + 0x1ff], 0x20
mov qword [rsp + 0x38], r14
lea r8, [rbp - 0x6c]
mov edx, 0x100
mov qword [rsp + 0x30], r14
sub edx, esi
add rax, 0x200
mov dword [rsp + 0x28], edx
add rax, rdi
xor edx, edx
mov qword [rsp + 0x20], rax
mov r9d, 0xffffffff
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jne 0x1400abf36
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1400b5700
mov byte [rdi], r14b
mov byte [rdi + 0x100], r14b
mov byte [rdi + 0x200], r14b
mov byte [rdi + 0x300], r14b
jmp 0x1400ac03b
mov r8d, 0x100
lea rdx, str.Windows_NT
mov rcx, rdi
call fcn.1400ca150
mov eax, dword [rbp - 0x74]
lea rcx, [rdi + 0x100]
mov r9d, dword [rbp - 0x7c]
lea r8, str._d._d._d
mov dword [rsp + 0x28], eax
mov edx, 0x100
mov eax, dword [rbp - 0x78]
mov dword [rsp + 0x20], eax
call fcn.140011030
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
movzx eax, word [rsp + 0x50]
cmp eax, 0xa
ja case.0x1400abf9f.8
lea rdx, [0x140000000]
mov ecx, dword [rdx + rax*4 + 0xac064]
add rcx, rdx
jmp rcx
lea rdx, str.x86_64
jmp 0x1400ac027
lea rdx, str.ia64
jmp 0x1400ac027
lea rcx, [rdi + 0x300]
mov r8d, 0x100
lea rdx, str.i386
call fcn.1400ca150
movzx eax, word [rsp + 0x7c]
cmp eax, 3
jbe 0x1400ac039
cmp eax, 6
jb 0x1400abfe0
mov eax, 6
add al, 0x30
mov byte [rdi + 0x301], al
jmp 0x1400ac039
lea rdx, str.i686
jmp 0x1400ac027
lea rdx, str.mips
jmp 0x1400ac027
lea rdx, str.alpha
jmp 0x1400ac027
lea rdx, str.powerpc
jmp 0x1400ac027
lea rdx, [0x140115748]
jmp 0x1400ac027
lea rdx, [0x14011574c]
jmp 0x1400ac027
lea rdx, str.unknown
mov r8d, 0x100
lea rcx, [rdi + 0x300]
call fcn.1400ca150
xor eax, eax
mov rsi, qword [rsp + 0x3e0]
mov r14, qword [rsp + 0x3b0]
mov rcx, qword [rbp + 0x2a0]
xor rcx, rsp
call fcn.1400cb6d0
add rsp, 0x3b8
pop rdi
pop rbp
ret