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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x7c
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x34], sym.___gxx_personality_sj0
mov dword [ebp - 0x30], 0x45ed8c
lea edi, [ebp - 0x18]
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], 0x455205
mov dword [ebp - 0x24], esp
lea esi, [ebp - 0x4c]
mov dword [ebp - 0x6c], esi
mov dword [esp], esi
call sym.__Unwind_SjLj_Register
mov esi, dword [ebp - 0x50]
cmp byte [esi + 0x58], 0
jne 0x455165
mov eax, dword [esi]
mov eax, dword [eax - 0xc]
movzx eax, byte [esi + eax + 0x1d]
mov byte [ebp - 0x68], al
test al, al
jne 0x4551bc
mov eax, dword [ebp - 0x50]
mov byte [eax + 0x58], 1
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov edi, eax
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
mov dword [ebp - 0x60], eax
sub eax, edi
sar eax, 2
imul eax, eax, 0xaaaaaaab
test eax, eax
jne 0x454ff2
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp - 0x50]
mov dword [edi + 0x60], eax
mov eax, dword [ebp + 0x10]
mov dword [edi + 0x5c], eax
mov dword [edi + 0x34], 1
mov byte [edi + 0x65], 0
mov dword [ebp - 0x48], 2
mov ecx, edi
call method.ClipperLib::Clipper.Reset__
mov edi, dword [ebp - 0x50]
mov eax, dword [edi]
mov eax, dword [eax - 0xc]
mov ebx, dword [edi + eax + 4]
test ebx, ebx
je 0x454fca
mov eax, dword [edi + 0x44]
mov ebx, dword [eax + 0x10]
mov esi, dword [eax + 0x14]
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], esi
lea ebx, [edi + 0x3c]
mov dword [ebp - 0x64], ebx
mov dword [esp + 4], ebx
mov dword [esp], eax
call sym.std::_Rb_tree_rebalance_for_erase_std::_Rb_tree_node_base__std::_Rb_tree_node_base_
mov dword [esp], eax
call sym.operator_delete_void_
mov edi, dword [ebp - 0x50]
sub dword [edi + 0x4c], 1
mov eax, dword [ebp - 0x60]
mov edx, dword [ebp - 0x5c]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [ebp - 0x48], 2
mov ecx, dword [ebp - 0x50]
call method.ClipperLib::Clipper.InsertLocalMinimaIntoAEL_long_long_
sub esp, 8
mov ecx, dword [ebp - 0x50]
call method.ClipperLib::Clipper.ClearGhostJoins__
mov eax, dword [ebp - 0x50]
mov eax, dword [eax + 0x54]
test eax, eax
je 0x454ee8
mov ecx, dword [eax + 0x78]
mov edx, dword [eax + 0x74]
test edx, edx
jne 0x455024
test ecx, ecx
jne 0x455024
mov ebx, dword [ebp - 0x50]
mov dword [ebx + 0x54], edx
test edx, edx
je 0x454eb3
mov dword [edx + 0x78], ecx
mov dword [eax + 0x74], 0
mov dword [eax + 0x78], 0
mov dword [esp + 4], 0
mov dword [esp], eax
mov dword [ebp - 0x48], 2
mov ecx, dword [ebp - 0x50]
call method.ClipperLib::Clipper.ProcessHorizontal_ClipperLib::TEdge__bool_
sub esp, 8
mov eax, dword [ebp - 0x50]
mov eax, dword [eax + 0x54]
test eax, eax
jne 0x454e90
mov eax, dword [ebp - 0x50]
mov ecx, dword [eax + 0x4c]
test ecx, ecx
je 0x455047
mov eax, dword [eax + 0x44]
mov esi, dword [eax + 0x10]
mov edi, dword [eax + 0x14]
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x54], edi
mov ebx, dword [ebp - 0x64]
mov dword [esp + 4], ebx
mov dword [esp], eax
call sym.std::_Rb_tree_rebalance_for_erase_std::_Rb_tree_node_base__std::_Rb_tree_node_base_
mov dword [esp], eax
call sym.operator_delete_void_
mov eax, dword [ebp - 0x50]
sub dword [eax + 0x4c], 1
mov esi, dword [ebp - 0x58]
mov edi, dword [ebp - 0x54]
mov dword [esp + 8], esi
mov dword [esp + 0xc], edi
mov ebx, dword [ebp - 0x60]
mov esi, dword [ebp - 0x5c]
mov dword [esp], ebx
mov dword [esp + 4], esi
mov dword [ebp - 0x48], 2
mov dword [ebp - 0x50], eax
mov ecx, eax
call method.ClipperLib::Clipper.ProcessIntersections_long_long__long_long_
sub esp, 0x10
test al, al
je 0x455193
mov esi, dword [ebp - 0x58]
mov edi, dword [ebp - 0x54]
mov dword [esp], esi
mov dword [esp + 4], edi
mov ecx, dword [ebp - 0x50]
call method.ClipperLib::Clipper.ProcessEdgesAtTopOfScanbeam_long_long_
sub esp, 8
mov eax, dword [ebp - 0x50]
mov edx, dword [eax + 0x4c]
test edx, edx
je 0x455034
mov eax, dword [ebp - 0x58]
mov edx, dword [ebp - 0x54]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], edx
jmp 0x454e65
mov eax, dword [ebp - 0x50]
cmp byte [eax + 0x66], 0
jne 0x4551a8
mov ecx, dword [ebp - 0x50]
call method.ClipperLib::Clipper.ClearJoins__
mov ecx, dword [ebp - 0x50]
call method.ClipperLib::Clipper.ClearGhostJoins__
mov eax, dword [ebp + 8]
mov dword [esp], eax
mov dword [ebp - 0x48], 0xffffffff
mov ecx, dword [ebp - 0x50]
call method.ClipperLib::Clipper.BuildResult_std::vector_std::vector_ClipperLib::IntPoint__std::allocator_ClipperLib::IntPoint_____std::allocator_std::vector_ClipperLib::IntPoint__std::allocator_ClipperLib::IntPoint________
sub esp, 4
mov byte [ebp - 0x68], 1
mov ecx, dword [ebp - 0x50]
call method.ClipperLib::Clipper.DisposeAllOutRecs__
mov eax, dword [ebp - 0x50]
mov byte [eax + 0x58], 0
mov eax, dword [ebp - 0x6c]
mov dword [esp], eax
call sym.__Unwind_SjLj_Unregister
movzx eax, byte [ebp - 0x68]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0xc
mov eax, edi
mov dword [ebp - 0x58], edi
cmp edi, dword [ebp - 0x60]
je 0x455016
mov eax, dword [eax]
test eax, eax
je 0x45500a
mov dword [esp], eax
call sym.operator_delete_void_
add dword [ebp - 0x58], 0xc
mov eax, dword [ebp - 0x58]
cmp dword [ebp - 0x60], eax
jne 0x454ffc
mov eax, dword [ebp + 8]
mov edi, dword [ebp - 0x64]
mov dword [eax + 4], edi
jmp 0x454df3
test ecx, ecx
je 0x454ea6
mov dword [ecx + 0x74], edx
jmp 0x454eac
mov ebx, eax
mov eax, dword [eax]
mov eax, dword [eax - 0xc]
mov edi, dword [ebx + eax + 4]
test edi, edi
jne 0x454f80
mov eax, dword [ebp - 0x50]
mov edi, dword [eax + 4]
mov dword [ebp - 0x64], edi
mov eax, dword [eax + 8]
mov dword [ebp - 0x78], eax
sub eax, edi
mov dword [ebp - 0x60], eax
sar dword [ebp - 0x60], 2
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x74], eax
test eax, eax
je 0x4550e5
mov dword [ebp - 0x58], 0
jmp 0x45507e
add dword [ebp - 0x58], 1
mov eax, dword [ebp - 0x60]
cmp dword [ebp - 0x58], eax
je 0x4550e5
mov eax, dword [ebp - 0x64]
mov ebx, dword [ebp - 0x58]
mov eax, dword [eax + ebx*4]
mov ebx, dword [eax + 0x10]
mov dword [ebp - 0x68], ebx
test ebx, ebx
je 0x455072
cmp byte [eax + 5], 0
jne 0x455072
mov edi, dword [ebp - 0x50]
movzx ebx, byte [edi + 0x64]
mov byte [ebp - 0x70], bl
movzx ebx, byte [eax + 4]
xor byte [ebp - 0x70], bl
mov dword [esp], eax
call method.ClipperLib.Area_ClipperLib::OutRec_const_
fldz
fxch st(1)
fucompi st(1)
fstp st(0)
seta al
cmp byte [ebp - 0x70], al
jne 0x455072
mov ebx, dword [ebp - 0x68]
mov eax, ebx
jmp 0x4550c9
mov eax, edx
mov edx, dword [eax + 0x18]
mov ecx, dword [eax + 0x1c]
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], edx
cmp ebx, edx
jne 0x4550c7
add dword [ebp - 0x58], 1
mov eax, dword [ebp - 0x60]
cmp dword [ebp - 0x58], eax
jne 0x45507e
mov eax, dword [ebp - 0x50]
mov esi, dword [eax + 0x10]
cmp dword [eax + 0x14], esi
je 0x45516e
mov dword [ebp - 0x48], 0xffffffff
mov ecx, eax
call method.ClipperLib::Clipper.JoinCommonEdges__
mov eax, dword [ebp - 0x50]
mov edx, dword [eax + 4]
mov ecx, dword [eax + 8]
mov eax, ecx
sub eax, edx
mov dword [ebp - 0x74], eax
sar dword [ebp - 0x74], 2
mov dword [ebp - 0x58], 0
mov esi, dword [ebp - 0x74]
test esi, esi
jne 0x455139
jmp 0x454f91
add dword [ebp - 0x58], 1
mov eax, ecx
sub eax, edx
sar eax, 2
cmp dword [ebp - 0x58], eax
jae 0x454f91
mov eax, dword [ebp - 0x58]
mov eax, dword [edx + eax*4]
mov ebx, dword [eax + 0x10]
test ebx, ebx
je 0x455125
cmp byte [eax + 5], 0
jne 0x455125
mov dword [esp], eax
mov ecx, dword [ebp - 0x50]
call method.ClipperLib::Clipper.FixupOutPolygon_ClipperLib::OutRec_
sub esp, 4
mov eax, dword [ebp - 0x50]
mov edx, dword [eax + 4]
mov ecx, dword [eax + 8]
jmp 0x455125
mov byte [ebp - 0x68], 0
jmp 0x454fd9
mov ecx, dword [ebp - 0x78]
mov edx, dword [ebp - 0x64]
jmp 0x455112
mov eax, dword [ebp - 0x58]
mov dword [esp], eax
call sym.___cxa_begin_catch
mov dword [ebp - 0x48], 0xffffffff
call sym.___cxa_end_catch
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebp - 0x50]
call method.ClipperLib::Clipper.ClearJoins__
mov ecx, dword [ebp - 0x50]
call method.ClipperLib::Clipper.ClearGhostJoins__
jmp 0x454fca
mov dword [ebp - 0x48], 0xffffffff
mov ecx, dword [ebp - 0x50]
call method.ClipperLib::Clipper.DoSimplePolygons__
jmp 0x454f9e
mov dword [esp], 8
call sym.___cxa_allocate_exception
mov dword [esp], str.Error:_PolyTree_struct_is_need_for_open_path_clipping.
mov dword [ebp - 0x48], 1
mov dword [ebp - 0x70], eax
mov ecx, eax
call method.ClipperLib::clipperException.clipperException_char_const_
sub esp, 4
mov dword [esp + 8], sym.ClipperLib::clipperException::clipperException__
mov dword [esp + 4], 0x462854
mov eax, dword [ebp - 0x70]
mov dword [esp], eax
mov dword [ebp - 0x48], 0xffffffff
call sym.___cxa_throw
add ebp, 0x18
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x455220
cmp eax, 1
je 0x455176
ud2
mov eax, dword [ebp - 0x70]
mov dword [esp], eax
call sym.___cxa_free_exception
mov eax, dword [ebp - 0x58]
mov dword [esp], eax
mov dword [ebp - 0x48], 0xffffffff
call sym.__Unwind_SjLj_Resume