Function at 0x469e90
Capabilities:
Check os version
Print debug messages

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b3ced
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x1e8
mov eax, dword [0x645300]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x1f4], esi
push 0x98
lea eax, [ebp - 0xcc]
mov dword [ebp - 0x1f4], esi
push 0
push eax
call fcn.00546d20
mov edi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
lea eax, [ebp - 0xd0]
add esp, 0xc
mov dword [ebp - 0xd0], 0x9c
push eax
call edi
test eax, eax
jne 0x469f46
lea eax, [ebp - 0xd0]
mov dword [ebp - 0xd0], 0x94
push eax
call edi
test eax, eax
jne 0x469f46
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 0xf
mov byte [esi], al
jmp 0x46a15e
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
push str.NtCreateIoRing
push str.ntdll.dll
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x469f95
push 0xa
push str.Windows_11
lea ecx, [ebp - 0x2c]
call fcn.00416c20
jmp 0x46a0fc
lea ecx, [ebp - 0x1f0]
call fcn.00469d60
test eax, eax
je 0x469fc1
cmp dword [ebp - 0x1ec], 0xa
jb 0x469fc1
push 0xa
push str.Windows_10
lea ecx, [ebp - 0x2c]
call fcn.00416c20
jmp 0x46a0fc
mov eax, dword [ebp - 0xcc]
mov edi, dword [ebp - 0xc8]
cmp eax, 5
jne 0x46a020
cmp edi, 2
jne 0x469feb
push 0x1c
push str.Windows_Server_2003_family_
lea ecx, [ebp - 0x2c]
call fcn.00416c20
jmp 0x46a0fc
cmp edi, 1
jne 0x46a004
push 0xb
push str.Windows_XP
lea ecx, [ebp - 0x2c]
call fcn.00416c20
jmp 0x46a0fc
test edi, edi
jne 0x46a09a
push 0xd
push str.Windows_2000
lea ecx, [ebp - 0x2c]
call fcn.00416c20
jmp 0x46a0fc
cmp eax, 4
ja 0x46a039
push 0xb
push str.Windows_NT
lea ecx, [ebp - 0x2c]
call fcn.00416c20
jmp 0x46a0fc
cmp eax, 6
jne 0x46a09a
test edi, edi
jne 0x46a055
push eax
push str.Vista
lea ecx, [ebp - 0x2c]
call fcn.00416c20
jmp 0x46a0fc
cmp edi, 1
jne 0x46a06e
push 9
push str.Windows_7
lea ecx, [ebp - 0x2c]
call fcn.00416c20
jmp 0x46a0fc
cmp edi, 2
jne 0x46a084
push 9
push str.Windows_8
lea ecx, [ebp - 0x2c]
call fcn.00416c20
jmp 0x46a0fc
cmp edi, 3
jne 0x46a09a
push 0xb
push str.Windows_8.1
lea ecx, [ebp - 0x2c]
call fcn.00416c20
jmp 0x46a0fc
push 0x104
lea eax, [ebp - 0x1d8]
push 0
push eax
call fcn.00546d20
push edi
push dword [ebp - 0xcc]
lea eax, [ebp - 0x1d8]
push str.Major__d_Minor__d
push 0x104
push eax
call fcn.00468d80
lea ecx, [ebp - 0x1d8]
add esp, 0x20
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x46a0d6
sub ecx, edx
lea eax, [ebp - 0x1d8]
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.00416c20
lea eax, [ebp - 0x1d8]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp byte [ebp - 0xbc], 0
je 0x46a139
push 1
push 0x5ea9fc
lea ecx, [ebp - 0x2c]
call fcn.00416c20
lea ecx, [ebp - 0xbc]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x46a120
sub ecx, edx
lea eax, [ebp - 0xbc]
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.00416c20
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
movups xmm0, xmmword [ebp - 0x2c]
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x1c]
movq qword [esi + 0x10], xmm0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00543bb1
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret