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

Disassembly:
push 0xffffffffffffffff
push 0x46bb8f
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
push ebx
push ebp
push esi
push edi
mov eax, dword [0x48c9dc]
xor eax, esp
push eax
lea eax, [esp + 0xc8]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0x14]
call dword [sym.imp.orDb_Dll.dll_public:_void___thiscall_DboState::constructor_void_]
push 0xa
lea ecx, [esp + 0x70]
mov dword [esp + 0xd4], 0
call sub.MFC80.DLL_Ordinal_426
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC80.DLL_Ordinal_310]
mov eax, dword [esi + 0x20]
neg eax
sbb eax, eax
mov byte [esp + 0xd0], 2
mov dword [esp + 0x40], eax
je 0x42e124
mov ebx, dword [sym.imp.MFC80.DLL_Ordinal_2322]
add esi, 0x14
mov dword [esp + 0x5c], esi
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x64]
lea edx, [esp + 0x48]
push edx
call sub.MFC80.DLL_Ordinal_3022
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x42e119
mov eax, dword [eax + 4]
test eax, eax
je 0x42e119
jmp 0x42dcd4
mov eax, dword [esp + 0x28]
test eax, eax
je 0x42e1c8
mov ebp, dword [eax + 8]
test ebp, ebp
mov ecx, dword [eax]
mov dword [esp + 0x28], ecx
je 0x42e10e
lea edx, [esp + 0x14]
push edx
mov ecx, ebp
call dword [sym.imp.orDb_Dll.dll_public:_class_DboPartInst____thiscall_DboInstOccurrence::GetPartInst_class_DboState__const]
mov edi, eax
test edi, edi
je 0x42e10e
lea eax, [esp + 0x14]
push eax
mov ecx, edi
call dword [sym.imp.orDb_Dll.dll_public:_int___thiscall_DboPartInst::IsPrimitive_class_DboState__]
test eax, eax
je 0x42e10e
mov ecx, ebp
call dword [sym.imp.orDb_Dll.dll_public:_class_DboBaseObject____thiscall_DboOccurrence::GetParent_void_const]
test eax, eax
mov dword [esp + 0x54], eax
je 0x42e10e
mov ecx, edi
call dword [sym.imp.orDb_Dll.dll_public:_class_DboPage____thiscall_DboGraphicInstance::GetOwner_void_const]
test eax, eax
je 0x42e10e
mov ecx, eax
call dword [sym.imp.orDb_Dll.dll_public:_class_DboSchematic____thiscall_DboPage::GetOwner_void_const]
test eax, eax
mov dword [esp + 0x64], eax
je 0x42e10e
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0x20]
call dword [sym.imp.MFC80.DLL_Ordinal_876]
push eax
lea ecx, [esp + 0x74]
call sub.MFC80.DLL_Ordinal_4066
test eax, eax
jne 0x42ddb9
push 0x1c
call sub.MFC80.DLL_Ordinal_762
add esp, 4
mov dword [esp + 0x68], eax
test eax, eax
mov byte [esp + 0xd0], 3
je 0x42dd95
push 0xa
mov ecx, eax
call sub.MFC80.DLL_Ordinal_427
mov esi, eax
jmp 0x42dd97
xor esi, esi
lea ecx, [esp + 0x1c]
mov byte [esp + 0xd0], 2
mov dword [esp + 0x38], esi
call dword [sym.imp.MFC80.DLL_Ordinal_876]
push eax
lea ecx, [esp + 0x70]
call sub.MFC80.DLL_Ordinal_869
mov dword [eax], esi
push 8
push ebp
lea ecx, [esp + 0x90]
call dword [sym.imp.orDb_Dll.dll_public:_void___thiscall_DboOccurrenceChildrenIter::constructor_class_DboBaseObject___enum_IterDefs::IterModeT_]
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80.DLL_Ordinal_310]
lea ecx, [esp + 0x30]
call dword [sym.imp.MFC80.DLL_Ordinal_310]
lea ecx, [esp + 0x34]
call dword [sym.imp.MFC80.DLL_Ordinal_310]
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x8c]
mov byte [esp + 0xd4], 7
call dword [sym.imp.orDb_Dll.dll_public:_class_DboOccurrence____thiscall_DboOccurrenceChildrenIter::NextOccurrence_class_DboState__]
mov esi, eax
test esi, esi
je 0x42e0db
jmp 0x42de10
mov eax, dword [esi]
mov edx, dword [eax + 0x1b8]
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
call edx
test eax, eax
je 0x42e0bf
mov edx, dword [eax]
mov edx, dword [edx + 0x174]
lea ecx, [esp + 0x14]
push ecx
mov ecx, eax
call edx
test eax, eax
je 0x42de94
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x68]
push eax
call dword [sym.imp.orDb_Dll.dll_public:_class_DboSchematicNet____thiscall_DboSchematic::GetNet_class_DboNet___class_DboState__const]
test eax, eax
je 0x42de94
mov ecx, dword [esp + 0x54]
lea edx, [esp + 0x14]
push edx
push eax
call dword [sym.imp.orDb_Dll.dll_public:_class_DboNetOccurrence____thiscall_DboInstOccurrence::GetNetOccurrence_class_DboSchematicNet___class_DboState__]
test eax, eax
je 0x42de94
lea ecx, [esp + 0x14]
push ecx
mov ecx, eax
call dword [sym.imp.orDb_Dll.dll_public:_class_DboFlatNet____thiscall_DboNetOccurrence::GetFlatNet_class_DboState__]
test eax, eax
je 0x42de94
mov edx, dword [eax]
mov edx, dword [edx + 0x50]
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x64]
push ecx
mov ecx, eax
call edx
lea ecx, [esp + 0x60]
call dword [sym.imp.orDb_Dll.dll_public:_void___thiscall_DboState::destructor_void_]
mov eax, dword [esi]
mov eax, dword [eax + 0x30]
lea ecx, [esp + 0x18]
push ecx
push 0xda8
lea edx, [esp + 0x4c]
push edx
mov ecx, esi
call eax
lea ecx, [esp + 0x44]
call dword [sym.imp.orDb_Dll.dll_public:_void___thiscall_DboState::destructor_void_]
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80.DLL_Ordinal_3934]
test al, al
jne 0x42e0bf
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC80.DLL_Ordinal_876]
mov ecx, dword [esp + 0x3c]
push eax
call sub.MFC80.DLL_Ordinal_4067
test eax, eax
lea ecx, [esp + 0x30]
je 0x42e09a
call dword [sym.imp.MFC80.DLL_Ordinal_876]
push eax
lea ecx, [esp + 0x38]
call dword [sym.imp.MFC80.DLL_Ordinal_1482]
test eax, eax
je 0x42e0bf
lea ecx, [esp + 0x50]
call dword [sym.imp.MFC80.DLL_Ordinal_310]
lea ecx, [esp + 0x48]
call dword [sym.imp.MFC80.DLL_Ordinal_310]
lea ecx, [esp + 0x24]
call dword [sym.imp.MFC80.DLL_Ordinal_310]
lea ecx, [esp + 0x20]
call dword [sym.imp.MFC80.DLL_Ordinal_310]
lea ecx, [esp + 0x2c]
call dword [sym.imp.MFC80.DLL_Ordinal_310]
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x2c]
push ecx
push ebp
mov byte [esp + 0xe0], 0xc
call fcn.0043e910
mov edx, dword [edi]
mov eax, dword [edx + 8]
add esp, 0x10
mov ecx, edi
call eax
cmp eax, 0xd
jne 0x42dff9
lea ecx, [esp + 0x14]
push ecx
mov ecx, edi
call dword [sym.imp.orDb_Dll.dll_public:_class_DboPackage____thiscall_DboPlacedInst::GetPackage_class_DboState__]
lea edx, [esp + 0x14]
push edx
mov ecx, eax
call dword [sym.imp.orDb_Dll.dll_public:_int___thiscall_DboPackage::GetSize_class_DboState__]
cmp eax, 1
jle 0x42dfcb
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC80.DLL_Ordinal_876]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x30]
push eax
push ecx
push edx
lea ecx, [esp + 0x2c]
call dword [sym.imp.MFC80.DLL_Ordinal_876]
push eax
lea ecx, [esp + 0x2c]
call dword [sym.imp.MFC80.DLL_Ordinal_876]
push eax
mov eax, dword [0x48cbdc]
push eax
push 0x48d61c
call ebx
add esp, 0x20
jmp 0x42e02f
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
push ecx
push edx
push eax
lea ecx, [esp + 0x28]
call dword [sym.imp.MFC80.DLL_Ordinal_876]
push eax
lea ecx, [esp + 0x28]
call dword [sym.imp.MFC80.DLL_Ordinal_876]
mov ecx, dword [0x48cbb4]
push eax
push ecx
jmp 0x42e025
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
push edx
push eax
push ecx
lea ecx, [esp + 0x28]
call dword [sym.imp.MFC80.DLL_Ordinal_876]
push eax
lea ecx, [esp + 0x28]
call dword [sym.imp.MFC80.DLL_Ordinal_876]
mov edx, dword [0x48cbb4]
push eax
push edx
push 0x48d61c
call ebx
add esp, 0x1c
mov ecx, 0x48d61c
call dword [sym.imp.MFC80.DLL_Ordinal_876]
push eax
call dword [sym.imp.MSVCR80.dll__strdup]
mov esi, eax
mov eax, dword [0x48cc68]
add esp, 4
call fcn.0042c530
add dword [0x48cc68], 1
lea ecx, [esp + 0x2c]
mov byte [0x48cc6c], 1
call dword [sym.imp.MFC80.DLL_Ordinal_578]
lea ecx, [esp + 0x20]
call dword [sym.imp.MFC80.DLL_Ordinal_578]
lea ecx, [esp + 0x24]
call dword [sym.imp.MFC80.DLL_Ordinal_578]
lea ecx, [esp + 0x48]
call dword [sym.imp.MFC80.DLL_Ordinal_578]
lea ecx, [esp + 0x50]
mov byte [esp + 0xd0], 7
call dword [sym.imp.MFC80.DLL_Ordinal_578]
jmp 0x42e0bf
call dword [sym.imp.MFC80.DLL_Ordinal_876]
lea ecx, [esp + 0x18]
mov esi, eax
call dword [sym.imp.MFC80.DLL_Ordinal_876]
mov ecx, dword [esp + 0x38]
push esi
push eax
call sub.MFC80.DLL_Ordinal_870
mov ecx, eax
call dword [sym.imp.MFC80.DLL_Ordinal_784]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x8c]
call dword [sym.imp.orDb_Dll.dll_public:_class_DboOccurrence____thiscall_DboOccurrenceChildrenIter::NextOccurrence_class_DboState__]
mov esi, eax
test esi, esi
jne 0x42de10
lea ecx, [esp + 0x34]
call dword [sym.imp.MFC80.DLL_Ordinal_578]
lea ecx, [esp + 0x30]
call dword [sym.imp.MFC80.DLL_Ordinal_578]
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80.DLL_Ordinal_578]
lea ecx, [esp + 0x88]
mov byte [esp + 0xd0], 2
call dword [sym.imp.orDb_Dll.dll_public_virtual:_void___thiscall_DboOccurrenceChildrenIter::destructor_void_]
cmp dword [esp + 0x28], 0
jne 0x42dcd0
cmp dword [esp + 0x40], 0
jne 0x42dc9f
lea ecx, [esp + 0x3c]
call dword [sym.imp.MFC80.DLL_Ordinal_310]
mov eax, dword [esp + 0x78]
neg eax
sbb eax, eax
mov byte [esp + 0xd0], 0xd
mov dword [esp + 0x28], eax
je 0x42e174
lea ecx, [esp + 0x58]
push ecx
lea edx, [esp + 0x40]
push edx
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x78]
call sub.MFC80.DLL_Ordinal_3022
mov ecx, dword [esp + 0x58]
test ecx, ecx
je 0x42e16d
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 1
call eax
cmp dword [esp + 0x28], 0
jne 0x42e144
lea ecx, [esp + 0x3c]
call dword [sym.imp.MFC80.DLL_Ordinal_578]
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC80.DLL_Ordinal_578]
lea ecx, [esp + 0x6c]
mov byte [esp + 0xd0], 0
call sub.MFC80.DLL_Ordinal_663
lea ecx, [esp + 0x14]
mov dword [esp + 0xd0], 0xffffffff
call dword [sym.imp.orDb_Dll.dll_public:_void___thiscall_DboState::destructor_void_]
mov ecx, dword [esp + 0xc8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc0
ret
jmp fcn.0043f2d6