Function at 0x40eb60
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a0
mov eax, dword [0x46a040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push pe_nt_image_headers32
lea eax, [ebp - 0x19c]
push 0
push eax
call fcn.00421e90
add esp, 0xc
mov dword [ebp - 0x1a0], 0x11c
lea eax, [ebp - 0x1a0]
push eax
call dword [sym.imp.ntdll.dll_RtlGetVersion]
test eax, eax
js 0x40ec35
mov eax, dword [ebp - 0x19c]
mov ecx, 0x2e
push 0
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x198]
push 0x50
mov word [ebp - 0x58], cx
lea edx, [ecx - 0x29]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x194]
mov word [ebp - 0x28], cx
lea ecx, [ebp - 0x80]
push str.0.0.0
mov dword [ebp - 0x80], 8
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x50], 8
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x20], 8
mov dword [ebp - 0x10], eax
call fcn.00409000
mov eax, dword [ebp - 0x198]
lea esi, [ebp - 0x1a0]
mov ecx, 0x47
mov edi, 0x46bd18
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x19c]
cmp ecx, 6
jne 0x40ec4f
cmp eax, 1
jae 0x40ec53
mov dword [0x46aad0], 0
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00420226
mov esp, ebp
pop ebp
ret
jb 0x40ec35
jne 0x40ecb0
cmp eax, 1
jne 0x40ec72
mov dword [0x46aad0], 0x3d
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00420226
mov esp, ebp
pop ebp
ret
cmp eax, 2
jne 0x40ec91
mov dword [0x46aad0], 0x3e
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00420226
mov esp, ebp
pop ebp
ret
cmp eax, 3
jne 0x40eccb
mov dword [0x46aad0], 0x3f
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00420226
mov esp, ebp
pop ebp
ret
cmp ecx, 0xa
jne 0x40eccb
cmp dword [ebp - 0x198], 0
jne 0x40eccb
mov eax, dword [ebp - 0x194]
cmp eax, 0x65f4
jbe 0x40ece9
mov dword [0x46aad0], 0xffffffff
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00420226
mov esp, ebp
pop ebp
ret
jb 0x40ed09
mov dword [0x46aad0], 0x75
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00420226
mov esp, ebp
pop ebp
ret
cmp eax, 0x5867
jb 0x40ed2a
mov dword [0x46aad0], 0x74
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00420226
mov esp, ebp
pop ebp
ret
cmp eax, 0x585d
jb 0x40ed4b
mov dword [0x46aad0], 0x73
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00420226
mov esp, ebp
pop ebp
ret
cmp eax, 0x55f0
jb 0x40ed6c
mov dword [0x46aad0], 0x72
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00420226
mov esp, ebp
pop ebp
ret
cmp eax, 0x4a65
jb 0x40ed8d
mov dword [0x46aad0], 0x71
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00420226
mov esp, ebp
pop ebp
ret
cmp eax, 0x4a64
jb 0x40edae
mov dword [0x46aad0], 0x70
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00420226
mov esp, ebp
pop ebp
ret
cmp eax, 0x4a63
jb 0x40edcf
mov dword [0x46aad0], 0x6f
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00420226
mov esp, ebp
pop ebp
ret
cmp eax, 0x4a62
jb 0x40edf0
mov dword [0x46aad0], 0x6e
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00420226
mov esp, ebp
pop ebp
ret
cmp eax, 0x4a61
jb 0x40ee11
mov dword [0x46aad0], 0x6d
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00420226
mov esp, ebp
pop ebp
ret
cmp eax, 0x47bb
jb 0x40ee32
mov dword [0x46aad0], 0x6c
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00420226
mov esp, ebp
pop ebp
ret
cmp eax, 0x47ba
jb 0x40ee53
mov dword [0x46aad0], 0x6b
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00420226
mov esp, ebp
pop ebp
ret
cmp eax, 0x4563
jb 0x40ee74
mov dword [0x46aad0], 0x6a
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00420226
mov esp, ebp
pop ebp
ret
cmp eax, 0x42ee
jb 0x40ee95
mov dword [0x46aad0], 0x69
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00420226
mov esp, ebp
pop ebp
ret
cmp eax, 0x3fab
jb 0x40eeb6
mov dword [0x46aad0], 0x68
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00420226
mov esp, ebp
pop ebp
ret
cmp eax, 0x3ad7
jb 0x40eed7
mov dword [0x46aad0], 0x67
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00420226
mov esp, ebp
pop ebp
ret
cmp eax, 0x3839
jb 0x40eef8
mov dword [0x46aad0], 0x66
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00420226
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
cmp eax, 0x295a
pop edi
sbb eax, eax
xor ecx, ebp
add eax, 0x65
mov dword [0x46aad0], eax
pop esi
call fcn.00420226
mov esp, ebp
pop ebp
ret