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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4b7242
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb8
push ebx
push esi
xor ebx, ebx
push edi
mov edi, ecx
lea esi, [edi + 0x10]
mov dword [edi], 0x4f7ec0
mov dword [edi + 4], ebx
mov dword [esp + 0x60], edi
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esp + 0xcc], ebx
mov dword [edi + 0x1c], ebx
mov dword [edi + 0x20], ebx
mov dword [edi + 0x24], ebx
mov dword [edi + 0x28], ebx
mov dword [edi + 0x2c], ebx
mov dword [edi + 0x30], ebx
mov dword [edi + 0x34], ebx
mov dword [edi + 0x38], ebx
mov dword [edi + 0x3c], ebx
mov ecx, 0x529985
mov byte [esp + 0xcc], 3
call fcn.00409200
mov eax, dword [0x5297c4]
mov dword [esp + 0x14], eax
cmp dword [esi], ebx
jne 0x436e88
mov ecx, esi
call fcn.00437720
push ebx
push 0x522090
push ebx
mov ecx, esi
call fcn.00410900
mov ecx, dword [esp + 0x1c]
push eax
call fcn.0041c340
test eax, eax
je 0x437546
mov ecx, 0x529985
call fcn.00409200
mov ecx, dword [0x5297c4]
mov eax, dword [edi + 0x1c]
cmp eax, ebx
mov dword [esp + 0x14], ecx
lea ecx, [edi + 0x1c]
jne 0x436ecb
call fcn.00437720
push ebx
push 0x5220b8
push ebx
lea ecx, [edi + 0x1c]
call fcn.00410900
mov ecx, dword [esp + 0x1c]
push eax
call fcn.0041c340
test eax, eax
je 0x437546
lea edx, [esp + 0x24]
push edx
push ebx
mov ecx, esi
call fcn.00410900
mov ecx, eax
call fcn.004200d0
lea eax, [esp + 0x50]
push eax
push ebx
lea ecx, [edi + 0x1c]
call fcn.00410900
mov ecx, eax
call fcn.004200d0
mov eax, dword [esp + 0x5c]
mov esi, dword [esp + 0x28]
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x54]
sub esi, eax
mov eax, dword [ebp + 0x10]
sub esi, edx
add esi, ecx
add esi, eax
mov dword [esp + 0x44], esi
js 0x437546
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov ecx, 0x529985
mov byte [esp + 0xcc], 4
call fcn.00409200
mov ecx, dword [0x52208c]
push ecx
mov ecx, dword [0x5297c4]
lea edx, [esp + 0x3c]
push edx
call fcn.004167b0
test eax, eax
lea ecx, [esp + 0x38]
je 0x43755f
call fcn.00403010
mov edx, dword [eax]
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0x18]
push ecx
mov ecx, eax
call dword [edx + 0x38]
push 0x44
call fcn.00494d02
add esp, 4
mov dword [esp + 0x1c], eax
cmp eax, ebx
mov byte [esp + 0xcc], 5
je 0x436fc7
mov edx, dword [esp + 0x14]
push 1
lea ecx, [esp + 0x4c]
push ecx
mov ecx, eax
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], esi
call fcn.0042bb20
jmp 0x436fc9
xor eax, eax
push eax
lea ecx, [edi + 0x34]
mov byte [esp + 0xd0], 4
call fcn.00416750
push ebx
lea ecx, [esp + 0x3c]
call fcn.00410900
lea ecx, [edi + 0x34]
mov esi, eax
call fcn.00403010
lea edx, [esp + 0x1c]
push ebx
lea ecx, [esp + 0x28]
mov dword [esp + 0x14], eax
mov eax, dword [eax]
mov dword [esp + 0x28], edx
mov edx, dword [esi]
push ecx
mov ecx, esi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x20], eax
call dword [edx + 0x64]
mov ecx, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x24]
push ebx
call dword [eax + 4]
mov eax, dword [esp + 0xc]
cmp eax, dword [esp + 0x44]
jge 0x43709c
push ebx
lea ecx, [esp + 0x3c]
mov dword [esp + 0x14], eax
call fcn.00410900
lea ecx, [edi + 0x34]
mov esi, eax
call fcn.00403010
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x20], ecx
lea edx, [esp + 0x1c]
push ebx
lea ecx, [esp + 0x28]
mov dword [esp + 0x1c], eax
mov eax, dword [eax]
mov dword [esp + 0x28], edx
mov edx, dword [esi]
push ecx
mov ecx, esi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x18], eax
call dword [edx + 0x64]
mov ecx, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x1c]
push ebx
call dword [eax + 4]
lea ecx, [esp + 0x38]
mov byte [esp + 0xcc], 3
call fcn.00410730
lea esi, [edi + 0x10]
push ebx
mov ecx, esi
call fcn.00410900
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], edx
lea eax, [esp + 0x24]
push eax
push ebx
mov ecx, esi
call fcn.00410900
mov ecx, eax
call fcn.004200d0
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x28]
mov dword [edi + 0x40], ecx
mov ecx, dword [ebp + 0xc]
sub edx, eax
add edx, ecx
push ebx
lea ecx, [edi + 0x1c]
mov dword [edi + 0x44], edx
call fcn.00410900
mov ecx, dword [edi + 0x44]
add ecx, dword [esp + 0x44]
mov edx, dword [ebp + 8]
mov dword [eax + 0x1c], ecx
mov ecx, dword [ebp + 0x18]
mov dword [eax + 0x18], edx
mov eax, dword [ebp + 0x14]
cmp ecx, eax
mov dword [edi + 0x54], ebx
jl 0x437137
push ebx
mov ecx, esi
call fcn.00410900
mov esi, 3
push ebx
lea ecx, [edi + 0x1c]
mov dword [eax + 4], esi
call fcn.00410900
mov dword [eax + 4], esi
jmp 0x437538
push 0x54
call fcn.00494d02
mov esi, eax
add esp, 4
mov dword [esp + 0x1c], esi
cmp esi, ebx
mov byte [esp + 0xcc], 6
je 0x437172
lea ecx, [esi + 0x44]
mov dword [esi], 0x4f5aec
call fcn.00412cd0
mov ecx, esi
mov byte [esp + 0xcc], 7
call fcn.00488170
jmp 0x437174
xor esi, esi
lea ecx, [edi + 0x28]
mov byte [esp + 0xcc], 3
call fcn.00410730
cmp esi, ebx
je 0x437197
push ebx
push ebx
push 1
push 1
push esi
lea ecx, [edi + 0x28]
call fcn.00420560
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x18]
mov edx, ecx
sub edx, eax
mov dword [edi + 0x5c], eax
cmp byte [ebp + 0x1c], bl
mov dword [edi + 0x54], ebx
mov dword [edi + 0x58], edx
je 0x4371b8
mov eax, edx
mov edx, ebx
add edx, eax
mov dword [edi + 0x54], edx
mov esi, dword [esp + 0x44]
mov eax, dword [edi + 0x58]
lea edx, [esi - 0xa]
cmp edx, eax
mov dword [esp + 0xc], 0xa
jle 0x4371fe
mov eax, esi
imul eax, eax, 0x64
cdq
idiv ecx
mov ecx, eax
imul ecx, dword [ebp + 0x18]
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 0xa
mov dword [esp + 0xc], eax
jge 0x4371fe
mov dword [esp + 0xc], 0xa
xor eax, eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x18], eax
jmp 0x437220
cmp dword [eax*4 + 0x5220e0], ebx
je 0x4374fa
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov ecx, 0x529985
mov byte [esp + 0xcc], 8
call fcn.00409200
mov eax, dword [esp + 0x18]
mov ecx, dword [eax*4 + 0x5220e0]
push ecx
mov ecx, dword [0x5297c4]
lea edx, [esp + 0x3c]
push edx
call fcn.004167b0
test eax, eax
lea ecx, [esp + 0x38]
je 0x43755f
call fcn.00403010
mov edx, dword [eax]
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x14]
push ecx
mov ecx, eax
call dword [edx + 0x38]
push 0x44
call fcn.00494d02
add esp, 4
mov dword [esp + 0x1c], eax
cmp eax, ebx
mov byte [esp + 0xcc], 9
je 0x4372c3
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x64], edx
push 1
lea edx, [esp + 0x68]
mov dword [esp + 0x6c], ecx
push edx
mov ecx, eax
call fcn.0042bb20
jmp 0x4372c5
xor eax, eax
push 1
push eax
lea ecx, [esp + 0x58]
mov byte [esp + 0xd4], 8
call fcn.00436a50
mov eax, dword [esp + 0x10]
push ebx
lea ecx, [esp + 0x3c]
mov byte [esp + 0xd0], 0xa
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x34], 5
mov dword [esp + 0x30], eax
call fcn.00410900
lea ecx, [esp + 0x50]
mov esi, eax
call fcn.00403010
lea ecx, [esp + 0x7c]
mov dword [esp + 0x84], ecx
lea edx, [esp + 0x24]
push ebx
lea ecx, [esp + 0x88]
mov dword [esp + 0x4c], eax
mov eax, dword [eax]
mov dword [esp + 0x90], edx
mov edx, dword [esi]
push ecx
mov ecx, esi
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], ebx
mov dword [esp + 0x90], ebx
mov dword [esp + 0x98], ebx
mov dword [esp + 0x9c], ebx
mov dword [esp + 0x24], eax
call dword [edx + 0x64]
mov ecx, dword [esp + 0x50]
push eax
mov eax, dword [esp + 0x28]
push ebx
call dword [eax + 4]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffffb
mov esi, 5
add ecx, 0xfffffff6
cmp ecx, esi
mov dword [esp + 0x30], eax
jle 0x437424
push ebx
lea ecx, [esp + 0x3c]
call fcn.00410900
lea ecx, [esp + 0x50]
mov edi, eax
call fcn.00403010
lea ecx, [esp + 0x74]
mov dword [esp + 0x98], ecx
lea edx, [esp + 0x24]
push ebx
lea ecx, [esp + 0x9c]
mov dword [esp + 0x20], eax
mov eax, dword [eax]
mov dword [esp + 0xa4], edx
mov edx, dword [edi]
push ecx
mov ecx, edi
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], esi
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xac], ebx
mov dword [esp + 0xb0], ebx
mov dword [esp + 0x50], eax
call dword [edx + 0x64]
mov ecx, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x54]
push ebx
call dword [eax + 4]
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x28]
mov ecx, eax
sub ecx, edx
add esi, ecx
mov ecx, dword [esp + 0xc]
add ecx, 0xfffffff6
cmp esi, ecx
jl 0x437391
mov edi, dword [esp + 0x60]
mov edx, dword [esp + 0x14]
push ebx
lea ecx, [esp + 0x3c]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x34], edx
call fcn.00410900
lea ecx, [esp + 0x50]
mov esi, eax
call fcn.00403010
mov ecx, dword [esp + 0xc]
add ecx, 0xfffffffb
lea edx, [esp + 0x6c]
mov dword [esp + 0x70], ecx
mov dword [esp + 0xac], edx
lea ecx, [esp + 0x24]
push ebx
lea edx, [esp + 0xb0]
mov dword [esp + 0x20], eax
mov eax, dword [eax]
mov dword [esp + 0xb8], ecx
push edx
mov edx, dword [esi]
mov ecx, esi
mov dword [esp + 0x74], ebx
mov dword [esp + 0xb8], ebx
mov dword [esp + 0xc0], ebx
mov dword [esp + 0xc4], ebx
mov dword [esp + 0x50], eax
call dword [edx + 0x64]
mov ecx, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x54]
push ebx
call dword [eax + 4]
push ebx
lea ecx, [edi + 0x28]
call fcn.00410900
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x50]
push ecx
mov ecx, dword [edx*4 + 0x5220e0]
push ecx
push edx
mov ecx, eax
call fcn.004881f0
test eax, eax
lea ecx, [esp + 0x50]
mov byte [esp + 0xcc], 8
je 0x43756e
call fcn.00410730
lea ecx, [esp + 0x38]
mov byte [esp + 0xcc], 3
call fcn.00410730
mov esi, dword [esp + 0x44]
mov eax, dword [esp + 0x18]
inc eax
cmp eax, 7
mov dword [esp + 0x18], eax
jl 0x437220
push ebx
lea ecx, [edi + 0x28]
call fcn.00410900
mov edx, dword [0x522104]
push ebx
lea ecx, [edi + 0x28]
mov dword [eax + 0x10], edx
call fcn.00410900
sub esi, dword [esp + 0xc]
mov dword [eax + 4], ebx
mov dword [eax + 0x14], ebx
push ebx
mov ecx, edi
mov dword [edi + 0x60], esi
call fcn.004376b0
mov dword [edi + 0xc], 0xffffffff
mov dword [edi + 4], 1
mov ecx, dword [esp + 0xc4]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov byte [esp + 0xcc], 3
call fcn.00410730
jmp 0x437546
call fcn.00410730
lea ecx, [esp + 0x38]
mov byte [esp + 0xcc], 3
call fcn.00410730
jmp 0x437546