Function at 0x4feb40
Capabilities:
Access peb ldr_data
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5a68f2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1f8
push ebx
push ebp
push esi
push edi
mov edi, ecx
push 0
push 0x5ff9b0
push 0x5fd238
mov eax, dword [edi + 4]
push 0
push 0x5ff9b0
mov ecx, dword [eax + 0x10]
mov edx, dword [ecx + edi + 4]
lea ecx, [ecx + edi + 4]
call dword [edx + 4]
push eax
call fcn.0053ce5e
add esp, 0x14
mov ebx, eax
lea eax, [esp + 0x80]
mov ecx, edi
push eax
call fcn.004c5c20
fld qword [esp + 0x168]
call fcn.0053e380
fld qword [esp + 0xc8]
mov esi, eax
call fcn.0053e380
mov ecx, dword [ebx + 0x10]
lea edx, [ecx + eax]
sub ecx, eax
mov dword [esp + 0x40], edx
lea edx, [ebx + 0xc]
mov dword [esp + 0x14], edx
mov edx, dword [edx]
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x14]
lea ebp, [edx + eax]
sub edx, eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], eax
mov eax, dword [ebx + 0x10]
mov ecx, dword [ecx]
lea edx, [eax + esi]
lea ebx, [ecx + esi]
sub eax, esi
sub ecx, esi
mov esi, dword [esp + 0x218]
mov dword [esp + 0x5c], edx
mov dword [esp + 0x50], ecx
mov ecx, esi
mov edx, dword [esi]
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], ebx
call dword [edx + 0x1c]
mov ecx, dword [esi + 8]
mov ebp, dword [sym.imp.GDI32.dll_LPtoDP]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x2c]
push 2
push eax
push ecx
call ebp
mov eax, dword [esi + 8]
lea edx, [esp + 0x50]
push 2
push edx
push eax
call ebp
lea ebx, [esp + 0x80]
mov dword [esp + 0x10], 9
mov ecx, dword [esi + 8]
push 1
push ebx
push ecx
call ebp
mov eax, dword [esp + 0x10]
add ebx, 0x28
dec eax
mov dword [esp + 0x10], eax
jne 0x4fec4b
mov eax, dword [0x6186e0]
xor ebx, ebx
cmp eax, 3
je 0x4fee4d
cmp eax, 4
je 0x4fee4d
cmp eax, 5
je 0x4fee4d
push 0x320
call fcn.00570bbc
mov edx, dword [edi]
add esp, 4
mov ebx, eax
lea eax, [esp + 0x60]
push eax
mov ecx, edi
call dword [edx + 0x28]
fld qword [esp + 0x70]
fsub qword [esp + 0x60]
fmul qword [0x5b9930]
call fcn.0053e380
fld qword [esp + 0x60]
mov dword [esp + 0x40], eax
call fcn.0053e380
mov dword [ebx], eax
fld qword [esp + 0x68]
call fcn.0053e380
mov dword [ebx + 4], eax
fld qword [esp + 0x70]
call fcn.0053e380
mov dword [ebx + 0x188], eax
fld qword [esp + 0x68]
call fcn.0053e380
mov dword [ebx + 0x18c], eax
fld qword [esp + 0x70]
call fcn.0053e380
mov dword [ebx + 0x190], eax
fld qword [esp + 0x78]
call fcn.0053e380
mov dword [ebx + 0x194], eax
fld qword [esp + 0x60]
call fcn.0053e380
mov dword [ebx + 0x318], eax
fld qword [esp + 0x78]
call fcn.0053e380
mov dword [ebx + 0x31c], eax
lea eax, [ebx + 0xc]
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], 0x30
jmp 0x4fed3c
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 0xc]
mov edx, dword [esp + 0x40]
add ecx, edx
mov dword [eax - 4], ecx
fld qword [esp + 0x68]
call fcn.0053e380
mov ecx, dword [esp + 0x10]
mov dword [ecx], eax
mov eax, dword [esp + 0x1c]
add ecx, 8
dec eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x1c], eax
jne 0x4fed38
lea eax, [ebx + 0x19c]
mov dword [esp + 0x1c], 0x30
mov dword [esp + 0x10], eax
jmp 0x4fed81
mov eax, dword [esp + 0x10]
mov edx, dword [eax - 0xc]
mov ecx, dword [esp + 0x40]
sub edx, ecx
mov dword [eax - 4], edx
fld qword [esp + 0x78]
call fcn.0053e380
mov ecx, dword [esp + 0x10]
mov dword [ecx], eax
mov eax, dword [esp + 0x1c]
add ecx, 8
dec eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x1c], eax
jne 0x4fed7d
fld qword [esp + 0x78]
fadd qword [0x5af430]
sub esp, 8
fstp qword [esp]
call fcn.0053e2af
add esp, 8
call fcn.0053e380
fld qword [esp + 0x70]
fadd qword [0x5af430]
push eax
sub esp, 8
fstp qword [esp]
call fcn.0053e2af
add esp, 8
call fcn.0053e380
fld qword [esp + 0x6c]
fadd qword [0x5af430]
push eax
sub esp, 8
fstp qword [esp]
call fcn.0053e2af
add esp, 8
call fcn.0053e380
fld qword [esp + 0x68]
fadd qword [0x5af430]
push eax
sub esp, 8
fstp qword [esp]
call fcn.0053e2af
add esp, 8
call fcn.0053e380
push eax
lea ecx, [esp + 0x50]
call fcn.0043ea10
mov eax, dword [esp + 0x14]
push 0x64
push ebx
lea ecx, [esp + 0x48]
push eax
push ecx
call fcn.004c5ef0
mov edx, dword [esi + 8]
add esp, 0x10
push 0x64
push ebx
push edx
call ebp
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 0x34]
mov edx, dword [esi]
push 0
lea eax, [esp + 0x18]
push 0
push eax
mov ecx, esi
call dword [edx + 0x38]
push 0
lea ecx, [esp + 0x18]
push 0
push ecx
mov ecx, esi
call fcn.0057aef5
mov eax, dword [0x6186e0]
cmp eax, 3
je 0x4fee8e
cmp eax, 4
je 0x4fee8e
cmp eax, 5
jne 0x4ff072
mov edx, dword [esi + 4]
mov ebx, dword [sym.imp.GDI32.dll_BeginPath]
push edx
call ebx
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x30]
push ecx
mov ecx, dword [esi + 4]
push edx
push eax
push ecx
call dword [sym.imp.GDI32.dll_Ellipse]
mov edx, dword [esi + 4]
mov ebp, dword [sym.imp.GDI32.dll_EndPath]
push edx
call ebp
xor eax, eax
mov dword [esp + 0x14], vtable.CRgn.0
mov dword [esp + 0x18], eax
mov dword [esp + 0x210], eax
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.GDI32.dll_PathToRegion]
push eax
lea ecx, [esp + 0x18]
call fcn.0057bc57
mov ecx, dword [esi + 4]
push ecx
call ebx
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x54]
push edx
mov edx, dword [esp + 0x54]
push eax
mov eax, dword [esi + 4]
push ecx
push edx
push eax
call dword [sym.imp.GDI32.dll_Ellipse]
mov ecx, dword [esi + 4]
push ecx
call ebp
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], vtable.CRgn.0
mov edx, dword [esi + 4]
mov byte [esp + 0x210], 1
push edx
call dword [sym.imp.GDI32.dll_PathToRegion]
push eax
lea ecx, [esp + 0x20]
call fcn.0057bc57
mov eax, dword [esi + 4]
push eax
call ebx
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x80]
mov eax, dword [esp + 0xd4]
push ecx
mov ecx, dword [esp + 0xd4]
push edx
mov edx, dword [esp + 0x40]
push eax
mov eax, dword [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x40]
push edx
mov edx, dword [esp + 0x40]
push eax
mov eax, dword [esi + 4]
push ecx
push edx
push eax
call dword [sym.imp.GDI32.dll_Pie]
mov ecx, dword [esi + 4]
push ecx
call ebp
mov dword [esp + 0x44], 0
mov dword [esp + 0x40], vtable.CRgn.0
mov edx, dword [esi + 4]
mov byte [esp + 0x210], 2
push edx
call dword [sym.imp.GDI32.dll_PathToRegion]
push eax
lea ecx, [esp + 0x44]
call fcn.0057bc57
mov ecx, dword [esp + 0x44]
lea eax, [esp + 0x40]
neg eax
mov edx, dword [esp + 0x18]
mov ebx, dword [sym.imp.GDI32.dll_CombineRgn]
sbb eax, eax
push 1
and eax, ecx
lea ecx, [esp + 0x18]
neg ecx
sbb ecx, ecx
push eax
and ecx, edx
push ecx
push edx
call ebx
mov ebp, dword [esp + 0x20]
lea eax, [esp + 0x1c]
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x14]
neg eax
sbb eax, eax
push 4
and eax, ebp
neg ecx
sbb ecx, ecx
push eax
and ecx, edx
push ecx
push edx
call ebx
mov ebx, dword [esp + 0x18]
lea eax, [esp + 0x14]
neg eax
sbb eax, eax
and eax, ebx
push eax
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.GDI32.dll_PaintRgn]
mov ebx, vtable.CGdiObject.0
mov dword [esp + 0x40], ebx
lea ecx, [esp + 0x40]
mov byte [esp + 0x210], 3
call fcn.0057bcae
mov dword [esp + 0x1c], ebx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x210], 4
call fcn.0057bcae
mov dword [esp + 0x14], ebx
lea ecx, [esp + 0x14]
mov dword [esp + 0x210], 5
call fcn.0057bcae
mov dword [esp + 0x210], 0xffffffff
jmp 0x4ff0aa
test ebx, ebx
je 0x4ff0aa
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.GDI32.dll_BeginPath]
mov edx, dword [esi + 4]
push 0x64
push ebx
push edx
call dword [sym.imp.GDI32.dll_Polyline]
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.GDI32.dll_EndPath]
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.GDI32.dll_FillPath]
push ebx
call fcn.00570be5
add esp, 4
mov edx, dword [esp + 0x84]
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0xd4]
push edx
mov edx, dword [esp + 0xd4]
mov ebx, dword [sym.imp.GDI32.dll_Arc]
push eax
mov eax, dword [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x40]
push edx
mov edx, dword [esp + 0x40]
push eax
mov eax, dword [esp + 0x40]
push ecx
mov ecx, dword [esi + 4]
push edx
push eax
push ecx
call ebx
mov edx, dword [esp + 0x174]
mov eax, dword [esp + 0x170]
mov ecx, dword [esp + 0x124]
push edx
mov edx, dword [esp + 0x124]
push eax
mov eax, dword [esp + 0x64]
push ecx
mov ecx, dword [esp + 0x64]
push edx
mov edx, dword [esp + 0x64]
push eax
mov eax, dword [esp + 0x64]
push ecx
mov ecx, dword [esi + 4]
push edx
push eax
push ecx
call ebx
mov edx, dword [esp + 0xd4]
mov eax, dword [esp + 0xd0]
push edx
lea ecx, [esp + 0x18]
push eax
push ecx
mov ecx, esi
call fcn.0057b1f5
mov edx, dword [esp + 0x124]
mov eax, dword [esp + 0x120]
push edx
push eax
mov ecx, esi
call fcn.0057b241
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x80]
push ecx
lea eax, [esp + 0x18]
push edx
push eax
mov ecx, esi
call fcn.0057b1f5
mov ecx, dword [esp + 0x174]
mov edx, dword [esp + 0x170]
push ecx
push edx
mov ecx, esi
call fcn.0057b241
mov ecx, dword [esp + 0x3c]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x20]
mov edx, dword [edi]
lea eax, [esp + 0x1e8]
push eax
mov ecx, edi
call dword [edx + 0x28]
mov ebx, eax
sub esp, 8
fld qword [ebx + 0x18]
fadd qword [0x5af430]
fstp qword [esp]
call fcn.0053e2af
call fcn.0053e380
fld qword [ebx + 0x10]
fadd qword [0x5af430]
mov ebp, eax
fstp qword [esp]
call fcn.0053e2af
call fcn.0053e380
fld qword [ebx + 8]
fadd qword [0x5af430]
mov dword [esp + 0x1c], eax
fstp qword [esp]
call fcn.0053e2af
call fcn.0053e380
fld qword [ebx]
fadd qword [0x5af430]
mov dword [esp + 0x44], eax
fstp qword [esp]
call fcn.0053e2af
add esp, 8
call fcn.0053e380
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x20], ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], eax
mov eax, dword [edi]
push ecx
push esi
mov ecx, edi
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], ebp
call dword [eax + 0x3c]
mov ecx, dword [esp + 0x208]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x204
ret 4