Function at 0x4225e0
Capabilities:
Check os version
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x448040
mov eax, dword fs:[0]
push eax
sub esp, 0x14c
mov eax, dword [0x461264]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x4631e8], 0
jne 0x422837
push 0x40
call fcn.004299f8
mov esi, eax
add esp, 4
mov dword [ebp - 0x134], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x4227d3
mov dword [esi], 0
mov dword [esi + 0x18], 3
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push str.IsWow64Process
push str.kernel32.dll
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x422695
lea ecx, [ebp - 0x130]
mov dword [ebp - 0x130], 0
push ecx
push edi
call eax
test eax, eax
jne 0x42268a
mov eax, 2
jmp 0x422695
xor eax, eax
cmp dword [ebp - 0x130], eax
setne al
mov dword [esi + 0x24], eax
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0xf
mov byte [esi + 0x28], 0
push 0x118
lea eax, [ebp - 0x128]
mov dword [ebp - 0x12c], 0x11c
push 0
push eax
call fcn.0042c090
add esp, 0xc
lea eax, [ebp - 0x12c]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov edx, dword [ebp - 0x128]
mov ecx, dword [ebp - 0x124]
mov eax, dword [ebp - 0x120]
mov dword [esi + 4], edx
mov dword [esi + 8], ecx
mov dword [esi + 0xc], eax
cmp edx, 5
jne 0x422708
test ecx, ecx
jle 0x422737
xor eax, eax
cmp ecx, 1
setne al
inc eax
mov dword [esi], eax
jmp 0x422737
cmp edx, 6
jne 0x42272f
sub ecx, 0
je 0x422727
sub ecx, 1
je 0x42271f
mov dword [esi], 5
jmp 0x422737
mov dword [esi], 4
jmp 0x422737
mov dword [esi], 3
jmp 0x422737
jle 0x422737
mov dword [esi], 6
movzx eax, word [ebp - 0x18]
xorps xmm0, xmm0
mov dword [esi + 0x10], eax
movzx eax, word [ebp - 0x16]
mov dword [esi + 0x14], eax
lea eax, [ebp - 0x158]
push eax
movups xmmword [ebp - 0x158], xmm0
mov dword [ebp - 0x138], 0
movups xmmword [ebp - 0x148], xmm0
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
movzx eax, word [ebp - 0x158]
test eax, eax
je 0x4227b8
cmp eax, 6
je 0x42279d
cmp eax, 9
jne 0x4227bf
mov eax, dword [ebp - 0x144]
mov dword [esi + 0x1c], eax
mov eax, dword [ebp - 0x13c]
mov dword [esi + 0x18], 1
mov dword [esi + 0x20], eax
jmp 0x4227d5
mov eax, dword [ebp - 0x144]
mov dword [esi + 0x1c], eax
mov eax, dword [ebp - 0x13c]
mov dword [esi + 0x18], 2
mov dword [esi + 0x20], eax
jmp 0x4227d5
mov dword [esi + 0x18], 0
mov eax, dword [ebp - 0x144]
mov dword [esi + 0x1c], eax
mov eax, dword [ebp - 0x13c]
mov dword [esi + 0x20], eax
jmp 0x4227d5
xor esi, esi
mov ecx, esi
mov edx, 0x4631e8
xor eax, eax
lock cmpxchg dword [edx], ecx
test eax, eax
je 0x422837
test esi, esi
je 0x422837
mov ecx, dword [esi + 0x3c]
cmp ecx, 0x10
jb 0x42281a
mov eax, dword [esi + 0x28]
inc ecx
cmp ecx, 0x1000
jb 0x422810
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x422857
mov eax, edx
push ecx
push eax
call fcn.00429a28
add esp, 8
push 0x40
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0xf
push esi
mov byte [esi + 0x28], 0
call fcn.00429a28
add esp, 8
mov eax, dword [0x4631e8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004299e7
mov esp, ebp
pop ebp
ret
call fcn.0042ecaa
int3