Function at 0x48f130
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4ba5ee
push eax
mov dword fs:[0], esp
sub esp, 0x128
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x148]
mov esi, ecx
lea ecx, [esp + 0xd0]
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x58]
test eax, eax
je 0x48f65d
mov eax, dword [esi + 0x20]
lea edx, [esp + 0x5c]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
lea ecx, [esp + 0x5c]
push ecx
push edi
mov ecx, esi
call fcn.00491780
mov ecx, dword [esi + 0x1e4]
test ecx, ecx
je 0x48f208
call fcn.004aaaa0
mov ebp, eax
test ebp, ebp
je 0x48f208
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x5c]
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x7c]
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x68]
push eax
push 0x18
push ebp
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], edx
call dword [sym.imp.GDI32.dll_GetObjectA]
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x4c]
add ecx, edx
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x84]
push 1
lea edx, [esp + 0x4c]
push ebp
add ecx, eax
push edx
push edi
mov dword [esp + 0x64], ecx
call fcn.00478fc0
add esp, 0x10
push ebp
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esi + 0x20]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x1200
push eax
call ebx
mov ecx, dword [esi + 0x184]
mov ebp, eax
push ecx
push 1
push 0
lea ecx, [esp + 0x78]
mov dword [esp + 0x84], ebp
call sub.MFC42.DLL_CPen::CPen
mov edx, dword [esi + 0x188]
lea ecx, [esp + 0x40]
push edx
push 1
push 0
mov dword [esp + 0x14c], 0
call sub.MFC42.DLL_CPen::CPen
mov eax, dword [edi + 8]
push 1
push eax
mov byte [esp + 0x148], 1
call dword [sym.imp.GDI32.dll_GetCurrentObject]
push eax
call sub.MFC42.DLL_CGdiObject::FromHandle
mov dword [esp + 0x74], eax
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0x4bd544
lea ecx, [esi + 0x19c]
mov byte [esp + 0x140], 2
push ecx
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
push eax
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CGdiObject::Attach
mov edx, dword [edi]
lea eax, [esp + 0x20]
push eax
mov ecx, edi
call dword [edx + 0x30]
mov edx, dword [edi]
mov dword [esp + 0x58], eax
mov eax, dword [esi + 0x18c]
mov ecx, edi
push eax
call dword [edx + 0x34]
mov eax, dword [esi + 0x190]
mov edx, dword [edi]
push eax
mov ecx, edi
call dword [edx + 0x38]
xor eax, eax
cmp ebp, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], eax
jle 0x48f5d6
mov ecx, dword [esp + 0x28]
mov edx, dword [esi + 0x20]
push 0
push ecx
push 0x120f
push edx
call ebx
mov edx, dword [esi + 0x20]
lea ecx, [esp + 0xac]
mov ebp, eax
push ecx
push ebp
lea eax, [esp + 0xf0]
push 0x1203
push edx
mov dword [esp + 0xbc], 0x37
mov dword [esp + 0xc4], eax
mov dword [esp + 0xcc], 0x50
call ebx
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x10]
push eax
push ebp
push 0x1207
push ecx
call ebx
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0xd0]
cmp edx, eax
jge 0x48f363
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xd8]
cmp eax, ecx
jg 0x48f5a0
mov eax, dword [esp + 0xc0]
test ah, 0x80
je 0x48f3fc
mov ecx, esi
mov dword [esp + 0x7c], 4
call sub.MFC42.DLL_CWnd::GetDlgCtrlID
mov ecx, dword [esi + 0x20]
mov edx, dword [edi + 4]
mov dword [esp + 0x90], ecx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x98], ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x80], eax
mov dword [esp + 0x94], edx
mov edx, dword [esp + 0x14]
xor eax, eax
mov dword [esp + 0xa0], ecx
lea ecx, [esp + 0x7c]
mov dword [esp + 0x8c], eax
mov dword [esp + 0x9c], edx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0xa8], eax
mov eax, dword [esi]
push ecx
mov ecx, esi
mov dword [esp + 0x88], ebp
mov dword [esp + 0x8c], 1
mov dword [esp + 0xa8], edx
call dword [eax + 0xc0]
jmp 0x48f468
mov eax, dword [esi + 0x44]
push 0
neg eax
lea edx, [esp + 0x14]
push eax
push edx
call dword [sym.imp.USER32.dll_InflateRect]
mov ecx, dword [esi + 0x168]
xor edx, edx
push ecx
mov ecx, dword [esi + 0x16c]
cmp ebp, ecx
lea ecx, [esp + 0xb0]
sete dl
push edx
push ecx
mov ecx, dword [esp + 0x1c]
sub esp, 0x10
mov edx, esp
mov eax, dword [esi]
push edi
mov dword [edx], ecx
mov ecx, dword [esp + 0x34]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x38]
mov dword [edx + 8], ecx
mov ecx, dword [esp + 0x3c]
mov dword [edx + 0xc], ecx
mov ecx, esi
call dword [eax + 0xc4]
mov eax, dword [esi + 0x44]
push 0
lea edx, [esp + 0x14]
push eax
push edx
call dword [sym.imp.USER32.dll_InflateRect]
mov eax, dword [esi + 0x194]
lea ecx, [esp + 0x38]
push eax
push 1
push 0
call sub.MFC42.DLL_CPen::CPen
mov ecx, dword [esi + 0x198]
mov byte [esp + 0x140], 3
push ecx
push 1
push 0
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CPen::CPen
mov edx, dword [edi + 8]
push 1
push edx
mov byte [esp + 0x148], 4
call dword [sym.imp.GDI32.dll_GetCurrentObject]
push eax
call sub.MFC42.DLL_CGdiObject::FromHandle
mov ebp, eax
mov eax, dword [esi + 0x198]
cmp eax, 0xffffffff
je 0x48f4fa
lea eax, [esp + 0x30]
mov ecx, edi
push eax
call sub.MFC42.DLL_CDC::SelectObject
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
add ecx, 2
dec edx
push ecx
lea eax, [esp + 0x4c]
push edx
push eax
mov ecx, edi
call sub.MFC42.DLL_CDC::MoveTo
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
add ecx, 0xfffffffe
dec edx
push ecx
push edx
mov ecx, edi
call sub.MFC42.DLL_CDC::LineTo
cmp dword [esi + 0x194], 0xffffffff
je 0x48f53f
lea eax, [esp + 0x38]
mov ecx, edi
push eax
call sub.MFC42.DLL_CDC::SelectObject
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
add ecx, 2
lea eax, [esp + 0xe0]
push ecx
push edx
push eax
mov ecx, edi
call sub.MFC42.DLL_CDC::MoveTo
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
add ecx, 0xfffffffe
push ecx
push edx
mov ecx, edi
call sub.MFC42.DLL_CDC::LineTo
push ebp
mov ecx, edi
call sub.MFC42.DLL_CDC::SelectObject
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CGdiObject::DeleteObject
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ebp, 0x4bd508
mov dword [esp + 0x30], ebp
lea ecx, [esp + 0x30]
mov byte [esp + 0x140], 5
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x30], 0x4bd4f4
mov dword [esp + 0x38], ebp
lea ecx, [esp + 0x38]
mov byte [esp + 0x140], 6
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov byte [esp + 0x140], 2
mov dword [esp + 0x38], 0x4bd4f4
mov eax, dword [esp + 0xb0]
mov ebp, dword [esp + 0x2c]
mov ecx, dword [esp + 0x78]
add ebp, eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x2c], ebp
inc eax
cmp eax, ecx
mov dword [esp + 0x28], eax
jl 0x48f2e4
mov eax, ebp
test eax, eax
jle 0x48f5d6
mov ecx, dword [esp + 0x5c]
add eax, ecx
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x58]
mov edx, dword [edi]
push eax
mov ecx, edi
call dword [edx + 0x30]
mov ecx, dword [esp + 0x74]
push ecx
mov ecx, edi
call sub.MFC42.DLL_CDC::SelectObject
lea ecx, [esp + 0x6c]
call sub.MFC42.DLL_CGdiObject::DeleteObject
lea ecx, [esp + 0x40]
call sub.MFC42.DLL_CGdiObject::DeleteObject
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov esi, 0x4bd508
mov dword [esp + 0x20], esi
lea ecx, [esp + 0x20]
mov byte [esp + 0x140], 7
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov edi, 0x4bd4f4
mov dword [esp + 0x40], esi
mov dword [esp + 0x20], edi
lea ecx, [esp + 0x40]
mov byte [esp + 0x140], 8
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x40], edi
mov dword [esp + 0x6c], esi
lea ecx, [esp + 0x6c]
mov dword [esp + 0x140], 9
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ecx, dword [esp + 0x138]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x134
ret 4