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

Disassembly:
push 0xffffffffffffffff
push 0x457bed
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb0
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov esi, dword [edi + 0x224]
call fcn.0040a930
mov ebp, dword [edi + 0x224]
mov ecx, dword [edi + 0x20]
lea eax, [esp + 0x6c]
sub esi, ebp
push eax
push ecx
mov dword [esp + 0x40], esi
call dword [sym.imp.USER32.dll_GetClientRect]
mov esi, dword [esp + 0xd0]
mov ebx, 1
push ebx
mov ecx, esi
call sub.MFC42u.DLL_CDC::SetBkMode
mov edx, dword [esp + 0x78]
mov ecx, dword [esp + 0x70]
mov eax, dword [edi + 0x170]
sub edx, ecx
cmp edx, eax
jle 0x409c94
push 0
push 0xe7ebed
lea eax, [esp + 0x74]
push 0xffffff
push eax
push esi
mov dword [esp + 0x84], 0
call fcn.00451a10
add esp, 0x14
lea ecx, [esp + 0x64]
lea edx, [esp + 0x9c]
push ecx
push 2
push edx
push ebx
push 0x10207
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0xb4], 0xaaaaaa
mov dword [esp + 0xb0], 0
call dword [sym.imp.GDI32.dll_ExtCreatePen]
push eax
mov dword [esp + 0x48], eax
call sub.MFC42u.DLL_CGdiObject::FromHandle
push eax
mov ecx, esi
call sub.MFC42u.DLL_CDC::SelectObject
mov ebp, eax
push 0x1a
lea eax, [esp + 0x1c]
push 0
push eax
mov ecx, esi
call sub.MFC42u.DLL_CDC::MoveTo
push 0x1a
push 0x12c
mov ecx, esi
call sub.MFC42u.DLL_CDC::LineTo
push ebp
mov ecx, esi
call sub.MFC42u.DLL_CDC::SelectObject
test esi, esi
jne 0x409d0f
xor eax, eax
jmp 0x409d12
mov eax, dword [esi + 4]
mov ecx, dword [edi + 0x194]
push 3
push 0
push 0
push 0x10
push 0x10
push ecx
push 6
push 7
push eax
call dword [sym.imp.USER32.dll_DrawIconEx]
mov edx, dword [esi]
lea eax, [edi + 0x234]
push eax
mov ecx, esi
call dword [edx + 0x30]
mov edx, dword [esi]
push 0x5c727a
mov ecx, esi
mov dword [esp + 0x50], eax
call dword [edx + 0x38]
mov ebx, eax
mov eax, dword [edi + 0x6c]
mov edx, dword [esi]
mov ecx, dword [eax - 8]
push ecx
push eax
push 6
push 0x1a
mov ecx, esi
call dword [edx + 0x64]
mov eax, dword [esi]
push ebx
mov ecx, esi
call dword [eax + 0x38]
mov eax, dword [edi + 0x94]
test eax, eax
jne 0x409db1
push 0xffffff
lea ecx, [edi + 0x254]
push 0xbe
push ecx
push esi
call fcn.00452af0
mov eax, dword [edi + 0x94]
add esp, 0x10
test eax, eax
jne 0x409db1
push 0xffffff
lea edx, [edi + 0x264]
push 0xe3
push edx
push esi
call fcn.00452af0
add esp, 0x10
mov eax, dword [esi]
lea ebx, [edi + 0x23c]
push ebx
mov ecx, esi
call dword [eax + 0x30]
push ebp
mov ecx, esi
call sub.MFC42u.DLL_CDC::SelectObject
mov eax, dword [edi + 0x6c]
lea edx, [esp + 0x18]
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [esi + 8]
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov ecx, dword [esp + 0x18]
mov eax, dword [edi + 0x70]
add ecx, 0x2d
mov edx, dword [esi]
mov dword [esp + 0x10], ecx
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [esp + 0x18]
push 6
push eax
mov ecx, esi
call dword [edx + 0x64]
push 0x996666
push 1
push 0
lea ecx, [esp + 0x48]
call sub.MFC42u.DLL_CPen::CPen
lea ecx, [esp + 0x3c]
mov dword [esp + 0xc8], 0
push ecx
mov ecx, esi
call sub.MFC42u.DLL_CDC::SelectObject
mov edx, dword [edi + 0x168]
lea eax, [esp + 0x30]
push edx
push 0
push eax
mov ecx, esi
call sub.MFC42u.DLL_CDC::MoveTo
push ebp
mov ecx, esi
call sub.MFC42u.DLL_CDC::SelectObject
mov ebp, dword [edi + 0x154]
mov edx, dword [edi + 0x168]
add ebp, edx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call sub.MFC42u.DLL_CWnd::FromHandle
mov edx, dword [eax + 0x20]
lea ecx, [esp + 0xa8]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0xb4]
mov ecx, dword [edi + 0x16c]
mov edx, dword [esp + 0xac]
sub eax, ecx
sub eax, edx
push ebx
mov dword [esp + 0x60], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x30]
push str.00:00:00
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 0
call sub.MFC42u.DLL_CString::CString_4
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x18]
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [esi + 8]
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
lea ecx, [esp + 0x10]
call sub.MFC42u.DLL_CString::CString
mov eax, dword [edi + 0x178]
mov ecx, dword [esp + 0x18]
sub eax, ecx
mov ecx, dword [edi + 0xb0]
add eax, 0x60
mov dword [esp + 0x54], eax
mov eax, dword [edi + 0xac]
cmp eax, ecx
mov dword [esp + 0x28], eax
je 0x40a2ba
lea ecx, [edi + 0x1ac]
lea ebx, [eax + 4]
mov dword [esp + 0x10], ecx
jmp 0x409f0a
mov eax, dword [esp + 0x28]
cmp dword [esp + 0x2c], 5
jge 0x40a2ba
cmp ebp, dword [esp + 0x5c]
jge 0x40a2ba
push eax
lea ecx, [esp + 0x64]
call sub.MFC42u.DLL_CString::CString_5
xor ecx, ecx
mov dword [esp + 0x18], 0x45ff38
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], 0x460014
mov eax, dword [ebx + 8]
mov byte [esp + 0xc8], 3
cmp eax, 2
je 0x409f8b
cmp eax, ecx
je 0x409f8b
cmp eax, 1
je 0x409f8b
cmp eax, 0xffffffff
je 0x409f8b
push 0xd0d0d0
push 1
push ecx
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
lea ecx, [esp + 0x1c]
call sub.MFC42u.DLL_CGdiObject::Attach
push 0xc0c0c0
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
lea ecx, [esp + 0x24]
jmp 0x409fb4
push 0xffeedd
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
lea ecx, [esp + 0x24]
call sub.MFC42u.DLL_CGdiObject::Attach
push 0xffcc99
push 1
push 0
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
lea ecx, [esp + 0x1c]
call sub.MFC42u.DLL_CGdiObject::Attach
lea edx, [esp + 0x18]
mov ecx, esi
push edx
call sub.MFC42u.DLL_CDC::SelectObject
mov dword [esp + 0x14], eax
push ebp
lea eax, [esp + 0xbc]
push 0x62
push eax
mov ecx, esi
call sub.MFC42u.DLL_CDC::MoveTo
mov eax, dword [edi + 0x178]
push ebp
add eax, 0x62
mov ecx, esi
push eax
call sub.MFC42u.DLL_CDC::LineTo
mov ecx, dword [edi + 0x150]
mov eax, dword [edi + 0x178]
add eax, 0x62
lea ecx, [ecx + ebp - 3]
push ecx
push eax
mov ecx, esi
call sub.MFC42u.DLL_CDC::LineTo
mov edx, dword [edi + 0x150]
mov ecx, esi
lea eax, [edx + ebp - 3]
push eax
push 0x62
call sub.MFC42u.DLL_CDC::LineTo
push ebp
push 0x62
mov ecx, esi
call sub.MFC42u.DLL_CDC::LineTo
mov eax, dword [esp + 0x14]
test eax, eax
je 0x40a03a
push eax
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
lea ecx, [esp + 0x20]
test ecx, ecx
je 0x40a05b
mov eax, dword [esp + 0x24]
test eax, eax
je 0x40a05b
mov edx, dword [esi + 4]
push eax
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x14], eax
jmp 0x40a063
mov dword [esp + 0x14], 0
fild dword [edi + 0x178]
fmul qword [ebx + 0x14]
call sub.MSVCRT.dll__ftol
mov ecx, dword [edi + 0x150]
add eax, 0x62
mov dword [esp + 0x84], eax
lea eax, [esp + 0x20]
lea ecx, [ecx + ebp - 3]
lea edx, [ebp + 1]
neg eax
mov dword [esp + 0x88], ecx
mov ecx, dword [esp + 0x24]
sbb eax, eax
mov dword [esp + 0x7c], 0x63
and eax, ecx
mov ecx, dword [esi + 4]
push eax
lea eax, [esp + 0x80]
push eax
push ecx
mov dword [esp + 0x8c], edx
call dword [sym.imp.USER32.dll_FillRect]
mov eax, dword [ebx]
lea edx, [esp + 0x30]
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [esi + 8]
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov eax, dword [edi + 0x64]
mov ecx, dword [esp + 0x30]
cmp ecx, eax
jle 0x40a142
push eax
push ebx
lea ecx, [esp + 0x50]
push esi
push ecx
call fcn.004549e0
add esp, 0x10
push eax
mov ecx, ebx
mov byte [esp + 0xcc], 4
call sub.MFC42u.DLL_CString::operator_1
lea ecx, [esp + 0x48]
mov byte [esp + 0xc8], 3
call sub.MFC42u.DLL_CString::CString
push 0x470104
lea edx, [esp + 0x54]
push ebx
push edx
call sub.MFC42u.DLL_operator_1
push eax
mov ecx, ebx
mov byte [esp + 0xcc], 5
call sub.MFC42u.DLL_CString::operator_1
lea ecx, [esp + 0x50]
mov byte [esp + 0xc8], 3
call sub.MFC42u.DLL_CString::CString
mov eax, dword [ebx]
mov edx, dword [esi]
mov ecx, dword [eax - 8]
push ecx
push eax
push ebp
push 6
mov ecx, esi
call dword [edx + 0x64]
mov eax, dword [esp + 0x28]
mov edx, dword [esi]
mov eax, dword [eax]
mov ecx, dword [eax - 8]
push ecx
push eax
push ebp
push 0x64
mov ecx, esi
call dword [edx + 0x64]
mov eax, dword [ebx + 4]
mov edx, dword [esi]
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [esp + 0x5c]
push ebp
push eax
mov ecx, esi
call dword [edx + 0x64]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x40a190
mov ecx, dword [esi + 4]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
lea ecx, [esp + 0x20]
call sub.MFC42u.DLL_CGdiObject::DeleteObject
lea ecx, [esp + 0x18]
call sub.MFC42u.DLL_CGdiObject::DeleteObject
mov eax, dword [edi + 0x150]
mov ecx, dword [esp + 0x10]
add ebp, eax
mov eax, dword [ebx + 8]
cmp eax, 0xa
mov dword [ecx + 0xc], eax
je 0x40a1e5
cmp eax, 0xb
je 0x40a1e5
cmp eax, 2
je 0x40a1db
test eax, eax
je 0x40a1db
cmp eax, 1
je 0x40a1db
cmp eax, 0xc
jne 0x40a23b
mov dword [esp + 0x14], 0xc1
jmp 0x40a1ed
mov dword [esp + 0x14], 0xc0
jmp 0x40a1ed
mov dword [esp + 0x14], 0xbf
mov eax, dword [ecx]
mov ecx, dword [ecx - 4]
mov dword [esp + 0x8c], ecx
push 0xff00ff
lea edx, [eax + 8]
mov dword [esp + 0x94], eax
mov dword [esp + 0x5c], edx
lea edx, [ecx + 8]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x98], edx
lea edx, [esp + 0x90]
push ecx
push edx
push esi
mov dword [esp + 0xa8], eax
call fcn.00452af0
mov ecx, dword [esp + 0x20]
add esp, 0x10
mov eax, dword [esp + 0x2c]
add ecx, 0x14
inc eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x20], 0x460000
lea ecx, [esp + 0x20]
mov byte [esp + 0xc8], 6
call sub.MFC42u.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x20], 0x45ffec
mov dword [esp + 0x18], 0x460000
lea ecx, [esp + 0x18]
mov byte [esp + 0xc8], 7
call sub.MFC42u.DLL_CGdiObject::DeleteObject
lea ecx, [esp + 0x60]
mov dword [esp + 0x18], 0x45ffec
mov byte [esp + 0xc8], 0
call sub.MFC42u.DLL_CString::CString
mov eax, dword [esp + 0x28]
mov ecx, dword [edi + 0xb0]
add eax, 0x20
add ebx, 0x20
cmp eax, ecx
mov dword [esp + 0x28], eax
jne 0x409f06
mov eax, dword [edi + 0x94]
test eax, eax
jne 0x40a32f
mov ecx, dword [edi + 0xa0]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x38]
mov edx, dword [esi]
lea eax, [edi + 0x244]
push eax
mov ecx, esi
call dword [edx + 0x30]
mov eax, dword [edi + 0x224]
mov edx, dword [edi + 0x198]
add eax, 0xffffffe9
mov dword [edi + 0x19c], eax
mov ecx, dword [edi + 0x74]
mov ebp, dword [esi]
mov ebx, dword [ecx - 8]
push ebx
push ecx
push eax
push edx
mov ecx, esi
call dword [ebp + 0x64]
mov eax, dword [edi + 0x74]
lea edx, [esp + 0x30]
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [esi + 8]
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov ecx, dword [edi + 0x198]
mov eax, dword [esp + 0x30]
add ecx, eax
mov dword [edi + 0x1a0], ecx
mov eax, dword [esp + 0x4c]
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x30]
mov eax, dword [esp + 0x38]
test eax, eax
je 0x40a396
mov eax, dword [edi + 0x68]
test eax, eax
jne 0x40a35b
test edi, edi
jne 0x40a354
xor eax, eax
push 0x12
jmp 0x40a368
mov eax, dword [edi + 0x20]
push 0x12
jmp 0x40a368
test edi, edi
jne 0x40a363
xor eax, eax
jmp 0x40a366
mov eax, dword [edi + 0x20]
push 0x16
mov ecx, dword [edi + 0x224]
mov edx, dword [edi + 0x228]
push ecx
mov ecx, dword [edi + 0x220]
push edx
mov edx, dword [edi + 0x21c]
push ecx
push edx
push 0xffffffffffffffff
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
push 1
mov ecx, edi
call sub.MFC42u.DLL_CWnd::EnableToolTips
mov eax, dword [esp + 0x44]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [esp + 0x3c], 0x460000
lea ecx, [esp + 0x3c]
mov dword [esp + 0xc8], 8
call sub.MFC42u.DLL_CGdiObject::DeleteObject
mov ecx, dword [esp + 0xc0]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xbc
ret 4