Function at 0x20097780
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x200d1eb0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push ebx
push ebp
push esi
mov esi, dword [sym.imp.USER32.dll_GetSysColor]
push edi
mov ebp, ecx
push 0x14
call esi
push eax
push 0
push 0
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CPen::CPen
push 0x10
mov dword [esp + 0x58], 0
call esi
push eax
push 0
push 0
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CPen::CPen
push 0x12
mov byte [esp + 0x58], 1
call esi
push eax
push 0
push 0
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CPen::CPen
lea eax, [ebp + 8]
mov byte [esp + 0x54], 2
mov edx, eax
mov dword [esp + 0x10], eax
mov ecx, dword [edx]
mov dword [esp + 0x3c], ecx
mov eax, dword [edx + 4]
mov dword [esp + 0x40], eax
mov eax, dword [edx + 8]
mov dword [esp + 0x44], eax
sub eax, ecx
mov edx, dword [edx + 0xc]
xor ecx, ecx
mov dword [esp + 0x48], edx
mov edx, dword [ebp + 0x28]
cmp eax, edx
mov eax, dword [esp + 0x64]
setl cl
mov edi, ecx
test eax, eax
mov dword [esp + 0x14], edi
je 0x20097842
mov edx, dword [0x200ea834]
mov eax, dword [0x200ea830]
push edx
lea ecx, [esp + 0x40]
push eax
push ecx
call dword [sym.imp.USER32.dll_InflateRect]
mov esi, dword [esp + 0x5c]
lea edx, [esp + 0x2c]
push edx
mov ecx, esi
call sub.MFC42.DLL_CDC::SelectObject_1
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x48]
lea edx, [esp + 0x34]
dec eax
push eax
push ecx
push edx
mov ecx, esi
call sub.MFC42.DLL_CDC::MoveTo
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
add eax, 2
push eax
push ecx
mov ecx, esi
call sub.MFC42.DLL_CDC::LineTo
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
add eax, 2
push edx
push eax
mov ecx, esi
call sub.MFC42.DLL_CDC::LineTo
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
dec edx
push ecx
push edx
mov ecx, esi
call sub.MFC42.DLL_CDC::LineTo
lea eax, [esp + 0x24]
mov ecx, esi
push eax
call sub.MFC42.DLL_CDC::SelectObject_1
test edi, edi
jne 0x20097901
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
dec edx
push ecx
push edx
mov ecx, esi
call sub.MFC42.DLL_CDC::LineTo
lea eax, [esp + 0x1c]
mov ecx, esi
push eax
call sub.MFC42.DLL_CDC::SelectObject_1
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
add ecx, 2
lea eax, [esp + 0x34]
push ecx
push edx
push eax
mov ecx, esi
call sub.MFC42.DLL_CDC::MoveTo
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
push ecx
push edx
mov ecx, esi
call sub.MFC42.DLL_CDC::LineTo
jmp 0x20097980
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x48]
cmp ecx, eax
mov ebx, ecx
jge 0x20097980
jmp 0x20097915
mov ecx, dword [esp + 0x40]
mov eax, ebx
sub eax, ecx
mov ecx, 0xc
cdq
idiv ecx
mov ecx, 6
mov eax, 0x55555556
sub ecx, edx
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
mov edi, edx
and edi, reloc.GSWDLL32.dll_Ordinal_1
jns 0x20097945
dec edi
or edi, 0xfffffffe
inc edi
mov ecx, dword [esp + 0x44]
push ebx
lea eax, [esp + 0x38]
lea edx, [edi + ecx]
mov ecx, esi
push edx
push eax
call sub.MFC42.DLL_CDC::MoveTo
mov eax, dword [esp + 0x48]
add ebx, 3
cmp ebx, eax
jge 0x20097967
mov eax, ebx
mov ecx, dword [esp + 0x44]
push eax
add edi, ecx
mov ecx, esi
push edi
call sub.MFC42.DLL_CDC::LineTo
cmp ebx, dword [esp + 0x48]
jl 0x20097911
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x60]
mov dword [esp + 0x64], 0
test eax, eax
je 0x2009799f
mov edx, dword [esi + 4]
push eax
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x64], eax
lea eax, [esp + 0x1c]
mov ecx, esi
push eax
call sub.MFC42.DLL_CDC::SelectObject_1
mov eax, dword [ebp + 4]
lea edx, [esp + 0x14]
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [esi + 8]
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
test edi, edi
je 0x200979cb
mov edi, dword [ebp + 0x28]
jmp 0x200979d6
mov ecx, dword [esp + 0x10]
mov edx, ecx
mov edi, dword [ecx + 8]
sub edi, dword [edx]
mov eax, dword [ebp + 4]
push 0
mov ebx, dword [esi]
mov ecx, dword [eax - 8]
push ecx
mov ecx, dword [esp + 0x48]
push eax
lea eax, [esp + 0x48]
push eax
mov eax, dword [esp + 0x58]
sub eax, ecx
push 4
cdq
sub eax, edx
mov ebp, eax
mov eax, dword [esp + 0x2c]
cdq
sub eax, edx
sar ebp, 1
sar eax, 1
sub ebp, eax
mov eax, edi
cdq
sub eax, edx
add ebp, ecx
mov ecx, eax
mov eax, dword [esp + 0x28]
cdq
sub eax, edx
mov edx, dword [esp + 0x24]
sar ecx, 1
mov edi, dword [edx]
push ebp
sar eax, 1
sub ecx, eax
add ecx, edi
push ecx
mov ecx, esi
call dword [ebx + 0x68]
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x20097a3a
push eax
mov ecx, esi
call sub.MFC42.DLL_CDC::SelectObject_1
mov eax, dword [esp + 0x64]
test eax, eax
je 0x20097a4d
push eax
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov esi, 0x200da274
mov dword [esp + 0x1c], esi
lea ecx, [esp + 0x1c]
mov byte [esp + 0x54], 3
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov edi, 0x200d72cc
mov dword [esp + 0x24], esi
mov dword [esp + 0x1c], edi
lea ecx, [esp + 0x24]
mov byte [esp + 0x54], 4
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x24], edi
mov dword [esp + 0x2c], esi
lea ecx, [esp + 0x2c]
mov dword [esp + 0x54], 5
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ecx, dword [esp + 0x4c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x48
ret 0xc