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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x43dce4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xcbc
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ecx, ecx
xor ebx, ebx
mov esi, dword [edi + 0x414]
mov eax, dword [edi + 0x41c]
add eax, esi
mov dword [esp + 0xf0], esi
mov dword [esp + 0x7c], eax
mov eax, dword [ebp + 0xc]
cmp eax, 0xffffffff
je 0x40ba03
mov ebx, eax
inc eax
mov dword [esp + 0x7c], eax
mov eax, dword [edi + 0x860]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x90], ecx
mov ecx, dword [edi + 0x864]
mov dword [esp + 0x78], ecx
lea ecx, [esp + 0x144]
mov dword [esp + 0x74], eax
call dword [sym.imp.SpMapNumber.dll_public:_void___thiscall_CStdMap::constructor_void_]
xor eax, eax
lea ecx, [esp + 0x360]
mov dword [esp + 0xcd0], eax
mov dword [esp + 0x38], eax
call dword [sym.imp.VzSatData.dll_public:_void___thiscall_CSubModelData::constructor_void_]
lea ecx, [esp + 0xab0]
mov byte [esp + 0xcd0], 1
call dword [sym.imp.SpGeoCvt.dll_public:_void___thiscall_CSpGeoCvt::constructor_void_]
lea edx, [edi + 0x63c]
lea ecx, [esp + 0xab0]
push edx
mov byte [esp + 0xcd4], 2
call dword [sym.imp.SpGeoCvt.dll_public:_int___thiscall_CSpGeoCvt::Load4File_char_const__]
test eax, eax
jne 0x40bace
lea ecx, [esp + 0xab0]
mov byte [esp + 0xcd0], 1
call dword [sym.imp.SpGeoCvt.dll_public_virtual:_void___thiscall_CSpGeoCvt::destructor_void_]
mov eax, dword [sym.imp.VzSatData.dll_const_CSubModelData::vftable]
lea ecx, [esp + 0x144]
mov dword [esp + 0x360], eax
mov dword [esp + 0xcd0], 0xffffffff
call dword [sym.imp.SpMapNumber.dll_public_virtual:_void___thiscall_CStdMap::destructor_void_]
xor eax, eax
mov ecx, dword [esp + 0xcc8]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x68], ebx
cmp ebx, eax
jge 0x40cc01
jmp 0x40bae7
mov esi, dword [esp + 0xf0]
cmp ebx, esi
jge 0x40bbe2
push ebx
mov ecx, edi
call dword [sym.imp.VzSatData.dll_public:_class_CVzSatModel____thiscall_CVzSatPro::GetModel_int_]
mov esi, eax
test esi, esi
je 0x40cbdf
mov ecx, dword [esi + 0x36c]
mov ebx, dword [esi + 0x368]
lea edx, [esp + 0xa8]
lea eax, [esp + 0xb0]
mov dword [esp + 0x40], ecx
push edx
push eax
mov ecx, esi
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x54], 0
mov dword [esp + 0x64], esi
call dword [sym.imp.VzSatData.dll_public:_void___thiscall_CVzSatModel::GetParallax_float___float__]
fld dword [esp + 0xb0]
fchs
fstp qword [esp + 0xfc]
fld dword [esp + 0xa8]
lea ecx, [esp + 0xfc]
mov dword [esp + 0x104], 0
fchs
fstp qword [esp + 0x114]
push ecx
mov ecx, esi
mov dword [esp + 0x10c], 0x3ff00000
mov dword [esp + 0x110], 0
mov dword [esp + 0x114], 0
mov dword [esp + 0x120], 0
mov dword [esp + 0x124], 0
mov dword [esp + 0x128], 0
mov dword [esp + 0x12c], 0x3ff00000
call dword [sym.imp.VzSatData.dll_public:_int___thiscall_CVzSatModel::GetAtf_double__]
mov esi, eax
mov ecx, 0xc
neg esi
sbb esi, esi
lea edi, [esp + 0x258]
inc esi
xor eax, eax
mov dword [esp + 0x64], esi
rep stosd dword es:[edi], eax
jmp 0x40bc8d
sub ebx, esi
mov ecx, edi
push ebx
call dword [sym.imp.VzSatData.dll_public:_class_CVzSatTLA____thiscall_CVzSatPro::GetTLA_int_]
mov edi, dword [sym.imp.VzSatData.dll_public:_class_CVzSatPhoto____thiscall_CVzSatTLA::GetPhoto_enum_CVzSatTLA::_SIGHT_]
mov esi, eax
push 0
mov ecx, esi
call edi
push 2
mov ecx, esi
mov dword [esp + 0x48], eax
call edi
push 1
mov ecx, esi
mov dword [esp + 0x44], eax
call edi
mov edi, dword [sym.imp.VzSatData.dll_public:_int___thiscall_CVzSatTLA::GetAtf_double___enum_CVzSatTLA::_SIGHT__enum_CVzSatTLA::_SIGHT_]
push 2
lea edx, [esp + 0x100]
push 0
push edx
mov ecx, esi
mov dword [esp + 0x58], eax
mov dword [esp + 0x68], esi
call edi
push 1
lea eax, [esp + 0x25c]
push 0
push eax
mov ecx, esi
call edi
fld qword [esp + 0xfc]
fchs
fstp dword [esp + 0xb0]
fld qword [esp + 0x114]
fchs
fstp dword [esp + 0xa8]
fld qword [esp + 0x258]
fchs
fstp dword [esp + 0xb4]
fld qword [esp + 0x270]
mov ebx, dword [esp + 0x44]
mov dword [esp + 0x64], 0
mov esi, dword [esp + 0x64]
fchs
fstp dword [esp + 0xac]
mov edx, dword [ebx + 0x30c]
mov ecx, dword [ebx + 0x310]
mov eax, dword [esp + 0x40]
mov dword [esp + 0x1c], edx
fild dword [esp + 0x1c]
mov edx, dword [eax + 0x30c]
mov dword [esp + 0x10], ecx
mov ecx, dword [eax + 0x310]
mov dword [esp + 0x1c], edx
fstp dword [esp + 0xbc]
fild dword [esp + 0x10]
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x10], ecx
test eax, eax
fstp dword [esp + 0xc4]
fild dword [esp + 0x1c]
mov dword [esp + 0xb8], 0
mov dword [esp + 0xc0], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x88], 0
fstp dword [esp + 0x84]
fild dword [esp + 0x10]
mov dword [esp + 0xa0], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x94], 0
fstp dword [esp + 0x8c]
je 0x40bd6f
mov ecx, dword [eax + 0x30c]
mov edx, dword [eax + 0x310]
mov dword [esp + 0x1c], ecx
fild dword [esp + 0x1c]
mov dword [esp + 0x1c], edx
fstp dword [esp + 0x98]
fild dword [esp + 0x1c]
fstp dword [esp + 0xa0]
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x74]
push 0
push eax
push ecx
lea ecx, [ebx + 0x350]
call dword [sym.imp.VzSatData.dll_public:_double___thiscall_CVzSatAbsPara::GetGsd_double__bool_]
fld dword [ebp + 0x10]
fdiv st(1)
fadd qword [0x442540]
call sub.MSVCRT.dll__ftol
fld dword [ebp + 0x14]
fdiv st(1)
mov dword [esp + 0xf8], eax
fadd qword [0x442540]
call sub.MSVCRT.dll__ftol
test esi, esi
fstp st(0)
mov dword [esp + 0xec], eax
je 0x40bdcc
push 0x80
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x38], eax
mov ecx, 0x12
xor eax, eax
lea edi, [esp + 0x150]
push 1
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x60]
lea eax, [esp + 0x18c]
push 1
push eax
mov edx, dword [ecx]
lea eax, [esp + 0x19c]
push eax
lea eax, [esp + 0x188]
push eax
lea eax, [esp + 0x194]
push eax
call dword [edx + 0x14]
fld qword [esp + 0x190]
fsub qword [esp + 0x180]
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x18]
lea eax, [esp + 0x70]
mov dword [esp + 0x170], ecx
push eax
mov ecx, 0x12
fstp qword [esp + 0x194]
fld qword [esp + 0x18c]
fsub qword [esp + 0x17c]
sub esp, 0x48
lea esi, [esp + 0x19c]
mov edi, esp
mov dword [esp + 0x1c0], edx
fstp qword [esp + 0x1d4]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x190]
call dword [sym.imp.SpMapNumber.dll_public:_struct_tagMapInfo____thiscall_CStdMap::GetMapsByRange_struct_tagMapInfo__int__]
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x1c], 0
test ecx, ecx
jle 0x40cbd8
lea ebx, [eax + 0x30]
mov dword [esp + 0x6c], ebx
jmp 0x40be8d
mov ebx, dword [esp + 0x6c]
lea ecx, [esp + 0x360]
call dword [sym.imp.VzSatData.dll_public:_void___thiscall_CSubModelData::Reset_void_]
mov ecx, dword [esp + 0x68]
mov edx, dword [ebp + 8]
lea edi, [ebx - 0x30]
push edi
push ecx
push edx
call fcn.0040d000
add esp, 0xc
test eax, eax
je 0x40bed6
mov eax, dword [esp + 0x5c]
lea ecx, [esp + 0x368]
add eax, 0xcc
push eax
push edi
push str._s_Strip_s
push ecx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x10
jmp 0x40befa
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x368]
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]
mov eax, dword [esp + 0x44]
or ecx, 0xffffffff
lea edx, [esp + 0x3a8]
mov dword [esp + 0x14], 0
lea edi, [eax + 0x108]
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x5a8]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x40]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [eax + 0x108]
or ecx, 0xffffffff
xor eax, eax
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
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
fld qword [ebx]
mov ecx, 0x18
lea edi, [esp + 0x1f8]
rep stosd dword es:[edi], eax
fst qword [esp + 0x240]
fstp qword [esp + 0x1f8]
fld qword [ebx + 0x10]
fadd qword [ebx]
mov ecx, dword [esp + 0x38]
lea esi, [esp + 0x1f8]
mov eax, ecx
mov dword [esp + 0x18], esi
fst qword [esp + 0x228]
fstp qword [esp + 0x210]
fld qword [ebx - 8]
neg eax
fst qword [esp + 0x218]
fstp qword [esp + 0x200]
fld qword [ebx + 8]
fadd qword [ebx - 8]
lea edx, [esp + eax + 0x788]
lea ebx, [ecx + 0x40]
mov dword [esp + 0x10], edx
lea ecx, [esp + eax + 0x78c]
lea edx, [esp + eax + 0x7a8]
mov dword [esp + 0xe4], ecx
fst qword [esp + 0x248]
fstp qword [esp + 0x230]
mov dword [esp + 0xe8], edx
lea ecx, [esp + eax + 0x7ac]
lea edx, [esp + eax + 0xa1c]
lea eax, [esp + eax + 0xa20]
mov dword [esp + 0xf4], ecx
mov dword [esp + 0xe0], edx
mov dword [esp + 0xa4], eax
jmp 0x40c023
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x78]
mov dword [esi + 0x10], ecx
mov ecx, 6
lea edi, [esp + 0x20]
mov dword [esi + 0x14], edx
rep movsd dword es:[edi], dword [esi]
mov edx, dword [esp + 0x34]
lea eax, [esp + 0x50]
lea ecx, [esp + 0x48]
push eax
mov eax, dword [esp + 0x34]
mov esi, dword [sym.imp.VzSatData.dll_public:_bool___thiscall_CVzSatPhoto::GeodeticToPhoto_double__double__double__float___float__]
push ecx
mov ecx, dword [esp + 0x34]
push edx
mov edx, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x34]
push edx
push eax
push ecx
mov ecx, dword [esp + 0x64]
call esi
mov ecx, dword [esp + 0x34]
lea edx, [esp + 0x60]
lea eax, [esp + 0x58]
push edx
mov edx, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x34]
push edx
mov edx, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x58]
push edx
push eax
call esi
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x54], 0
test ecx, ecx
mov dword [esp + 0x3c], 0
je 0x40c0e0
lea edx, [esp + 0x54]
lea eax, [esp + 0x3c]
push edx
mov edx, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x38]
push edx
mov edx, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x38]
push edx
mov edx, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x38]
push edx
push eax
call esi
fld dword [esp + 0x48]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xe4]
mov eax, dword [esp + 0xe8]
fstp dword [ecx + ebx]
fld dword [esp + 0x50]
mov ecx, dword [esp + 0xf4]
fstp dword [edx + ebx]
fld dword [esp + 0x58]
mov edx, dword [esp + 0xe0]
fstp dword [eax + ebx]
fld dword [esp + 0x60]
mov eax, dword [esp + 0xa4]
fstp dword [ecx + ebx]
fld dword [esp + 0x3c]
fstp dword [edx + ebx]
fld dword [esp + 0x54]
fstp dword [eax + ebx]
mov eax, dword [esp + 0x64]
test eax, eax
je 0x40c154
fld dword [esp + 0x48]
fstp qword [ebx - 0x40]
fld dword [esp + 0x50]
fstp qword [ebx - 0x20]
fld dword [esp + 0x58]
fstp qword [ebx]
fld dword [esp + 0x60]
fstp qword [ebx + 0x20]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x48]
fld dword [esp + 0x58]
mov edx, dword [esp + 0x50]
mov edi, dword [esp + 0x18]
fstp dword [esp + eax + 0x1d8]
fld dword [esp + 0x60]
mov dword [esp + eax + 0x1b8], ecx
mov dword [esp + eax + 0x1bc], edx
fstp dword [esp + eax + 0x1dc]
fld dword [esp + 0x3c]
add edi, 0x18
add ebx, 8
fstp dword [esp + eax + 0x198]
fld dword [esp + 0x54]
mov dword [esp + 0x18], edi
fstp dword [esp + eax + 0x19c]
add eax, 8
cmp eax, 0x20
mov dword [esp + 0x14], eax
jl 0x40c01f
mov ebx, dword [ebp + 0x20]
test ebx, ebx
je 0x40c41f
mov ecx, 6
xor eax, eax
lea edi, [esp + 0x20]
rep stosd dword es:[edi], eax
fld qword [esp + 0x20]
fld qword [esp + 0x28]
lea eax, [esp + 0x1f8]
mov ecx, 4
fxch st(1)
fadd qword [eax]
fxch st(1)
fadd qword [eax + 8]
add eax, 0x18
dec ecx
jne 0x40c1e4
fstp qword [esp + 0x28]
lea eax, [esp + 0x310]
lea ecx, [esp + 0x200]
fmul qword [0x442590]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
xor edi, edi
mov dword [esp + 0x10], 4
fstp qword [esp + 0x20]
fld qword [esp + 0x28]
fmul qword [0x442590]
fstp qword [esp + 0x28]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x74]
push edx
mov edx, dword [esp + 0x1c]
lea ebx, [esp + edi + 0x30c]
lea esi, [esp + edi + 0x304]
push ebx
fld qword [edx]
fmul qword [0x442588]
push esi
push eax
push ecx
lea ecx, [esp + 0xac4]
sub esp, 8
fstp qword [esp]
fld qword [esp + edi + 0x214]
fmul qword [0x442588]
sub esp, 8
fstp qword [esp]
call dword [sym.imp.SpGeoCvt.dll_public:_int___thiscall_CSpGeoCvt::Cvt_LBH2Prj_double__double__double__double___double___double__]
fld qword [esp + edi + 0x1f8]
fcomp qword [esp + 0x20]
fld dword [ebp + 0x10]
fnstsw ax
test ah, 0x41
je 0x40c297
fchs
fadd qword [esi]
mov eax, dword [esp + 0x18]
fstp qword [esi]
fld qword [eax]
fcomp qword [esp + 0x28]
fld dword [ebp + 0x14]
fnstsw ax
test ah, 0x41
je 0x40c2b1
fchs
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
fadd qword [ebx]
mov eax, 0x18
add esi, eax
add edi, eax
add ecx, eax
mov eax, dword [esp + 0x10]
fstp qword [ebx]
dec eax
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], eax
jne 0x40c22f
lea edi, [esp + 0x308]
xor ebx, ebx
lea ecx, [esp + 0x30]
lea edx, [esp + 0x28]
push ecx
mov ecx, dword [edi + 0xc]
lea eax, [esp + 0x24]
push edx
mov edx, dword [edi + 8]
push eax
mov eax, dword [edi + 4]
push ecx
mov ecx, dword [edi]
push edx
mov edx, dword [edi - 4]
push eax
mov eax, dword [edi - 8]
push ecx
push edx
push eax
lea ecx, [esp + 0xad4]
call dword [sym.imp.SpGeoCvt.dll_public:_int___thiscall_CSpGeoCvt::Cvt_Prj2LBH_double__double__double__double___double___double__]
fld qword [esp + 0x20]
fmul qword [0x442580]
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x50]
lea edx, [esp + 0x48]
mov esi, dword [sym.imp.VzSatData.dll_public:_bool___thiscall_CVzSatPhoto::GeodeticToPhoto_double__double__double__float___float__]
push ecx
mov ecx, dword [esp + 0x34]
fstp qword [esp + 0x24]
fld qword [esp + 0x2c]
fmul qword [0x442580]
push edx
push eax
push ecx
mov ecx, dword [esp + 0x34]
fstp qword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
push edx
mov edx, dword [esp + 0x34]
push eax
push ecx
mov ecx, dword [esp + 0x60]
push edx
call esi
mov edx, dword [esp + 0x34]
lea eax, [esp + 0x60]
lea ecx, [esp + 0x58]
push eax
mov eax, dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x34]
push edx
mov edx, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x34]
push edx
push eax
push ecx
mov ecx, dword [esp + 0x60]
call esi
mov ecx, dword [esp + 0x4c]
test ecx, ecx
je 0x40c3cb
lea edx, [esp + 0x54]
lea eax, [esp + 0x3c]
push edx
mov edx, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x38]
push edx
mov edx, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x38]
push edx
mov edx, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x38]
push edx
push eax
call esi
fld dword [esp + 0x58]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x50]
fstp dword [esp + ebx + 0x1d8]
fld dword [esp + 0x60]
mov dword [esp + ebx + 0x1b8], ecx
mov dword [esp + ebx + 0x1bc], edx
fstp dword [esp + ebx + 0x1dc]
fld dword [esp + 0x3c]
add edi, 0x18
fstp dword [esp + ebx + 0x198]
fld dword [esp + 0x54]
fstp dword [esp + ebx + 0x19c]
add ebx, 8
cmp ebx, 0x20
jl 0x40c2e8
mov ebx, dword [ebp + 0x20]
mov ecx, dword [esp + 0xb8]
push 0
mov edx, dword [esp + 0xc0]
sub esp, 0x10
mov eax, esp
mov esi, dword [sym.imp.VzSatData.dll_public:_bool___thiscall_CSubModelData::IsModelInRect_class_CFltRect__int_]
mov dword [eax], ecx
mov ecx, dword [esp + 0xd4]
mov dword [eax + 4], edx
mov edx, dword [esp + 0xd8]
mov dword [eax + 8], ecx
lea ecx, [esp + 0x374]
mov dword [eax + 0xc], edx
call esi
test al, al
je 0x40cbb8
mov ecx, dword [esp + 0x80]
push 2
mov edx, dword [esp + 0x88]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x9c]
mov dword [eax + 4], edx
mov edx, dword [esp + 0xa0]
mov dword [eax + 8], ecx
lea ecx, [esp + 0x374]
mov dword [eax + 0xc], edx
call esi
test al, al
je 0x40cbb8
test ebx, ebx
lea eax, [esp + 0x1b8]
jne 0x40c4b5
lea eax, [esp + 0x7c8]
mov edi, dword [sym.imp.VzSatData.dll_public:_void___thiscall_CFltRect::constructor_struct_tagFPoint___int_]
push 4
push eax
lea ecx, [esp + 0x2e8]
call edi
mov esi, dword [sym.imp.VzSatData.dll_public:_void___thiscall_CFltRect::operator_class_CFltRect_const__]
push eax
lea ecx, [esp + 0x7ac]
call esi
test ebx, ebx
lea eax, [esp + 0x1d8]
jne 0x40c4e9
lea eax, [esp + 0x7e8]
push 4
push eax
lea ecx, [esp + 0x2f8]
call edi
push eax
lea ecx, [esp + 0x7bc]
call esi
test ebx, ebx
lea eax, [esp + 0x198]
jne 0x40c511
lea eax, [esp + 0xa5c]
push 4
push eax
lea ecx, [esp + 0x2d8]
call edi
push eax
lea ecx, [esp + 0xa50]
call esi
test ebx, ebx
jne 0x40c5f7
mov ecx, dword [esp + 0xb8]
mov edx, dword [esp + 0xbc]
sub esp, 0x10
mov esi, dword [ebp + 0x14]
mov eax, esp
mov edi, dword [ebp + 0x10]
mov ebx, dword [sym.imp.VzSatData.dll_public:_void___thiscall_CFltRect::Expand_float__float__class_CFltRect_]
push esi
mov dword [eax], ecx
mov ecx, dword [esp + 0xd4]
push edi
mov dword [eax + 4], edx
mov edx, dword [esp + 0xdc]
mov dword [eax + 8], ecx
lea ecx, [esp + 0x7c0]
mov dword [eax + 0xc], edx
call ebx
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x84]
sub esp, 0x10
mov eax, esp
push esi
push edi
mov dword [eax], ecx
mov ecx, dword [esp + 0xa0]
mov dword [eax + 4], edx
mov edx, dword [esp + 0xa4]
mov dword [eax + 8], ecx
lea ecx, [esp + 0x7d0]
mov dword [eax + 0xc], edx
call ebx
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0x98]
sub esp, 0x10
mov eax, esp
push esi
push edi
mov dword [eax], ecx
mov ecx, dword [esp + 0xb4]
mov dword [eax + 4], edx
mov edx, dword [esp + 0xb8]
mov dword [eax + 8], ecx
lea ecx, [esp + 0xa64]
mov dword [eax + 0xc], edx
call ebx
fld dword [ebp + 0x10]
fadd dword [0x442554]
call sub.MSVCRT.dll__ftol
mov dword [esp + 0x808], eax
jmp 0x40c61b
mov eax, dword [esp + 0xf8]
mov ecx, dword [esp + 0xec]
mov ebx, dword [sym.imp.VzSatData.dll_public:_void___thiscall_CFltRect::Expand_float__float__class_CFltRect_]
mov dword [esp + 0x808], eax
mov dword [esp + 0x80c], ecx
jmp 0x40c630
fld dword [ebp + 0x14]
fadd dword [0x442554]
call sub.MSVCRT.dll__ftol
mov dword [esp + 0x80c], eax
mov eax, dword [esp + 0x64]
test eax, eax
je 0x40c8cf
mov edx, dword [esp + 0x38]
mov ecx, 0x12
xor eax, eax
lea edi, [esp + 0x288]
rep stosd dword es:[edi], eax
mov ecx, 6
lea edi, [esp + 0xc8]
rep stosd dword es:[edi], eax
mov ecx, 6
lea edi, [esp + 0x12c]
lea esi, [edx + 0x20]
mov dword [esp + 0xc8], eax
rep stosd dword es:[edi], eax
mov ecx, edx
sub esi, edx
mov dword [esp + 0xcc], 0x3ff00000
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], 4
jmp 0x40c69b
mov esi, dword [esp + 0x18]
fld qword [esi + ecx]
mov eax, dword [ecx + 4]
mov edx, dword [ecx]
fstp qword [esp + 0xd8]
fld qword [ecx + 0x40]
mov edi, 3
xor esi, esi
mov dword [esp + 0xd4], eax
mov dword [esp + 0xd0], edx
test edi, edi
lea eax, [esp + 0x288]
jle 0x40c6ef
lea edx, [esp + esi + 0xc8]
mov ebx, edi
mov ecx, edx
fld qword [ecx]
fmul qword [edx]
add eax, 8
add ecx, 8
dec ebx
fadd qword [eax - 8]
fstp qword [eax - 8]
jne 0x40c6d8
mov ecx, dword [esp + 0x10]
fld st(0)
fmul qword [esp + esi + 0xc8]
add esi, 8
dec edi
test edi, edi
fadd qword [esp + esi + 0x124]
fstp qword [esp + esi + 0x124]
jg 0x40c6cd
mov eax, dword [esp + 0x14]
add ecx, 8
dec eax
mov dword [esp + 0x10], ecx
fstp st(0)
mov dword [esp + 0x14], eax
jne 0x40c697
mov edi, dword [sym.imp.MSVCRT.dll_malloc]
push 0x18
call edi
push 0x18
mov esi, eax
call edi
mov ebx, eax
mov ecx, 6
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
mov ecx, 6
mov edi, ebx
rep stosd dword es:[edi], eax
push 3
push 3
push ebx
lea ecx, [esp + 0x29c]
push esi
push ecx
call fcn.0040cc60
push 3
lea edx, [esp + 0x11c]
push 3
lea eax, [esp + 0x150]
push edx
push eax
push esi
push ebx
call fcn.0040ce40
push esi
mov esi, dword [sym.imp.MSVCRT.dll_free]
call esi
push ebx
call esi
add esp, 0x3c
mov ecx, 0x12
xor eax, eax
lea edi, [esp + 0x288]
rep stosd dword es:[edi], eax
mov ecx, 6
lea edi, [esp + 0xc8]
rep stosd dword es:[edi], eax
mov ecx, 6
lea edi, [esp + 0x12c]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x38]
mov dword [esp + 0xc8], eax
mov dword [esp + 0xcc], 0x3ff00000
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], 4
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
mov dword [esp + 0xd0], edx
mov edx, dword [esp + 0x18]
mov edi, 3
xor esi, esi
fld qword [ecx + edx]
mov dword [esp + 0xd4], eax
lea eax, [esp + 0x288]
fstp qword [esp + 0xd8]
fld qword [ecx + 0x60]
test edi, edi
jle 0x40c82f
lea edx, [esp + esi + 0xc8]
mov ebx, edi
mov ecx, edx
fld qword [ecx]
fmul qword [edx]
add eax, 8
add ecx, 8
dec ebx
fadd qword [eax - 8]
fstp qword [eax - 8]
jne 0x40c818
mov ecx, dword [esp + 0x10]
fld st(0)
fmul qword [esp + esi + 0xc8]
add esi, 8
dec edi
test edi, edi
fadd qword [esp + esi + 0x124]
fstp qword [esp + esi + 0x124]
jg 0x40c80d
mov eax, dword [esp + 0x14]
add ecx, 8
dec eax
mov dword [esp + 0x10], ecx
fstp st(0)
mov dword [esp + 0x14], eax
jne 0x40c7d7
mov edi, dword [sym.imp.MSVCRT.dll_malloc]
push 0x18
call edi
push 0x18
mov esi, eax
call edi
mov ebx, eax
mov ecx, 6
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
mov ecx, 6
mov edi, ebx
push 3
push 3
rep stosd dword es:[edi], eax
push ebx
lea eax, [esp + 0x29c]
push esi
push eax
call fcn.0040cc60
push 3
lea ecx, [esp + 0x134]
push 3
lea edx, [esp + 0x150]
push ecx
push edx
push esi
push ebx
call fcn.0040ce40
push esi
mov esi, dword [sym.imp.MSVCRT.dll_free]
call esi
push ebx
call esi
mov ebx, dword [sym.imp.VzSatData.dll_public:_void___thiscall_CFltRect::Expand_float__float__class_CFltRect_]
add esp, 0x3c
mov eax, dword [esp + 0x5c]
mov ecx, 0xc
lea esi, [esp + 0xfc]
lea edi, [esp + 0x810]
mov eax, dword [eax + 0x360]
mov word [esp + 0x848], ax
test ax, ax
rep movsd dword es:[edi], dword [esi]
jne 0x40c9b5
mov ecx, dword [esp + 0xa8]
mov edx, dword [esp + 0xb0]
mov esi, dword [sym.imp.VzSatData.dll_public:_void___thiscall_CSubModelData::AutoCalcCorner_bool__float__float__bool__int_]
push 2
push 1
push ecx
push edx
push 0
lea ecx, [esp + 0x374]
call esi
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0xb4]
push 1
push 1
push eax
push ecx
push 0
lea ecx, [esp + 0x374]
call esi
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x84]
sub esp, 0x10
mov edx, esp
push 0
push 0
mov dword [edx], eax
mov eax, dword [esp + 0xa0]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0xa4]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
lea ecx, [esp + 0x7d0]
call ebx
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x98]
sub esp, 0x10
mov edx, esp
push 0
push 0
mov dword [edx], eax
mov eax, dword [esp + 0xb4]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0xb8]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
lea ecx, [esp + 0xa64]
call ebx
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x40ca04
mov ecx, 0xc
lea esi, [esp + 0x258]
lea edi, [esp + 0xa80]
mov byte [esp + 0x84a], 1
rep movsd dword es:[edi], dword [esi]
lea edi, [eax + 0x108]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x84b]
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]
sub esp, 0x750
mov ecx, 0x10
mov eax, esp
lea esi, [esp + 0xab8]
mov dword [esp + 0x7f4], esp
lea edi, [eax + 8]
rep movsd dword es:[edi], dword [esi]
lea edi, [eax + 0x48]
mov ecx, 0x80
lea esi, [esp + 0xaf8]
rep movsd dword es:[edi], dword [esi]
lea edi, [eax + 0x248]
mov ecx, 0x80
lea esi, [esp + 0xcf8]
rep movsd dword es:[edi], dword [esi]
mov edx, dword [esp + 0xef8]
lea ecx, [eax + 0x448]
lea edi, [eax + 0x468]
lea esi, [esp + 0xf18]
mov dword [ecx], edx
mov edx, dword [esp + 0xefc]
mov dword [ecx + 4], edx
mov edx, dword [esp + 0xf00]
mov dword [ecx + 8], edx
mov edx, dword [esp + 0xf04]
mov dword [ecx + 0xc], edx
mov edx, dword [esp + 0xf08]
lea ecx, [eax + 0x458]
mov dword [eax + 0x458], edx
mov edx, dword [esp + 0xf0c]
mov dword [ecx + 4], edx
mov edx, dword [esp + 0xf10]
mov dword [ecx + 8], edx
mov edx, dword [esp + 0xf14]
mov dword [ecx + 0xc], edx
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
lea edi, [eax + 0x488]
mov ecx, 8
lea esi, [esp + 0xf38]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0xf58]
lea edi, [eax + 0x4b0]
mov dword [eax + 0x4a8], ecx
mov edx, dword [esp + 0xf5c]
mov ecx, 0xc
lea esi, [esp + 0xf60]
mov dword [eax + 0x4ac], edx
rep movsd dword es:[edi], dword [esi]
mov cl, byte [esp + 0xf90]
lea edi, [eax + 0x4eb]
mov byte [eax + 0x4e0], cl
mov edx, dword [esp + 0xf94]
mov dword [eax + 0x4e4], edx
mov cx, word [esp + 0xf98]
mov word [eax + 0x4e8], cx
mov dl, byte [esp + 0xf9a]
mov ecx, 0x80
lea esi, [esp + 0xf9b]
mov byte [eax + 0x4ea], dl
rep movsd dword es:[edi], dword [esi]
mov edx, dword [esp + 0x119c]
lea ecx, [eax + 0x6ec]
lea edi, [eax + 0x6fc]
lea esi, [esp + 0x11ac]
mov dword [ecx], edx
mov edx, dword [esp + 0x11a0]
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x11a4]
mov dword [ecx + 8], edx
mov edx, dword [esp + 0x11a8]
mov dword [ecx + 0xc], edx
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
lea edi, [eax + 0x720]
mov ecx, 0xc
lea esi, [esp + 0x11d0]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [sym.imp.VzSatData.dll_const_CSubModelData::vftable]
mov dword [eax], ecx
mov ecx, dword [esp + 0x7ac]
call dword [sym.imp.VzSatData.dll_public:_void___thiscall_CVzSatStrip::AddSubModel_class_CSubModelData_]
inc dword [esp + 0x90]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x6c]
mov ecx, dword [esp + 0x70]
inc eax
add edx, 0x48
cmp eax, ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x6c], edx
jl 0x40be89
mov edi, dword [ebp + 8]
mov ebx, dword [esp + 0x68]
mov eax, dword [esp + 0x7c]
inc ebx
cmp ebx, eax
mov dword [esp + 0x68], ebx
jl 0x40bae0
mov eax, dword [esp + 0x38]
test eax, eax
je 0x40cc01
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0xab0]
mov byte [esp + 0xcd0], 1
call dword [sym.imp.SpGeoCvt.dll_public_virtual:_void___thiscall_CSpGeoCvt::destructor_void_]
mov edx, dword [sym.imp.VzSatData.dll_const_CSubModelData::vftable]
lea ecx, [esp + 0x144]
mov dword [esp + 0x360], edx
mov dword [esp + 0xcd0], 0xffffffff
call dword [sym.imp.SpMapNumber.dll_public_virtual:_void___thiscall_CStdMap::destructor_void_]
mov ecx, dword [esp + 0xcc8]
mov eax, dword [esp + 0x90]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret