Function at 0x4fd6e0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x565791
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x208
mov eax, dword [ebx + 4]
mov ecx, dword [eax + 0x10]
mov edx, dword [ecx + ebx + 4]
push ebp
mov ebp, dword [esp + 0x21c]
push esi
push edi
push 0
push 0x5c8214
push 0x5c61c0
lea ecx, [ecx + ebx + 4]
push 0
push 0x5c8214
call dword [edx + 8]
push eax
call sub.MSVCR71.dll___RTDynamicCast
mov edi, eax
add esp, 0x14
lea eax, [esp + 0x84]
mov ecx, ebx
mov dword [esp + 0x30], edi
call fcn.004c5390
fld qword [esp + 0x16c]
call fcn.00549400
fld qword [esp + 0xcc]
mov esi, eax
call fcn.00549400
mov ecx, dword [edi + 0x14]
lea edx, [ecx + eax]
sub ecx, eax
mov dword [esp + 0xc], edx
mov edx, dword [edi + 0x10]
add edi, 0x10
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x18], edi
lea edi, [edx + eax]
sub edx, eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x20], edx
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], eax
mov eax, dword [ecx + 0x14]
mov ecx, dword [esp + 0x18]
mov ecx, dword [ecx]
lea edi, [ecx + esi]
lea edx, [eax + esi]
sub ecx, esi
sub eax, esi
mov dword [esp + 0x40], ecx
mov dword [esp + 0x4c], edx
mov edx, dword [ebp]
mov ecx, ebp
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], edi
call dword [edx + 0x24]
mov ecx, dword [ebp + 8]
mov esi, dword [sym.imp.GDI32.dll_LPtoDP]
mov dword [esp + 0x50], eax
push 2
lea eax, [esp + 0x24]
push eax
push ecx
call esi
mov eax, dword [ebp + 8]
push 2
lea edx, [esp + 0x44]
push edx
push eax
call esi
lea edi, [esp + 0x84]
mov dword [esp + 0x14], 9
mov ecx, dword [ebp + 8]
push 1
push edi
push ecx
call esi
mov eax, dword [esp + 0x14]
add edi, 0x28
dec eax
mov dword [esp + 0x14], eax
jne 0x4fd7f1
mov eax, dword [0x68c8bc]
xor esi, esi
cmp eax, 3
je 0x4fd95e
cmp eax, 4
je 0x4fd95e
cmp eax, 5
je 0x4fd95e
push 0x320
call sub.MFC71.DLL_operator_new
mov edx, dword [ebx]
mov esi, eax
add esp, 4
lea eax, [esp + 0x54]
push eax
mov ecx, ebx
mov dword [esp + 0x10], esi
call dword [edx + 0x28]
fld qword [esp + 0x64]
fsub qword [esp + 0x54]
fmul qword [0x594f08]
call fcn.00549400
fld qword [esp + 0x54]
mov dword [esp + 0x30], eax
call fcn.00549400
mov dword [esi], eax
fld qword [esp + 0x5c]
call fcn.00549400
mov dword [esi + 4], eax
fld qword [esp + 0x64]
call fcn.00549400
mov dword [esi + 0x188], eax
fld qword [esp + 0x5c]
call fcn.00549400
mov dword [esi + 0x18c], eax
fld qword [esp + 0x64]
call fcn.00549400
mov dword [esi + 0x190], eax
fld qword [esp + 0x6c]
call fcn.00549400
mov dword [esi + 0x194], eax
fld qword [esp + 0x54]
call fcn.00549400
mov dword [esi + 0x318], eax
fld qword [esp + 0x6c]
call fcn.00549400
mov dword [esi + 0x31c], eax
lea edi, [esi + 0xc]
mov dword [esp + 0x14], 0x30
lea esp, [esp]
mov edx, dword [esp + 0x30]
mov ecx, dword [edi - 0xc]
add ecx, edx
mov dword [edi - 4], ecx
fld qword [esp + 0x5c]
call fcn.00549400
mov dword [edi], eax
mov eax, dword [esp + 0x14]
add edi, 8
dec eax
mov dword [esp + 0x14], eax
jne 0x4fd8e0
add esi, 0x19c
mov edi, 0x30
mov eax, dword [esp + 0x30]
mov edx, dword [esi - 0xc]
sub edx, eax
mov dword [esi - 4], edx
fld qword [esp + 0x6c]
call fcn.00549400
mov dword [esi], eax
add esi, 8
dec edi
jne 0x4fd910
lea esi, [esp + 0x30]
lea edi, [esp + 0x54]
call fcn.004368c0
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0xc]
push 0x64
push eax
mov eax, esi
call fcn.004c55f0
mov ecx, dword [ebp + 8]
add esp, 8
push 0x64
push edi
push ecx
call dword [sym.imp.GDI32.dll_LPtoDP]
mov esi, edi
mov edx, dword [ebp]
push 1
mov ecx, ebp
call dword [edx + 0x3c]
mov edx, dword [ebp]
xor ecx, ecx
push ecx
xor eax, eax
push eax
lea eax, [esp + 0x14]
push eax
mov ecx, ebp
call dword [edx + 0x40]
xor ecx, ecx
push ecx
xor eax, eax
push eax
lea ecx, [esp + 0x14]
push ecx
mov ecx, ebp
call sub.MFC71.DLL_CDC::SetWindowOrg
mov eax, dword [0x68c8bc]
cmp eax, 3
je 0x4fd9a5
cmp eax, 4
je 0x4fd9a5
cmp eax, 5
jne 0x4fdb4c
mov edx, dword [ebp + 4]
mov esi, dword [sym.imp.GDI32.dll_BeginPath]
push edx
call esi
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x24]
push ecx
mov ecx, dword [ebp + 4]
push edx
push eax
push ecx
call dword [sym.imp.GDI32.dll_Ellipse]
mov edx, dword [ebp + 4]
mov edi, dword [sym.imp.GDI32.dll_EndPath]
push edx
call edi
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], vtable.CRgn.0
mov dword [esp + 0x21c], eax
mov eax, dword [ebp + 4]
push eax
call dword [sym.imp.GDI32.dll_PathToRegion]
push eax
lea ecx, [esp + 0x10]
call sub.MFC71.DLL_CGdiObject::Attach
mov ecx, dword [ebp + 4]
push ecx
call esi
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
push edx
mov edx, dword [esp + 0x44]
push eax
mov eax, dword [ebp + 4]
push ecx
push edx
push eax
call dword [sym.imp.GDI32.dll_Ellipse]
mov ecx, dword [ebp + 4]
push ecx
call edi
mov dword [esp + 0x34], 0
mov dword [esp + 0x30], vtable.CRgn.0
mov byte [esp + 0x21c], 1
mov edx, dword [ebp + 4]
push edx
call dword [sym.imp.GDI32.dll_PathToRegion]
push eax
lea ecx, [esp + 0x34]
call sub.MFC71.DLL_CGdiObject::Attach
mov eax, dword [ebp + 4]
push eax
call esi
mov ecx, dword [esp + 0x88]
mov eax, dword [esp + 0x84]
mov esi, dword [esp + 0xd8]
mov edx, dword [esp + 0xd4]
push ecx
mov ecx, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x2c]
push esi
push edx
mov edx, dword [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x34]
push edx
mov edx, dword [ebp + 4]
push eax
push ecx
push edx
call dword [sym.imp.GDI32.dll_Pie]
mov eax, dword [ebp + 4]
push eax
call edi
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], vtable.CRgn.0
mov byte [esp + 0x21c], 2
mov ecx, dword [ebp + 4]
push ecx
call dword [sym.imp.GDI32.dll_PathToRegion]
push eax
lea ecx, [esp + 0x1c]
call sub.MFC71.DLL_CGdiObject::Attach
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
mov esi, dword [sym.imp.GDI32.dll_CombineRgn]
push 1
push edx
push eax
push eax
call esi
mov eax, dword [esp + 0x34]
push 4
push eax
mov eax, dword [esp + 0x18]
push eax
push eax
call esi
mov ecx, dword [esp + 0x10]
mov edx, dword [ebp + 4]
push ecx
push edx
call dword [sym.imp.GDI32.dll_PaintRgn]
mov byte [esp + 0x21c], 1
mov esi, vtable.CGdiObject.0
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], esi
call sub.MFC71.DLL_CGdiObject::DeleteObject
mov byte [esp + 0x21c], 0
lea ecx, [esp + 0x30]
mov dword [esp + 0x30], esi
call sub.MFC71.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x21c], 0xffffffff
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], esi
call sub.MFC71.DLL_CGdiObject::DeleteObject
jmp 0x4fdb84
test esi, esi
je 0x4fdb84
mov eax, dword [ebp + 4]
push eax
call dword [sym.imp.GDI32.dll_BeginPath]
mov ecx, dword [ebp + 4]
push 0x64
push esi
push ecx
call dword [sym.imp.GDI32.dll_Polyline]
mov edx, dword [ebp + 4]
push edx
call dword [sym.imp.GDI32.dll_EndPath]
mov eax, dword [ebp + 4]
push eax
call dword [sym.imp.GDI32.dll_FillPath]
push esi
call sub.MFC71.DLL_operator_delete
add esp, 4
mov ecx, dword [esp + 0x88]
mov eax, dword [esp + 0x84]
mov esi, dword [esp + 0xd8]
mov edx, dword [esp + 0xd4]
push ecx
mov ecx, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x2c]
push esi
mov esi, dword [sym.imp.GDI32.dll_Arc]
push edx
mov edx, dword [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x34]
push edx
mov edx, dword [ebp + 4]
push eax
push ecx
push edx
call esi
mov ecx, dword [esp + 0x128]
mov eax, dword [esp + 0x124]
mov edi, dword [esp + 0x178]
mov edx, dword [esp + 0x174]
push ecx
mov ecx, dword [esp + 0x4c]
push eax
mov eax, dword [esp + 0x54]
push edi
push edx
mov edx, dword [esp + 0x54]
push eax
mov eax, dword [esp + 0x54]
push ecx
mov ecx, dword [ebp + 4]
push edx
push eax
push ecx
call esi
mov ecx, dword [esp + 0xd8]
mov eax, dword [esp + 0xd4]
push ecx
push eax
lea edx, [esp + 0x14]
push edx
mov ecx, ebp
call sub.MFC71.DLL_CDC::MoveTo
mov ecx, dword [esp + 0x178]
mov eax, dword [esp + 0x174]
push ecx
push eax
mov ecx, ebp
call sub.MFC71.DLL_CDC::LineTo
mov ecx, dword [esp + 0x88]
mov eax, dword [esp + 0x84]
push ecx
push eax
lea eax, [esp + 0x14]
push eax
mov ecx, ebp
call sub.MFC71.DLL_CDC::MoveTo
mov ecx, dword [esp + 0x128]
mov eax, dword [esp + 0x124]
push ecx
push eax
mov ecx, ebp
call sub.MFC71.DLL_CDC::LineTo
mov eax, dword [esp + 0x50]
mov edx, dword [ebp]
push eax
mov ecx, ebp
call dword [edx + 0x28]
mov edx, dword [ebx]
lea eax, [esp + 0x1ec]
push eax
mov ecx, ebx
call dword [edx + 0x28]
lea esi, [esp + 0x74]
mov edi, eax
call fcn.004368c0
mov edx, dword [ebx]
mov eax, esi
push eax
push ebp
mov ecx, ebx
call dword [edx + 0x3c]
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebp
add esp, 0x214
ret 4