Function at 0x40e9c0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b1db4
mov eax, dword fs:[0]
push eax
sub esp, 0x27c
mov eax, dword [0x4d8c20]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0xc]
mov edi, ecx
lea ecx, [ebp - 0x288]
xor ebx, ebx
push ecx
mov esi, edx
mov dword [ebp - 0x1e0], eax
mov dword [ebp - 4], ebx
call fcn.0040ceb0
lea edx, [ebp - 0x278]
push 0x4be918
push edx
mov byte [ebp - 4], 1
call fcn.00407256
add esp, 8
push ebx
xor eax, eax
push 0x4b9470
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x20], ebx
mov word [ebp - 0x30], ax
call fcn.00404447
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 2
cmp eax, 6
ja case.default.0x40ea55
jmp dword [eax*4 + 0x40ef78]
push str.browser
lea ecx, [ebp - 0x278]
push ecx
call fcn.00407256
add esp, 8
push 0x21
push str.SoftwareNetBoxKometaInstaller_
lea ecx, [ebp - 0x30]
call fcn.00404447
jmp case.default.0x40ea55
push str.inst
lea edx, [ebp - 0x278]
push edx
jmp 0x40ea68
lea eax, [ebp - 0x278]
push str.panel
push eax
call fcn.00407256
add esp, 8
push 0x17
push str.SoftwareNetBoxPanel_
lea ecx, [ebp - 0x30]
call fcn.00404447
jmp case.default.0x40ea55
lea ecx, [ebp - 0x278]
push 0x4be8f8
push ecx
call fcn.00407256
add esp, 8
push 0x1a
push str.SoftwareNetBoxKometaup_
lea ecx, [ebp - 0x30]
call fcn.00404447
jmp case.default.0x40ea55
lea edx, [ebp - 0x278]
push str.speeddialmaker
push edx
call fcn.00407256
add esp, 8
push 0x20
push str.SoftwareNetBox_speeddialmaker_
lea ecx, [ebp - 0x30]
call fcn.00404447
jmp case.default.0x40ea55
lea eax, [ebp - 0x278]
push str.shortcutmaker
push eax
call fcn.00407256
add esp, 8
push 0x1f
push str.SoftwareNetBox_shortcutmaker_
lea ecx, [ebp - 0x30]
call fcn.00404447
jmp case.default.0x40ea55
lea ecx, [ebp - 0x278]
push str.setsearch
push ecx
call fcn.00407256
add esp, 8
lea edx, [ebp - 0x278]
push 0x4bea74
push edx
call fcn.00407256
add esp, 8
push esi
push eax
call fcn.00407256
add esp, 8
lea eax, [ebp - 0x278]
push str.action
push eax
call fcn.00407256
add esp, 8
push edi
push eax
call fcn.00407256
xor ecx, ecx
add esp, 8
mov dword [ebp - 0x8c], 7
mov dword [ebp - 0x90], ebx
mov word [ebp - 0xa0], cx
mov bl, 3
mov byte [ebp - 4], bl
cmp dword [ebp - 0x20], ecx
je 0x40ebfe
mov ecx, dword [ebp - 0x30]
mov edi, 8
cmp dword [ebp - 0x1c], edi
jae 0x40ebac
lea ecx, [ebp - 0x30]
lea esi, [ebp - 0xa0]
call fcn.00415880
test eax, eax
jne 0x40ebfe
mov ecx, esi
lea esi, [ebp - 0x4c]
call fcn.0040e3b0
mov esi, eax
lea edx, [ebp - 0x278]
push 0x4ba454
push edx
mov byte [ebp - 4], 4
call fcn.00407256
add esp, 8
push eax
mov ecx, esi
call fcn.0040741c
add esp, 4
mov byte [ebp - 4], bl
cmp dword [ebp - 0x38], edi
jb 0x40ebfe
mov eax, dword [ebp - 0x4c]
push eax
call fcn.00475dcb
add esp, 4
mov eax, dword [ebp + 8]
cmp eax, 1
je 0x40ec0b
cmp eax, 2
jne 0x40ec51
lea ecx, [ebp - 0x4c]
push ecx
lea ebx, [ebp - 0x30]
call fcn.0040e7d0
add esp, 4
mov esi, eax
lea edx, [ebp - 0x278]
push str.guid
push edx
mov byte [ebp - 4], 5
call fcn.00407256
add esp, 8
push eax
mov ecx, esi
call fcn.0040741c
add esp, 4
cmp dword [ebp - 0x38], 8
jb 0x40ec51
mov eax, dword [ebp - 0x4c]
push eax
call fcn.00475dcb
add esp, 4
mov ebx, 7
xor eax, eax
xor ecx, ecx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x58], eax
mov word [ebp - 0x68], cx
xor edx, edx
mov dword [ebp - 0xa8], ebx
mov dword [ebp - 0xac], eax
mov word [ebp - 0xbc], dx
mov byte [ebp - 4], bl
call fcn.00424410
mov edx, dword [eax]
mov ecx, dword [eax + 4]
sub ecx, edx
push edx
lea edi, [ebp - 0xbc]
call fcn.004222b0
mov eax, edi
add esp, 4
push eax
lea ecx, [ebp - 0x68]
call fcn.00422510
xor edi, edi
add esp, 4
cmp dword [ebp - 0x58], edi
je 0x40ecf6
lea ecx, [ebp - 0x68]
push ecx
lea edx, [ebp - 0x4c]
push edx
call fcn.0040e4d0
add esp, 8
mov esi, eax
lea eax, [ebp - 0x278]
push str.mid
push eax
mov byte [ebp - 4], 8
call fcn.00407256
add esp, 8
push eax
mov ecx, esi
call fcn.0040741c
add esp, 4
mov byte [ebp - 4], bl
cmp dword [ebp - 0x38], 8
jb 0x40ecf6
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.00475dcb
add esp, 4
push 0x110
lea edx, [ebp - 0x1d4]
push edi
push edx
call fcn.0047f860
add esp, 0xc
lea eax, [ebp - 0x1d8]
push eax
mov dword [ebp - 0x1d8], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x40ed62
lea ecx, [ebp - 0x278]
push 0x4beaa8
push ecx
call fcn.00407256
mov edx, dword [ebp - 0x1d4]
add esp, 8
push edx
push eax
call fcn.0040a3e8
push 0x4beaa4
push eax
call fcn.00407256
mov ecx, dword [ebp - 0x1d0]
add esp, 8
push ecx
push eax
call fcn.0040a3e8
lea edx, [ebp - 0x1dc]
push edx
mov dword [ebp - 0x1dc], edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_IsWow64Process]
test eax, eax
je 0x40edaa
cmp dword [ebp - 0x1dc], edi
je 0x40ed96
push str.bit64
lea eax, [ebp - 0x278]
push eax
jmp 0x40eda2
push str.bit32
lea ecx, [ebp - 0x278]
push ecx
call fcn.00407256
add esp, 8
xor edx, edx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x74], edi
mov word [ebp - 0x84], dx
lea ecx, [ebp - 0x4c]
lea eax, [ebp - 0x288]
mov byte [ebp - 4], 9
call fcn.0040d010
push eax
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 0xa
call fcn.00422510
mov edi, 8
add esp, 4
mov byte [ebp - 4], 9
mov bl, al
cmp dword [ebp - 0x38], edi
jb 0x40edfa
mov eax, dword [ebp - 0x4c]
push eax
call fcn.00475dcb
add esp, 4
test bl, bl
je 0x40ee21
lea ecx, [ebp - 0x278]
push str.sig
push ecx
call fcn.00407256
add esp, 8
push eax
lea ecx, [ebp - 0x84]
call fcn.0040741c
add esp, 4
mov eax, dword [ebp - 0x1e0]
xor ebx, ebx
cmp eax, ebx
je 0x40ee3d
push eax
lea edx, [ebp - 0x278]
push edx
call fcn.00407256
add esp, 8
lea ecx, [ebp - 0x4c]
lea eax, [ebp - 0x288]
call fcn.0040d010
push eax
mov byte [ebp - 4], 0xb
call fcn.004250d0
add esp, 4
cmp dword [ebp - 0x38], edi
jb 0x40ee69
mov eax, dword [ebp - 0x4c]
push eax
call fcn.00475dcb
add esp, 4
xor ecx, ecx
mov esi, 7
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], ebx
mov word [ebp - 0x4c], cx
cmp dword [ebp - 0x70], edi
jb 0x40ee8e
mov edx, dword [ebp - 0x84]
push edx
call fcn.00475dcb
add esp, 4
xor eax, eax
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x74], ebx
mov word [ebp - 0x84], ax
cmp dword [ebp - 0xa8], edi
jb 0x40eeb4
mov ecx, dword [ebp - 0xbc]
push ecx
call fcn.00475dcb
add esp, 4
xor edx, edx
mov dword [ebp - 0xa8], esi
mov dword [ebp - 0xac], ebx
mov word [ebp - 0xbc], dx
cmp dword [ebp - 0x54], edi
jb 0x40eeda
mov eax, dword [ebp - 0x68]
push eax
call fcn.00475dcb
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x58], ebx
mov word [ebp - 0x68], cx
cmp dword [ebp - 0x8c], edi
jb 0x40eefd
mov edx, dword [ebp - 0xa0]
push edx
call fcn.00475dcb
add esp, 4
xor eax, eax
mov dword [ebp - 0x8c], esi
mov dword [ebp - 0x90], ebx
mov word [ebp - 0xa0], ax
cmp dword [ebp - 0x1c], edi
jb 0x40ef23
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.00475dcb
add esp, 4
xor edx, edx
lea ecx, [ebp - 0x228]
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], ebx
mov word [ebp - 0x30], dx
mov byte [ebp - 4], dl
call fcn.0040cf80
lea eax, [ebp - 0x228]
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.0048fd9f
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004751dc
mov esp, ebp
pop ebp
ret