Function at 0x4caa40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5b2c48
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
push ebp
mov ebp, ecx
push esi
push edi
mov eax, dword [ebp + 0x20]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call sub.MFC42.DLL_CDC::FromHandle
mov ecx, dword [ebp + 0x20]
lea edi, [ebp + 0x8c]
push edi
push ecx
mov esi, eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [ebp + 0x94]
xor ebx, ebx
sub edx, 0xf
mov dword [esp + 0x1c], ebx
mov dword [edi], edx
mov dword [esp + 0x18], 0x5bca60
mov eax, dword [ebp + 0x68]
mov dword [esp + 0x48], ebx
push eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CGdiObject::Attach
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x18]
neg eax
sbb eax, eax
and eax, edx
push eax
mov eax, dword [esi + 4]
push edi
push eax
call dword [sym.imp.USER32.dll_FillRect]
cmp dword [esp + 0x50], ebx
je 0x4cab1d
mov ecx, edi
mov edx, dword [ecx]
mov dword [esp + 0x20], edx
mov eax, dword [ecx + 4]
mov dword [esp + 0x24], eax
mov edx, dword [ecx + 8]
mov dword [esp + 0x28], edx
mov edx, dword [ebp + 0x6c]
mov eax, dword [ecx + 0xc]
mov ecx, dword [ebp + 0x70]
push ecx
push edx
push edi
mov ecx, esi
mov dword [esp + 0x38], eax
call sub.MFC42.DLL_CDC::Draw3dRect
push 0xffffffffffffffff
lea eax, [esp + 0x24]
push 0xffffffffffffffff
push eax
call dword [sym.imp.USER32.dll_InflateRect]
mov ecx, dword [ebp + 0x70]
mov edx, dword [ebp + 0x6c]
push ecx
lea eax, [esp + 0x24]
push edx
push eax
jmp 0x4cab26
mov ecx, dword [ebp + 0x6c]
mov edx, dword [ebp + 0x70]
push ecx
push edx
push edi
mov ecx, esi
call sub.MFC42.DLL_CDC::Draw3dRect
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], 0x5bcb38
push ebx
push str.Webdings
push 0x5a
lea ecx, [esp + 0x1c]
mov byte [esp + 0x54], 1
call sub.MFC42.DLL_CFont::CreatePointFont
mov eax, dword [esi]
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call dword [eax + 0x30]
push 1
mov ecx, esi
mov ebx, eax
call sub.MFC42.DLL_CDC::SetBkMode
mov edx, dword [esi]
push 0xc8
mov ecx, esi
call dword [edx + 0x38]
mov eax, dword [edi]
mov ecx, dword [edi + 8]
mov edx, dword [edi + 0xc]
mov dword [esp + 0x30], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x38], ecx
sub eax, 3
push 0x64c688
lea ecx, [esp + 0x54]
mov dword [esp + 0x40], edx
mov dword [esp + 0x38], eax
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [esp + 0x50]
mov edx, dword [esi]
lea edi, [esp + 0x30]
push 5
mov ecx, dword [eax - 8]
push edi
push ecx
push eax
mov ecx, esi
mov byte [esp + 0x58], 2
call dword [edx + 0x70]
lea ecx, [esp + 0x50]
mov byte [esp + 0x48], 1
call sub.MFC42.DLL_CString::CString
mov eax, dword [esi]
push ebx
mov ecx, esi
call dword [eax + 0x30]
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ecx, dword [esi + 4]
mov edx, dword [ebp + 0x20]
push ecx
push edx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov esi, 0x5bca18
mov dword [esp + 0x10], esi
lea ecx, [esp + 0x10]
mov byte [esp + 0x48], 3
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x10], 0x5bc400
mov dword [esp + 0x18], esi
lea ecx, [esp + 0x18]
mov dword [esp + 0x48], 4
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ecx, dword [esp + 0x40]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x3c
ret 4