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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1007eceb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x84
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x20]
mov edx, dword [esi + 0x18]
sub eax, edx
cmp eax, 1
jl 0x10008172
mov ecx, dword [esi + 0x24]
mov edx, dword [esi + 0x1c]
sub ecx, edx
cmp ecx, 1
jl 0x10008172
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x24]
fld qword [ebp + 0xc]
fmul qword [0x10081698]
mov dword [esp + 0x44], eax
lea edx, [esp + 0x4c]
mov dword [esp + 0x48], ecx
lea eax, [esp + 0x3c]
push edx
lea ecx, [esp + 0x48]
fstp qword [esp + 0x38]
push eax
push ecx
mov ecx, esi
call sym.AdjustBase.dll_public:_void___thiscall_CDrawManage::Convert_class_CPoint_const___double___double__
fld qword [esp + 0x3c]
fdiv qword [esp + 0x34]
sub esp, 8
fstp qword [esp]
call dword [sym.imp.MSVCRT.dll_floor]
fmul qword [esp + 0x3c]
fstp qword [esp + 0x44]
fld qword [esp + 0x54]
fdiv qword [esp + 0x3c]
fstp qword [esp]
call dword [sym.imp.MSVCRT.dll_floor]
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x1c]
fmul qword [esp + 0x3c]
add esp, 8
mov dword [esp + 0x44], eax
lea edx, [esp + 0x54]
mov dword [esp + 0x48], ecx
lea eax, [esp + 0x5c]
push edx
fstp qword [esp + 0x50]
lea ecx, [esp + 0x48]
push eax
push ecx
mov ecx, esi
call sym.AdjustBase.dll_public:_void___thiscall_CDrawManage::Convert_class_CPoint_const___double___double__
fld qword [esp + 0x5c]
fdiv qword [esp + 0x34]
sub esp, 8
fstp qword [esp]
call dword [sym.imp.MSVCRT.dll_ceil]
fmul qword [esp + 0x3c]
fstp qword [esp + 0x64]
fld qword [esp + 0x5c]
fdiv qword [esp + 0x3c]
fstp qword [esp]
call dword [sym.imp.MSVCRT.dll_ceil]
fmul qword [esp + 0x3c]
add esp, 8
fst qword [esp + 0x54]
fsub qword [esp + 0x4c]
fdiv qword [esp + 0x34]
fadd qword [0x10081670]
call sub.MSVCRT.dll__ftol
fld qword [esp + 0x5c]
fsub qword [esp + 0x3c]
mov edi, eax
mov dword [esp + 0x1c], edi
fdiv qword [esp + 0x34]
fadd qword [0x10081670]
call sub.MSVCRT.dll__ftol
fild dword [esp + 0x1c]
mov ecx, eax
mov dword [esp + 0x18], ecx
fcomp qword [0x100815a8]
fnstsw ax
test ah, 1
jne 0x10008172
fild dword [esp + 0x18]
fcomp qword [0x100815a8]
fnstsw ax
test ah, 1
jne 0x10008172
cmp edi, 0x3c
jg 0x10008172
cmp ecx, 0x3c
jg 0x10008172
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_2
fld qword [ebp + 0x14]
fadd st(0), st(0)
mov dword [esp + 0x98], 0
call sub.MSVCRT.dll__ftol
mov edx, dword [ebp + 0x1c]
lea ecx, [esp + 0x64]
push edx
push 1
push 2
mov ebx, eax
call sub.MFC42.DLL_CPen::CPen
mov edi, dword [ebp + 8]
lea eax, [esp + 0x64]
push eax
mov ecx, edi
mov byte [esp + 0x9c], 1
call sub.MFC42.DLL_CDC::SelectObject
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x18]
test eax, eax
mov dword [esp + 0x10], 0
jle 0x10007fce
fild dword [esp + 0x10]
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x4c]
push ecx
lea eax, [esp + 0x70]
fmul qword [esp + 0x38]
push edx
push eax
mov ecx, esi
fst qword [esp + 0x50]
fadd qword [esp + 0x48]
fstp qword [esp + 0x78]
call sym.AdjustBase.dll_public:_void___thiscall_CDrawManage::Convert_double_const___double_const___class_CPoint__
fld qword [esp + 0x44]
fadd qword [esp + 0x3c]
lea ecx, [esp + 0x24]
lea edx, [esp + 0x54]
push ecx
lea eax, [esp + 0x70]
push edx
push eax
fstp qword [esp + 0x78]
mov ecx, esi
call sym.AdjustBase.dll_public:_void___thiscall_CDrawManage::Convert_double_const___double_const___class_CPoint__
mov eax, dword [esp + 0x2c]
mov ecx, dword [esi + 0x18]
cmp eax, ecx
jl 0x10007fb9
cmp eax, dword [esi + 0x20]
jg 0x10007fb9
mov ecx, dword [esi + 0x1c]
mov eax, dword [esp + 0x30]
cmp eax, ecx
jge 0x10007ef4
mov eax, ecx
mov dword [esp + 0x30], eax
mov edx, dword [esi + 0x24]
cmp eax, edx
jle 0x10007f01
mov eax, edx
mov dword [esp + 0x30], eax
cmp dword [esp + 0x28], ecx
jge 0x10007f0b
mov dword [esp + 0x28], ecx
cmp dword [esp + 0x28], edx
jle 0x10007f15
mov dword [esp + 0x28], edx
mov ecx, dword [esp + 0x2c]
push eax
lea edx, [esp + 0x7c]
push ecx
push edx
mov ecx, edi
call sub.MFC42.DLL_CDC::MoveTo
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
push eax
push ecx
mov ecx, edi
call sub.MFC42.DLL_CDC::LineTo
push 8
mov ecx, esi
call sym.AdjustBase.dll_public:_int___thiscall_CDrawManage::IsVisible_short_int_
test eax, eax
je 0x10007fb9
fld qword [esp + 0x44]
fadd qword [esp + 0x3c]
sub esp, 8
lea edx, [esp + 0x1c]
fstp qword [esp]
push str._.0lf
push edx
call sub.MFC42.DLL_CString::Format
mov eax, dword [esi + 0x1c]
add esp, 0x10
add eax, ebx
mov dword [esp + 0x8c], eax
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x2c]
cmp eax, ebx
mov dword [esp + 0x88], eax
mov dword [esp + 0x80], eax
jle 0x10007fb9
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp + 0x14]
mov eax, dword [esi]
push 0
push 0x40200000
push 0x40000000
push 0
push ecx
push edx
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x98]
push ecx
push edx
push edi
mov ecx, esi
call dword [eax + 0x50]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
inc eax
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x10007e7f
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x10], 0
test eax, eax
jle 0x10008131
fild dword [esp + 0x10]
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x6c]
push eax
lea edx, [esp + 0x40]
fmul qword [esp + 0x38]
push ecx
push edx
mov ecx, esi
fst qword [esp + 0x50]
fadd qword [esp + 0x58]
fstp qword [esp + 0x78]
call sym.AdjustBase.dll_public:_void___thiscall_CDrawManage::Convert_double_const___double_const___class_CPoint__
fld qword [esp + 0x44]
fadd qword [esp + 0x4c]
lea eax, [esp + 0x24]
lea ecx, [esp + 0x6c]
push eax
lea edx, [esp + 0x60]
push ecx
push edx
fstp qword [esp + 0x78]
mov ecx, esi
call sym.AdjustBase.dll_public:_void___thiscall_CDrawManage::Convert_double_const___double_const___class_CPoint__
mov eax, dword [esp + 0x30]
mov ecx, dword [esi + 0x1c]
cmp eax, ecx
jl 0x1000811c
cmp eax, dword [esi + 0x24]
jg 0x1000811c
mov ecx, dword [esi + 0x18]
mov eax, dword [esp + 0x2c]
cmp eax, ecx
jge 0x10008057
mov eax, ecx
mov dword [esp + 0x2c], eax
mov edx, dword [esi + 0x20]
cmp eax, edx
jle 0x10008064
mov eax, edx
mov dword [esp + 0x2c], eax
cmp dword [esp + 0x24], ecx
jge 0x1000806e
mov dword [esp + 0x24], ecx
cmp dword [esp + 0x24], edx
jle 0x10008078
mov dword [esp + 0x24], edx
mov ecx, dword [esp + 0x30]
lea edx, [esp + 0x78]
push ecx
push eax
push edx
mov ecx, edi
call sub.MFC42.DLL_CDC::MoveTo
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
push eax
push ecx
mov ecx, edi
call sub.MFC42.DLL_CDC::LineTo
push 8
mov ecx, esi
call sym.AdjustBase.dll_public:_int___thiscall_CDrawManage::IsVisible_short_int_
test eax, eax
je 0x1000811c
fld qword [esp + 0x44]
fadd qword [esp + 0x4c]
sub esp, 8
lea edx, [esp + 0x1c]
fstp qword [esp]
push str._.0lf
push edx
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x40]
mov ecx, dword [esi + 0x18]
mov edx, dword [ebp + 0x14]
sub eax, ebx
add esp, 0x10
mov dword [esp + 0x8c], eax
mov dword [esp + 0x84], eax
mov eax, ebx
push 0
add eax, ecx
mov ecx, dword [ebp + 0x18]
push 0x40200000
push 0x40000000
push 0
push ecx
push edx
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x98]
mov dword [esp + 0xa0], eax
mov dword [esp + 0x98], eax
mov eax, dword [esi]
push ecx
push edx
push edi
mov ecx, esi
call dword [eax + 0x50]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
inc eax
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x10007fe2
mov eax, dword [esp + 0x20]
mov ecx, edi
push eax
call sub.MFC42.DLL_CDC::SelectObject
mov dword [esp + 0x64], 0x10081658
lea ecx, [esp + 0x64]
mov byte [esp + 0x98], 2
call sub.MFC42.DLL_CGdiObject::DeleteObject
lea ecx, [esp + 0x14]
mov dword [esp + 0x64], 0x10081534
mov dword [esp + 0x98], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x90]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x18