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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54e43b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x250
push esi
mov dword [ebp - 0x234], ecx
mov eax, dword [ebp - 0x234]
cmp dword [eax + 0x58], 0
je 0x41f690
mov ecx, dword [ebp - 0x234]
cmp dword [ecx + 0x74], 0
je 0x41f690
mov edx, dword [ebp - 0x234]
cmp dword [edx + 0x78], 0
jne 0x41f697
xor eax, eax
jmp 0x4203ed
mov eax, dword [ebp - 0x234]
mov ecx, dword [eax + 0x74]
call dword [sym.imp.DataMgr.dll_public:_unsigned_short_int___thiscall_CEntity::GetType_void_const]
and eax, 0xffff
cmp eax, 1
je 0x41f6d2
mov ecx, dword [ebp - 0x234]
mov ecx, dword [ecx + 0x74]
call dword [sym.imp.DataMgr.dll_public:_unsigned_short_int___thiscall_CEntity::GetType_void_const]
and eax, 0xffff
cmp eax, 0x700
je 0x41f6d2
xor eax, eax
jmp 0x4203ed
mov edx, dword [ebp - 0x234]
mov ecx, dword [edx + 0x78]
mov eax, dword [ebp - 0x234]
mov edx, dword [eax + 0x78]
mov eax, dword [edx]
call dword [eax + 0xc]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x234]
xor edx, edx
mov dx, word [ecx + 0x7c]
mov eax, dword [ebp - 0x14]
sub eax, 1
cmp edx, eax
jg 0x41f712
mov ecx, dword [ebp - 0x234]
xor edx, edx
mov dx, word [ecx + 0x7c]
test edx, edx
jge 0x41f719
xor eax, eax
jmp 0x4203ed
mov eax, dword [ebp - 0x234]
fld qword [eax + 0x90]
fcomp qword [0x565c10]
fnstsw ax
test ah, 0x41
jne 0x41f74b
mov ecx, dword [ebp - 0x234]
fld qword [ecx + 0x90]
fcomp qword [0x565c08]
fnstsw ax
test ah, 1
jne 0x41f752
xor eax, eax
jmp 0x4203ed
mov edx, dword [ebp - 0x234]
mov dword [edx + 0xc8], 0
mov eax, dword [ebp - 0x234]
mov dword [eax + 0xc4], 0
mov ecx, dword [ebp - 0x234]
mov dword [ecx + 0xc0], 0
lea ecx, [ebp - 0x7c]
call dword [sym.imp.mathlib.dll_public:_void___thiscall_Box2d::constructor_void_]
lea ecx, [ebp - 0x7c]
call dword [sym.imp.mathlib.dll_public:_void___thiscall_Box2d::EmptyBox_void_]
lea ecx, [ebp - 0x5c]
call dword [sym.imp.mathlib.dll_public:_void___thiscall_Box2d::constructor_void_]
lea ecx, [ebp - 0x3c]
call dword [sym.imp.mathlib.dll_public:_void___thiscall_Box2d::constructor_void_]
lea edx, [ebp - 0x1d0]
push edx
mov eax, dword [ebp - 0x234]
mov ecx, dword [eax + 0x74]
mov edx, dword [ebp - 0x234]
mov eax, dword [edx + 0x74]
mov edx, dword [eax]
call dword [edx + 0x60]
push eax
lea ecx, [ebp - 0x5c]
call dword [sym.imp.mathlib.dll_public:_void___thiscall_Box2d::operator_class_Box2d_const__]
mov eax, dword [ebp - 0x234]
xor ecx, ecx
mov cx, word [eax + 0x7c]
mov dword [ebp - 0x1d4], ecx
lea edx, [ebp - 0x3c]
push edx
lea eax, [ebp - 0x1d4]
push eax
mov ecx, dword [ebp - 0x234]
mov ecx, dword [ecx + 0x78]
mov edx, dword [ebp - 0x234]
mov eax, dword [edx + 0x78]
mov edx, dword [eax]
call dword [edx + 0xa4]
call dword [sym.imp.DataMgr.dll_class_CDataMgr____cdecl_gf_GetDataMgr_void_]
mov dword [ebp - 0x1c], eax
push ecx
mov ecx, esp
mov dword [ebp - 0x1d8], esp
push str.Add_node
call sub.MFC42u.DLL_CString::CString_2
mov dword [ebp - 0x238], eax
mov eax, dword [ebp - 0x238]
mov dword [ebp - 0x23c], eax
mov dword [ebp - 4], 0
push ecx
mov ecx, esp
mov dword [ebp - 0x1dc], esp
push str.NODE_ADD
call sub.MFC42u.DLL_CString::CString_2
mov dword [ebp - 0x240], eax
lea ecx, [ebp - 0x1e0]
push ecx
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.DataMgr.dll_class_CString___cdecl_gf_Str_class_CString__class_CString_]
add esp, 0xc
mov dword [ebp - 0x244], eax
mov edx, dword [ebp - 0x244]
mov dword [ebp - 0x248], edx
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x248]
call fcn.0040f0c0
push eax
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x1c]
call dword [edx + 0x68]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1e0]
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [ebp - 0x234]
call fcn.0041d911
push 0
mov eax, dword [ebp - 0x234]
mov ecx, dword [eax + 0x74]
call dword [sym.imp.DataMgr.dll_public:_void___thiscall_CEntity::UD_Modify_unsigned_short_int_]
mov dword [ebp - 0x18], 0
mov ecx, dword [ebp - 0x234]
mov ecx, dword [ecx + 0x74]
call dword [sym.imp.DataMgr.dll_public:_unsigned_short_int___thiscall_CEntity::GetType_void_const]
and eax, 0xffff
mov dword [ebp - 0x24c], eax
cmp dword [ebp - 0x24c], 1
je 0x41f900
cmp dword [ebp - 0x24c], 0x700
je 0x41f91a
jmp 0x41f938
mov edx, dword [ebp - 0x234]
mov eax, dword [edx + 0x74]
mov dword [ebp - 0x80], eax
mov ecx, dword [ebp - 0x80]
add ecx, 0x150
mov dword [ebp - 0x18], ecx
jmp 0x41f938
mov edx, dword [ebp - 0x234]
mov eax, dword [edx + 0x74]
mov dword [ebp - 0x84], eax
mov ecx, dword [ebp - 0x84]
mov edx, dword [ecx + 0x14f8]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x234]
mov ecx, dword [eax + 0x78]
call dword [sym.imp.QLib.dll_public:_unsigned_short_int___thiscall_CSectObject::GetType_void_const]
and eax, 0xffff
mov dword [ebp - 0x250], eax
cmp dword [ebp - 0x250], 2
je 0x41fc39
cmp dword [ebp - 0x250], 0x100
je 0x41f980
cmp dword [ebp - 0x250], 0x300
je 0x41fd65
jmp 0x4202d4
mov ecx, dword [ebp - 0x234]
mov edx, dword [ecx + 0x78]
mov dword [ebp - 0x94], edx
mov eax, dword [ebp - 0x94]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0xa4], ecx
mov edx, dword [ebp - 0x94]
mov eax, dword [edx + 0x1c]
mov dword [ebp - 0x90], eax
mov ecx, dword [ebp - 0x94]
mov edx, dword [ecx + 0x14]
mov dword [ebp - 0xa0], edx
mov eax, dword [ebp - 0xa4]
add eax, 1
mov dword [ebp - 0x98], eax
mov ecx, dword [ebp - 0x98]
shl ecx, 4
push ecx
call sub.MFC42u.DLL_operatornew
add esp, 4
mov dword [ebp - 0x1e8], eax
mov dword [ebp - 4], 2
cmp dword [ebp - 0x1e8], 0
je 0x41fa1d
mov edx, dword [sym.imp.mathlib.dll_public:_void___thiscall_Pt2d::constructor_void_]
push edx
mov eax, dword [ebp - 0x98]
push eax
push 0x10
mov ecx, dword [ebp - 0x1e8]
push ecx
call fcn.004020c0
mov edx, dword [ebp - 0x1e8]
mov dword [ebp - 0x254], edx
jmp 0x41fa27
mov dword [ebp - 0x254], 0
mov eax, dword [ebp - 0x254]
mov dword [ebp - 0x1e4], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x1e4]
mov dword [ebp - 0x88], ecx
mov edx, dword [ebp - 0xa4]
add edx, 1
push edx
call sub.MFC42u.DLL_operatornew
add esp, 4
mov dword [ebp - 0x1ec], eax
mov eax, dword [ebp - 0x1ec]
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x9c], 0
jmp 0x41fa8f
mov ecx, dword [ebp - 0x9c]
add ecx, 1
mov dword [ebp - 0x9c], ecx
mov edx, dword [ebp - 0x234]
xor eax, eax
mov ax, word [edx + 0x7c]
add eax, 1
cmp dword [ebp - 0x9c], eax
jge 0x41fafc
mov ecx, dword [ebp - 0x9c]
shl ecx, 4
mov edx, dword [ebp - 0x90]
add edx, ecx
mov eax, dword [ebp - 0x9c]
shl eax, 4
mov ecx, dword [ebp - 0x88]
add ecx, eax
mov eax, dword [edx]
mov dword [ecx], eax
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
mov eax, dword [edx + 8]
mov dword [ecx + 8], eax
mov edx, dword [edx + 0xc]
mov dword [ecx + 0xc], edx
mov eax, dword [ebp - 0x8c]
add eax, dword [ebp - 0x9c]
mov ecx, dword [ebp - 0xa0]
add ecx, dword [ebp - 0x9c]
mov dl, byte [ecx]
mov byte [eax], dl
jmp 0x41fa80
mov eax, dword [ebp - 0x234]
add eax, 0xa8
mov ecx, dword [ebp - 0x9c]
shl ecx, 4
mov edx, dword [ebp - 0x88]
add edx, ecx
mov ecx, dword [eax]
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov dword [edx + 0xc], eax
mov ecx, dword [ebp - 0x8c]
add ecx, dword [ebp - 0x9c]
mov byte [ecx], 0
jmp 0x41fb4e
mov edx, dword [ebp - 0x9c]
add edx, 1
mov dword [ebp - 0x9c], edx
mov eax, dword [ebp - 0x9c]
cmp eax, dword [ebp - 0xa4]
jge 0x41fbb6
mov ecx, dword [ebp - 0x9c]
shl ecx, 4
mov edx, dword [ebp - 0x90]
add edx, ecx
mov eax, dword [ebp - 0x9c]
add eax, 1
shl eax, 4
mov ecx, dword [ebp - 0x88]
add ecx, eax
mov eax, dword [edx]
mov dword [ecx], eax
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
mov eax, dword [edx + 8]
mov dword [ecx + 8], eax
mov edx, dword [edx + 0xc]
mov dword [ecx + 0xc], edx
mov eax, dword [ebp - 0x8c]
add eax, dword [ebp - 0x9c]
mov ecx, dword [ebp - 0xa0]
add ecx, dword [ebp - 0x9c]
mov dl, byte [ecx]
mov byte [eax + 1], dl
jmp 0x41fb3f
mov eax, dword [ebp - 0x94]
mov ecx, dword [eax + 0x18]
add ecx, 1
mov edx, dword [ebp - 0x94]
mov dword [edx + 0x18], ecx
mov eax, dword [ebp - 0x94]
mov ecx, dword [eax + 0x10]
add ecx, 1
mov edx, dword [ebp - 0x94]
mov dword [edx + 0x10], ecx
mov eax, dword [ebp - 0x94]
mov ecx, dword [ebp - 0x88]
mov dword [eax + 0x1c], ecx
mov edx, dword [ebp - 0x94]
mov eax, dword [ebp - 0x8c]
mov dword [edx + 0x14], eax
mov ecx, dword [ebp - 0x90]
mov dword [ebp - 0x1f0], ecx
mov edx, dword [ebp - 0x1f0]
push edx
call sub.MFC42u.DLL_operatordelete
add esp, 4
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x1f4], eax
mov ecx, dword [ebp - 0x1f4]
push ecx
call sub.MFC42u.DLL_operatordelete
add esp, 4
jmp 0x4202d4
mov edx, dword [ebp - 0x234]
mov eax, dword [edx + 0x78]
mov dword [ebp - 0xb0], eax
mov ecx, dword [ebp - 0xb0]
mov edx, dword [ebp - 0x234]
mov eax, dword [ebp - 0xb0]
mov esi, dword [ebp - 0xb0]
fld qword [eax + 0x38]
fsub qword [esi + 0x30]
fmul qword [edx + 0x90]
fadd qword [ecx + 0x30]
fstp qword [ebp - 0xac]
push 0x40
call sub.MFC42u.DLL_operatornew
add esp, 4
mov dword [ebp - 0x1fc], eax
mov dword [ebp - 4], 3
cmp dword [ebp - 0x1fc], 0
je 0x41fcbb
mov ecx, dword [ebp - 0x1fc]
call dword [sym.imp.mathlib.dll_public:_void___thiscall_CSectArc2d::constructor_void_]
mov ecx, dword [ebp - 0x1fc]
mov dword [ecx], 0x565b50
mov edx, dword [ebp - 0x1fc]
mov dword [ebp - 0x258], edx
jmp 0x41fcc5
mov dword [ebp - 0x258], 0
mov eax, dword [ebp - 0x258]
mov dword [ebp - 0x1f8], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x1f8]
mov dword [ebp - 0xb4], ecx
mov edx, dword [ebp - 0xb0]
add edx, 0x38
push edx
lea eax, [ebp - 0xac]
push eax
mov ecx, dword [ebp - 0xb0]
add ecx, 0x28
push ecx
mov edx, dword [ebp - 0xb0]
add edx, 0x18
push edx
mov ecx, dword [ebp - 0xb4]
call dword [sym.imp.mathlib.dll_public:_int___thiscall_CSectArc2d::Create_class_Pt2d_const___double_const___double_const___double_const__]
mov eax, dword [ebp - 0xb0]
mov ecx, dword [ebp - 0xac]
mov dword [eax + 0x38], ecx
mov edx, dword [ebp - 0xa8]
mov dword [eax + 0x3c], edx
push 0
mov eax, dword [ebp - 0xb4]
mov edx, dword [eax]
mov ecx, dword [ebp - 0xb4]
call dword [edx + 0x90]
cmp dword [ebp - 0x18], 0
je 0x41fd60
mov eax, dword [ebp - 0xb0]
push eax
mov ecx, dword [ebp - 0xb4]
push ecx
mov ecx, dword [ebp - 0x18]
call dword [sym.imp.mathlib.dll_public:_void___thiscall_CSectChain::InsertAfter_class_CSectObject___class_CSectObject__]
jmp 0x4202d4
mov edx, dword [ebp - 0x234]
mov eax, dword [edx + 0x78]
mov dword [ebp - 0x118], eax
mov ecx, dword [ebp - 0x118]
mov edx, dword [ecx + 0x18]
mov dword [ebp - 0x1a8], edx
mov eax, dword [ebp - 0x118]
mov ecx, dword [eax + 0x1c]
mov dword [ebp - 0x100], ecx
mov edx, dword [ebp - 0x118]
mov eax, dword [edx + 0x14]
mov dword [ebp - 0x124], eax
mov ecx, dword [ebp - 0x1a8]
add ecx, 3
mov dword [ebp - 0x120], ecx
mov edx, dword [ebp - 0x120]
shl edx, 4
push edx
call sub.MFC42u.DLL_operatornew
add esp, 4
mov dword [ebp - 0x204], eax
mov dword [ebp - 4], 4
cmp dword [ebp - 0x204], 0
je 0x41fe01
mov eax, dword [sym.imp.mathlib.dll_public:_void___thiscall_Pt2d::constructor_void_]
push eax
mov ecx, dword [ebp - 0x120]
push ecx
push 0x10
mov edx, dword [ebp - 0x204]
push edx
call fcn.004020c0
mov eax, dword [ebp - 0x204]
mov dword [ebp - 0x25c], eax
jmp 0x41fe0b
mov dword [ebp - 0x25c], 0
mov ecx, dword [ebp - 0x25c]
mov dword [ebp - 0x200], ecx
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x200]
mov dword [ebp - 0xf8], edx
mov eax, dword [ebp - 0x118]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x118]
call dword [edx + 0x6c]
add eax, 1
push eax
call sub.MFC42u.DLL_operatornew
add esp, 4
mov dword [ebp - 0x208], eax
mov eax, dword [ebp - 0x208]
mov dword [ebp - 0xfc], eax
mov ecx, dword [ebp - 0x234]
xor edx, edx
mov dx, word [ecx + 0x7c]
imul edx, edx, 3
shl edx, 4
mov eax, dword [ebp - 0x100]
add eax, edx
push eax
lea ecx, [ebp - 0x1a4]
call dword [sym.imp.mathlib.dll_public:_void___thiscall_CBezier::constructor_class_Pt2d__const_]
mov dword [ebp - 4], 5
lea ecx, [ebp - 0x164]
call dword [sym.imp.mathlib.dll_public:_void___thiscall_CBezier::constructor_void_]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xf4]
call dword [sym.imp.mathlib.dll_public:_void___thiscall_CBezier::constructor_void_]
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xf4]
push ecx
lea edx, [ebp - 0x164]
push edx
mov eax, dword [ebp - 0x234]
add eax, 0x90
push eax
lea ecx, [ebp - 0x1a4]
call dword [sym.imp.mathlib.dll_public:_int___thiscall_CBezier::SplitToTwo_double_const___class_CBezier___class_CBezier__]
mov dword [ebp - 0x11c], 0
mov ecx, dword [ebp - 0x234]
xor edx, edx
mov dx, word [ecx + 0x7c]
imul edx, edx, 3
add edx, 2
mov word [ebp - 0x1ac], dx
mov dword [ebp - 0x11c], 0
jmp 0x41ff0b
mov eax, dword [ebp - 0x11c]
add eax, 1
mov dword [ebp - 0x11c], eax
mov ecx, dword [ebp - 0x1ac]
and ecx, 0xffff
cmp dword [ebp - 0x11c], ecx
jge 0x41ff8c
mov edx, dword [ebp - 0x11c]
shl edx, 4
mov eax, dword [ebp - 0x100]
add eax, edx
mov ecx, dword [ebp - 0x11c]
shl ecx, 4
mov edx, dword [ebp - 0xf8]
add edx, ecx
mov ecx, dword [eax]
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 0x11c]
cdq
mov ecx, 3
idiv ecx
mov ecx, eax
mov eax, dword [ebp - 0x11c]
cdq
mov esi, 3
idiv esi
mov edx, dword [ebp - 0xfc]
mov esi, dword [ebp - 0x124]
mov cl, byte [esi + ecx]
mov byte [edx + eax], cl
jmp 0x41fefc
jmp 0x41ff9d
mov edx, dword [ebp - 0x11c]
add edx, 1
mov dword [ebp - 0x11c], edx
mov eax, dword [ebp - 0x11c]
cmp eax, dword [ebp - 0x1a8]
jge 0x42001c
mov ecx, dword [ebp - 0x11c]
shl ecx, 4
mov edx, dword [ebp - 0x100]
add edx, ecx
mov eax, dword [ebp - 0x11c]
add eax, 3
shl eax, 4
mov ecx, dword [ebp - 0xf8]
add ecx, eax
mov eax, dword [edx]
mov dword [ecx], eax
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
mov eax, dword [edx + 8]
mov dword [ecx + 8], eax
mov edx, dword [edx + 0xc]
mov dword [ecx + 0xc], edx
mov eax, dword [ebp - 0x11c]
cdq
mov ecx, 3
idiv ecx
mov ecx, eax
mov eax, dword [ebp - 0x11c]
cdq
mov esi, 3
idiv esi
mov edx, dword [ebp - 0xfc]
mov esi, dword [ebp - 0x124]
mov cl, byte [esi + ecx]
mov byte [edx + eax + 1], cl
jmp 0x41ff8e
mov edx, dword [ebp - 0x1ac]
and edx, 0xffff
sub edx, 1
shl edx, 4
mov eax, dword [ebp - 0xf8]
add eax, edx
mov ecx, dword [ebp - 0x154]
mov dword [eax], ecx
mov edx, dword [ebp - 0x150]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x14c]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x148]
mov dword [eax + 0xc], edx
mov eax, dword [ebp - 0x1ac]
and eax, 0xffff
shl eax, 4
mov ecx, dword [ebp - 0xf8]
add ecx, eax
mov edx, dword [ebp - 0x144]
mov dword [ecx], edx
mov eax, dword [ebp - 0x140]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x13c]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0x138]
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp - 0x1ac]
and ecx, 0xffff
add ecx, 1
shl ecx, 4
mov edx, dword [ebp - 0xf8]
add edx, ecx
mov eax, dword [ebp - 0x134]
mov dword [edx], eax
mov ecx, dword [ebp - 0x130]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x12c]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0x128]
mov dword [edx + 0xc], ecx
mov edx, dword [ebp - 0x1ac]
and edx, 0xffff
add edx, 2
shl edx, 4
mov eax, dword [ebp - 0xf8]
add eax, edx
mov ecx, dword [ebp - 0xe4]
mov dword [eax], ecx
mov edx, dword [ebp - 0xe0]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0xdc]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0xd8]
mov dword [eax + 0xc], edx
mov eax, dword [ebp - 0x1ac]
and eax, 0xffff
add eax, 3
shl eax, 4
mov ecx, dword [ebp - 0xf8]
add ecx, eax
mov edx, dword [ebp - 0xd4]
mov dword [ecx], edx
mov eax, dword [ebp - 0xd0]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0xcc]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0xc8]
mov dword [ecx + 0xc], eax
mov eax, dword [ebp - 0x1ac]
and eax, 0xffff
cdq
mov ecx, 3
idiv ecx
mov edx, dword [ebp - 0xfc]
mov byte [edx + eax + 1], 3
mov eax, dword [ebp - 0x118]
mov ecx, dword [eax + 0x18]
add ecx, 3
mov edx, dword [ebp - 0x118]
mov dword [edx + 0x18], ecx
mov eax, dword [ebp - 0x118]
mov ecx, dword [eax + 0x10]
add ecx, 1
mov edx, dword [ebp - 0x118]
mov dword [edx + 0x10], ecx
mov eax, dword [ebp - 0x118]
mov ecx, dword [ebp - 0xf8]
mov dword [eax + 0x1c], ecx
mov edx, dword [ebp - 0x118]
mov eax, dword [ebp - 0xfc]
mov dword [edx + 0x14], eax
mov ecx, dword [ebp - 0x100]
mov dword [ebp - 0x20c], ecx
mov edx, dword [ebp - 0x20c]
push edx
call sub.MFC42u.DLL_operatordelete
add esp, 4
mov eax, dword [ebp - 0x124]
mov dword [ebp - 0x210], eax
mov ecx, dword [ebp - 0x210]
push ecx
call sub.MFC42u.DLL_operatordelete
add esp, 4
lea ecx, [ebp - 0x114]
call dword [sym.imp.DataMgr.dll_public:_void___thiscall_NodePosParam::constructor_void_]
mov edx, dword [ebp - 0x234]
mov eax, dword [edx + 0x74]
mov dword [ebp - 0x114], eax
mov dword [ebp - 0x110], 0
mov ecx, dword [ebp - 0x234]
mov edx, dword [ecx + 0x78]
mov dword [ebp - 0x10c], edx
mov eax, dword [ebp - 0x1ac]
and eax, 0xffff
add eax, 1
cdq
mov ecx, 3
idiv ecx
mov dword [ebp - 0x108], eax
mov dword [ebp - 0x104], 1
lea edx, [ebp - 0x114]
push edx
mov ecx, dword [ebp - 0x234]
call fcn.0041638e
mov eax, dword [ebp - 0x234]
cmp dword [eax + 0xc4], 0
jne 0x42026e
mov ecx, dword [ebp - 0x234]
cmp dword [ecx + 0xc8], 0
je 0x420282
mov edx, dword [ebp - 0x234]
mov eax, dword [ebp - 0x114]
mov dword [edx + 0xc0], eax
jmp 0x420292
mov ecx, dword [ebp - 0x234]
mov dword [ecx + 0xc0], 0
lea edx, [ebp - 0x3c]
push edx
mov ecx, dword [ebp - 0x234]
call fcn.00416bff
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xf4]
call dword [sym.imp.mathlib.dll_public:_void___thiscall_CBezier::destructor_void_]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x164]
call dword [sym.imp.mathlib.dll_public:_void___thiscall_CBezier::destructor_void_]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1a4]
call dword [sym.imp.mathlib.dll_public:_void___thiscall_CBezier::destructor_void_]
mov eax, dword [ebp - 0x234]
mov ecx, dword [eax + 0x74]
push ecx
mov ecx, dword [ebp - 0x234]
call fcn.0041db21
mov dword [ebp - 0x10], eax
push 0
mov edx, dword [ebp - 0x234]
mov ecx, dword [edx + 0x58]
mov eax, dword [ebp - 0x234]
mov edx, dword [eax + 0x58]
mov eax, dword [edx]
call dword [eax + 0x14]
push 2
mov ecx, dword [ebp - 0x234]
mov ecx, dword [ecx + 0x58]
mov edx, dword [ebp - 0x234]
mov eax, dword [edx + 0x58]
mov edx, dword [eax]
call dword [edx + 0x14]
lea eax, [ebp - 0x230]
push eax
mov ecx, dword [ebp - 0x234]
mov ecx, dword [ecx + 0x74]
mov edx, dword [ebp - 0x234]
mov eax, dword [edx + 0x74]
mov edx, dword [eax]
call dword [edx + 0x60]
push eax
lea ecx, [ebp - 0x5c]
call dword [0x564eac]
push 0
mov ecx, dword [ebp - 0x1c]
call dword [sym.imp.DataMgr.dll_public:_int___thiscall_CDataMgr::UpdataBoundBox_int_]
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x1c]
call dword [edx + 0x6c]
cmp dword [ebp - 0x10], 0
je 0x420371
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x7c]
call dword [sym.imp.mathlib.dll_public:_void___thiscall_Box2d::operator_class_Box2d_const__]
jmp 0x42037e
lea ecx, [ebp - 0x3c]
push ecx
lea ecx, [ebp - 0x7c]
call dword [sym.imp.mathlib.dll_public:_void___thiscall_Box2d::operator_class_Box2d_const__]
mov edx, dword [ebp - 0x234]
mov dword [edx + 0x74], 0
mov eax, dword [ebp - 0x234]
mov dword [eax + 0x78], 0
mov ecx, dword [ebp - 0x234]
call fcn.004187cf
lea ecx, [ebp - 0x7c]
call dword [sym.imp.mathlib.dll_public:_int___thiscall_Box2d::IsEmpty_void_const]
test eax, eax
jne 0x4203cc
call dword [sym.imp.DataMgr.dll_class_CDrawDC____cdecl_gf_GetDrawDC_void_]
mov dword [ebp - 0x1b0], eax
lea ecx, [ebp - 0x7c]
push ecx
mov ecx, dword [ebp - 0x1b0]
call dword [sym.imp.DataMgr.dll_public:_void___thiscall_CDrawDC::InvalidateRect_class_Box2d_const__]
mov edx, dword [ebp - 0x234]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x234]
call dword [eax + 0x64]
mov ecx, dword [ebp - 0x234]
call fcn.00411563
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret