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

Disassembly:
push 0xffffffffffffffff
push 0x43f454
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x248
push ebx
mov ebx, ecx
xor ecx, ecx
push ebp
mov eax, dword [ebx + 0x40]
push esi
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x264]
cmp eax, ecx
push edi
mov dword [esp + 0x8c], ebx
jl 0x42d19e
cmp eax, dword [ebx + 0x210]
jge 0x42d19e
lea eax, [eax + eax*4]
mov edx, dword [ebx + 0x20c]
mov dword [esp + 0xc0], ecx
mov dword [esp + 0xc4], ecx
lea eax, [eax + eax*8]
lea edi, [eax + eax*8]
shl edi, 4
mov dword [esp + 0x40], edi
add edi, edx
mov dword [esp + 0x30], edi
mov eax, dword [edi + 0x194c]
cmp eax, ecx
mov eax, dword [esp + 0x280]
jne 0x42bc90
cmp eax, 2
je 0x42d19e
mov ecx, eax
shl ecx, 5
add ecx, eax
lea edx, [eax + ecx*2]
lea ecx, [eax + edx*4]
lea edx, [eax + ecx*2]
mov eax, dword [edi + edx*4 + 4]
lea ecx, [esp + 0x74]
lea esi, [edi + edx*4 + 4]
push ecx
mov ecx, esi
mov dword [esp + 0x30], esi
call dword [eax + 0x14]
mov edx, dword [eax]
mov ebp, dword [sym.imp.SpView.dll_public:_bool___thiscall_CSpView::ImgToClnt_float___float__]
fild dword [esi + 0x38]
mov eax, dword [eax + 4]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x48]
fstp dword [esp + 0x3c]
fild dword [esi + 0x3c]
lea edx, [esp + 0x3c]
push ecx
push edx
mov ecx, ebx
fstp dword [esp + 0x50]
fild dword [esp + 0x20]
fadd dword [esp + 0x44]
fsub dword [0x442560]
fstp dword [esp + 0x6c]
fild dword [esp + 0x24]
fadd dword [esp + 0x50]
fsub dword [0x442560]
fstp dword [esp + 0x5c]
call ebp
lea eax, [esp + 0x54]
lea ecx, [esp + 0x64]
push eax
push ecx
mov ecx, ebx
call ebp
fld dword [esp + 0x3c]
fadd qword [0x442540]
call sub.MSVCRT.dll__ftol
fld dword [esp + 0x64]
fadd qword [0x442540]
mov dword [esp + 0x6c], eax
call sub.MSVCRT.dll__ftol
fld dword [esp + 0x48]
fadd qword [0x442540]
mov dword [esp + 0x50], eax
call sub.MSVCRT.dll__ftol
fld dword [esp + 0x54]
fadd qword [0x442540]
mov dword [esp + 0x88], eax
call sub.MSVCRT.dll__ftol
fld dword [esp + 0x64]
fcomp dword [0x442558]
mov dword [esp + 0x58], eax
fnstsw ax
test ah, 1
jne 0x42d19e
fild dword [esp + 0x278]
fstp dword [esp + 0x4c]
fld dword [esp + 0x3c]
fcomp dword [esp + 0x4c]
fnstsw ax
test ah, 0x41
je 0x42d19e
fld dword [esp + 0x48]
fcomp dword [0x442558]
fnstsw ax
test ah, 1
jne 0x42d19e
fild dword [esp + 0x27c]
fld dword [esp + 0x54]
fcomp st(1)
fnstsw ax
test ah, 0x41
je 0x42d19c
fld dword [esp + 0x3c]
fcomp dword [0x442558]
fnstsw ax
test ah, 1
je 0x42bddf
mov dword [esp + 0x3c], 0
fld dword [esp + 0x64]
fcomp dword [esp + 0x4c]
fnstsw ax
test ah, 0x41
jne 0x42bdf6
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x64], edx
fld dword [esp + 0x54]
fcomp dword [0x442558]
fnstsw ax
test ah, 1
je 0x42be0f
mov dword [esp + 0x54], 0
fld dword [esp + 0x48]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x42be22
fstp dword [esp + 0x48]
jmp 0x42be24
fstp st(0)
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x48]
mov dword [esp + 0xa4], eax
lea edx, [esp + 0x90]
lea eax, [esp + 0xa4]
mov dword [esp + 0x90], ecx
push edx
push eax
mov ecx, ebx
call dword [sym.imp.SpView.dll_public:_bool___thiscall_CSpView::ClntToImg_float___float__]
fild dword [esi + 0x38]
mov ecx, dword [ebx + 0x1e0]
lea eax, [esp + 0xc4]
mov edx, ecx
mov dword [esp + 0x10], ecx
fsubr dword [esp + 0xa4]
push edx
lea ecx, [esp + 0xc4]
push eax
push ecx
fstp dword [esp + 0xb0]
fild dword [esi + 0x3c]
fsubr dword [esp + 0x9c]
fstp dword [esp + 0x9c]
fld dword [esp + 0x54]
fsub dword [esp + 0x60]
mov ebp, dword [esi]
call sub.MSVCRT.dll__ftol
fld dword [esp + 0x70]
fsub dword [esp + 0x48]
push eax
call sub.MSVCRT.dll__ftol
mov edx, dword [esp + 0xa0]
push eax
mov eax, dword [esp + 0xb8]
push edx
push eax
mov ecx, esi
call dword [ebp + 0x1c]
mov esi, dword [esp + 0xc0]
mov ebp, dword [esp + 0x26c]
test esi, esi
fstp st(0)
je 0x42bf24
mov eax, dword [esp + 0xc4]
test eax, eax
je 0x42bf24
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
fld dword [esp + 0x54]
fadd qword [0x442540]
push 0xcc0020
push 0
push eax
push esi
push ecx
push edx
push 0
push 0
push ecx
push edx
call sub.MSVCRT.dll__ftol
fld dword [esp + 0x64]
fadd qword [0x442540]
push eax
call sub.MSVCRT.dll__ftol
mov ecx, dword [ebp + 4]
push eax
push ecx
call dword [sym.imp.GDI32.dll_StretchDIBits]
push 0xc0c0c0
push 2
push 0
lea ecx, [esp + 0xb4]
call sub.MFC42.DLL_CPen::CPen
push 0xff00
push 2
push 0
lea ecx, [esp + 0x88]
mov dword [esp + 0x26c], 0
call sub.MFC42.DLL_CPen::CPen
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x268]
mov byte [esp + 0x260], 1
mov ecx, dword [eax + 0xee8]
lea eax, [esp + 0x7c]
cmp ecx, edx
je 0x42bf81
lea eax, [esp + 0xa8]
push eax
mov ecx, ebp
call sub.MFC42.DLL_CDC::SelectObject_2
mov ecx, dword [esp + 0x88]
mov esi, dword [esp + 0x6c]
push ecx
lea edx, [esp + 0x78]
push esi
push edx
mov ecx, ebp
mov dword [esp + 0xe8], eax
call sub.MFC42.DLL_CDC::MoveTo
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x50]
push eax
push ecx
mov ecx, ebp
call sub.MFC42.DLL_CDC::LineTo
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x50]
push edx
push eax
mov ecx, ebp
call sub.MFC42.DLL_CDC::LineTo
mov ecx, dword [esp + 0x58]
push ecx
push esi
mov ecx, ebp
call sub.MFC42.DLL_CDC::LineTo
mov edx, dword [esp + 0x88]
mov ecx, ebp
push edx
push esi
call sub.MFC42.DLL_CDC::LineTo
mov eax, dword [edi + 0x194c]
test eax, eax
je 0x42c084
mov eax, dword [esp + 0x24]
mov edx, dword [ebx + 0x20c]
lea ecx, [eax + 0x58]
mov eax, dword [esp + 0x40]
mov dword [esp + 0x70], ecx
mov edx, dword [eax + edx + 0x1948]
push edx
call dword [sym.imp.VzSatData.dll_public:_class_CVzSatTLA____thiscall_CVzSatPro::GetTLA_int_]
mov esi, eax
test esi, esi
jne 0x42c067
mov esi, 0x441198
mov dword [esp + 0x7c], esi
lea ecx, [esp + 0x7c]
mov byte [esp + 0x260], 2
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x7c], 0x441184
mov dword [esp + 0xa8], esi
lea ecx, [esp + 0xa8]
mov dword [esp + 0x260], 3
call sub.MFC42.DLL_CGdiObject::DeleteObject
jmp 0x42d19e
mov eax, dword [esp + 0x280]
mov ecx, esi
push eax
call dword [sym.imp.VzSatData.dll_public:_class_CVzSatPhoto____thiscall_CVzSatTLA::GetPhoto_enum_CVzSatTLA::_SIGHT_]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x24], esi
jmp 0x42c111
mov edx, dword [ebx + 0x20c]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x24]
mov edx, dword [eax + edx + 0x1948]
add ecx, 0x58
push edx
mov dword [esp + 0x74], ecx
call dword [sym.imp.VzSatData.dll_public:_class_CVzSatModel____thiscall_CVzSatPro::GetModel_int_]
test eax, eax
jne 0x42c0f0
mov esi, 0x441198
mov dword [esp + 0x7c], esi
lea ecx, [esp + 0x7c]
mov byte [esp + 0x260], 4
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x7c], 0x441184
mov dword [esp + 0xa8], esi
lea ecx, [esp + 0xa8]
mov dword [esp + 0x260], 5
call sub.MFC42.DLL_CGdiObject::DeleteObject
jmp 0x42d19e
mov ecx, dword [esp + 0x280]
test ecx, ecx
jne 0x42c103
mov ecx, dword [eax + 0x368]
jmp 0x42c109
mov ecx, dword [eax + 0x36c]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0xbc], 0
mov dword [esp + 0xb8], 0x440fc4
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0xe4]
lea edx, [esp + 0x100]
rep stosd dword es:[edi], eax
mov edi, str.Toshma
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0xe4], 0xf
mov eax, ecx
mov esi, edi
mov edi, edx
mov dword [esp + 0xf4], 0x190
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov byte [esp + 0x260], 6
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0xe4]
push ecx
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
push eax
lea ecx, [esp + 0xbc]
call sub.MFC42.DLL_CGdiObject::Attach
mov edx, dword [ebp]
lea eax, [esp + 0xb8]
push eax
mov ecx, ebp
call dword [edx + 0x30]
mov edx, dword [ebp + 8]
lea ecx, [esp + 0x120]
push ecx
push edx
mov dword [esp + 0xe8], eax
call dword [sym.imp.GDI32.dll_GetTextMetricsA]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov esi, dword [eax + 0x150]
mov eax, dword [ecx + 0x194c]
test eax, eax
mov dword [esp + 0x20], esi
je 0x42c1ed
mov eax, dword [esp + 0x280]
mov byte [esp + 0x3b], 1
cmp eax, 1
je 0x42c1f2
mov byte [esp + 0x3b], 0
xor edi, edi
cmp esi, edi
jle 0x42c846
push 0xffffff
push 1
push 3
lea ecx, [esp + 0x68]
call sub.MFC42.DLL_CPen::CPen
lea edx, [esp + 0x5c]
mov ecx, ebp
push edx
mov byte [esp + 0x264], 7
call sub.MFC42.DLL_CDC::SelectObject_2
mov eax, dword [ebp]
push 0xffffff
mov ecx, ebp
call dword [eax + 0x38]
mov dword [esp + 0xc8], 0x443e68
mov dword [esp + 0xcc], edi
mov dword [esp + 0xd8], edi
mov dword [esp + 0xd4], edi
mov dword [esp + 0xd0], edi
cmp esi, edi
mov byte [esp + 0x260], 8
mov dword [esp + 0x14], edi
jle 0x42c7f3
mov eax, edi
jmp 0x42c275
mov ebx, dword [esp + 0x8c]
mov ecx, dword [esp + 0x24]
push eax
call dword [sym.imp.VzSatData.dll_public:_class_CSubModelData____thiscall_CVzSatStrip::GetSubModel_int_]
mov ecx, dword [eax + 0x4e4]
mov dword [esp + 0x84], eax
cmp ecx, 3
je 0x42c539
mov cl, byte [esp + 0x3b]
test cl, cl
je 0x42c2a6
lea esi, [eax + 0x6fc]
jmp 0x42c2bd
mov ecx, dword [esp + 0x280]
lea esi, [eax + 0x468]
test ecx, ecx
je 0x42c2bd
lea esi, [eax + 0x488]
mov cl, byte [eax + 0x4e0]
mov dword [esp + 0xb0], esi
test cl, cl
je 0x42c316
push 0x2c
call sub.MFC42.DLL_operatornew
mov edi, eax
add esp, 4
test edi, edi
mov dword [esp + 0xb4], edi
je 0x42c31f
mov eax, dword [esp + 0xd0]
push 0xffffffffffffffff
mov dword [esp + 0x44], eax
inc eax
push eax
lea ecx, [esp + 0xd0]
call fcn.0042f990
mov ecx, dword [esp + 0xcc]
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x14]
mov dword [ecx + edx*4], edi
mov dword [edi], eax
jmp 0x42c31f
xor edi, edi
mov dword [esp + 0xb4], edi
fild dword [ebx + 0x254]
fld dword [esi]
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x68]
fdiv st(1)
lea edx, [esp + 0x28]
push ecx
push edx
mov ecx, ebx
fiadd dword [eax + 0x38]
fstp dword [esp + 0x30]
fld dword [esi + 4]
fdiv st(1)
fiadd dword [eax + 0x3c]
fstp dword [esp + 0x70]
fstp st(0)
call dword [sym.imp.SpView.dll_public:_bool___thiscall_CSpView::ImgToClnt_float___float__]
fld dword [esp + 0x28]
fadd qword [0x442540]
call sub.MSVCRT.dll__ftol
fld dword [esp + 0x68]
fadd qword [0x442540]
mov esi, eax
call sub.MSVCRT.dll__ftol
mov ebx, eax
lea eax, [esp + 0x94]
push ebx
push esi
push eax
mov ecx, ebp
call sub.MFC42.DLL_CDC::MoveTo
test edi, edi
je 0x42c391
mov dword [edi + 4], esi
mov dword [edi + 8], ebx
add edi, 0xc
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], ebx
mov esi, 1
mov dword [esp + 0x40], edi
mov ecx, esi
and ecx, reloc.VzSatData.dll_Ordinal_3
jns 0x42c3b4
dec ecx
or ecx, 0xfffffffc
inc ecx
mov edx, dword [esp + 0xb0]
lea eax, [edx + ecx*8]
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x2c]
fild dword [ecx + 0x254]
fld dword [eax]
fdiv st(1)
fiadd dword [edx + 0x38]
fstp dword [esp + 0x28]
fld dword [eax + 4]
fdiv st(1)
lea eax, [esp + 0x68]
push eax
fiadd dword [edx + 0x3c]
lea edx, [esp + 0x2c]
push edx
fstp dword [esp + 0x70]
fstp st(0)
call dword [sym.imp.SpView.dll_public:_bool___thiscall_CSpView::ImgToClnt_float___float__]
fld dword [esp + 0x28]
fadd qword [0x442540]
call sub.MSVCRT.dll__ftol
fld dword [esp + 0x68]
fadd qword [0x442540]
mov edi, eax
call sub.MSVCRT.dll__ftol
mov ebx, eax
mov ecx, ebp
push ebx
push edi
call sub.MFC42.DLL_CDC::LineTo
mov ecx, dword [esp + 0xb4]
cmp esi, 4
jge 0x42c450
test ecx, ecx
je 0x42c43c
mov eax, dword [esp + 0x40]
mov dword [eax], edi
mov dword [eax + 4], ebx
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
add edx, edi
add eax, ebx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
mov edx, dword [esp + 0x40]
inc esi
add edx, 8
cmp esi, 4
mov dword [esp + 0x40], edx
jle 0x42c3a5
mov eax, dword [esp + 0x18]
cdq
and edx, 3
add eax, edx
mov esi, eax
mov eax, dword [esp + 0x1c]
cdq
and edx, 3
add eax, edx
mov edi, eax
sar esi, 2
sar edi, 2
test ecx, ecx
je 0x42c48d
mov dword [ecx + 0x24], esi
mov dword [ecx + 0x28], edi
push edi
lea eax, [esp + 0x274]
push esi
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x42c539
mov ecx, dword [esp + 0x84]
lea ebx, [ecx + 8]
lea ecx, [esp + 0x10]
push ebx
call sub.MFC42.DLL_CString::CString_1
push ebx
lea ecx, [esp + 0x34]
mov byte [esp + 0x264], 9
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [esp + 0x30]
lea edx, [esp + 0x74]
push edx
mov byte [esp + 0x264], 0xa
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov eax, dword [esp + 0x120]
cdq
sub eax, edx
sar eax, 1
sub edi, eax
mov eax, dword [esp + 0x74]
cdq
sub eax, edx
mov edx, dword [ebp]
sar eax, 1
sub esi, eax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 8]
push ecx
push eax
push edi
push esi
mov ecx, ebp
call dword [edx + 0x64]
lea ecx, [esp + 0x30]
mov byte [esp + 0x260], 9
call fcn.0042fd2e
lea ecx, [esp + 0x10]
mov byte [esp + 0x260], 8
call fcn.0042fd2e
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
inc eax
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x42c26e
mov ecx, dword [esp + 0xd0]
xor ebx, ebx
cmp ecx, ebx
jle 0x42c7ec
xor eax, eax
cmp ecx, ebx
mov byte [esp + 0x24], bl
mov byte [esp + 0x25], bl
mov byte [esp + 0x26], 0x46
mov byte [esp + 0x27], bl
mov dword [esp + 0x14], eax
jle 0x42c7ec
mov edx, dword [esp + 0xcc]
mov edi, dword [edx + eax*4]
cmp edi, ebx
mov dword [esp + 0x20], edi
je 0x42c7df
push 0x10
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x84], eax
cmp eax, ebx
mov byte [esp + 0x260], 0xb
je 0x42c5bc
mov ecx, eax
call sub.MFC42.DLL_CDC::CDC
mov esi, eax
jmp 0x42c5be
xor esi, esi
cmp ebp, ebx
mov byte [esp + 0x260], 8
jne 0x42c5ce
xor eax, eax
jmp 0x42c5d1
mov eax, dword [ebp + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
mov ecx, esi
call sub.MFC42.DLL_CDC::Attach
push 0xff0000
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CBrush::CBrush
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], 0x442e3c
push 1
add edi, 4
push 4
push edi
mov byte [esp + 0x26c], 0xd
call dword [sym.imp.GDI32.dll_CreatePolygonRgn]
push eax
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CGdiObject::Attach
mov ecx, dword [esp + 0x34]
lea eax, [esp + 0x94]
push eax
push ecx
call dword [sym.imp.GDI32.dll_GetRgnBox]
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0x34]
neg eax
neg ecx
push eax
push ecx
push edx
call dword [sym.imp.GDI32.dll_OffsetRgn]
push 8
call sub.MFC42.DLL_operatornew
add esp, 4
cmp eax, ebx
je 0x42c667
mov dword [eax + 4], ebx
mov dword [eax], 0x442564
mov edi, eax
jmp 0x42c669
xor edi, edi
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x94]
sub eax, ecx
mov ecx, dword [esp + 0x9c]
push eax
mov eax, dword [ebp + 4]
sub ecx, edx
push ecx
push eax
mov dword [esp + 0x1c], edi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov ecx, edi
call sub.MFC42.DLL_CGdiObject::Attach
cmp edi, ebx
jne 0x42c6a9
xor edi, edi
jmp 0x42c6ac
mov edi, dword [edi + 4]
mov ecx, dword [esi + 4]
push edi
push ecx
call sub.MFC42.DLL_CDC::SelectGdiObject
mov edx, dword [esp + 0xa0]
mov ecx, dword [esp + 0x98]
sub edx, ecx
push ebx
mov edi, eax
mov eax, dword [esp + 0xa0]
push edx
mov edx, dword [esp + 0x9c]
sub eax, edx
mov ecx, esi
push eax
push ebx
push ebx
call sub.MFC42.DLL_CDC::FillSolidRect_1
mov ebx, dword [esp + 0x1c]
lea eax, [esp + 0x18]
neg eax
sbb eax, eax
lea ecx, [esp + 0x30]
and eax, ebx
mov ebx, dword [esp + 0x34]
neg ecx
sbb ecx, ecx
push eax
and ecx, ebx
push ecx
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.GDI32.dll_FillRgn]
mov ecx, dword [esp + 0x9c]
mov ebx, dword [esp + 0x94]
mov eax, dword [esp + 0xa0]
mov edx, dword [esp + 0x98]
sub ecx, ebx
mov ebx, dword [esp + 0x24]
sub eax, edx
push ebx
mov ebx, dword [esi + 4]
push eax
push ecx
push 0
push 0
push ebx
push eax
mov eax, dword [ebp + 4]
push ecx
push edx
mov edx, dword [esp + 0xb8]
push edx
push eax
call dword [sym.imp.MSIMG32.dll_AlphaBlend]
xor ebx, ebx
cmp edi, ebx
jne 0x42c75a
xor edi, edi
jmp 0x42c75d
mov edi, dword [edi + 4]
mov ecx, dword [esi + 4]
push edi
push ecx
call sub.MFC42.DLL_CDC::SelectGdiObject
mov ecx, dword [esp + 0x10]
cmp ecx, ebx
je 0x42c776
mov edx, dword [ecx]
push 1
call dword [edx + 4]
cmp esi, ebx
je 0x42c783
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [esp + 0x20]
push ecx
call sub.MFC42.DLL_operatordelete
mov esi, 0x441198
add esp, 4
mov dword [esp + 0x30], esi
lea ecx, [esp + 0x30]
mov byte [esp + 0x260], 0xe
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov edi, 0x441184
mov dword [esp + 0x18], esi
mov dword [esp + 0x30], edi
lea ecx, [esp + 0x18]
mov byte [esp + 0x260], 0xf
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ecx, dword [esp + 0xd0]
mov eax, dword [esp + 0x14]
mov byte [esp + 0x260], 8
mov dword [esp + 0x18], edi
inc eax
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x42c57e
mov ebx, dword [esp + 0x8c]
mov dword [esp + 0xc8], 0x443e68
mov eax, dword [esp + 0xcc]
mov byte [esp + 0x260], 0x10
test eax, eax
je 0x42c81a
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [esp + 0xc8], 0x441184
mov dword [esp + 0x5c], 0x441198
lea ecx, [esp + 0x5c]
mov byte [esp + 0x260], 0x11
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov byte [esp + 0x260], 6
test byte [ebx + 0x258], 1
je 0x42c974
mov edx, dword [ebp]
push 0xff
mov ecx, ebp
call dword [edx + 0x38]
mov eax, dword [esp + 0x4c]
push 0x5c
add eax, 0x108
push eax
call dword [sym.imp.MSVCRT.dll_strrchr]
mov edi, eax
add esp, 8
inc edi
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x158]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x158]
push ecx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x74]
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
lea ecx, [esp + 0x10]
call fcn.0042fd2e
lea ecx, [esp + 0x40]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x4c]
lea edx, [esp + 0x158]
push edx
mov byte [esp + 0x264], 0x12
mov eax, dword [ecx + 0x308]
push eax
lea eax, [esp + 0x48]
push str._d____s
push eax
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x68]
mov edx, dword [esp + 0x130]
mov ecx, dword [esp + 0x98]
sub eax, edx
add eax, ecx
add esp, 0x10
mov dword [esp + 0x20], eax
fild dword [esp + 0x20]
fmul qword [0x442540]
call sub.MSVCRT.dll__ftol
mov ecx, dword [esp + 0x40]
mov edi, dword [esp + 0x74]
mov esi, dword [ebp]
mov edx, dword [ecx - 8]
push edx
mov edx, dword [esp + 0x70]
push ecx
push eax
mov eax, dword [esp + 0x5c]
sub eax, edi
add eax, edx
mov dword [esp + 0x2c], eax
fild dword [esp + 0x2c]
fmul qword [0x442540]
call sub.MSVCRT.dll__ftol
push eax
mov ecx, ebp
call dword [esi + 0x64]
lea ecx, [esp + 0x40]
mov byte [esp + 0x260], 6
call fcn.0042fd2e
mov eax, dword [esp + 0x4c]
mov edi, dword [eax + 0xcd4]
mov esi, dword [eax + 0xcd0]
test edi, edi
mov dword [esp + 0x14], edi
jle 0x42d118
test esi, esi
je 0x42d118
mov ecx, dword [esp + 0x70]
call dword [sym.imp.VzSatData.dll_public:_bool___thiscall_CVzSatPro::LoadResiduals_void_]
lea ecx, [edi + edi*2]
lea edx, [edi + ecx*4]
shl edx, 2
push edx
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x28], eax
test edi, edi
jle 0x42cac3
mov ecx, dword [esp + 0x14]
lea edi, [eax + 0x24]
add esi, 0x10
mov dword [esp + 0x10], ecx
mov edx, dword [esi - 0xc]
mov eax, dword [esi - 0x10]
push edx
push eax
lea ecx, [edi - 0x24]
push str._I64d
push ecx
call dword [sym.imp.MSVCRT.dll_sprintf]
mov edx, dword [esi - 8]
mov eax, dword [esp + 0x3c]
mov dword [edi - 4], edx
mov dword [esp + 0x70], 0
fild dword [ebx + 0x254]
fld qword [esi]
add esp, 0x10
lea ecx, [esp + 0x58]
fdiv st(1)
lea edx, [esp + 0x50]
push ecx
push edx
mov ecx, ebx
fiadd dword [eax + 0x38]
fstp dword [esp + 0x58]
fld qword [esi + 8]
fdiv st(1)
fiadd dword [eax + 0x3c]
mov eax, dword [ebx + 0x25c]
mov dword [esp + 0x64], eax
fstp dword [esp + 0x60]
fstp st(0)
fild qword [esp + 0x64]
fld st(0)
fmul qword [esi + 0x28]
fsubr dword [esp + 0x58]
fstp dword [esp + 0x78]
fmul qword [esi + 0x30]
fsubr dword [esp + 0x60]
fstp dword [esp + 0x74]
call dword [sym.imp.SpView.dll_public:_bool___thiscall_CSpView::ImgToClnt_float___float__]
lea eax, [esp + 0x6c]
lea ecx, [esp + 0x70]
push eax
push ecx
mov ecx, ebx
call dword [sym.imp.SpView.dll_public:_bool___thiscall_CSpView::ImgToClnt_float___float__]
fld dword [esp + 0x50]
fadd qword [0x442540]
call sub.MSVCRT.dll__ftol
mov dword [edi], eax
fld dword [esp + 0x58]
fadd qword [0x442540]
call sub.MSVCRT.dll__ftol
mov dword [edi + 4], eax
fld dword [esp + 0x70]
fadd qword [0x442540]
call sub.MSVCRT.dll__ftol
mov dword [edi + 8], eax
fld dword [esp + 0x6c]
fadd qword [0x442540]
call sub.MSVCRT.dll__ftol
mov dword [edi + 0xc], eax
mov eax, dword [esp + 0x10]
add esi, 0x48
add edi, 0x34
dec eax
mov dword [esp + 0x10], eax
jne 0x42c9ce
mov edi, dword [esp + 0x14]
mov edx, dword [ebx + 0x258]
and edx, 2
cmp dl, 2
jne 0x42cc8a
push 0xff00
push 1
push 0
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CPen::CPen
lea eax, [esp + 0x18]
mov byte [esp + 0x260], 0x13
test eax, eax
je 0x42cb0a
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x42cb0a
mov ecx, dword [ebp + 4]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [ebp]
push 0xff00
mov ecx, ebp
call dword [edx + 0x38]
test edi, edi
jle 0x42cc69
mov eax, dword [esp + 0x28]
mov dword [esp + 0x2c], edi
lea esi, [eax + 0x28]
mov eax, dword [esi - 8]
cmp eax, 0xb
jl 0x42cc57
cmp eax, 0x63
jg 0x42cc57
mov eax, dword [esi]
mov ecx, dword [esi - 4]
push 0xff00
push eax
push ecx
mov ecx, dword [ebp + 4]
push ecx
call dword [sym.imp.GDI32.dll_SetPixel]
mov edx, dword [esi]
mov eax, dword [esi - 4]
sub edx, 6
lea ecx, [esp + 0x94]
push edx
push eax
push ecx
mov ecx, ebp
call sub.MFC42.DLL_CDC::MoveTo
mov edx, dword [esi]
mov eax, dword [esi - 4]
add edx, 3
sub eax, 5
push edx
push eax
mov ecx, ebp
call sub.MFC42.DLL_CDC::LineTo
mov ecx, dword [esi]
mov edx, dword [esi - 4]
add ecx, 3
add edx, 5
push ecx
push edx
mov ecx, ebp
call sub.MFC42.DLL_CDC::LineTo
mov eax, dword [esi]
mov ecx, dword [esi - 4]
sub eax, 6
push eax
push ecx
mov ecx, ebp
call sub.MFC42.DLL_CDC::LineTo
mov edx, dword [ebx + 0x258]
and edx, 0x20
cmp dl, 0x20
jne 0x42cc57
lea edi, [esi - 0x28]
lea ecx, [esp + 0x30]
push edi
call sub.MFC42.DLL_CString::CString_1
push edi
lea ecx, [esp + 0x14]
mov byte [esp + 0x264], 0x14
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x74]
push edx
mov byte [esp + 0x264], 0x15
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
fild dword [esi - 4]
fild dword [esp + 0x74]
mov edi, dword [esi]
add edi, 4
fmul qword [0x442540]
fsubp st(1)
fadd qword [0x442540]
call sub.MSVCRT.dll__ftol
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx - 8]
mov dword [esp + 0x20], edx
mov edx, dword [ebp]
push dword [esp + 0x20]
push ecx
push edi
push eax
mov ecx, ebp
call dword [edx + 0x64]
lea ecx, [esp + 0x10]
mov byte [esp + 0x260], 0x14
call fcn.0042fd2e
lea ecx, [esp + 0x30]
mov byte [esp + 0x260], 0x13
call fcn.0042fd2e
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x2c]
add esi, 0x34
dec eax
mov dword [esp + 0x2c], eax
jne 0x42cb2a
mov dword [esp + 0x18], 0x441198
lea ecx, [esp + 0x18]
mov byte [esp + 0x260], 0x16
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov byte [esp + 0x260], 6
mov eax, dword [ebx + 0x258]
and eax, 4
cmp al, 4
jne 0x42ce76
push 0xff0000
push 1
push 0
lea ecx, [esp + 0x4c]
call sub.MFC42.DLL_CPen::CPen
lea ecx, [esp + 0x40]
mov byte [esp + 0x260], 0x17
test ecx, ecx
je 0x42ccd0
mov eax, dword [esp + 0x44]
test eax, eax
je 0x42ccd0
mov edx, dword [ebp + 4]
push eax
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [ebp]
push 0xff0000
mov ecx, ebp
call dword [eax + 0x38]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0x4431e0
push 5
mov byte [esp + 0x264], 0x18
call dword [sym.imp.GDI32.dll_GetStockObject]
lea ecx, [esp + 0x18]
mov dword [esp + 0x1c], eax
push ecx
mov ecx, ebp
call sub.MFC42.DLL_CDC::SelectObject_1
test edi, edi
mov dword [esp + 0x84], eax
jle 0x42ce28
mov edx, dword [esp + 0x28]
mov dword [esp + 0x2c], edi
lea esi, [edx + 0x28]
cmp dword [esi - 8], 0xa
jne 0x42ce16
mov eax, dword [esi]
mov ecx, dword [esi - 4]
push 0xff0000
push eax
mov eax, dword [ebp + 4]
push ecx
push eax
call dword [sym.imp.GDI32.dll_SetPixel]
mov eax, dword [esi]
mov ecx, dword [esi - 4]
lea edx, [eax + 5]
lea edi, [ecx + 5]
add eax, 0xfffffffb
push edx
add ecx, 0xfffffffb
push edi
push eax
push ecx
mov ecx, dword [ebp + 4]
push ecx
call dword [sym.imp.GDI32.dll_Ellipse]
mov edx, dword [ebx + 0x258]
and edx, 0x20
cmp dl, 0x20
jne 0x42ce12
lea edi, [esi - 0x28]
lea ecx, [esp + 0x30]
push edi
call sub.MFC42.DLL_CString::CString_1
push edi
lea ecx, [esp + 0x14]
mov byte [esp + 0x264], 0x19
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x74]
push edx
mov byte [esp + 0x264], 0x1a
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
fild dword [esi - 4]
fild dword [esp + 0x74]
mov edi, dword [esi]
add edi, 5
fmul qword [0x442540]
fsubp st(1)
fadd qword [0x442540]
call sub.MSVCRT.dll__ftol
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx - 8]
mov dword [esp + 0x20], edx
mov edx, dword [ebp]
push dword [esp + 0x20]
push ecx
push edi
push eax
mov ecx, ebp
call dword [edx + 0x64]
lea ecx, [esp + 0x10]
mov byte [esp + 0x260], 0x19
call fcn.0042fd2e
lea ecx, [esp + 0x30]
mov byte [esp + 0x260], 0x18
call fcn.0042fd2e
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x2c]
add esi, 0x34
dec eax
mov dword [esp + 0x2c], eax
jne 0x42cd27
mov eax, dword [esp + 0x84]
mov ecx, ebp
push eax
call sub.MFC42.DLL_CDC::SelectObject_1
mov esi, 0x441198
mov dword [esp + 0x18], esi
lea ecx, [esp + 0x18]
mov byte [esp + 0x260], 0x1b
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x18], 0x441184
mov dword [esp + 0x40], esi
lea ecx, [esp + 0x40]
mov byte [esp + 0x260], 0x1c
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov byte [esp + 0x260], 6
mov ecx, dword [ebx + 0x258]
and ecx, 8
cmp cl, 8
jne 0x42d047
push 0xff
push 1
push 0
lea ecx, [esp + 0x68]
call sub.MFC42.DLL_CPen::CPen
lea edx, [esp + 0x5c]
mov ecx, ebp
push edx
mov byte [esp + 0x264], 0x1d
call sub.MFC42.DLL_CDC::SelectObject_2
mov eax, dword [ebp]
push 0xff
mov ecx, ebp
call dword [eax + 0x38]
test edi, edi
jle 0x42d026
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x2c], edi
lea esi, [ecx + 0x28]
mov eax, dword [esi - 8]
test eax, eax
jl 0x42d014
cmp eax, 9
jge 0x42d014
mov eax, dword [esi]
mov ecx, dword [esi - 4]
mov edx, dword [ebp + 4]
push 0xff
push eax
push ecx
push edx
call dword [sym.imp.GDI32.dll_SetPixel]
mov eax, dword [esi]
mov ecx, dword [esi - 4]
sub eax, 4
sub ecx, 4
push eax
lea edx, [esp + 0x98]
push ecx
push edx
mov ecx, ebp
call sub.MFC42.DLL_CDC::MoveTo
mov eax, dword [esi]
mov ecx, dword [esi - 4]
add eax, 4
sub ecx, 4
push eax
push ecx
mov ecx, ebp
call sub.MFC42.DLL_CDC::LineTo
mov edx, dword [esi]
mov eax, dword [esi - 4]
add edx, 4
add eax, 4
push edx
push eax
mov ecx, ebp
call sub.MFC42.DLL_CDC::LineTo
mov ecx, dword [esi]
mov edx, dword [esi - 4]
sub ecx, 4
add edx, 4
push ecx
push edx
mov ecx, ebp
call sub.MFC42.DLL_CDC::LineTo
mov eax, dword [esi]
mov ecx, dword [esi - 4]
sub eax, 4
sub ecx, 4
push eax
push ecx
mov ecx, ebp
call sub.MFC42.DLL_CDC::LineTo
mov edx, dword [ebx + 0x258]
and edx, 0x20
cmp dl, 0x20
jne 0x42d014
lea edi, [esi - 0x28]
lea ecx, [esp + 0x30]
push edi
call sub.MFC42.DLL_CString::CString_1
push edi
lea ecx, [esp + 0x14]
mov byte [esp + 0x264], 0x1e
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x74]
push edx
mov byte [esp + 0x264], 0x1f
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
fild dword [esi - 4]
fild dword [esp + 0x74]
mov edi, dword [esi]
add edi, 5
fmul qword [0x442540]
fsubp st(1)
fadd qword [0x442540]
call sub.MSVCRT.dll__ftol
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx - 8]
mov dword [esp + 0x20], edx
mov edx, dword [ebp]
push dword [esp + 0x20]
push ecx
push edi
push eax
mov ecx, ebp
call dword [edx + 0x64]
lea ecx, [esp + 0x10]
mov byte [esp + 0x260], 0x1e
call fcn.0042fd2e
lea ecx, [esp + 0x30]
mov byte [esp + 0x260], 0x1d
call fcn.0042fd2e
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x2c]
add esi, 0x34
dec eax
mov dword [esp + 0x2c], eax
jne 0x42cece
mov dword [esp + 0x5c], 0x441198
lea ecx, [esp + 0x5c]
mov byte [esp + 0x260], 0x20
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov byte [esp + 0x260], 6
mov eax, dword [ebx + 0x258]
and eax, 0x10
cmp al, 0x10
jne 0x42d107
push 0xffff00
push 1
push 0
lea ecx, [esp + 0x68]
call sub.MFC42.DLL_CPen::CPen
lea ecx, [esp + 0x5c]
mov byte [esp + 0x260], 0x21
push ecx
mov ecx, ebp
call sub.MFC42.DLL_CDC::SelectObject_2
test edi, edi
jle 0x42d0e6
mov edx, dword [esp + 0x28]
lea esi, [edx + 0x20]
mov eax, dword [esi]
cmp eax, 0xa
jle 0x42d0a3
cmp eax, 0x64
jge 0x42d0a3
mov ecx, dword [ebx + 0x258]
and ecx, 2
cmp cl, 2
je 0x42d0ba
test eax, eax
jle 0x42d0e0
cmp eax, 9
jge 0x42d0e0
mov edx, dword [ebx + 0x258]
and edx, 8
cmp dl, 8
jne 0x42d0e0
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
push eax
lea edx, [esp + 0x98]
push ecx
push edx
mov ecx, ebp
call sub.MFC42.DLL_CDC::MoveTo
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
push eax
push ecx
mov ecx, ebp
call sub.MFC42.DLL_CDC::LineTo
add esi, 0x34
dec edi
jne 0x42d089
mov dword [esp + 0x5c], 0x441198
lea ecx, [esp + 0x5c]
mov byte [esp + 0x260], 0x22
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov byte [esp + 0x260], 6
mov eax, dword [esp + 0x28]
test eax, eax
je 0x42d118
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov edx, dword [esp + 0xdc]
mov ecx, ebp
push edx
call sub.MFC42.DLL_CDC::SelectObject_2
mov ecx, dword [esp + 0xe0]
mov eax, dword [ebp]
push ecx
mov ecx, ebp
call dword [eax + 0x30]
mov esi, 0x441198
mov dword [esp + 0xb8], esi
lea ecx, [esp + 0xb8]
mov byte [esp + 0x260], 0x23
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov edi, 0x441184
mov dword [esp + 0x7c], esi
mov dword [esp + 0xb8], edi
lea ecx, [esp + 0x7c]
mov byte [esp + 0x260], 0x24
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x7c], edi
mov dword [esp + 0xa8], esi
lea ecx, [esp + 0xa8]
mov dword [esp + 0x260], 0x25
call sub.MFC42.DLL_CGdiObject::DeleteObject
jmp 0x42d19e
fstp st(0)
mov ecx, dword [esp + 0x258]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x254
ret 0x1c