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

Disassembly:
push 0xffffffffffffffff
push 0x430920
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
push ebx
push ebp
push esi
push edi
mov edi, ecx
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call sub.MFC42.DLL_CWnd::FromHandle
xor ecx, ecx
cmp eax, edi
sete cl
mov esi, ecx
test esi, esi
mov dword [esp + 0x14], esi
je 0x407253
mov eax, dword [edi + 0x114]
jmp 0x407259
mov eax, dword [edi + 0x110]
push eax
push 1
push 0
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CPen::CPen
test esi, esi
mov dword [esp + 0x70], 0
je 0x40727b
mov eax, dword [edi + 0x11c]
jmp 0x407281
mov eax, dword [edi + 0x118]
push eax
push 1
push 0
lea ecx, [esp + 0x44]
call sub.MFC42.DLL_CPen::CPen
mov esi, dword [esp + 0x78]
lea edx, [esp + 0x38]
push edx
mov ecx, esi
mov byte [esp + 0x74], 1
call sub.MFC42.DLL_CDC::SelectObject_1
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x58]
push eax
mov ecx, edi
call fcn.00408a40
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x5c]
lea ebp, [edi + 0x194]
mov ebx, dword [esp + 0x64]
mov ecx, ebp
mov dword [ecx], edx
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x60]
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], ebx
mov ecx, dword [edi + 0x1d4]
test ecx, ecx
je 0x4073d8
mov eax, dword [edi + 0x1cc]
mov ecx, dword [edi + 0x1c4]
mov ebx, dword [edi + 0x1c0]
sub eax, ecx
mov ecx, dword [edi + 0x1c8]
lea edx, [edi + 0x1b0]
sub ecx, ebx
test edx, edx
je 0x40730e
mov edx, dword [edx + 4]
push 0xcc0020
push 0
push 0
push edx
push eax
push ecx
mov ecx, dword [esi + 4]
push 0
push 0
push ecx
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [edi + 0x9c]
test eax, eax
je 0x407357
mov ecx, dword [edi + 0x1dc]
test ecx, ecx
je 0x407357
mov edx, dword [edi + 0x198]
mov eax, dword [ebp]
push edx
push eax
call fcn.00402480
mov ecx, dword [edi + 0x1dc]
push 0
push esi
jmp 0x4073a3
mov ecx, dword [edi + 0x1d8]
test ecx, ecx
je 0x407384
mov eax, dword [esp + 0x14]
test eax, eax
je 0x407384
mov edx, dword [edi + 0x198]
mov eax, dword [ebp]
push edx
push eax
call fcn.00402480
mov ecx, dword [edi + 0x1d8]
push 0
push esi
jmp 0x4073a3
mov ecx, dword [edi + 0x198]
mov edx, dword [ebp]
push ecx
mov ecx, dword [edi + 0x1d4]
push edx
call fcn.00402480
mov ecx, dword [edi + 0x1d4]
push 0
push esi
call fcn.00401db0
mov esi, 0x435b40
mov dword [esp + 0x38], esi
lea ecx, [esp + 0x38]
mov byte [esp + 0x70], 2
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x38], 0x435b68
mov dword [esp + 0x30], esi
mov dword [esp + 0x70], 3
jmp 0x408345
mov ecx, dword [edi + 0xc4]
test ecx, ecx
jne 0x40814f
mov ecx, dword [edi + 0xa4]
test ecx, ecx
je 0x40814f
mov eax, dword [edi + 0xbc]
test eax, eax
je 0x407406
mov eax, dword [edi + 0x120]
jmp 0x40740c
mov eax, dword [edi + 0x124]
push eax
push 1
push 0
lea ecx, [esp + 0x5c]
call sub.MFC42.DLL_CPen::CPen
mov eax, dword [edi + 0xbc]
mov byte [esp + 0x70], 6
test eax, eax
je 0x407431
mov eax, dword [edi + 0x128]
jmp 0x407437
mov eax, dword [edi + 0x12c]
push eax
push 1
push 0
lea ecx, [esp + 0x54]
call sub.MFC42.DLL_CPen::CPen
mov eax, dword [edi + 0xbc]
mov byte [esp + 0x70], 7
test eax, eax
je 0x40745c
mov eax, dword [edi + 0x124]
jmp 0x407462
mov eax, dword [edi + 0x120]
push eax
push 1
push 0
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CPen::CPen
mov eax, dword [edi + 0xbc]
mov byte [esp + 0x70], 8
test eax, eax
je 0x407487
mov eax, dword [edi + 0x12c]
jmp 0x40748d
mov eax, dword [edi + 0x128]
push eax
push 1
push 0
lea ecx, [esp + 0x4c]
call sub.MFC42.DLL_CPen::CPen
mov ecx, dword [esp + 0x60]
mov ebx, dword [esp + 0x64]
mov eax, dword [edi + 0xcc]
dec ecx
dec ebx
mov byte [esp + 0x70], 9
test eax, eax
mov eax, dword [edi + 0xd8]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], ebx
je 0x407ae2
test eax, eax
je 0x4077c2
mov ebp, dword [esp + 0x5c]
mov eax, ebx
sub eax, ebp
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x20], eax
lea edx, [eax + ebp]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x58]
add eax, edx
mov dword [esp + 0x10], eax
mov eax, dword [edi + 0x60]
sub ecx, eax
inc ecx
inc ebp
cmp ebp, ebx
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x78], ecx
jge 0x407561
mov eax, dword [esp + 0x10]
push ebp
lea ecx, [esp + 0x18]
push eax
push ecx
mov ecx, esi
call sub.MFC42.DLL_CDC::MoveTo
mov edx, dword [esp + 0x78]
push ebp
push edx
mov ecx, esi
call sub.MFC42.DLL_CDC::LineTo
mov eax, dword [edi + 0x60]
mov ecx, dword [esp + 0x5c]
lea edx, [eax + ecx]
mov ecx, dword [esp + 0x64]
cmp ebp, edx
jge 0x40753b
mov eax, dword [esp + 0x78]
inc eax
jmp 0x407548
mov edx, ecx
sub edx, eax
cmp ebp, edx
jl 0x40754c
mov eax, dword [esp + 0x78]
dec eax
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x10]
cmp ebp, ebx
jge 0x407557
dec eax
jmp 0x407558
inc eax
inc ebp
mov dword [esp + 0x10], eax
cmp ebp, ecx
jl 0x407503
lea eax, [esp + 0x48]
mov ecx, esi
push eax
call sub.MFC42.DLL_CDC::SelectObject_1
mov ecx, dword [esp + 0x58]
push ebx
lea edx, [esp + 0x18]
push ecx
push edx
mov ecx, esi
call sub.MFC42.DLL_CDC::MoveTo
mov ecx, dword [esp + 0x58]
mov ebp, dword [esp + 0x20]
mov eax, dword [esp + 0x5c]
lea edx, [ecx + ebp]
push eax
push edx
mov ecx, esi
call sub.MFC42.DLL_CDC::LineTo
mov eax, dword [edi + 0x60]
cmp eax, 1
jle 0x4075d0
mov edx, dword [esp + 0x60]
mov ecx, dword [esp + 0x5c]
sub edx, eax
push ecx
push edx
mov ecx, esi
call sub.MFC42.DLL_CDC::LineTo
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x60]
add eax, 2
push eax
mov eax, dword [edi + 0x60]
sub ecx, eax
add ecx, 2
push ecx
mov ecx, esi
call sub.MFC42.DLL_CDC::LineTo
jmp 0x4075fc
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x60]
push edx
push eax
mov ecx, esi
call sub.MFC42.DLL_CDC::LineTo
mov ecx, dword [edi + 0x60]
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x60]
add ecx, eax
push ecx
lea eax, [esp + 0x24]
push edx
push eax
mov ecx, esi
call sub.MFC42.DLL_CDC::MoveTo
mov eax, dword [edi + 0x9c]
test eax, eax
je 0x40760d
lea ecx, [esp + 0x28]
push ecx
jmp 0x407612
lea edx, [esp + 0x40]
push edx
mov ecx, esi
call sub.MFC42.DLL_CDC::SelectObject_1
mov eax, dword [edi + 0x60]
mov edx, dword [esp + 0x5c]
mov ecx, dword [esp + 0x60]
add eax, edx
push eax
push ecx
mov ecx, esi
call sub.MFC42.DLL_CDC::LineTo
mov edx, dword [esp + 0x64]
mov ecx, dword [edi + 0x60]
mov eax, dword [esp + 0x60]
sub edx, ecx
push edx
push eax
mov ecx, esi
call sub.MFC42.DLL_CDC::LineTo
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x60]
push ecx
mov ecx, dword [edi + 0x60]
sub edx, ecx
mov ecx, esi
push edx
call sub.MFC42.DLL_CDC::LineTo
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x64]
push eax
lea edx, [ecx + ebp]
mov ecx, esi
push edx
call sub.MFC42.DLL_CDC::LineTo
mov eax, dword [esp + 0x58]
push ebx
push eax
mov ecx, esi
call sub.MFC42.DLL_CDC::LineTo
mov eax, dword [edi + 0x9c]
test eax, eax
jne 0x4080ba
push 0xffffffffffffffff
lea ecx, [esp + 0x5c]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.USER32.dll_InflateRect]
mov edi, dword [edi + 0x60]
lea edx, [esp + 0x50]
dec edi
push edx
mov ecx, esi
dec ebp
call sub.MFC42.DLL_CDC::SelectObject_1
mov eax, dword [esp + 0x58]
push ebx
lea ecx, [esp + 0x24]
push eax
push ecx
mov ecx, esi
call sub.MFC42.DLL_CDC::MoveTo
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x5c]
push edx
lea ecx, [eax + ebp]
push ecx
mov ecx, esi
call sub.MFC42.DLL_CDC::LineTo
cmp edi, 1
jle 0x407703
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x5c]
sub eax, edi
push edx
push eax
mov ecx, esi
call sub.MFC42.DLL_CDC::LineTo
mov edx, dword [esp + 0x60]
mov ecx, dword [esp + 0x5c]
sub edx, edi
add ecx, 2
add edx, 2
push ecx
push edx
mov ecx, esi
call sub.MFC42.DLL_CDC::LineTo
jmp 0x40772d
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x60]
push eax
push ecx
mov ecx, esi
call sub.MFC42.DLL_CDC::LineTo
mov edx, dword [esp + 0x5c]
mov ecx, dword [esp + 0x60]
lea eax, [edi + edx]
lea edx, [esp + 0x20]
push eax
push ecx
push edx
mov ecx, esi
call sub.MFC42.DLL_CDC::MoveTo
lea eax, [esp + 0x28]
mov ecx, esi
push eax
call sub.MFC42.DLL_CDC::SelectObject_1
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x60]
lea edx, [edi + ecx]
mov ecx, esi
push edx
push eax
call sub.MFC42.DLL_CDC::LineTo
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x60]
sub ecx, edi
push ecx
push edx
mov ecx, esi
call sub.MFC42.DLL_CDC::LineTo
mov ecx, dword [esp + 0x60]
mov eax, dword [esp + 0x64]
sub ecx, edi
push eax
push ecx
mov ecx, esi
call sub.MFC42.DLL_CDC::LineTo
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x64]
push edx
lea ecx, [eax + ebp]
push ecx
mov ecx, esi
call sub.MFC42.DLL_CDC::LineTo
mov edx, dword [esp + 0x58]
push ebx
push edx
mov ecx, esi
call sub.MFC42.DLL_CDC::LineTo
lea eax, [esp + 0x30]
mov ecx, esi
push eax
call sub.MFC42.DLL_CDC::SelectObject_1
mov ecx, dword [esp + 0x58]
push ebx
lea eax, [esp + 0x24]
lea edx, [ecx + ebp + 1]
mov ecx, esi
push edx
push eax
call sub.MFC42.DLL_CDC::MoveTo
mov ecx, dword [esp + 0x60]
push ebx
dec ecx
push ecx
jmp 0x4080b3
mov edx, dword [esp + 0x58]
mov eax, ecx
sub eax, edx
cdq
sub eax, edx
mov ebp, eax
mov eax, dword [esp + 0x58]
sar ebp, 1
lea edx, [eax + ebp]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x5c]
add edx, ebp
mov dword [esp + 0x10], edx
mov edx, dword [edi + 0x60]
sub ebx, edx
inc ebx
mov dword [esp + 0x78], ebx
lea ebx, [eax + 1]
cmp ebx, ecx
jge 0x407859
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x20]
push eax
push ebx
push ecx
mov ecx, esi
call sub.MFC42.DLL_CDC::MoveTo
mov edx, dword [esp + 0x78]
mov ecx, esi
push edx
push ebx
call sub.MFC42.DLL_CDC::LineTo
mov eax, dword [edi + 0x60]
mov ecx, dword [esp + 0x58]
lea edx, [eax + ecx]
mov ecx, dword [esp + 0x60]
cmp ebx, edx
jge 0x40782f
mov eax, dword [esp + 0x78]
inc eax
jmp 0x40783c
mov edx, ecx
sub edx, eax
cmp ebx, edx
jl 0x407840
mov eax, dword [esp + 0x78]
dec eax
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x14]
cmp ebx, eax
mov eax, dword [esp + 0x10]
jge 0x40784f
dec eax
jmp 0x407850
inc eax
inc ebx
mov dword [esp + 0x10], eax
cmp ebx, ecx
jl 0x4077f7
lea eax, [esp + 0x48]
mov ecx, esi
push eax
call sub.MFC42.DLL_CDC::SelectObject_1
mov eax, dword [edi + 0x60]
cmp eax, 1
jle 0x40789f
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x58]
sub ecx, eax
lea eax, [esp + 0x20]
inc ecx
inc edx
push ecx
push edx
push eax
mov ecx, esi
call sub.MFC42.DLL_CDC::MoveTo
mov ecx, dword [esp + 0x64]
mov ebx, dword [edi + 0x60]
mov edx, dword [esp + 0x58]
sub ecx, ebx
push ecx
push edx
mov ecx, esi
call sub.MFC42.DLL_CDC::LineTo
jmp 0x4078b6
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x58]
dec eax
lea edx, [esp + 0x20]
push eax
push ecx
push edx
mov ecx, esi
call sub.MFC42.DLL_CDC::MoveTo
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x58]
lea ecx, [eax + ebp]
push ecx
push edx
mov ecx, esi
call sub.MFC42.DLL_CDC::LineTo
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x5c]
dec ecx
lea ebx, [eax + 1]
push ecx
push ebx
mov ecx, esi
call sub.MFC42.DLL_CDC::LineTo
mov eax, dword [edi + 0x9c]
test eax, eax
je 0x4078f0
lea edx, [esp + 0x28]
push edx
jmp 0x4078f5
lea eax, [esp + 0x40]
push eax
mov ecx, esi
call sub.MFC42.DLL_CDC::SelectObject_1
mov ecx, dword [esp + 0x5c]
lea edx, [esp + 0x20]
inc ecx
push ecx
push ebx
push edx
mov ecx, esi
call sub.MFC42.DLL_CDC::MoveTo
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x60]
lea ecx, [eax + ebp]
push ecx
push edx
mov ecx, esi
call sub.MFC42.DLL_CDC::LineTo
mov eax, dword [esp + 0x64]
mov edx, dword [edi + 0x60]
mov ecx, dword [esp + 0x60]
sub eax, edx
push eax
push ecx
mov ecx, esi
call sub.MFC42.DLL_CDC::LineTo
mov edx, dword [esp + 0x64]
mov eax, dword [esp + 0x60]
push edx
mov edx, dword [edi + 0x60]
sub eax, edx
mov ecx, esi
push eax
call sub.MFC42.DLL_CDC::LineTo
mov ecx, dword [esp + 0x64]
mov edx, dword [edi + 0x60]
push ecx
mov ecx, dword [esp + 0x5c]
add edx, ecx
mov ecx, esi
push edx
call sub.MFC42.DLL_CDC::LineTo
mov eax, dword [edi + 0x60]
cmp eax, 1
jle 0x40797d
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x58]
sub ecx, eax
inc ecx
inc edx
push ecx
push edx
jmp 0x407988
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x58]
dec eax
push eax
push ecx
mov ecx, esi
call sub.MFC42.DLL_CDC::LineTo
mov eax, dword [edi + 0x9c]
test eax, eax
jne 0x4080ba
lea edx, [esp + 0x28]
mov ecx, esi
push edx
call sub.MFC42.DLL_CDC::SelectObject_1
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x14]
inc eax
lea edx, [esp + 0x20]
push eax
push ecx
push edx
mov ecx, esi
call sub.MFC42.DLL_CDC::MoveTo
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x60]
dec edx
lea ecx, [eax + ebp]
push ecx
push edx
mov ecx, esi
call sub.MFC42.DLL_CDC::LineTo
mov eax, dword [esp + 0x64]
mov edx, dword [edi + 0x60]
mov ecx, dword [esp + 0x60]
sub eax, edx
dec ecx
push eax
push ecx
mov ecx, esi
call sub.MFC42.DLL_CDC::LineTo
mov edx, dword [esp + 0x64]
mov eax, dword [esp + 0x60]
mov ecx, dword [edi + 0x60]
dec edx
sub eax, ecx
push edx
push eax
mov ecx, esi
call sub.MFC42.DLL_CDC::LineTo
mov eax, dword [edi + 0x60]
cmp eax, 2
jle 0x407a3b
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x58]
dec ecx
add eax, edx
push ecx
push eax
mov ecx, esi
call sub.MFC42.DLL_CDC::LineTo
mov eax, dword [esp + 0x64]
mov ecx, dword [edi + 0x60]
sub eax, ecx
mov ecx, dword [esp + 0x58]
inc eax
add ecx, 2
push eax
push ecx
mov ecx, esi
call sub.MFC42.DLL_CDC::LineTo
jmp 0x407a6a
mov edx, dword [esp + 0x64]
mov eax, dword [esp + 0x58]
dec edx
inc eax
push edx
push eax
mov ecx, esi
call sub.MFC42.DLL_CDC::LineTo
mov ecx, dword [esp + 0x64]
mov eax, dword [edi + 0x60]
mov edx, dword [esp + 0x58]
sub ecx, eax
inc edx
push ecx
lea eax, [esp + 0x24]
push edx
push eax
mov ecx, esi
call sub.MFC42.DLL_CDC::MoveTo
lea ecx, [esp + 0x50]
push ecx
mov ecx, esi
call sub.MFC42.DLL_CDC::SelectObject_1
mov edx, dword [esp + 0x64]
mov eax, dword [edi + 0x60]
sub edx, eax
mov eax, dword [esp + 0x58]
inc eax
push edx
push eax
mov ecx, esi
call sub.MFC42.DLL_CDC::LineTo
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x58]
inc eax
lea edx, [ecx + ebp]
mov ecx, esi
push edx
push eax
call sub.MFC42.DLL_CDC::LineTo
mov ecx, dword [esp + 0x5c]
push ecx
push ebx
mov ecx, esi
call sub.MFC42.DLL_CDC::LineTo
lea edx, [esp + 0x30]
mov ecx, esi
push edx
call sub.MFC42.DLL_CDC::SelectObject_1
mov eax, dword [esp + 0x5c]
mov edi, dword [esp + 0x14]
lea edx, [esp + 0x20]
lea ecx, [eax + ebp + 2]
push ecx
push edi
push edx
mov ecx, esi
call sub.MFC42.DLL_CDC::MoveTo
mov eax, dword [esp + 0x64]
add eax, 0xfffffffe
push eax
jmp 0x4080b2
test eax, eax
je 0x407dbe
mov edx, dword [esp + 0x5c]
mov eax, ebx
sub eax, edx
cdq
sub eax, edx
mov edx, dword [esp + 0x5c]
mov ebp, eax
sar ebp, 1
sub ecx, ebp
lea eax, [edx + ebp]
mov dword [esp + 0x14], eax
mov eax, dword [edi + 0x60]
add eax, dword [esp + 0x58]
inc ecx
mov dword [esp + 0x78], ecx
mov dword [esp + 0x10], eax
lea eax, [edx + 1]
cmp eax, ebx
mov dword [esp + 0x20], eax
jge 0x407b85
mov ebx, eax
mov ecx, dword [esp + 0x10]
push ebx
lea edx, [esp + 0x24]
push ecx
push edx
mov ecx, esi
call sub.MFC42.DLL_CDC::MoveTo
mov eax, dword [esp + 0x78]
push ebx
push eax
mov ecx, esi
call sub.MFC42.DLL_CDC::LineTo
mov eax, dword [edi + 0x60]
mov ecx, dword [esp + 0x5c]
lea edx, [eax + ecx]
mov ecx, dword [esp + 0x64]
cmp ebx, edx
jge 0x407b5b
mov eax, dword [esp + 0x10]
dec eax
jmp 0x407b68
mov edx, ecx
sub edx, eax
cmp ebx, edx
jl 0x407b6c
mov eax, dword [esp + 0x10]
inc eax
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x14]
cmp ebx, eax
mov eax, dword [esp + 0x78]
jge 0x407b7b
inc eax
jmp 0x407b7c
dec eax
inc ebx
mov dword [esp + 0x78], eax
cmp ebx, ecx
jl 0x407b23
lea eax, [esp + 0x48]
mov ecx, esi
push eax
call sub.MFC42.DLL_CDC::SelectObject_1
mov ecx, dword [esp + 0x64]
mov eax, dword [edi + 0x60]
mov edx, dword [esp + 0x58]
sub ecx, eax
inc ecx
inc edx
push ecx
lea eax, [esp + 0x24]
push edx
push eax
mov ecx, esi
call sub.MFC42.DLL_CDC::MoveTo
mov ecx, dword [esp + 0x64]
mov edx, dword [edi + 0x60]
sub ecx, edx
mov edx, dword [esp + 0x58]
push ecx
push edx
mov ecx, esi
call sub.MFC42.DLL_CDC::LineTo
mov eax, dword [edi + 0x60]
mov edx, dword [esp + 0x5c]
mov ecx, dword [esp + 0x58]
add eax, edx
push eax
push ecx
mov ecx, esi
call sub.MFC42.DLL_CDC::LineTo
mov edx, dword [esp + 0x5c]
mov eax, dword [edi + 0x60]
push edx
mov edx, dword [esp + 0x5c]
add eax, edx
mov ecx, esi
push eax
call sub.MFC42.DLL_CDC::LineTo
mov edx, dword [esp + 0x60]
mov ecx, dword [esp + 0x5c]
sub edx, ebp
push ecx
push edx
mov ecx, esi
call sub.MFC42.DLL_CDC::LineTo
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x60]
inc ecx
lea ebx, [eax + 1]
push ebx
push ecx
mov ecx, esi
call sub.MFC42.DLL_CDC::LineTo
mov eax, dword [edi + 0x9c]
test eax, eax
je 0x407c29
lea edx, [esp + 0x28]
push edx
jmp 0x407c2e
lea eax, [esp + 0x40]
push eax
mov ecx, esi
call sub.MFC42.DLL_CDC::SelectObject_1
mov ecx, dword [esp + 0x60]
push ebx
dec ecx
lea edx, [esp + 0x24]
push ecx
push edx
mov ecx, esi
call sub.MFC42.DLL_CDC::MoveTo
mov ecx, dword [esp + 0x60]
mov eax, dword [esp + 0x64]
sub ecx, ebp
push eax
push ecx
mov ecx, esi
call sub.MFC42.DLL_CDC::LineTo
mov edx, dword [esp + 0x64]
mov eax, dword [edi + 0x60]
push edx
mov edx, dword [esp + 0x5c]
add eax, edx
mov ecx, esi
push eax
call sub.MFC42.DLL_CDC::LineTo
mov ecx, dword [esp + 0x64]
mov edx, dword [edi + 0x60]
sub ecx, edx
mov edx, dword [esp + 0x58]
inc ecx
inc edx
push ecx
push edx
mov ecx, esi
call sub.MFC42.DLL_CDC::LineTo
mov eax, dword [edi + 0x9c]
test eax, eax
jne 0x4080ba
lea eax, [esp + 0x50]
mov ecx, esi
push eax
call sub.MFC42.DLL_CDC::SelectObject_1
mov ecx, dword [esp + 0x64]
mov edx, dword [edi + 0x60]
dec ecx
lea eax, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x5c]
add edx, ecx
mov ecx, esi
push edx
push eax
call sub.MFC42.DLL_CDC::MoveTo
mov ecx, dword [esp + 0x64]
mov eax, dword [edi + 0x60]
mov edx, dword [esp + 0x58]
sub ecx, eax
inc edx
push ecx
push edx
mov ecx, esi
call sub.MFC42.DLL_CDC::LineTo
mov eax, dword [edi + 0x60]
mov edx, dword [esp + 0x5c]
mov ecx, dword [esp + 0x58]
add eax, edx
inc ecx
push eax
push ecx
mov ecx, esi
call sub.MFC42.DLL_CDC::LineTo
mov edx, dword [esp + 0x5c]
mov eax, dword [edi + 0x60]
inc edx
mov ecx, esi
push edx
mov edx, dword [esp + 0x5c]
add eax, edx
push eax
call sub.MFC42.DLL_CDC::LineTo
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x60]
inc ecx
sub edx, ebp
push ecx
push edx
mov ecx, esi
call sub.MFC42.DLL_CDC::LineTo
mov eax, dword [esp + 0x60]
push ebx
push eax
mov ecx, esi
call sub.MFC42.DLL_CDC::LineTo
lea ecx, [esp + 0x28]
push ecx
mov ecx, esi
call sub.MFC42.DLL_CDC::SelectObject_1
mov edx, dword [esp + 0x60]
push ebx
add edx, 0xfffffffe
lea eax, [esp + 0x24]
push edx
push eax
mov ecx, esi
call sub.MFC42.DLL_CDC::MoveTo
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x60]
dec ecx
sub edx, ebp
push ecx
push edx
mov ecx, esi
call sub.MFC42.DLL_CDC::LineTo
mov eax, dword [esp + 0x64]
mov ecx, dword [edi + 0x60]
mov edx, dword [esp + 0x58]
dec eax
push eax
add ecx, edx
push ecx
mov ecx, esi
call sub.MFC42.DLL_CDC::LineTo
mov edi, dword [edi + 0x60]
mov edx, dword [esp + 0x64]
mov eax, dword [esp + 0x58]
sub edx, edi
inc edx
lea ecx, [edi + eax - 1]
push edx
push ecx
mov ecx, esi
call sub.MFC42.DLL_CDC::LineTo
lea edx, [esp + 0x30]
mov ecx, esi
push edx
call sub.MFC42.DLL_CDC::SelectObject_1
mov eax, dword [esp + 0x58]
mov edi, dword [esp + 0x14]
add eax, 3
push edi
lea ecx, [esp + 0x24]
push eax
push ecx
mov ecx, esi
call sub.MFC42.DLL_CDC::MoveTo
mov edx, dword [esp + 0x60]
push edi
sub edx, ebp
push edx
jmp 0x4080b3
mov edx, dword [esp + 0x58]
mov eax, ecx
sub eax, edx
cdq
sub eax, edx
mov edx, dword [esp + 0x58]
mov ebp, eax
sar ebp, 1
sub ebx, ebp
lea eax, [edx + ebp]
mov dword [esp + 0x14], eax
mov eax, dword [edi + 0x60]
add eax, dword [esp + 0x5c]
inc ebx
mov dword [esp + 0x78], ebx
lea ebx, [edx + 1]
cmp ebx, ecx
mov dword [esp + 0x10], eax
jge 0x407e53
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x20]
push ecx
push ebx
push edx
mov ecx, esi
call sub.MFC42.DLL_CDC::MoveTo
mov eax, dword [esp + 0x78]
mov ecx, esi
push eax
push ebx
call sub.MFC42.DLL_CDC::LineTo
mov eax, dword [edi + 0x60]
mov ecx, dword [esp + 0x58]
lea edx, [eax + ecx]
mov ecx, dword [esp + 0x60]
cmp ebx, edx
jge 0x407e29
mov eax, dword [esp + 0x10]
dec eax
jmp 0x407e36
mov edx, ecx
sub edx, eax
cmp ebx, edx
jl 0x407e3a
mov eax, dword [esp + 0x10]
inc eax
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x14]
cmp ebx, eax
mov eax, dword [esp + 0x78]
jge 0x407e49
inc eax
jmp 0x407e4a
dec eax
inc ebx
mov dword [esp + 0x78], eax
cmp ebx, ecx
jl 0x407df1
lea eax, [esp + 0x48]
mov ecx, esi
push eax
call sub.MFC42.DLL_CDC::SelectObject_1
mov ecx, dword [esp + 0x64]
mov ebx, dword [esp + 0x14]
push ecx
lea edx, [esp + 0x24]
push ebx
push edx
mov ecx, esi
call sub.MFC42.DLL_CDC::MoveTo
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x58]
sub eax, ebp
push eax
push ecx
mov ecx, esi
call sub.MFC42.DLL_CDC::LineTo
mov edx, dword [edi + 0x60]
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x58]
add edx, ecx
push edx
push eax
mov ecx, esi
call sub.MFC42.DLL_CDC::LineTo
mov ecx, dword [esp + 0x5c]
mov edx, dword [edi + 0x60]
push ecx
mov ecx, dword [esp + 0x5c]
add edx, ecx
mov ecx, esi
push edx
call sub.MFC42.DLL_CDC::LineTo
mov eax, dword [edi + 0x60]
cmp eax, 1
jle 0x407eed
mov edx, dword [esp + 0x60]
mov ecx, dword [esp + 0x5c]
sub edx, eax
push ecx
push edx
mov ecx, esi
call sub.MFC42.DLL_CDC::LineTo
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x60]
add eax, 2
push eax
mov eax, dword [edi + 0x60]
sub ecx, eax
add ecx, 2
push ecx
mov ecx, esi
call sub.MFC42.DLL_CDC::LineTo
jmp 0x407f16
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x60]
push edx
push eax
mov ecx, esi
call sub.MFC42.DLL_CDC::LineTo
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x60]
inc ecx
dec edx
push ecx
lea eax, [esp + 0x24]
push edx
push eax
mov ecx, esi
call sub.MFC42.DLL_CDC::MoveTo
mov eax, dword [edi + 0x9c]
test eax, eax
je 0x407f27
lea ecx, [esp + 0x28]
push ecx
jmp 0x407f2c
lea edx, [esp + 0x40]
push edx
mov ecx, esi
call sub.MFC42.DLL_CDC::SelectObject_1
mov eax, dword [edi + 0x60]
mov edx, dword [esp + 0x5c]
mov ecx, dword [esp + 0x60]
add eax, edx
push eax
push ecx
mov ecx, esi
call sub.MFC42.DLL_CDC::LineTo
mov edx, dword [esp + 0x64]
mov eax, dword [esp + 0x60]
sub edx, ebp
mov ecx, esi
push edx
push eax
call sub.MFC42.DLL_CDC::LineTo
mov ecx, dword [esp + 0x64]
push ecx
push ebx
mov ecx, esi
call sub.MFC42.DLL_CDC::LineTo
mov eax, dword [edi + 0x9c]
test eax, eax
jne 0x4080ba
lea edx, [esp + 0x28]
mov ecx, esi
push edx
call sub.MFC42.DLL_CDC::SelectObject_1
mov eax, dword [esp + 0x64]
inc ebx
add eax, 0xfffffffe
lea ecx, [esp + 0x20]
push eax
push ebx
push ecx
mov ecx, esi
call sub.MFC42.DLL_CDC::MoveTo
mov edx, dword [esp + 0x64]
mov eax, dword [esp + 0x60]
sub edx, ebp
dec eax
push edx
push eax
mov ecx, esi
call sub.MFC42.DLL_CDC::LineTo
mov eax, dword [edi + 0x60]
cmp eax, 2
jle 0x407fe5
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x60]
add eax, ecx
dec edx
push eax
push edx
mov ecx, esi
call sub.MFC42.DLL_CDC::LineTo
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x60]
add eax, 2
push eax
mov eax, dword [edi + 0x60]
sub ecx, eax
inc ecx
push ecx
mov ecx, esi
call sub.MFC42.DLL_CDC::LineTo
jmp 0x408014
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x60]
inc edx
dec eax
push edx
push eax
mov ecx, esi
call sub.MFC42.DLL_CDC::LineTo
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x60]
inc ecx
lea eax, [esp + 0x20]
push ecx
mov ecx, dword [edi + 0x60]
sub edx, ecx
mov ecx, esi
push edx
push eax
call sub.MFC42.DLL_CDC::MoveTo
lea ecx, [esp + 0x50]
push ecx
mov ecx, esi
call sub.MFC42.DLL_CDC::SelectObject_1
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x60]
inc edx
mov ecx, esi
push edx
mov edx, dword [edi + 0x60]
sub eax, edx
push eax
call sub.MFC42.DLL_CDC::LineTo
mov ecx, dword [esp + 0x5c]
mov edx, dword [edi + 0x60]
inc ecx
push ecx
mov ecx, dword [esp + 0x5c]
add edx, ecx
mov ecx, esi
push edx
call sub.MFC42.DLL_CDC::LineTo
mov eax, dword [edi + 0x60]
mov ecx, dword [esp + 0x5c]
add eax, ecx
mov ecx, dword [esp + 0x58]
inc ecx
push eax
push ecx
mov ecx, esi
call sub.MFC42.DLL_CDC::LineTo
mov edx, dword [esp + 0x64]
mov eax, dword [esp + 0x58]
sub edx, ebp
inc eax
push edx
push eax
mov ecx, esi
call sub.MFC42.DLL_CDC::LineTo
mov ecx, dword [esp + 0x64]
push ecx
push ebx
mov ecx, esi
call sub.MFC42.DLL_CDC::LineTo
lea edx, [esp + 0x30]
mov ecx, esi
push edx
call sub.MFC42.DLL_CDC::SelectObject_1
mov eax, dword [esp + 0x5c]
mov edi, dword [esp + 0x14]
add eax, 3
lea ecx, [esp + 0x20]
push eax
push edi
push ecx
mov ecx, esi
call sub.MFC42.DLL_CDC::MoveTo
mov edx, dword [esp + 0x64]
sub edx, ebp
push edx
push edi
mov ecx, esi
call sub.MFC42.DLL_CDC::LineTo
mov eax, dword [esp + 0x1c]
mov ecx, esi
push eax
call sub.MFC42.DLL_CDC::SelectObject_1
mov esi, 0x435b40
mov dword [esp + 0x40], esi
lea ecx, [esp + 0x40]
mov byte [esp + 0x70], 0xa
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov edi, 0x435b68
mov dword [esp + 0x28], esi
mov dword [esp + 0x40], edi
lea ecx, [esp + 0x28]
mov byte [esp + 0x70], 0xb
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x28], edi
mov dword [esp + 0x48], esi
lea ecx, [esp + 0x48]
mov byte [esp + 0x70], 0xc
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x48], edi
mov dword [esp + 0x50], esi
lea ecx, [esp + 0x50]
mov byte [esp + 0x70], 0xd
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x50], edi
mov dword [esp + 0x38], esi
lea ecx, [esp + 0x38]
mov byte [esp + 0x70], 0xe
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x38], edi
mov dword [esp + 0x30], esi
mov dword [esp + 0x70], 0xf
jmp 0x408345
mov ecx, dword [edi + 0x60]
sub eax, ecx
lea ebp, [ecx + edx]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x64]
mov dword [esp + 0x78], eax
lea ebx, [ecx + 1]
dec edx
cmp ebx, edx
jge 0x4081b9
push ebx
lea eax, [esp + 0x24]
push ebp
push eax
mov ecx, esi
call sub.MFC42.DLL_CDC::MoveTo
mov ecx, dword [esp + 0x78]
push ebx
push ecx
mov ecx, esi
call sub.MFC42.DLL_CDC::LineTo
mov eax, dword [edi + 0x60]
mov edx, dword [esp + 0x5c]
lea ecx, [eax + edx]
cmp ebx, ecx
mov ecx, dword [esp + 0x64]
jge 0x4081a0
mov eax, dword [esp + 0x78]
dec ebp
inc eax
jmp 0x4081af
mov edx, ecx
sub edx, eax
dec edx
cmp ebx, edx
jl 0x4081b3
mov eax, dword [esp + 0x78]
inc ebp
dec eax
mov dword [esp + 0x78], eax
inc ebx
dec ecx
cmp ebx, ecx
jl 0x40816b
mov eax, dword [edi + 0x9c]
test eax, eax
je 0x4081e7
mov eax, dword [edi + 0x120]
mov ecx, dword [edi + 0x12c]
mov edx, dword [edi + 0x60]
push eax
push ecx
lea eax, [esp + 0x60]
push edx
push eax
push esi
mov ecx, edi
call fcn.00406880
jmp 0x40830e
mov eax, dword [edi + 0xbc]
test eax, eax
je 0x40822e
mov ecx, dword [edi + 0x12c]
mov edx, dword [edi + 0x128]
mov eax, dword [edi + 0x60]
push ecx
push edx
lea ecx, [esp + 0x60]
push eax
push ecx
push esi
mov ecx, edi
call fcn.00406880
push 0xffffffffffffffff
lea edx, [esp + 0x5c]
push 0xffffffffffffffff
push edx
call dword [sym.imp.USER32.dll_InflateRect]
mov eax, dword [edi + 0x124]
mov ecx, dword [edi + 0x120]
push eax
jmp 0x408269
mov ecx, dword [edi + 0x128]
mov edx, dword [edi + 0x12c]
mov eax, dword [edi + 0x60]
push ecx
push edx
lea ecx, [esp + 0x60]
push eax
push ecx
push esi
mov ecx, edi
call fcn.00406880
push 0xffffffffffffffff
lea edx, [esp + 0x5c]
push 0xffffffffffffffff
push edx
call dword [sym.imp.USER32.dll_InflateRect]
mov eax, dword [edi + 0x120]
mov ecx, dword [edi + 0x124]
push eax
mov edx, dword [edi + 0x60]
push ecx
dec edx
lea eax, [esp + 0x60]
push edx
push eax
push esi
mov ecx, edi
call fcn.00406880
lea ecx, [esp + 0x30]
push ecx
mov ecx, esi
call sub.MFC42.DLL_CDC::SelectObject_1
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call sub.MFC42.DLL_CWnd::FromHandle
xor ebx, ebx
cmp eax, edi
mov eax, dword [edi + 0xd8]
setne bl
inc ebx
test eax, eax
je 0x4082d8
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x5c]
sub eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x58]
mov edi, eax
sar edi, 1
add edi, ecx
lea eax, [ebx + edx]
push edi
lea ecx, [esp + 0x24]
push eax
push ecx
mov ecx, esi
call sub.MFC42.DLL_CDC::MoveTo
mov edx, dword [esp + 0x60]
push edi
sub edx, ebx
push edx
jmp 0x408307
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x58]
sub eax, ecx
cdq
sub eax, edx
mov edi, eax
mov eax, dword [esp + 0x5c]
sar edi, 1
add eax, ebx
add edi, ecx
push eax
lea ecx, [esp + 0x24]
push edi
push ecx
mov ecx, esi
call sub.MFC42.DLL_CDC::MoveTo
mov edx, dword [esp + 0x64]
sub edx, ebx
push edx
push edi
mov ecx, esi
call sub.MFC42.DLL_CDC::LineTo
mov eax, dword [esp + 0x1c]
mov ecx, esi
push eax
call sub.MFC42.DLL_CDC::SelectObject_1
mov esi, 0x435b40
mov dword [esp + 0x38], esi
lea ecx, [esp + 0x38]
mov byte [esp + 0x70], 4
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x38], 0x435b68
mov dword [esp + 0x30], esi
mov dword [esp + 0x70], 5
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ecx, dword [esp + 0x68]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x64
ret 4