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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x5f24e3
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
push ebx
push esi
push edi
mov eax, dword [0x615cbc]
xor eax, esp
push eax
lea eax, [esp + 0xf8]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x30], esi
xor edi, edi
cmp byte [ebp + 0xc], 0
jne 0x4dccbe
push 0xa0
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0x100], edi
cmp eax, edi
je 0x4dcc0c
push esi
mov ecx, eax
call fcn.004d9380
mov esi, eax
jmp 0x4dcc0e
xor esi, esi
or ebx, 0xffffffff
push 0xa0
mov dword [esp + 0x104], ebx
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0x100], 1
cmp eax, edi
je 0x4dcc45
mov ecx, dword [ebp + 8]
push ecx
mov ecx, eax
call fcn.004d9380
mov edi, eax
mov dword [esp + 0x100], ebx
mov ebx, edi
test esi, esi
je 0x4dcc6e
test edi, edi
je 0x4dcc62
cmp byte [esi + 4], 0
je 0x4dcc62
cmp byte [edi + 4], 0
jne 0x4dcc7e
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
xor esi, esi
test edi, edi
je 0x4dcc7e
mov edx, dword [edi]
mov eax, dword [edx]
push 1
mov ecx, edi
call eax
xor ebx, ebx
test esi, esi
je 0x4dccbe
test ebx, ebx
je 0x4dccbe
mov edx, dword [esi]
mov eax, dword [edx + 0x3c]
push ebx
mov ecx, esi
call eax
mov edx, dword [esi]
mov edi, eax
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
mov edx, dword [ebx]
mov eax, dword [edx]
push 1
mov ecx, ebx
call eax
test edi, edi
je 0x4dccbe
cmp byte [edi + 4], 0
jne 0x4dcddf
mov edx, dword [edi]
mov eax, dword [edx]
push 1
mov ecx, edi
call eax
xor esi, esi
mov edi, 0xa
push 0x32
lea ecx, [esp + 0x28]
mov dword [esp + 0x30], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], edi
call fcn.00412b00
push 0x32
lea ecx, [esp + 0x5c]
mov dword [esp + 0x104], 2
mov dword [esp + 0x64], esi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], edi
call fcn.00412880
mov esi, dword [esp + 0x30]
fld qword [esi + 0x18]
sub esp, 0x18
fld qword [esi + 0x10]
lea ecx, [esp + 0x70]
fld qword [ebp + 0x10]
lea edx, [esp + 0x3c]
fstp qword [esp + 0x10]
mov byte [esp + 0x118], 3
fxch st(1)
fstp qword [esp + 8]
fstp qword [esp]
push ecx
push edx
mov ecx, esi
call fcn.004dc0a0
mov ecx, esi
mov edi, eax
call fcn.004d9670
mov esi, eax
cmp edi, esi
jge 0x4dce21
push esi
lea ecx, [esp + 0x28]
mov edi, esi
call fcn.00412b00
mov eax, dword [esp + 0x30]
movsd xmm1, qword [eax + 0x10]
movsd xmm0, qword [eax + 0x18]
subsd xmm0, xmm1
lea eax, [esi - 1]
movsd qword [esp + 0x1c], xmm1
cvtsi2sd xmm1, eax
divsd xmm0, xmm1
movsd qword [esp + 0x44], xmm0
mov dword [esp + 0x18], 0
test esi, esi
jle 0x4dce21
mov dword [esp + 0x14], 0
mov ecx, dword [esp + 0x24]
fld qword [esp + 0x1c]
mov edx, dword [esp + 0x14]
lea ebx, [edx + ecx]
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx]
mov eax, dword [eax + 0x4c]
sub esp, 8
lea edx, [esp + 0x6c]
fstp qword [esp]
push edx
call eax
movq xmm0, qword [eax]
movq qword [ebx], xmm0
movq xmm0, qword [eax + 8]
lea eax, [esi - 2]
movq qword [ebx + 8], xmm0
cmp dword [esp + 0x18], eax
jne 0x4dcdf9
mov ecx, dword [esp + 0x30]
movsd xmm0, qword [ecx + 0x18]
jmp 0x4dce05
mov eax, edi
mov ecx, dword [esp + 0xf8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
movsd xmm0, qword [esp + 0x44]
addsd xmm0, qword [esp + 0x1c]
mov eax, dword [esp + 0x18]
add dword [esp + 0x14], 0x10
inc eax
cmp eax, esi
movsd qword [esp + 0x1c], xmm0
mov dword [esp + 0x18], eax
jl 0x4dcd94
xor eax, eax
push 0x32
lea ecx, [esp + 0x50]
mov dword [esp + 0x58], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], 0xa
call fcn.00412b00
mov ebx, dword [ebp + 8]
fld qword [ebx + 0x18]
sub esp, 0x18
fld qword [ebx + 0x10]
lea edx, [esp + 0x70]
fld qword [ebp + 0x10]
lea eax, [esp + 0x64]
fstp qword [esp + 0x10]
mov ecx, ebx
fxch st(1)
mov byte [esp + 0x118], 4
fstp qword [esp + 8]
fstp qword [esp]
push edx
push eax
call fcn.004dc0a0
mov ecx, ebx
mov dword [esp + 0x18], eax
call fcn.004d9670
mov esi, eax
cmp dword [esp + 0x18], esi
jge 0x4dcf33
push esi
lea ecx, [esp + 0x50]
mov dword [esp + 0x1c], esi
call fcn.00412b00
movsd xmm1, qword [ebx + 0x10]
movsd xmm0, qword [ebx + 0x18]
subsd xmm0, xmm1
lea ecx, [esi - 1]
movsd qword [esp + 0x1c], xmm1
cvtsi2sd xmm1, ecx
divsd xmm0, xmm1
movsd qword [esp + 0x34], xmm0
mov dword [esp + 0x14], 0
test esi, esi
jle 0x4dcf33
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x44], edx
fld qword [esp + 0x1c]
mov eax, dword [ebx]
mov edx, dword [eax + 0x4c]
sub esp, 8
lea ecx, [esp + 0x6c]
fstp qword [esp]
push ecx
mov ecx, ebx
call edx
movq xmm0, qword [eax]
mov ecx, dword [esp + 0x44]
movq qword [ecx], xmm0
movq xmm0, qword [eax + 8]
lea eax, [esi - 2]
movq qword [ecx + 8], xmm0
cmp dword [esp + 0x14], eax
jne 0x4dcf0f
movsd xmm0, qword [ebx + 0x18]
jmp 0x4dcf1b
movsd xmm0, qword [esp + 0x34]
addsd xmm0, qword [esp + 0x1c]
mov eax, dword [esp + 0x14]
add dword [esp + 0x44], 0x10
inc eax
cmp eax, esi
movsd qword [esp + 0x1c], xmm0
mov dword [esp + 0x14], eax
jl 0x4dced1
mov ecx, dword [esp + 0x30]
fld qword [ecx + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x50]
mov esi, dword [esp + 0x4c]
sub esp, 8
lea edx, [esp + 0x9c]
fstp qword [esp]
push edx
mov byte [esp + 0x1f], 1
call eax
lea ecx, [esp + 0x94]
call fcn.004a7bc0
fld qword [0x5ff758]
fcompi st(1)
fstp st(0)
jbe 0x4dcf75
mov byte [esp + 0x13], 0
fld qword [ebx + 0x18]
mov edx, dword [ebx]
mov edx, dword [edx + 0x50]
sub esp, 8
lea eax, [esp + 0x8c]
fstp qword [esp]
push eax
mov ecx, ebx
call edx
lea ecx, [esp + 0x84]
call fcn.004a7bc0
fld qword [0x5ff758]
fcompi st(1)
fstp st(0)
jbe 0x4dcfac
mov byte [esp + 0x13], 0
mov ebx, dword [esp + 0x18]
lea eax, [ebx + edi]
cmp eax, 5
jl 0x4dcfbd
cmp eax, 0x64
jle 0x4dcfc2
mov byte [esp + 0x13], 0
xorps xmm0, xmm0
cmp edi, 2
jne 0x4dd01b
mov eax, dword [esp + 0x24]
movsd qword [esp + 0x3c], xmm0
movsd qword [esp + 0x34], xmm0
movsd xmm0, qword [eax + 0x10]
subsd xmm0, qword [eax]
movsd qword [esp + 0x34], xmm0
movsd xmm0, qword [eax + 0x18]
subsd xmm0, qword [eax + 8]
lea ecx, [esp + 0x34]
movsd qword [esp + 0x3c], xmm0
call fcn.004a7500
fld qword [0x5fb9d0]
xorps xmm0, xmm0
fcompi st(1)
fstp st(0)
jbe 0x4dd01b
mov edi, 1
mov byte [esp + 0x13], 0
cmp ebx, 2
jne 0x4dd065
movsd qword [esp + 0x3c], xmm0
movsd qword [esp + 0x34], xmm0
movsd xmm0, qword [esi + 0x10]
subsd xmm0, qword [esi]
movsd qword [esp + 0x34], xmm0
movsd xmm0, qword [esi + 0x18]
subsd xmm0, qword [esi + 8]
lea ecx, [esp + 0x34]
movsd qword [esp + 0x3c], xmm0
call fcn.004a7500
fld qword [0x5fb9d0]
fcompi st(1)
fstp st(0)
jbe 0x4dd065
mov byte [esp + 0x13], 0
mov cl, byte [esp + 0x13]
movzx eax, cl
neg eax
sbb eax, eax
lea edx, [esp + 0x94]
and eax, edx
mov dword [esp + 0x1c], eax
movzx eax, cl
neg eax
sbb eax, eax
lea ecx, [esp + 0x84]
and eax, ecx
lea edx, [ebx + edi + 1]
push edx
lea ecx, [esp + 0x28]
mov dword [esp + 0x18], eax
call fcn.00412b00
cmp byte [esp + 0x13], 0
je 0x4dd0d4
mov edx, edi
test edi, edi
jle 0x4dd0d3
mov ecx, edi
shl ecx, 4
mov eax, dword [esp + 0x24]
movq xmm0, qword [eax + ecx - 0x10]
add eax, ecx
movq qword [eax], xmm0
movq xmm0, qword [eax - 8]
dec edx
sub ecx, 0x10
movq qword [eax + 8], xmm0
test edx, edx
jg 0x4dd0b1
inc edi
mov ecx, dword [esp + 0x24]
movsd xmm1, qword [esi]
movsd xmm2, qword [esi + 8]
mov eax, edi
shl eax, 4
cmp ebx, 1
subsd xmm1, qword [eax + ecx - 0x10]
subsd xmm2, qword [eax + ecx - 8]
movsd qword [esp + 0x64], xmm1
movsd qword [esp + 0x6c], xmm2
jle 0x4dd1b0
mov ebx, dword [esp + 0x4c]
mov edx, dword [esp + 0x18]
add ebx, 0x10
dec edx
mov esi, eax
mov dword [esp + 0x44], edx
jmp 0x4dd12c
movsd xmm1, qword [esp + 0x64]
movsd xmm2, qword [esp + 0x6c]
movsd xmm0, qword [ebx]
subsd xmm0, xmm1
movsd xmm1, qword [ebx + 8]
lea eax, [esi + ecx]
subsd xmm1, xmm2
movq qword [eax], xmm0
movq qword [eax + 8], xmm1
test edi, edi
je 0x4dd19a
mov eax, dword [esp + 0x24]
xorps xmm0, xmm0
movsd qword [esp + 0x3c], xmm0
movsd qword [esp + 0x34], xmm0
movsd xmm0, qword [esi + eax]
subsd xmm0, qword [esi + eax - 0x10]
movsd qword [esp + 0x34], xmm0
movsd xmm0, qword [esi + eax + 8]
subsd xmm0, qword [esi + eax - 8]
lea ecx, [esp + 0x34]
movsd qword [esp + 0x3c], xmm0
call fcn.004a7500
fld qword [0x5ff758]
fxch st(1)
fcompi st(1)
fstp st(0)
jbe 0x4dd19e
inc edi
add esi, 0x10
mov ecx, dword [esp + 0x24]
add ebx, 0x10
sub dword [esp + 0x44], 1
jne 0x4dd120
mov bl, byte [esp + 0x13]
test bl, bl
je 0x4dd1d8
mov eax, edi
shl eax, 4
movq xmm0, qword [eax + ecx - 0x10]
add eax, ecx
movq qword [eax], xmm0
movq xmm0, qword [eax - 8]
movq qword [eax + 8], xmm0
mov ecx, dword [esp + 0x24]
inc edi
cmp edi, 0x64
jge 0x4dd384
cmp edi, 2
jne 0x4dd26c
push ecx
lea ecx, [esp + 0xa8]
call fcn.004ae170
mov eax, dword [esp + 0x24]
add eax, 0x10
push eax
lea ecx, [esp + 0x68]
mov byte [esp + 0x104], 5
call fcn.004ae170
push 0x88
mov byte [esp + 0x104], 6
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x1c], eax
mov byte [esp + 0x100], 7
test eax, eax
je 0x4dd24b
lea ecx, [esp + 0x64]
push ecx
lea edx, [esp + 0xa8]
push edx
mov ecx, eax
call fcn.004ac780
jmp 0x4dd24d
xor eax, eax
mov esi, eax
mov eax, vtable.CGeom2d_Abs.0
mov dword [esp + 0x64], eax
mov byte [esp + 0x100], 4
mov dword [esp + 0xa4], eax
jmp 0x4dd3f8
push 0xa0
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x44], eax
mov byte [esp + 0x100], 8
test eax, eax
je 0x4dd2a6
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
push 0
push ecx
push edx
lea ecx, [esp + 0x30]
push ecx
push 3
push edi
mov ecx, eax
call fcn.004d1520
jmp 0x4dd2a8
xor eax, eax
mov byte [esp + 0x100], 4
mov esi, eax
test eax, eax
je 0x4dd428
cmp byte [eax + 4], 0
jne 0x4dd3f8
test bl, bl
je 0x4dd3f8
lea ebx, [edi - 2]
cmp ebx, 1
jle 0x4dd302
mov esi, 0x10
lea ecx, [ebx - 1]
lea esp, [esp]
mov edx, dword [esp + 0x24]
movq xmm0, qword [edx + esi + 0x10]
add edx, esi
movq qword [edx], xmm0
movq xmm0, qword [edx + 0x18]
add esi, 0x10
sub ecx, 1
movq qword [edx + 8], xmm0
jne 0x4dd2e0
mov esi, dword [esp + 0x24]
mov ecx, edi
shl ecx, 4
movq xmm0, qword [ecx + esi - 0x10]
lea ecx, [ecx + esi - 0x10]
lea edx, [edi - 3]
shl edx, 4
add edx, esi
movq qword [edx], xmm0
movq xmm0, qword [ecx + 8]
movq qword [edx + 8], xmm0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx]
push 1
call eax
push 0xa0
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x1c], eax
mov byte [esp + 0x100], 9
test eax, eax
je 0x4dd376
push 0
push 0
push 0
lea ecx, [esp + 0x30]
push ecx
push 3
push ebx
mov ecx, eax
call fcn.004d1520
mov byte [esp + 0x100], 4
mov esi, eax
jmp 0x4dd3f8
xor eax, eax
mov byte [esp + 0x100], 4
mov esi, eax
jmp 0x4dd3f8
xor ebx, ebx
mov dword [esp + 0x38], 1
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x34], ebx
push 0xa0
mov byte [esp + 0x104], 0xa
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x1c], eax
mov byte [esp + 0x100], 0xb
cmp eax, ebx
je 0x4dd3d2
lea edx, [esp + 0x34]
push edx
lea ecx, [esp + 0x28]
push ecx
push ebx
push 3
push edi
mov ecx, eax
call fcn.004d1260
jmp 0x4dd3d4
xor eax, eax
mov esi, eax
mov eax, dword [esp + 0x34]
mov byte [esp + 0x100], 4
cmp eax, ebx
je 0x4dd3f0
push eax
call dword [sym.imp.MSVCR90.dll_free]
add esp, 4
mov dword [esp + 0x34], ebx
mov dword [esp + 0x3c], ebx
test esi, esi
je 0x4dd428
cmp byte [esi + 4], 0
jne 0x4dd410
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
xor esi, esi
jmp 0x4dd428
mov eax, dword [esp + 0x30]
movq xmm0, qword [eax + 0x30]
movq xmm1, qword [eax + 0x38]
movq qword [esi + 0x30], xmm0
movq qword [esi + 0x38], xmm1
mov ecx, dword [esp + 0x4c]
mov edi, dword [sym.imp.MSVCR90.dll_free]
push ecx
call edi
mov eax, dword [esp + 0x5c]
add esp, 4
test eax, eax
je 0x4dd446
push eax
call edi
add esp, 4
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4dd454
push eax
call edi
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0xf8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10