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

Disassembly:
push 0xffffffffffffffff
push 0x5847f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x70
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0xb4]
lea edi, [esi + 0xb4]
lea ecx, [esi + 0x19c]
mov dword [esp + 0xc], edi
push ecx
mov ecx, edi
call dword [eax + 0x30]
mov dword [esp + 0x2c], eax
lea eax, [esi + 0xc4]
xor ebp, ebp
cmp eax, ebp
jne 0x4becad
xor eax, eax
jmp 0x4becb0
mov eax, dword [eax + 4]
mov edx, dword [esi + 0xb8]
push eax
push edx
call sub.MFC42.DLL_CDC::SelectGdiObject
mov ecx, dword [esi + 0x80]
mov dword [esp + 0x28], eax
cmp ecx, ebp
mov dword [esp + 0x10], ebp
jle 0x4bef3f
push ebx
lea ebx, [esi + 0xa4]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x20]
push eax
push ecx
mov ecx, ebx
call fcn.004c1660
mov eax, dword [esi + 0xa8]
mov ecx, dword [esp + 0x20]
cmp ecx, eax
jne 0x4bef23
mov eax, dword [esi + 0x7c]
xor edi, edi
cmp eax, ebp
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], ebp
jle 0x4beee2
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CString::CString_5
push 0x5e34fc
lea ecx, [esp + 0x3c]
mov dword [esp + 0x8c], ebp
mov dword [esp + 0x38], 0x64
call sub.MFC42.DLL_CString::operator_2
lea edx, [esp + 0x18]
lea eax, [esp + 0x24]
push edx
push eax
lea ecx, [esi + 0x84]
mov dword [esp + 0x90], 1
call fcn.004c0880
mov eax, dword [esi + 0x88]
mov ecx, dword [esp + 0x24]
cmp ecx, eax
je 0x4bed7a
mov edx, dword [ecx + 0x10]
add ecx, 0x14
push ecx
lea ecx, [esp + 0x3c]
mov dword [esp + 0x38], edx
call fcn.00572d3c
lea ecx, [esp + 0x6c]
call sub.MFC42.DLL_CString::CString_5
push 0x5e34fc
lea ecx, [esp + 0x70]
mov byte [esp + 0x8c], 2
call sub.MFC42.DLL_CString::operator_2
mov dword [esp + 0x70], 0xffffff
mov dword [esp + 0x74], ebp
mov dword [esp + 0x78], ebp
mov dword [esp + 0x7c], ebp
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x3c], eax
lea edx, [esp + 0x3c]
lea eax, [esp + 0x28]
mov dword [esp + 0x40], ecx
push edx
push eax
lea ecx, [esi + 0x94]
mov byte [esp + 0x90], 3
call fcn.004c0f60
mov eax, dword [esi + 0x98]
mov ecx, dword [esp + 0x28]
cmp ecx, eax
je 0x4bee11
lea edi, [ecx + 0x14]
lea ecx, [esp + 0x6c]
push edi
call fcn.00572d3c
mov ecx, dword [edi + 4]
mov dword [esp + 0x70], ecx
mov edx, dword [edi + 8]
mov dword [esp + 0x74], edx
mov eax, dword [edi + 0xc]
mov dword [esp + 0x78], eax
mov ecx, dword [edi + 0x10]
mov dword [esp + 0x7c], ecx
mov edx, dword [esp + 0x34]
push 0xfffffffffffffffe
lea eax, [esp + 0x60]
push 0xfffffffffffffffe
push eax
mov dword [esp + 0x68], ebp
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], ebp
call dword [sym.imp.USER32.dll_InflateRect]
mov eax, dword [esi + 0x70]
mov edi, dword [esp + 0x64]
cmp eax, ebp
jne 0x4bee53
mov eax, dword [esp + 0x6c]
mov edx, dword [esp + 0x10]
push 0xc10
mov ecx, dword [eax - 8]
mov edx, dword [edx]
jmp 0x4bee71
mov edx, dword [esp + 0x10]
cmp eax, 2
mov eax, dword [esp + 0x6c]
mov edx, dword [edx]
mov ecx, dword [eax - 8]
jne 0x4bee6c
push 0xc12
jmp 0x4bee71
push 0xc11
lea ebx, [esp + 0x60]
push ebx
push ecx
mov ecx, dword [esp + 0x1c]
push eax
call dword [edx + 0x70]
push 2
lea eax, [esp + 0x60]
push 2
push eax
mov dword [esp + 0x70], edi
call dword [sym.imp.USER32.dll_InflateRect]
mov eax, dword [esp + 0x68]
mov edi, dword [esp + 0x1c]
inc eax
cmp eax, edi
mov dword [esp + 0x68], eax
jle 0x4beea9
mov edi, eax
mov dword [esp + 0x1c], edi
lea ecx, [esp + 0x6c]
mov byte [esp + 0x88], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x38]
mov dword [esp + 0x88], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x18]
mov ecx, dword [esi + 0x7c]
inc eax
cmp eax, ecx
mov dword [esp + 0x18], eax
jl 0x4bed12
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x44]
lea eax, [esp + 0x4c]
lea ebx, [esi + 0xa4]
mov dword [esp + 0x44], ecx
push edx
push eax
mov ecx, ebx
mov dword [esp + 0x50], ebp
call fcn.004c1cc0
lea ecx, [esp + 0x50]
lea edx, [esp + 0x4c]
push ecx
push edx
lea ecx, [esp + 0x5c]
call fcn.004c2100
mov eax, dword [esp + 0x54]
mov dword [eax + 0x10], edi
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 0x80]
inc eax
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x4becda
mov eax, dword [esp + 0x2c]
pop ebx
cmp eax, ebp
je 0x4bef46
mov ebp, dword [eax + 4]
mov ecx, dword [esi + 0xb8]
push ebp
push ecx
call sub.MFC42.DLL_CDC::SelectGdiObject
mov eax, dword [esp + 0x2c]
mov edx, dword [edi]
push eax
mov ecx, edi
call dword [edx + 0x30]
mov ecx, dword [esp + 0x7c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x7c
ret