Function at 0x40d070
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x438908
mov eax, dword fs:[0]
push eax
sub esp, 0x138
mov eax, dword [0x448080]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x120]
push pe_nt_image_headers32
push 0
push eax
mov dword [ebp - 0x140], esi
call fcn.0041af90
add esp, 0xc
mov dword [ebp - 0x124], 0x114
lea eax, [ebp - 0x124]
push eax
call dword [sym.imp.ntdll.dll_RtlGetVersion]
mov eax, dword [ebp - 0x120]
cmp eax, 0xa
jne 0x40d1af
cmp dword [ebp - 0x118], 0x55f0
lea ecx, [ebp - 0x13c]
xorps xmm0, xmm0
mov dword [ebp - 0x12c], 0
mov dword [ebp - 0x128], 0
movups xmmword [ebp - 0x13c], xmm0
jb 0x40d197
push 0x15
push 0x442568
call fcn.0040a2f0
mov dword [ebp - 4], 0
push ecx
lea edx, [ebp - 0x13c]
mov ecx, esi
call fcn.004029f0
mov ecx, dword [ebp - 0x128]
add esp, 4
cmp ecx, 7
jbe 0x40d179
mov edx, dword [ebp - 0x13c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40d16f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d3cc
push ecx
push edx
call fcn.0041936d
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00419325
mov esp, ebp
pop ebp
ret 4
push 0xa
push 0x442594
call fcn.0040a2f0
mov dword [ebp - 4], 1
jmp 0x40d128
cmp eax, 6
jne 0x40d27d
mov eax, dword [ebp - 0x11c]
sub eax, 1
je 0x40d241
sub eax, 1
je 0x40d205
sub eax, 1
jne 0x40d346
push 0xb
xorps xmm0, xmm0
mov dword [ebp - 0x12c], eax
push 0x4425ac
lea ecx, [ebp - 0x13c]
mov dword [ebp - 0x128], eax
movups xmmword [ebp - 0x13c], xmm0
call fcn.0040a2f0
mov dword [ebp - 4], 2
jmp 0x40d128
push 9
xorps xmm0, xmm0
mov dword [ebp - 0x12c], 0
push 0x4425c4
lea ecx, [ebp - 0x13c]
mov dword [ebp - 0x128], 0
movups xmmword [ebp - 0x13c], xmm0
call fcn.0040a2f0
mov dword [ebp - 4], 3
jmp 0x40d128
push 9
xorps xmm0, xmm0
mov dword [ebp - 0x12c], 0
push 0x4425d8
lea ecx, [ebp - 0x13c]
mov dword [ebp - 0x128], 0
movups xmmword [ebp - 0x13c], xmm0
call fcn.0040a2f0
mov dword [ebp - 4], 4
jmp 0x40d128
cmp eax, 5
jne 0x40d346
mov eax, dword [ebp - 0x11c]
cmp eax, 2
jne 0x40d2cd
push 0x19
xorps xmm0, xmm0
mov dword [ebp - 0x12c], 0
push 0x4425ec
lea ecx, [ebp - 0x13c]
mov dword [ebp - 0x128], 0
movups xmmword [ebp - 0x13c], xmm0
call fcn.0040a2f0
mov dword [ebp - 4], 5
jmp 0x40d128
cmp eax, 1
jne 0x40d30e
push 0xa
xorps xmm0, xmm0
mov dword [ebp - 0x12c], 0
push 0x442620
lea ecx, [ebp - 0x13c]
mov dword [ebp - 0x128], 0
movups xmmword [ebp - 0x13c], xmm0
call fcn.0040a2f0
mov dword [ebp - 4], 6
jmp 0x40d128
test eax, eax
jne 0x40d346
push 0xc
xorps xmm0, xmm0
mov dword [ebp - 0x12c], eax
push 0x442638
lea ecx, [ebp - 0x13c]
mov dword [ebp - 0x128], eax
movups xmmword [ebp - 0x13c], xmm0
call fcn.0040a2f0
mov dword [ebp - 4], 7
jmp 0x40d128
push 0xf
xorps xmm0, xmm0
mov dword [ebp - 0x12c], 0
push 0x442654
lea ecx, [ebp - 0x13c]
mov dword [ebp - 0x128], 0
movups xmmword [ebp - 0x13c], xmm0
call fcn.0040a2f0
push ecx
lea edx, [ebp - 0x13c]
mov dword [ebp - 4], 8
mov ecx, esi
call fcn.004029f0
mov ecx, dword [ebp - 0x128]
add esp, 4
cmp ecx, 7
jbe 0x40d179
mov edx, dword [ebp - 0x13c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40d16f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40d16f
call fcn.00421825
int3