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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x9c
mov edi, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x58], eax
lea eax, [ecx + 0x38]
mov dword [ebp - 0x50], eax
mov eax, dword [edi]
mov edx, dword [eax - 0xc]
add edx, edi
mov eax, dword [edx + 4]
test eax, eax
je 0x452ec7
mov ebx, dword [ebp - 0x58]
xor ebx, dword [eax + 4]
mov ecx, dword [ebp - 0x54]
xor ecx, dword [eax]
or ebx, ecx
jne 0x452ec7
mov esi, dword [eax + 8]
mov ebx, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
mov dword [edx + 4], eax
test esi, esi
je 0x452ee7
mov dword [esp], esi
mov ecx, edi
test ebx, ebx
je 0x452e6e
call method.ClipperLib::Clipper.InsertEdgeIntoAEL_ClipperLib::TEdge__ClipperLib::TEdge___clone_.constprop.324_
sub esp, 4
mov dword [esp + 4], esi
mov dword [esp], ebx
mov ecx, edi
call method.ClipperLib::Clipper.InsertEdgeIntoAEL_ClipperLib::TEdge__ClipperLib::TEdge_
sub esp, 8
mov dword [esp], esi
mov ecx, edi
call method.ClipperLib::Clipper.SetWindingCount_ClipperLib::TEdge_
sub esp, 4
mov eax, dword [esi + 0x54]
mov dword [ebx + 0x54], eax
mov eax, dword [esi + 0x58]
mov dword [ebx + 0x58], eax
mov dword [esp], esi
mov ecx, edi
call method.ClipperLib::Clipper.IsContributing_ClipperLib::TEdge_const__const
sub esp, 4
mov dword [ebp - 0x4c], 0
test al, al
jne 0x452e51
mov eax, dword [esi + 0x28]
mov edx, dword [esi + 0x2c]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edx
lea eax, [ebp - 0x38]
mov dword [esp], eax
mov ecx, dword [ebp - 0x50]
call method.std::pair_std::_Rb_tree_iterator_long_long___bool__std::_Rb_tree_long_long__long_long__std::_Identity_long_long___std::greater_long_long___std::allocator_long_long___._M_insert_unique_long_long_const__long_long_const_
sub esp, 4
mov eax, dword [ebx + 0x3c]
or eax, dword [ebx + 0x38]
jne 0x452e2f
mov eax, dword [edi + 0x54]
test eax, eax
je 0x452ed1
mov dword [ebx + 0x74], eax
mov dword [ebx + 0x78], 0
mov dword [eax + 0x78], ebx
mov dword [edi + 0x54], ebx
test esi, esi
je 0x452a02
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x452d23
mov eax, dword [ebx + 0x3c]
or eax, dword [ebx + 0x38]
jne 0x452d23
mov eax, dword [edi + 0x1c]
mov ecx, eax
mov dword [ebp - 0x6c], eax
mov eax, dword [edi + 0x20]
mov edx, eax
sub edx, ecx
shr edx, 2
je 0x452d23
mov edx, dword [ebx + 0x50]
test edx, edx
je 0x452d23
mov dword [ebp - 0x70], eax
xor eax, eax
mov dword [ebp - 0x8c], esi
mov dword [ebp - 0x88], edi
mov edi, eax
mov eax, dword [ebp - 0x6c]
jmp 0x452c5f
mov ecx, dword [eax + 8]
mov dword [ebp - 0x84], ecx
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x64], ecx
mov byte [ebp - 0x68], 1
cmp esi, ecx
jg 0x452b5f
jl 0x452b5b
mov ecx, dword [ebp - 0x84]
cmp dword [ebp - 0x7c], ecx
ja 0x452b5f
mov byte [ebp - 0x68], 0
mov byte [ebp - 0x7d], 1
mov ecx, dword [ebp - 0x64]
cmp dword [ebp - 0x5c], ecx
jg 0x452b7c
jl 0x452b78
mov ecx, dword [ebp - 0x84]
cmp dword [ebp - 0x78], ecx
jae 0x452b7c
mov byte [ebp - 0x7d], 0
movzx ecx, byte [ebp - 0x7d]
cmp byte [ebp - 0x68], cl
jne 0x452cc3
mov byte [ebp - 0x68], 1
mov ecx, dword [ebp - 0x64]
cmp dword [ebp - 0x5c], ecx
jl 0x452ba6
jg 0x452ba2
mov ecx, dword [ebp - 0x84]
cmp dword [ebp - 0x78], ecx
jb 0x452ba6
mov byte [ebp - 0x68], 0
mov byte [ebp - 0x7d], 1
mov ecx, dword [ebp - 0x5c]
cmp dword [ebp - 0x60], ecx
jg 0x452bc0
jl 0x452bbc
mov ecx, dword [ebp - 0x78]
cmp dword [ebp - 0x74], ecx
jae 0x452bc0
mov byte [ebp - 0x7d], 0
movzx ecx, byte [ebp - 0x7d]
cmp byte [ebp - 0x68], cl
jne 0x452cc3
mov byte [ebp - 0x68], 1
cmp esi, dword [ebp - 0x64]
jl 0x452be7
jg 0x452be3
mov ecx, dword [ebp - 0x84]
cmp dword [ebp - 0x7c], ecx
jb 0x452be7
mov byte [ebp - 0x68], 0
mov byte [ebp - 0x7d], 1
cmp dword [ebp - 0x60], esi
jg 0x452bfe
jl 0x452bfa
mov ecx, dword [ebp - 0x7c]
cmp dword [ebp - 0x74], ecx
jae 0x452bfe
mov byte [ebp - 0x7d], 0
movzx ecx, byte [ebp - 0x7d]
cmp byte [ebp - 0x68], cl
jne 0x452cc3
mov dword [ebp - 0x68], edx
mov ecx, eax
mov eax, dword [ebp - 0x5c]
xor eax, dword [ebp - 0x60]
mov edx, dword [ebp - 0x74]
xor edx, dword [ebp - 0x78]
or eax, edx
mov eax, ecx
mov edx, dword [ebp - 0x68]
je 0x452f52
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0x60]
xor ecx, esi
mov esi, dword [ebp - 0x74]
xor esi, dword [ebp - 0x7c]
mov eax, esi
mov esi, dword [ebp - 0x6c]
or eax, ecx
mov eax, dword [ebp - 0x68]
je 0x452f72
add edi, 1
mov eax, dword [ebp - 0x70]
sub eax, esi
sar eax, 2
cmp edi, eax
jae 0x452d17
mov dword [ebp - 0x6c], esi
mov eax, esi
mov eax, dword [eax + edi*4]
mov edx, dword [eax]
mov esi, dword [edx + 8]
mov dword [ebp - 0x74], esi
mov esi, dword [edx + 0xc]
mov ecx, esi
mov dword [ebp - 0x60], esi
mov esi, dword [ebx]
mov dword [ebp - 0x78], esi
mov esi, dword [ebx + 4]
mov dword [ebp - 0x5c], esi
mov esi, dword [ebx + 0x20]
mov dword [ebp - 0x7c], esi
mov esi, dword [ebx + 0x24]
mov byte [ebp - 0x64], 1
cmp ecx, esi
jl 0x452c9c
jg 0x452c98
mov ecx, dword [ebp - 0x7c]
cmp dword [ebp - 0x74], ecx
jb 0x452c9c
mov byte [ebp - 0x64], 0
mov byte [ebp - 0x68], 1
mov ecx, dword [ebp - 0x5c]
cmp dword [ebp - 0x60], ecx
jl 0x452cb6
jg 0x452cb2
mov ecx, dword [ebp - 0x78]
cmp dword [ebp - 0x74], ecx
jbe 0x452cb6
mov byte [ebp - 0x68], 0
movzx ecx, byte [ebp - 0x68]
cmp byte [ebp - 0x64], cl
je 0x452b37
mov ecx, dword [eax + 8]
mov dword [esp + 8], ecx
mov ecx, dword [eax + 0xc]
mov dword [esp + 0xc], ecx
mov ecx, dword [eax + 0x10]
mov dword [esp + 0x10], ecx
mov eax, dword [eax + 0x14]
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x4c]
mov dword [esp + 4], eax
mov dword [esp], edx
mov esi, dword [ebp - 0x88]
mov ecx, esi
call method.ClipperLib::Clipper.AddJoin_ClipperLib::OutPt__ClipperLib::OutPt__ClipperLib::IntPoint_
sub esp, 0x18
mov eax, esi
mov esi, dword [esi + 0x1c]
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x70], eax
add edi, 1
mov eax, dword [ebp - 0x70]
sub eax, esi
sar eax, 2
cmp edi, eax
jb 0x452c5a
mov esi, dword [ebp - 0x8c]
mov edi, dword [ebp - 0x88]
mov ecx, dword [esi + 0x5c]
test ecx, ecx
js 0x452d44
mov ecx, dword [esi + 0x70]
test ecx, ecx
je 0x452d44
mov eax, dword [ecx + 0x10]
mov edx, dword [ecx + 0x14]
xor edx, dword [esi + 4]
xor eax, dword [esi]
or edx, eax
je 0x452f96
mov eax, dword [esi + 0x6c]
cmp ebx, eax
je 0x452a02
mov edx, dword [ebx + 0x5c]
test edx, edx
js 0x453025
mov edx, dword [ebx + 0x70]
mov dword [ebp - 0x5c], eax
mov eax, dword [edx + 0x5c]
test eax, eax
js 0x452de0
mov eax, dword [edi]
mov eax, dword [eax - 0xc]
movzx eax, byte [edi + eax + 0xc]
mov dword [esp + 8], eax
mov dword [esp + 4], ebx
mov dword [esp], edx
mov dword [ebp - 0x60], edx
call method.ClipperLib.SlopesEqual_ClipperLib::TEdge_const__ClipperLib::TEdge_const__bool_
test al, al
mov edx, dword [ebp - 0x60]
je 0x452de0
mov eax, dword [ebx + 0x50]
test eax, eax
je 0x452de0
mov ecx, dword [edx + 0x50]
test ecx, ecx
je 0x452de0
mov dword [esp + 4], ebx
mov dword [esp], edx
mov ecx, edi
call method.ClipperLib::Clipper.AddOutPt_ClipperLib::TEdge__ClipperLib::IntPoint_const_
sub esp, 8
mov edx, dword [ebx + 0x20]
mov dword [esp + 8], edx
mov edx, dword [ebx + 0x24]
mov dword [esp + 0xc], edx
mov edx, dword [ebx + 0x28]
mov dword [esp + 0x10], edx
mov edx, dword [ebx + 0x2c]
mov dword [esp + 0x14], edx
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x4c]
mov dword [esp], eax
mov ecx, edi
call method.ClipperLib::Clipper.AddJoin_ClipperLib::OutPt__ClipperLib::OutPt__ClipperLib::IntPoint_
sub esp, 0x18
mov eax, dword [esi + 0x6c]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
test eax, eax
je 0x452a02
add esi, 0x10
mov eax, dword [ebp - 0x5c]
cmp ebx, eax
je 0x452a02
mov dword [ebp - 0x4c], edi
mov edi, esi
mov esi, ebx
mov ebx, eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], edi
mov dword [esp + 4], ebx
mov dword [esp], esi
mov ecx, dword [ebp - 0x4c]
call method.ClipperLib::Clipper.IntersectEdges_ClipperLib::TEdge__ClipperLib::TEdge__ClipperLib::IntPoint_const__bool_
sub esp, 0x10
mov ebx, dword [ebx + 0x6c]
cmp esi, ebx
jne 0x452e02
mov edi, dword [ebp - 0x4c]
jmp 0x452a02
mov eax, dword [ebx + 0x28]
mov edx, dword [ebx + 0x2c]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
lea eax, [ebp - 0x28]
mov dword [esp], eax
mov ecx, dword [ebp - 0x50]
call method.std::pair_std::_Rb_tree_iterator_long_long___bool__std::_Rb_tree_long_long__long_long__std::_Identity_long_long___std::greater_long_long___std::allocator_long_long___._M_insert_unique_long_long_const__long_long_const_
sub esp, 4
jmp 0x452ada
mov dword [esp + 8], esi
mov dword [esp + 4], ebx
mov dword [esp], esi
mov ecx, edi
call method.ClipperLib::Clipper.AddLocalMinPoly_ClipperLib::TEdge__ClipperLib::TEdge__ClipperLib::IntPoint_const_
sub esp, 0xc
mov dword [ebp - 0x4c], eax
jmp 0x452a96
call method.ClipperLib::Clipper.InsertEdgeIntoAEL_ClipperLib::TEdge__ClipperLib::TEdge___clone_.constprop.324_
sub esp, 4
mov dword [esp], esi
mov ecx, edi
call method.ClipperLib::Clipper.SetWindingCount_ClipperLib::TEdge_
sub esp, 4
mov dword [esp], esi
mov ecx, edi
call method.ClipperLib::Clipper.IsContributing_ClipperLib::TEdge_const__const
sub esp, 4
test al, al
jne 0x452f26
mov eax, dword [esi + 0x28]
mov edx, dword [esi + 0x2c]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], edx
lea eax, [ebp - 0x48]
mov dword [esp], eax
mov ecx, dword [ebp - 0x50]
call method.std::pair_std::_Rb_tree_iterator_long_long___bool__std::_Rb_tree_long_long__long_long__std::_Identity_long_long___std::greater_long_long___std::allocator_long_long___._M_insert_unique_long_long_const__long_long_const_
sub esp, 4
mov eax, dword [edi]
mov edx, dword [eax - 0xc]
add edx, edi
mov eax, dword [edx + 4]
test eax, eax
jne 0x452a14
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 8
mov dword [edi + 0x54], ebx
mov dword [ebx + 0x78], 0
mov dword [ebx + 0x74], 0
jmp 0x452ada
mov dword [esp], ebx
mov ecx, edi
call method.ClipperLib::Clipper.InsertEdgeIntoAEL_ClipperLib::TEdge__ClipperLib::TEdge___clone_.constprop.324_
sub esp, 4
mov dword [esp], ebx
mov ecx, edi
call method.ClipperLib::Clipper.SetWindingCount_ClipperLib::TEdge_
sub esp, 4
mov dword [esp], ebx
mov ecx, edi
call method.ClipperLib::Clipper.IsContributing_ClipperLib::TEdge_const__const
sub esp, 4
mov dword [ebp - 0x4c], 0
test al, al
jne 0x452f3c
test ebx, ebx
jne 0x452ab3
jmp 0x452a02
mov dword [esp + 4], esi
mov dword [esp], esi
mov ecx, edi
call method.ClipperLib::Clipper.AddOutPt_ClipperLib::TEdge__ClipperLib::IntPoint_const_
sub esp, 8
jmp 0x452e98
mov dword [esp + 4], ebx
mov dword [esp], ebx
mov ecx, edi
call method.ClipperLib::Clipper.AddOutPt_ClipperLib::TEdge__ClipperLib::IntPoint_const_
sub esp, 8
mov dword [ebp - 0x4c], eax
jmp 0x452f19
mov eax, dword [ebp - 0x64]
xor eax, esi
mov edx, dword [ebp - 0x7c]
xor edx, dword [ebp - 0x84]
or eax, edx
mov eax, ecx
mov edx, dword [ebp - 0x68]
jne 0x452c29
jmp 0x452cc3
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x5c]
xor ecx, dword [ebp - 0x64]
mov eax, ecx
mov ecx, dword [ebp - 0x78]
xor ecx, dword [ebp - 0x84]
or eax, ecx
mov eax, dword [ebp - 0x60]
jne 0x452c47
jmp 0x452cc3
mov eax, dword [ecx + 0x5c]
test eax, eax
js 0x452d44
mov eax, dword [edi]
mov eax, dword [eax - 0xc]
movzx eax, byte [edi + eax + 0xc]
mov dword [esp + 8], eax
mov dword [esp + 4], esi
mov dword [esp], ecx
mov dword [ebp - 0x5c], ecx
call method.ClipperLib.SlopesEqual_ClipperLib::TEdge_const__ClipperLib::TEdge_const__bool_
test al, al
mov ecx, dword [ebp - 0x5c]
je 0x452d44
mov eax, dword [esi + 0x50]
test eax, eax
je 0x452d44
mov eax, dword [ecx + 0x50]
test eax, eax
je 0x452d44
mov dword [esp + 4], esi
mov dword [esp], ecx
mov ecx, edi
call method.ClipperLib::Clipper.AddOutPt_ClipperLib::TEdge__ClipperLib::IntPoint_const_
sub esp, 8
mov edx, dword [esi + 0x20]
mov dword [esp + 8], edx
mov edx, dword [esi + 0x24]
mov dword [esp + 0xc], edx
mov edx, dword [esi + 0x28]
mov dword [esp + 0x10], edx
mov edx, dword [esi + 0x2c]
mov dword [esp + 0x14], edx
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x4c]
mov dword [esp], eax
mov ecx, edi
call method.ClipperLib::Clipper.AddJoin_ClipperLib::OutPt__ClipperLib::OutPt__ClipperLib::IntPoint_
sub esp, 0x18
jmp 0x452d44
mov dword [ebp - 0x5c], eax
jmp 0x452de0