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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44872c
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.004325ba
add esp, 4
push eax
call fcn.00431754
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.004325af
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
add esp, 4
push 0
push 0x3e8
push ecx
push edx
call fcn.0043cea0
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 0x41903a
mov eax, dword [eax + 4]
cmp eax, edi
je 0x41903a
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0x14
mov dword [esp + 0x24], edi
call fcn.00431099
add esp, 4
cmp eax, edi
je 0x41919e
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 0x419144
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 0x419144
push 0
push str.Shell_DocObject_View
push 0
push eax
call edi
test eax, eax
je 0x419144
push 0
push str.Internet_Explorer_Server
push 0
push eax
call edi
mov ebx, eax
test ebx, ebx
je 0x419144
cmp dword [esi + 0x90], 6
jne 0x4190f7
call fcn.00431766
cdq
mov ecx, 0x64
idiv ecx
mov eax, dword [esi + 0x158]
cmp edx, dword [eax + 0x154]
jge 0x4190f7
mov eax, esi
call fcn.0041d640
mov ecx, dword [esi + 0x158]
cmp dword [ecx + 0x158], 0
mov eax, dword [esi + 0x90]
je 0x419128
cmp eax, 8
je 0x41911d
cmp eax, 9
je 0x41911d
mov ecx, esi
call fcn.0041b6f0
mov edx, ebx
mov ecx, esi
call fcn.0041bd50
jmp 0x419144
cmp eax, 8
je 0x41913b
cmp eax, 9
je 0x41913b
mov edi, ebx
mov ecx, esi
call fcn.0041b340
mov edx, ebx
mov ecx, esi
call fcn.0041ab60
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.0040d6e0
mov edx, dword [esp + 0x1c]
push edx
call fcn.00430ef3
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.00430efe
mov esp, ebp
pop ebp
ret
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x30]
mov dword [esp + 0x18], edi
call fcn.00430f95
push 0x453d04
lea edx, [esp + 0x30]
push edx
mov dword [esp + 0x34], vtable.std::bad_alloc.0
call fcn.0043394a
int3