Function at 0x4549e4
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], 0x45ed7c
lea eax, [ebp - 0x18]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], 0x454d24
mov dword [ebp - 0x24], esp
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x6c], eax
mov dword [esp], eax
call sym.__Unwind_SjLj_Register
mov edi, dword [ebp - 0x50]
mov eax, dword [edi]
mov eax, dword [eax + 8]
mov dword [ebp - 0x48], 1
mov ecx, edi
call eax
mov edi, dword [ebp - 0x50]
mov eax, dword [edi]
mov eax, dword [eax - 0xc]
mov ebx, dword [edi + eax + 4]
test ebx, ebx
je 0x454d4a
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], 1
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 0x454afc
mov ecx, dword [eax + 0x78]
mov edx, dword [eax + 0x74]
test edx, edx
jne 0x454ba1
test ecx, ecx
jne 0x454ba1
mov ebx, dword [ebp - 0x50]
mov dword [ebx + 0x54], edx
test edx, edx
je 0x454ac7
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], 1
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 0x454aa4
mov eax, dword [ebp - 0x50]
mov ecx, dword [eax + 0x4c]
test ecx, ecx
je 0x454bc0
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], 1
mov dword [ebp - 0x50], eax
mov ecx, eax
call method.ClipperLib::Clipper.ProcessIntersections_long_long__long_long_
sub esp, 0x10
test al, al
je 0x454d44
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 0x454bb1
mov eax, dword [ebp - 0x58]
mov edx, dword [ebp - 0x54]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], edx
jmp 0x454a79
test ecx, ecx
je 0x454aba
mov dword [ecx + 0x74], edx
jmp 0x454ac0
mov edi, eax
mov eax, dword [eax]
mov eax, dword [eax - 0xc]
mov edi, dword [edi + eax + 4]
test edi, edi
jne 0x454b90
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 0x454c5e
mov dword [ebp - 0x58], 0
jmp 0x454bf7
add dword [ebp - 0x58], 1
mov eax, dword [ebp - 0x60]
cmp dword [ebp - 0x58], eax
je 0x454c5e
mov eax, dword [ebp - 0x64]
mov edi, dword [ebp - 0x58]
mov eax, dword [eax + edi*4]
mov ebx, dword [eax + 0x10]
mov dword [ebp - 0x68], ebx
test ebx, ebx
je 0x454beb
cmp byte [eax + 5], 0
jne 0x454beb
mov esi, dword [ebp - 0x50]
movzx ebx, byte [esi + 0x64]
mov byte [ebp - 0x6d], bl
movzx ebx, byte [eax + 4]
xor byte [ebp - 0x6d], 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 - 0x6d], al
jne 0x454beb
mov ebx, dword [ebp - 0x68]
mov eax, ebx
jmp 0x454c42
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 0x454c40
add dword [ebp - 0x58], 1
mov eax, dword [ebp - 0x60]
cmp dword [ebp - 0x58], eax
jne 0x454bf7
mov eax, dword [ebp - 0x50]
mov esi, dword [eax + 0x10]
cmp dword [eax + 0x14], esi
je 0x454d50
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 0x454caf
jmp 0x454ce9
add dword [ebp - 0x58], 1
mov eax, ecx
sub eax, edx
sar eax, 2
cmp dword [ebp - 0x58], eax
jae 0x454ce9
mov eax, dword [ebp - 0x58]
mov eax, dword [edx + eax*4]
mov ebx, dword [eax + 0x10]
test ebx, ebx
je 0x454c9f
cmp byte [eax + 5], 0
jne 0x454c9f
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]
add dword [ebp - 0x58], 1
mov eax, ecx
sub eax, edx
sar eax, 2
cmp dword [ebp - 0x58], eax
jb 0x454caf
mov eax, dword [ebp - 0x50]
cmp byte [eax + 0x66], 0
jne 0x454d5b
mov byte [ebp - 0x58], 1
mov ecx, dword [ebp - 0x50]
call method.ClipperLib::Clipper.ClearJoins__
mov ecx, dword [ebp - 0x50]
call method.ClipperLib::Clipper.ClearGhostJoins__
movzx eax, byte [ebp - 0x58]
mov byte [ebp - 0x50], al
mov eax, dword [ebp - 0x6c]
mov dword [esp], eax
call sym.__Unwind_SjLj_Unregister
movzx eax, byte [ebp - 0x50]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov byte [ebp - 0x58], 0
jmp 0x454cf6
mov byte [ebp - 0x50], 0
jmp 0x454d0d
mov ecx, dword [ebp - 0x78]
mov edx, dword [ebp - 0x64]
jmp 0x454c8f
mov ecx, eax
mov dword [ebp - 0x48], 0xffffffff
call method.ClipperLib::Clipper.DoSimplePolygons__
jmp 0x454cf2