Function at 0x140012c80
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x290]
sub rsp, 0x390
mov rax, qword [0x1400a20c0]
xor rax, rsp
mov qword [rbp + 0x280], rax
mov rsi, rcx
mov qword [rsp + 0x48], rcx
xor r15d, r15d
mov dword [rsp + 0x40], r15d
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
movups xmmword [rsp + 0x78], xmm0
movups xmmword [rbp - 0x78], xmm0
xor edx, edx
mov r8d, 0x118
lea rcx, [rbp + 0x44]
call fcn.140080d20
mov dword [rbp + 0x40], 0x11c
lea rcx, [rbp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
lea rcx, [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
mov r12d, r15d
mov qword [rbp - 0x38], r15
mov r14d, recv
mov edi, r14d
mov qword [rbp - 0x30], r14
mov byte [rbp - 0x48], r12b
movups xmmword [rbp - 0x68], xmm0
mov qword [rbp - 0x58], r15
mov qword [rbp - 0x50], r14
mov byte [rbp - 0x68], r15b
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], r14
mov byte [rsi], r15b
mov dword [rsp + 0x40], 1
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140012ff5
lea rdx, str.RtlGetVersion
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test rax, rax
je 0x140012ff5
xor edx, edx
mov r8d, pe_nt_image_headers64
lea rcx, [rbp + 0x164]
call fcn.140080d20
mov dword [rbp + 0x160], 0x114
lea rcx, [rbp + 0x160]
call rbx
test eax, eax
jne 0x140012ff5
mov eax, dword [rbp + 0x16c]
cmp eax, 0xa28
jl 0x140012ff5
cmp eax, 0x1770
jge 0x140012df7
mov qword [rbp - 0x58], recv
movsd xmm0, qword [str.Windows_XP]
movsd qword [rbp - 0x68], xmm0
movzx eax, word [0x140093410]
mov word [rbp - 0x60], ax
movzx eax, byte [0x140093412]
mov byte [rbp - 0x5e], al
mov byte [rbp - 0x5d], r15b
jmp 0x14001300b
cmp eax, 0x1db0
jge 0x140012e30
mov qword [rbp - 0x58], recv
movsd xmm0, qword [str.Windows_Vista]
movsd qword [rbp - 0x68], xmm0
mov eax, dword [0x140093420]
mov dword [rbp - 0x60], eax
movzx eax, word [0x140093424]
mov word [rbp - 0x5c], ax
mov byte [rbp - 0x5a], 0
jmp 0x14001300b
cmp eax, 0x23f0
jge 0x140012e60
mov qword [rbp - 0x58], 0xa
movsd xmm0, qword [str.Windows_7]
movsd qword [rbp - 0x68], xmm0
movzx eax, word [0x140093430]
mov word [rbp - 0x60], ax
mov byte [rbp - 0x5e], 0
jmp 0x14001300b
cmp eax, 0x2580
jge 0x140012e90
mov qword [rbp - 0x58], 0xa
movsd xmm0, qword [str.Windows_8]
movsd qword [rbp - 0x68], xmm0
movzx eax, word [0x140093440]
mov word [rbp - 0x60], ax
mov byte [rbp - 0x5e], 0
jmp 0x14001300b
cmp eax, 0x2800
jge 0x140012ebe
mov qword [rbp - 0x58], recv
movsd xmm0, qword [str.Windows_8.1]
movsd qword [rbp - 0x68], xmm0
mov eax, dword [0x140093450]
mov dword [rbp - 0x60], eax
mov byte [rbp - 0x5c], 0
jmp 0x14001300b
cmp eax, 0x295a
jge 0x140012ed7
mov r8d, CreateCompressor
lea rdx, str.Windows_10__Version_1507_
jmp 0x140013002
cmp eax, 0x3839
jge 0x140012ef0
mov r8d, CreateCompressor
lea rdx, str.Windows_10__Version_1511_
jmp 0x140013002
cmp eax, 0x3ad7
jge 0x140012f09
mov r8d, CreateCompressor
lea rdx, str.Windows_10__Version_1607_
jmp 0x140013002
cmp eax, 0x3fab
jge 0x140012f22
mov r8d, CreateCompressor
lea rdx, str.Windows_10__Version_1703_
jmp 0x140013002
cmp eax, 0x42ee
jge 0x140012f3b
mov r8d, CreateCompressor
lea rdx, str.Windows_10__Version_1709_
jmp 0x140013002
cmp eax, 0x4563
jge 0x140012f54
mov r8d, CreateCompressor
lea rdx, str.Windows_10__Version_1803_
jmp 0x140013002
cmp eax, 0x47ba
jge 0x140012f6d
mov r8d, CreateCompressor
lea rdx, str.Windows_10__Version_1809_
jmp 0x140013002
cmp eax, 0x4a61
jge 0x140012f83
mov r8d, CreateCompressor
lea rdx, str.Windows_10__Version_1909_
jmp 0x140013002
cmp eax, 0x4a62
jge 0x140012f99
mov r8d, CreateCompressor
lea rdx, str.Windows_10__Version_2004_
jmp 0x140013002
cmp eax, 0x4a63
jge 0x140012faf
mov r8d, CreateCompressor
lea rdx, str.Windows_10__Version_20H2_
jmp 0x140013002
cmp eax, 0x55f0
jge 0x140012fc5
mov r8d, reloc.Cabinet.dll_CloseCompressor
lea rdx, str.Windows_10__Version_21H1_or_later_
jmp 0x140013002
mov qword [rbp - 0x58], recv
movsd xmm0, qword [str.Windows_11]
movsd qword [rbp - 0x68], xmm0
movzx eax, word [0x1400935c8]
mov word [rbp - 0x60], ax
movzx eax, byte [0x1400935ca]
mov byte [rbp - 0x5e], al
mov byte [rbp - 0x5d], 0
jmp 0x14001300b
mov r8d, CreateCompressor
lea rdx, str.Unsupported_Windows_version
lea rcx, [rbp - 0x68]
call fcn.140024400
lea rax, [rsp + 0x44]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, dword [rbp + 0x48]
mov ecx, dword [rbp + 0x44]
call qword [sym.imp.KERNEL32.dll_GetProductInfo]
movabs r13, 0x7fffffffffffffff
test eax, eax
je 0x1400130e2
mov eax, dword [rsp + 0x44]
sub eax, 1
je 0x1400130bc
sub eax, 3
je 0x140013072
cmp eax, 0x2c
jne 0x140013094
lea r12d, [rax - 0x1e]
movsd xmm0, qword [str._Professional]
mov eax, dword [0x1400935f8]
mov dword [rbp - 0x40], eax
movzx eax, word [0x1400935fc]
mov word [rbp - 0x3c], ax
mov byte [rbp - 0x3a], 0
jmp 0x1400130d9
mov qword [rbp - 0x38], recv
movsd xmm0, qword [str._Enterprise]
movsd qword [rbp - 0x48], xmm0
mov eax, dword [0x140093618]
mov dword [rbp - 0x40], eax
mov byte [rbp - 0x3c], 0
lea rbx, [rbp - 0x48]
mov qword [rbp - 0x38], r14
mov r8, r14
lea rdx, str._Other_Edition
mov rcx, rbx
call fcn.140080680
mov byte [rbx + 0xf], 0
mov rdi, qword [rbp - 0x30]
mov r12, qword [rbp - 0x38]
jmp 0x1400130e2
mov r12d, 0xa
movsd xmm0, qword [str._Ultimate]
movzx eax, word [0x140093608]
mov word [rbp - 0x40], ax
mov byte [rbp - 0x3e], 0
movsd qword [rbp - 0x48], xmm0
mov qword [rbp - 0x38], r12
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
mov qword [rbp - 0x18], r15
mov qword [rbp - 0x10], r14
mov byte [rbp - 0x28], 0
lea rax, str._64_bit
lea rdx, str._32_bit
cmp word [rsp + 0x68], 9
cmove rdx, rax
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], 0
jne 0x140013114
lea rcx, [rbp - 0x28]
call fcn.140024400
sub r13, qword [rbp - 0x58]
cmp r13, r12
jb 0x140013370
lea r9, [rbp - 0x68]
cmp qword [rbp - 0x50], 0xf
cmova r9, qword [rbp - 0x68]
lea rax, [rbp - 0x48]
cmp rdi, 0xf
cmova rax, qword [rbp - 0x48]
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], rax
mov rax, qword [rbp - 0x58]
mov qword [rsp + 0x20], rax
lea rcx, [rbp + 0x18]
call fcn.140027b50
mov dword [rsp + 0x40], 3
lea rdx, [rbp - 0x28]
cmp qword [rbp - 0x10], 0xf
cmova rdx, qword [rbp - 0x28]
mov r8, qword [rbp - 0x18]
lea rcx, [rbp + 0x18]
call fcn.140022950
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x48], xmm0
movups xmmword [rbp - 8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x58], xmm1
movups xmmword [rbp + 8], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], r14
mov byte [rax], 0
lea rax, [rbp - 8]
cmp rsi, rax
je 0x14001320f
mov rdx, qword [rsi + 0x18]
cmp rdx, 0xf
jbe 0x1400131ff
mov rcx, qword [rsi]
inc rdx
cmp rdx, 0x1000
jb 0x1400131f0
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140013376
mov rcx, r8
call fcn.140054120
movups xmm0, xmmword [rsp + 0x48]
movups xmm1, xmmword [rsp + 0x58]
mov byte [rsi], 0
movups xmmword [rsi], xmm0
movups xmmword [rsi + 0x10], xmm1
mov byte [rbp - 8], 0
jmp 0x140013213
mov r14, qword [rbp + 0x10]
cmp r14, 0xf
jbe 0x14001324c
lea rdx, [r14 + 1]
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140013246
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140013376
call fcn.140054120
nop
mov rdx, qword [rbp + 0x30]
cmp rdx, 0xf
jbe 0x140013288
inc rdx
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140013282
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001337c
call fcn.140054120
nop
mov rdx, qword [rbp - 0x10]
cmp rdx, 0xf
jbe 0x1400132c4
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400132be
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140013382
call fcn.140054120
nop
mov rdx, qword [rbp - 0x50]
cmp rdx, 0xf
jbe 0x140013300
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400132fa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140013388
call fcn.140054120
nop
mov rdx, qword [rbp - 0x30]
cmp rdx, 0xf
jbe 0x140013337
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140013332
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001336a
call fcn.140054120
mov rax, rsi
mov rcx, qword [rbp + 0x280]
xor rcx, rsp
call fcn.140054100
lea r11, [rsp + 0x390]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.14006a6c0
nop
call fcn.1400015e0
nop
call fcn.14006a6c0
nop
call fcn.14006a6c0
nop
call fcn.14006a6c0
nop
call fcn.14006a6c0
int3