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

Disassembly:
push 0xffffffffffffffff
push 0x420742
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push ebp
push esi
push edi
mov eax, dword [0x43845c]
xor eax, esp
push eax
lea eax, [esp + 0x64]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [sym.imp.CELLDBPI.dll_const_CCellDBBondpad::vftable]
mov eax, dword [sym.imp.CELLDBPI.dll_const_CCellDBConductiveArea::vftable]
mov edi, dword [esp + 0x74]
xor ebx, ebx
or ebp, 0xffffffff
lea edx, [esp + 0x24]
mov dword [esp + 0x24], ecx
push edx
mov ecx, edi
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x3c], eax
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], ebp
call dword [sym.imp.CELLDBPI.dll_public:_int___thiscall_CCellDBPin::GetBondpad_class_CCellDBBondpad__]
test eax, eax
jne 0x40950e
lea edi, [esi + 0x1c4]
push 0xdc
mov ecx, edi
call dword [sym.imp.mfc90.dll_Ordinal_4431]
jmp 0x4097f1
lea eax, [esp + 0x24]
push eax
mov ecx, edi
call dword [sym.imp.CELLDBPI.dll_public:_int___thiscall_CCellDBPin::NewBondpad_class_CCellDBBondpad__]
mov ecx, dword [esp + 0x78]
mov edi, dword [ecx + 0x3c]
push edi
mov ecx, esi
call fcn.004093b0
cmp eax, ebx
je 0x4097d7
cmp eax, 1
jg 0x4097d7
lea edx, [esp + 0x38]
lea ecx, [esi + 0xb0]
push edx
call dword [sym.imp.CELLDBPI.dll_public:_int___thiscall_CCellDBCell::NewConductiveArea_class_CCellDBConductiveArea__]
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x28]
call dword [sym.imp.CELLDBPI.dll_public:_int___thiscall_CCellDBBondpad::SetConductiveArea_class_CCellDBConductiveArea__]
push 1
lea ecx, [esp + 0x3c]
call dword [sym.imp.CELLDBPI.dll_public:_int___thiscall_CCellDBConductiveArea::SetBondpadFlag_int_]
cmp edi, ebx
je 0x4096fc
nop
mov eax, dword [edi + 0x20]
cmp eax, 0x5b
je 0x4096ea
cmp eax, 0x99
jne 0x4095f5
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x1c]
push edx
push edi
mov ecx, esi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ebx
call fcn.0040f580
cmp eax, ebx
jne 0x409802
mov eax, dword [sym.imp.CELLDBPI.dll_const_CCellDBText::vftable]
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x4c]
push ecx
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x1c]
push edx
push eax
lea ecx, [esp + 0x30]
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebp
mov dword [esp + 0x68], ebp
mov dword [esp + 0x6c], ebp
call dword [sym.imp.CELLDBPI.dll_public_virtual:_int___thiscall_CCellDBBondpad::SetPropertyPair_char_const___char_const___class_CCellDBText__]
lea ecx, [esp + 0x4c]
push ecx
push edi
mov ecx, esi
call fcn.0040f720
cmp eax, ebx
jne 0x409802
jmp 0x4096d8
cmp eax, 0x85
jne 0x409651
mov edx, dword [edi + 0x30]
mov eax, dword [edx]
lea ecx, [eax - 0xf6]
cmp ecx, 5
ja case.0x40960c.249
jmp dword [ecx*4 + 0x409818]
push ebx
push 0x79
lea ecx, [esp + 0x40]
call dword [sym.imp.CELLDBPI.dll_public:_int___thiscall_CCellDBConductiveArea::SetRouteLayer_int__enum_CCellDB::eLayerType_]
jmp 0x4096d8
push ebx
push 0x7b
lea ecx, [esp + 0x40]
call dword [sym.imp.CELLDBPI.dll_public:_int___thiscall_CCellDBConductiveArea::SetRouteLayer_int__enum_CCellDB::eLayerType_]
jmp 0x4096d8
push 1
push eax
mov ecx, esi
call fcn.00404f60
push eax
lea ecx, [esp + 0x40]
call dword [sym.imp.CELLDBPI.dll_public:_int___thiscall_CCellDBConductiveArea::SetRouteLayer_int__enum_CCellDB::eLayerType_]
jmp 0x4096d8
mov ecx, esi
cmp eax, 0x1f
jne 0x4096b2
lea eax, [esp + 0x1c]
push eax
push edi
call fcn.00407f60
cmp eax, ebx
jne 0x409802
mov ecx, dword [esi + 0xb0]
mov edx, dword [esp + 0x1c]
mov eax, dword [esi + 0xb4]
mov dword [esp + 0x50], ecx
mov ecx, dword [sym.imp.CELLDBPI.dll_const_CCellDBDimensionedObject::vftable]
mov dword [esp + 0x4c], ecx
push 2
lea ecx, [esp + 0x50]
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], ebp
call dword [sym.imp.CELLDBPI.dll_public:_int___thiscall_CCellDBDimensionedObject::SetObjectGfxType_int_]
mov edx, dword [esp + 0x2c]
push edx
lea ecx, [esp + 0x50]
call dword [sym.imp.CELLDBPI.dll_public:_int___thiscall_CCellDBDimensionedObject::SetObjectGfxIndex_int_]
jmp 0x4096d8
push edi
call fcn.004102c0
mov ebp, eax
cmp ebp, ebx
je 0x409727
push ebp
lea ecx, [esp + 0x3c]
call dword [sym.imp.CELLDBPI.dll_public:_int___thiscall_CCellDBConductiveArea::SetGeometry_class_CVbVrtxGeom__]
mov eax, dword [ebp]
mov edx, dword [eax + 0x34]
push 1
mov ecx, ebp
call edx
or ebp, 0xffffffff
mov edi, dword [edi + 0x38]
cmp edi, ebx
jne 0x409570
xor eax, eax
jmp 0x409802
mov eax, dword [edi + 0x30]
lea ecx, [esp + 0x24]
cmp dword [eax], ebx
jne 0x409703
push ebx
call dword [sym.imp.CELLDBPI.dll_public:_int___thiscall_CCellDBBondpad::SetWireMaterial_enum_CCellDB::eBondpadWireMat_]
xor eax, eax
jmp 0x409802
push 1
call dword [sym.imp.CELLDBPI.dll_public:_int___thiscall_CCellDBBondpad::SetWireMaterial_enum_CCellDB::eBondpadWireMat_]
xor eax, eax
jmp 0x409802
push ebx
push ebx
push 1
push 0xfb
mov ecx, esi
call fcn.00410520
jmp 0x4097fd
lea ecx, [esp + 0x78]
call dword [sym.imp.mfc90.dll_Ordinal_316]
push str.BONDPAD
lea ecx, [esp + 0x7c]
push 0xe4
push ecx
mov dword [esp + 0x78], ebx
call dword [sym.imp.mfc90.dll_Ordinal_2538]
add esp, 0xc
lea edi, [esi + 0x1c4]
call fcn.004172f0
push eax
mov ecx, edi
call dword [sym.imp.mfc90.dll_Ordinal_820]
lea edx, [esp + 0x78]
push edx
lea eax, [esp + 0x24]
push edi
push eax
call fcn.00403940
add esp, 0xc
push eax
mov ecx, edi
mov byte [esp + 0x70], 1
call dword [sym.imp.mfc90.dll_Ordinal_817]
lea ecx, [esp + 0x20]
mov byte [esp + 0x6c], bl
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov ecx, dword [esi + 0x1cc]
mov edx, dword [ecx + 8]
push 1
push edx
push 1
push edi
mov ecx, esi
call fcn.00410490
mov ecx, edi
call dword [sym.imp.mfc90.dll_Ordinal_2327]
push ebx
push ebx
push 1
push edi
mov ecx, esi
call fcn.00410490
mov ecx, dword [esp + 0x74]
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.CELLDBPI.dll_public:_int___thiscall_CCellDBPin::DeleteBondpad_class_CCellDBBondpad__]
lea ecx, [esp + 0x78]
call dword [sym.imp.mfc90.dll_Ordinal_601]
xor eax, eax
jmp 0x409802
push 0x4285dc
lea edi, [esi + 0x1c4]
push 0xda
push edi
call dword [sym.imp.mfc90.dll_Ordinal_2538]
add esp, 0xc
push ebx
push ebx
push 1
push edi
mov ecx, esi
call fcn.004104f0
mov eax, 1
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret 8