Function at 0x418f10
Capabilities:
Check os version
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44874c
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x4590c0]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push esi
push edi
mov eax, dword [0x4590c0]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
push 0
mov esi, ecx
call fcn.004325fa
add esp, 4
push eax
call fcn.00431794
xor eax, eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x30]
add esp, 4
push eax
call fcn.004325ef
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
add esp, 4
push 0
push 0x3e8
push ecx
push edx
call fcn.0043ced0
mov ecx, eax
movzx eax, word [esp + 0x34]
mov edi, edx
cdq
add ecx, eax
adc edi, edx
lea eax, [esi + 0x194]
mov ebx, 1
mov dword [esi + 0xa0], ecx
mov dword [esi + 0xa4], edi
mov dword [esp + 0x28], eax
mov dword [eax], ebx
xor edi, edi
mov dword [esp + 0x50], edi
mov eax, dword [esi + 0x98]
cmp eax, edi
je 0x418fda
mov eax, dword [eax + 4]
cmp eax, edi
je 0x418fda
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0x14
mov dword [esp + 0x24], edi
call fcn.004310d9
add esp, 4
cmp eax, edi
je 0x41913e
mov dword [esp + 0x1c], eax
mov dword [eax], eax
mov eax, dword [esp + 0x1c]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x1c]
mov dword [eax + 8], eax
mov eax, dword [esp + 0x1c]
mov byte [eax + 0x10], bl
mov ecx, dword [esp + 0x1c]
mov byte [ecx + 0x11], bl
mov byte [esp + 0x50], bl
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4190e4
mov eax, dword [esi + 0x74]
mov ecx, dword [eax + 8]
push edi
push str.Shell_Embedding
push edi
mov edi, dword [sym.imp.USER32.dll_FindWindowExW]
push ecx
call edi
test eax, eax
je 0x4190e4
push 0
push str.Shell_DocObject_View
push 0
push eax
call edi
test eax, eax
je 0x4190e4
push 0
push str.Internet_Explorer_Server
push 0
push eax
call edi
mov ebx, eax
test ebx, ebx
je 0x4190e4
cmp dword [esi + 0x90], 6
jne 0x419097
call fcn.004317a6
cdq
mov ecx, 0x64
idiv ecx
mov eax, dword [esi + 0x158]
cmp edx, dword [eax + 0x154]
jge 0x419097
mov eax, esi
call fcn.0041d5e0
mov ecx, dword [esi + 0x158]
cmp dword [ecx + 0x158], 0
mov eax, dword [esi + 0x90]
je 0x4190c8
cmp eax, 8
je 0x4190bd
cmp eax, 9
je 0x4190bd
mov ecx, esi
call fcn.0041b690
mov edx, ebx
mov ecx, esi
call fcn.0041bcf0
jmp 0x4190e4
cmp eax, 8
je 0x4190db
cmp eax, 9
je 0x4190db
mov edi, ebx
mov ecx, esi
call fcn.0041b2e0
mov edx, ebx
mov ecx, esi
call fcn.0041ab00
mov byte [esp + 0x50], 2
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
push eax
push ecx
lea edi, [esp + 0x1c]
lea esi, [esp + 0x20]
call fcn.0040d530
mov edx, dword [esp + 0x1c]
push edx
call fcn.00430f33
add esp, 4
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esp + 0x28]
mov dword [eax], 0
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.00430f3e
mov esp, ebp
pop ebp
ret
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x30]
mov dword [esp + 0x18], edi
call fcn.00430fd5
push 0x453d04
lea edx, [esp + 0x30]
push edx
mov dword [esp + 0x34], vtable.std::bad_alloc.0
call fcn.0043398a
int3