Function at 0x1400573c0
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 0x20], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0xd0]
sub rsp, 0x1d0
mov rbx, rcx
add rcx, 8
call fcn.14000a680
nop
xor esi, esi
mov qword [rbx + 0x10], rsi
mov dword [rbx], esi
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp - 0x44]
call fcn.140153c90
mov dword [rbp - 0x50], 0x114
mov dword [rbp - 0x4c], 5
mov dword [rbp - 0x48], 1
lea rcx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x14005770b
mov edx, dword [rbp - 0x4c]
mov dword [rbp + 0xf8], edx
mov ecx, dword [rbp - 0x48]
mov dword [rbp + 0xfc], ecx
mov rax, qword [rbp + 0xf8]
mov qword [rbx + 0x10], rax
mov eax, dword [rbp - 0x40]
sub eax, 1
je 0x1400576ac
cmp eax, 1
jne 0x14005770b
cmp edx, 4
ja 0x14005746f
mov dword [rbx], 0x3ec
lea rdx, str.Microsoft_Windows_NT
jmp 0x1400574b1
cmp edx, 5
jne 0x1400574c8
test ecx, ecx
jne 0x140057487
mov dword [rbx], 0x3ed
lea rdx, str.Microsoft_Windows_2000
jmp 0x1400574b1
cmp ecx, 1
jne 0x14005749b
mov dword [rbx], 0x3ee
lea rdx, str.Microsoft_Windows_XP
jmp 0x1400574b1
cmp ecx, 2
jne 0x14005770b
mov dword [rbx], 0x3ef
lea rdx, str.Microsoft_Windows_Server_2003
mov byte [rsp + 0x20], sil
xor r9d, r9d
lea rcx, [rbx + 8]
call fcn.14003bb00
mov edx, dword [rbp - 0x4c]
mov ecx, dword [rbp - 0x48]
cmp edx, 6
jne 0x140057528
test ecx, ecx
jne 0x1400574e3
mov dword [rbx], 0x3f0
lea rdx, str.Microsoft_Windows_Vista
jmp 0x1400576fa
cmp ecx, 1
jne 0x1400574fa
mov dword [rbx], 0x3f1
lea rdx, str.Microsoft_Windows_7
jmp 0x1400576fa
cmp ecx, 2
jne 0x140057511
mov dword [rbx], 0x3f2
lea rdx, str.Microsoft_Windows_8
jmp 0x1400576fa
cmp ecx, 3
jne 0x140057578
mov dword [rbx], 0x3f3
lea rdx, str.Microsoft_Windows_8.1
jmp 0x1400576fa
cmp edx, 0xa
jne 0x14005756a
test ecx, ecx
jne 0x14005757e
mov byte [rsp + 0x20], sil
xor r9d, r9d
lea rcx, [rbx + 8]
cmp dword [rbp - 0x44], 0x55f0
jb 0x140057558
mov dword [rbx], 0x3f5
lea rdx, str.Microsoft_Windows_11
jmp 0x140057706
mov dword [rbx], 0x3f4
lea rdx, str.Microsoft_Windows_10
jmp 0x140057706
cmp edx, 6
ja 0x14005757e
jne 0x14005770b
cmp ecx, 3
jbe 0x14005770b
mov dword [rbx], 0x3f6
mov dword [rsp + 0x30], esi
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rbp - 0x60], xmm0
mov dword [rsp + 0x30], esi
movaps xmm1, xmmword [rsp + 0x30]
movdqa xmmword [rbp - 0x70], xmm1
mov dword [rsp + 0x40], 4
mov eax, ecx
mov qword [rsp + 0x48], rax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rbp - 0x80], xmm0
mov dword [rsp + 0x30], 4
mov eax, edx
mov qword [rsp + 0x38], rax
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x70], xmm0
lea rax, [rsp + 0x70]
mov qword [rsp + 0x50], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x58], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x60], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x68], rax
cmp dword [0x14021c658], 0xb23a8c33
je 0x14005762e
mov ecx, 0x6c0
call fcn.140111d34
mov qword [rbp + 0x100], rax
test rax, rax
je 0x140057625
mov rcx, rax
call fcn.140036570
mov rsi, rax
mov qword [0x140229e08], rsi
jmp 0x140057635
mov rsi, qword [0x140229e08]
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
mov qword [rbp + 0xf8], rax
lea r9, [rbp + 0xf8]
mov r8d, 4
lea rdx, [rsp + 0x50]
lea rcx, str.Microsoft_Windows_New___d._d_
call fcn.140057940
lea rdx, [rbp + 0xf8]
lea rcx, [rbx + 8]
call fcn.140037020
nop
mov rdx, qword [rbp + 0xf8]
add rdx, 0xffffffffffffffe8
mov eax, dword [rdx + 0x10]
cmp eax, 0x7ffffc17
je 0x1400576aa
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x1400576a0
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400576aa
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
jmp 0x14005770b
cmp edx, 4
jne 0x14005770b
test ecx, ecx
jne 0x1400576c4
mov dword [rbx], 0x3e8
lea rdx, str.Microsoft_Windows_95
jmp 0x1400576fa
cmp ecx, 0xa
jne 0x1400576e8
cmp word [rbp - 0x3a], 0x41
sete sil
add esi, 0x3e9
mov dword [rbx], esi
mov byte [rsp + 0x20], 0
lea rdx, str.Microsoft_Windows_98
jmp 0x1400576ff
cmp ecx, 0x5a
jne 0x14005770b
mov dword [rbx], 0x3eb
lea rdx, str.Microsoft_Windows_ME
mov byte [rsp + 0x20], sil
xor r9d, r9d
lea rcx, [rbx + 8]
call fcn.14003bb00
cmp dword [rbx], 0
jne 0x140057733
mov rax, qword [rbx + 8]
cmp dword [rax - 0x10], 0
jne 0x140057733
mov byte [rsp + 0x20], 0
xor r9d, r9d
lea rdx, str.Unknown_OS
lea rcx, [rbx + 8]
call fcn.14003bb00
nop
mov rax, rbx
mov rbx, qword [rsp + 0x208]
add rsp, 0x1d0
pop rdi
pop rsi
pop rbp
ret