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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x468ecc
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
push ebx
push esi
push edi
mov eax, dword [0x48c9dc]
xor eax, esp
push eax
lea eax, [esp + 0xc0]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x1c], edi
mov esi, dword [ebp + 8]
xor ebx, ebx
cmp esi, ebx
je 0x411c1d
lea ecx, [esp + 0x18]
call dword [sym.imp.orDb_Dll.dll_public:_void___thiscall_DboState::constructor_void_]
mov ecx, vtable.CList_class_DboWire___class_DboWire___.0
mov eax, 0xa
mov dword [esp + 0xc8], ebx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x54], ecx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], eax
push ebx
push ebx
lea ecx, [esp + 0x3c]
mov byte [esp + 0xd0], 2
call fcn.0040f910
mov dword [eax + 8], esi
mov ecx, dword [esp + 0x3c]
cmp ecx, ebx
je 0x4115ca
mov dword [ecx], eax
jmp 0x4115ce
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x38]
push ecx
lea edx, [ebp + 8]
push edx
mov ecx, edi
call fcn.00410ae0
mov ecx, dword [ebp + 0xc]
call dword [sym.imp.orDb_Dll.dll_public:_class_DboPartInst____thiscall_DboPortInst::GetOwner_void_const]
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0x38]
cmp eax, ebx
je 0x411b4e
jmp 0x411617
mov eax, dword [esp + 0x84]
mov ecx, dword [eax]
mov eax, dword [eax + 8]
push ebx
lea edx, [esp + 0x1c]
mov dword [esp + 0x88], ecx
push edx
mov ecx, eax
call dword [sym.imp.orDb_Dll.dll_public:_class_DboWirePortInstsIter____thiscall_DboWire::NewPortInstsIter_class_DboState___enum_IterDefs::IterModeT_]
mov esi, eax
lea eax, [esp + 0x18]
push eax
mov ecx, esi
mov dword [esp + 0x74], esi
xor edi, edi
call dword [sym.imp.orDb_Dll.dll_public:_class_DboPortInst____thiscall_DboWirePortInstsIter::NextPortInst_class_DboState__]
cmp eax, ebx
mov dword [esp + 0x24], eax
je 0x411b24
jmp 0x411664
mov eax, dword [esp + 0x24]
cmp eax, dword [ebp + 0xc]
je 0x411b0b
mov ecx, eax
call dword [sym.imp.orDb_Dll.dll_public:_class_DboPartInst____thiscall_DboPortInst::GetOwner_void_const]
mov ecx, dword [ebp + 0x14]
mov dword [esp + 0xa0], eax
mov eax, dword [ecx + 0xc]
push eax
lea ecx, [esp + 0x80]
mov byte [esp + 0x1b], 0
call dword [sym.imp.jlglib.dll_public:_void___thiscall_jlgIterPtr::constructor_class_jlgContainer_const__]
lea ecx, [esp + 0x7c]
mov byte [esp + 0xc8], 3
call dword [sym.imp.jlglib.dll_public:_int___thiscall_jlgIterPtr::operator_int_void_]
test eax, eax
je 0x411768
nop
lea ecx, [esp + 0x7c]
call dword [sym.imp.jlglib.dll_public:_class_jlgObject____thiscall_jlgIterPtr::operator___void_]
mov eax, dword [eax + 0x10]
push eax
lea ecx, [esp + 0x78]
call dword [sym.imp.jlglib.dll_public:_void___thiscall_jlgIterPtr::constructor_class_jlgContainer_const__]
lea ecx, [esp + 0x74]
mov byte [esp + 0xc8], 4
call dword [sym.imp.jlglib.dll_public:_int___thiscall_jlgIterPtr::operator_int_void_]
test eax, eax
je 0x41172f
mov edi, edi
lea ecx, [esp + 0x74]
xor esi, esi
call dword [sym.imp.jlglib.dll_public:_class_jlgObject____thiscall_jlgIterPtr::operator___void_]
mov edi, dword [eax + 0x10]
cmp edi, ebx
je 0x411706
mov edx, dword [edi]
mov edx, dword [edx + 0x188]
lea eax, [esp + 0x18]
push eax
mov ecx, edi
call edx
mov esi, eax
cmp dword [esp + 0xa0], esi
je 0x41172a
push ebx
lea ecx, [esp + 0x78]
call dword [sym.imp.jlglib.dll_public:_class_jlgObject____thiscall_jlgIterPtr::operator_int_]
lea ecx, [esp + 0x74]
call dword [sym.imp.jlglib.dll_public:_int___thiscall_jlgIterPtr::operator_int_void_]
test eax, eax
jne 0x4116e0
jmp 0x41172f
mov byte [esp + 0x17], 1
lea ecx, [esp + 0x74]
mov byte [esp + 0xc8], 3
call dword [sym.imp.jlglib.dll_public:_void___thiscall_jlgIterPtr::destructor_void_]
cmp byte [esp + 0x17], 0
jne 0x411768
push ebx
lea ecx, [esp + 0x80]
call dword [sym.imp.jlglib.dll_public:_class_jlgObject____thiscall_jlgIterPtr::operator_int_]
lea ecx, [esp + 0x7c]
call dword [sym.imp.jlglib.dll_public:_int___thiscall_jlgIterPtr::operator_int_void_]
test eax, eax
jne 0x4116b0
lea ecx, [esp + 0x7c]
mov byte [esp + 0xc8], 2
call dword [sym.imp.jlglib.dll_public:_void___thiscall_jlgIterPtr::destructor_void_]
mov esi, dword [ebp + 0x18]
cmp esi, ebx
je 0x4117fc
lea ecx, [esp + 0x30]
call dword [sym.imp.MFC80.DLL_Ordinal_310]
lea ecx, [esp + 0x28]
call dword [sym.imp.MFC80.DLL_Ordinal_310]
mov ebx, dword [sym.imp.orDb_Dll.dll_public:_class_DboState___thiscall_DboInstOccurrence::GetReference_class_ATL::CStringT_char__class_StrTraitMFC_DLL_char__class_ATL::ChTraitsCRT_char_____]
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0xac]
push ecx
mov ecx, esi
mov byte [esp + 0xd0], 6
call ebx
mov esi, dword [sym.imp.orDb_Dll.dll_public:_void___thiscall_DboState::destructor_void_]
lea ecx, [esp + 0xa8]
call esi
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0xbc]
push eax
mov ecx, edi
call ebx
lea ecx, [esp + 0xb8]
call esi
lea ecx, [esp + 0x28]
call dword [sym.imp.MFC80.DLL_Ordinal_578]
cmp dword [ebp + 0x18], edi
lea ecx, [esp + 0x30]
je 0x411af7
call dword [sym.imp.MFC80.DLL_Ordinal_578]
jmp 0x411808
mov esi, dword [sym.imp.orDb_Dll.dll_public:_void___thiscall_DboState::destructor_void_]
mov ebx, dword [sym.imp.orDb_Dll.dll_public:_class_DboState___thiscall_DboInstOccurrence::GetReference_class_ATL::CStringT_char__class_StrTraitMFC_DLL_char__class_ATL::ChTraitsCRT_char_____]
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 ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0xb0]
push edx
mov ecx, edi
mov byte [esp + 0xd0], 8
call ebx
lea ecx, [esp + 0xac]
call esi
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0xb8]
push ecx
mov ecx, edi
call dword [sym.imp.orDb_Dll.dll_public:_class_DboState___thiscall_DboInstOccurrence::GetDesignator_class_ATL::CStringT_char__class_StrTraitMFC_DLL_char__class_ATL::ChTraitsCRT_char_____]
lea ecx, [esp + 0xb4]
call esi
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0xac]
push ecx
call fcn.00402460
add esp, 0xc
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0xcc], 9
call dword [sym.imp.MFC80.DLL_Ordinal_781]
lea ecx, [esp + 0xa4]
mov byte [esp + 0xc8], 8
call dword [sym.imp.MFC80.DLL_Ordinal_578]
lea edx, [esp + 0x18]
push edx
mov ecx, edi
mov dword [esp + 0xa0], 0
call dword [sym.imp.orDb_Dll.dll_public:_class_DboPartInst____thiscall_DboInstOccurrence::GetPartInst_class_DboState__const]
push eax
mov eax, dword [esp + 0x28]
push eax
lea ecx, [esp + 0xa4]
push ecx
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x2c]
push edx
call fcn.0040f260
mov esi, eax
test esi, esi
mov dword [esp + 0x50], esi
je 0x411ac5
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 0xc]
push eax
lea ecx, [esp + 0x98]
xor bl, bl
mov dword [esp + 0x94], 0
call dword [sym.imp.jlglib.dll_public:_void___thiscall_jlgIterPtr::constructor_class_jlgContainer_const__]
lea ecx, [esp + 0x94]
mov byte [esp + 0xc8], 0xa
call dword [sym.imp.jlglib.dll_public:_int___thiscall_jlgIterPtr::operator_int_void_]
test eax, eax
je 0x4119f2
mov edi, edi
lea ecx, [esp + 0x94]
call dword [sym.imp.jlglib.dll_public:_class_jlgObject____thiscall_jlgIterPtr::operator___void_]
mov eax, dword [eax + 0x10]
push eax
lea ecx, [esp + 0x8c]
call dword [sym.imp.jlglib.dll_public:_void___thiscall_jlgIterPtr::constructor_class_jlgContainer_const__]
lea ecx, [esp + 0x88]
mov byte [esp + 0xc8], 0xb
call dword [sym.imp.jlglib.dll_public:_int___thiscall_jlgIterPtr::operator_int_void_]
test eax, eax
je 0x4119b5
jmp 0x411960
lea ecx, [esp + 0x88]
call dword [sym.imp.jlglib.dll_public:_class_jlgObject____thiscall_jlgIterPtr::operator___void_]
mov eax, dword [eax + 0x10]
mov edx, dword [eax]
mov edx, dword [edx + 0x188]
lea ecx, [esp + 0x18]
push ecx
mov ecx, eax
mov dword [esp + 0x94], eax
call edx
cmp dword [esp + 0xb0], eax
je 0x4119b3
push 0
lea ecx, [esp + 0x8c]
call dword [sym.imp.jlglib.dll_public:_class_jlgObject____thiscall_jlgIterPtr::operator_int_]
lea ecx, [esp + 0x88]
call dword [sym.imp.jlglib.dll_public:_int___thiscall_jlgIterPtr::operator_int_void_]
test eax, eax
jne 0x411960
jmp 0x4119b5
mov bl, 1
lea ecx, [esp + 0x88]
mov byte [esp + 0xc8], 0xa
call dword [sym.imp.jlglib.dll_public:_void___thiscall_jlgIterPtr::destructor_void_]
test bl, bl
jne 0x4119f2
push 0
lea ecx, [esp + 0x98]
call dword [sym.imp.jlglib.dll_public:_class_jlgObject____thiscall_jlgIterPtr::operator_int_]
lea ecx, [esp + 0x94]
call dword [sym.imp.jlglib.dll_public:_int___thiscall_jlgIterPtr::operator_int_void_]
test eax, eax
jne 0x411920
lea ecx, [esp + 0x94]
mov byte [esp + 0xc8], 8
call dword [sym.imp.jlglib.dll_public:_void___thiscall_jlgIterPtr::destructor_void_]
mov eax, dword [esi + 8]
xor ebx, ebx
test eax, eax
jle 0x411ac5
jmp 0x411a20
cmp ebx, dword [esp + 0x9c]
je 0x411ab7
test ebx, ebx
jl 0x411c35
cmp ebx, eax
jge 0x411c35
mov eax, dword [esi + 4]
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0xa4]
lea eax, [eax + ebx*4]
push eax
call dword [sym.imp.orDb_Dll.dll_public:_class_DboPortInst____thiscall_DboPartInst::GetPinByPinName_class_ATL::CStringT_char__class_StrTraitMFC_DLL_char__class_ATL::ChTraitsCRT_char______class_DboState__]
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x1c]
add edx, 0x14
push edx
add ecx, 0x1c
mov esi, eax
call sub.MFC80.DLL_Ordinal_1005
test esi, esi
je 0x411ab3
lea eax, [esp + 0x18]
push eax
mov ecx, esi
call dword [sym.imp.orDb_Dll.dll_public:_class_DboWire____thiscall_DboPortInst::GetWire_class_DboState__const]
test eax, eax
je 0x411aa0
mov ecx, dword [esp + 0x90]
test ecx, ecx
je 0x411aa0
mov edx, dword [ebp + 0x10]
push ecx
mov ecx, dword [ebp + 0x14]
push ecx
mov ecx, dword [esp + 0x24]
push edx
push esi
push eax
call fcn.00411510
test edi, edi
je 0x411ab3
mov eax, dword [ebp + 0x10]
mov ecx, dword [esp + 0x1c]
push eax
push esi
push edi
call fcn.00410c80
mov esi, dword [esp + 0x50]
mov eax, dword [esi + 8]
add ebx, 1
cmp ebx, eax
jl 0x411a20
test edi, edi
je 0x411ae9
push edi
call fcn.0043ed70
add esp, 4
test eax, eax
jne 0x411ae9
mov ecx, dword [ebp + 0x10]
mov edx, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x20]
push edx
push edi
call fcn.00410c80
lea ecx, [esp + 0x2c]
call dword [sym.imp.MFC80.DLL_Ordinal_578]
lea ecx, [esp + 0x20]
mov byte [esp + 0xc8], 2
call dword [sym.imp.MFC80.DLL_Ordinal_578]
mov esi, dword [esp + 0x70]
xor ebx, ebx
lea eax, [esp + 0x18]
push eax
mov ecx, esi
call dword [sym.imp.orDb_Dll.dll_public:_class_DboPortInst____thiscall_DboWirePortInstsIter::NextPortInst_class_DboState__]
cmp eax, ebx
mov dword [esp + 0x24], eax
jne 0x411660
cmp esi, ebx
je 0x411b33
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
push 1
mov ecx, esi
call eax
cmp dword [esp + 0x84], ebx
jne 0x411610
mov eax, dword [esp + 0x38]
cmp eax, ebx
je 0x411b4e
mov eax, dword [eax]
cmp eax, ebx
jne 0x411b48
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], ebx
call sub.MFC80.DLL_Ordinal_2346
mov eax, dword [esp + 0x58]
cmp eax, ebx
mov dword [esp + 0x48], ebx
je 0x411b79
mov eax, dword [eax]
cmp eax, ebx
jne 0x411b73
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x58], ebx
call sub.MFC80.DLL_Ordinal_2346
mov eax, dword [esp + 0x58]
cmp eax, ebx
mov esi, vtable.CList_class_DboWire___class_DboWire___.0
mov dword [esp + 0x68], ebx
mov byte [esp + 0xc8], 1
mov dword [esp + 0x54], esi
je 0x411bb6
nop
mov eax, dword [eax]
cmp eax, ebx
jne 0x411bb0
xor ecx, ecx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x58], ebx
call sub.MFC80.DLL_Ordinal_2346
mov eax, dword [esp + 0x38]
cmp eax, ebx
mov dword [esp + 0x68], ebx
mov byte [esp + 0xc8], 0
mov dword [esp + 0x34], esi
je 0x411beb
mov eax, dword [eax]
cmp eax, ebx
jne 0x411be5
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], ebx
call sub.MFC80.DLL_Ordinal_2346
lea ecx, [esp + 0x18]
mov dword [esp + 0x48], ebx
mov dword [esp + 0xc8], 0xffffffff
call dword [sym.imp.orDb_Dll.dll_public:_void___thiscall_DboState::destructor_void_]
mov ecx, dword [esp + 0xc0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
call fcn.0043f2d6
int3