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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f7c4b
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 0x41e83e
mov ecx, dword [ebp - 0x234]
cmp dword [ecx + 0x74], 0
je 0x41e83e
mov edx, dword [ebp - 0x234]
cmp dword [edx + 0x78], 0
jne 0x41e845
xor eax, eax
jmp 0x41f5ca
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 0x41e880
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 0x41e880
xor eax, eax
jmp 0x41f5ca
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 0x41e8c0
mov ecx, dword [ebp - 0x234]
xor edx, edx
mov dx, word [ecx + 0x7c]
test edx, edx
jge 0x41e8c7
xor eax, eax
jmp 0x41f5ca
mov eax, dword [ebp - 0x234]
fld qword [eax + 0x90]
fcomp qword [0x509890]
fnstsw ax
test ah, 0x41
jne 0x41e8f9
mov ecx, dword [ebp - 0x234]
fld qword [ecx + 0x90]
fcomp qword [0x509888]
fnstsw ax
test ah, 1
jne 0x41e900
xor eax, eax
jmp 0x41f5ca
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 + 0xa0]
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_1
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_1
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.0040e380
push eax
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x1c]
call dword [edx + 0x64]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1e0]
call fcn.004f5766
mov ecx, dword [ebp - 0x234]
call fcn.0041cac1
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 0x41eaae
cmp dword [ebp - 0x24c], 0x700
je 0x41eac8
jmp 0x41eae6
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 0x41eae6
mov edx, dword [ebp - 0x234]
mov eax, dword [edx + 0x74]
mov dword [ebp - 0x84], eax
mov ecx, dword [ebp - 0x84]
mov edx, dword [ecx + 0x1228]
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 0x41ede7
cmp dword [ebp - 0x250], 0x100
je 0x41eb2e
cmp dword [ebp - 0x250], 0x300
je 0x41ef40
jmp 0x41f4b1
mov ecx, dword [ebp - 0x234]
mov edx, dword [ecx + 0x78]
mov dword [ebp - 0x98], edx
mov eax, dword [ebp - 0x98]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0xa4], ecx
mov edx, dword [ebp - 0x98]
mov eax, dword [edx + 0x1c]
mov dword [ebp - 0x90], eax
mov ecx, dword [ebp - 0x98]
mov edx, dword [ecx + 0x14]
mov dword [ebp - 0xa0], edx
mov eax, dword [ebp - 0xa4]
add eax, 1
mov dword [ebp - 0x94], eax
mov ecx, dword [ebp - 0x94]
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 0x41ebcb
mov edx, dword [sym.imp.mathlib.dll_public:_void___thiscall_Pt2d::constructor_void_]
push edx
mov eax, dword [ebp - 0x94]
push eax
push 0x10
mov ecx, dword [ebp - 0x1e8]
push ecx
call fcn.00402080
mov edx, dword [ebp - 0x1e8]
mov dword [ebp - 0x254], edx
jmp 0x41ebd5
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 0x41ec3d
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 0x41ecaa
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 0x41ec2e
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 0x41ecfc
mov edx, dword [ebp - 0x9c]
add edx, 1
mov dword [ebp - 0x9c], edx
mov eax, dword [ebp - 0x9c]
cmp eax, dword [ebp - 0xa4]
jge 0x41ed64
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 0x41eced
mov eax, dword [ebp - 0x98]
mov ecx, dword [eax + 0x18]
add ecx, 1
mov edx, dword [ebp - 0x98]
mov dword [edx + 0x18], ecx
mov eax, dword [ebp - 0x98]
mov ecx, dword [eax + 0x10]
add ecx, 1
mov edx, dword [ebp - 0x98]
mov dword [edx + 0x10], ecx
mov eax, dword [ebp - 0x98]
mov ecx, dword [ebp - 0x88]
mov dword [eax + 0x1c], ecx
mov edx, dword [ebp - 0x98]
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 0x41f4b1
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 0x41ee69
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], 0x5097d8
mov edx, dword [ebp - 0x1fc]
mov dword [ebp - 0x258], edx
jmp 0x41ee73
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 + 0x8c]
mov ecx, dword [ebp - 0xb0]
call dword [sym.imp.QLib.dll_public:_class_CSectObject____thiscall_CSectObject::GetNext_void_]
test eax, eax
je 0x41ef16
mov eax, dword [ebp - 0xb0]
push eax
mov ecx, dword [ebp - 0xb4]
call dword [sym.imp.mathlib.dll_public:_void___thiscall_CSectObject::InsertAfter_class_CSectObject__]
jmp 0x41ef3b
mov ecx, dword [ebp - 0xb0]
push ecx
mov ecx, dword [ebp - 0xb4]
call dword [sym.imp.mathlib.dll_public:_void___thiscall_CSectObject::InsertAfter_class_CSectObject__]
cmp dword [ebp - 0x18], 0
je 0x41ef3b
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xb4]
mov dword [edx + 0x14], eax
jmp 0x41f4b1
mov ecx, dword [ebp - 0x234]
mov edx, dword [ecx + 0x78]
mov dword [ebp - 0x11c], edx
mov eax, dword [ebp - 0x11c]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x1a8], ecx
mov edx, dword [ebp - 0x11c]
mov eax, dword [edx + 0x1c]
mov dword [ebp - 0x100], eax
mov ecx, dword [ebp - 0x11c]
mov edx, dword [ecx + 0x14]
mov dword [ebp - 0x124], edx
mov eax, dword [ebp - 0x1a8]
add eax, 3
mov dword [ebp - 0x104], eax
mov ecx, dword [ebp - 0x104]
shl ecx, 4
push ecx
call sub.MFC42u.DLL_operatornew
add esp, 4
mov dword [ebp - 0x204], eax
mov dword [ebp - 4], 4
cmp dword [ebp - 0x204], 0
je 0x41efdd
mov edx, dword [sym.imp.mathlib.dll_public:_void___thiscall_Pt2d::constructor_void_]
push edx
mov eax, dword [ebp - 0x104]
push eax
push 0x10
mov ecx, dword [ebp - 0x204]
push ecx
call fcn.00402080
mov edx, dword [ebp - 0x204]
mov dword [ebp - 0x25c], edx
jmp 0x41efe7
mov dword [ebp - 0x25c], 0
mov eax, dword [ebp - 0x25c]
mov dword [ebp - 0x200], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x200]
mov dword [ebp - 0xf8], ecx
mov edx, dword [ebp - 0x11c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x11c]
call dword [eax + 0x68]
add eax, 1
push eax
call sub.MFC42u.DLL_operatornew
add esp, 4
mov dword [ebp - 0x208], eax
mov ecx, dword [ebp - 0x208]
mov dword [ebp - 0xfc], ecx
mov edx, dword [ebp - 0x234]
xor eax, eax
mov ax, word [edx + 0x7c]
imul eax, eax, 3
shl eax, 4
mov ecx, dword [ebp - 0x100]
add ecx, eax
push ecx
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 edx, [ebp - 0xf4]
push edx
lea eax, [ebp - 0x164]
push eax
mov ecx, dword [ebp - 0x234]
add ecx, 0x90
push ecx
lea ecx, [ebp - 0x1a4]
call dword [sym.imp.mathlib.dll_public:_int___thiscall_CBezier::SplitToTwo_double_const___class_CBezier___class_CBezier__]
mov dword [ebp - 0x120], 0
mov edx, dword [ebp - 0x234]
xor eax, eax
mov ax, word [edx + 0x7c]
imul eax, eax, 3
add eax, 2
mov word [ebp - 0x1ac], ax
mov dword [ebp - 0x120], 0
jmp 0x41f0e8
mov ecx, dword [ebp - 0x120]
add ecx, 1
mov dword [ebp - 0x120], ecx
mov edx, dword [ebp - 0x1ac]
and edx, 0xffff
cmp dword [ebp - 0x120], edx
jge 0x41f169
mov eax, dword [ebp - 0x120]
shl eax, 4
mov ecx, dword [ebp - 0x100]
add ecx, eax
mov edx, dword [ebp - 0x120]
shl edx, 4
mov eax, dword [ebp - 0xf8]
add eax, edx
mov edx, dword [ecx]
mov dword [eax], edx
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov edx, dword [ecx + 8]
mov dword [eax + 8], edx
mov ecx, dword [ecx + 0xc]
mov dword [eax + 0xc], ecx
mov eax, dword [ebp - 0x120]
cdq
mov ecx, 3
idiv ecx
mov ecx, eax
mov eax, dword [ebp - 0x120]
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 0x41f0d9
jmp 0x41f17a
mov edx, dword [ebp - 0x120]
add edx, 1
mov dword [ebp - 0x120], edx
mov eax, dword [ebp - 0x120]
cmp eax, dword [ebp - 0x1a8]
jge 0x41f1f9
mov ecx, dword [ebp - 0x120]
shl ecx, 4
mov edx, dword [ebp - 0x100]
add edx, ecx
mov eax, dword [ebp - 0x120]
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 - 0x120]
cdq
mov ecx, 3
idiv ecx
mov ecx, eax
mov eax, dword [ebp - 0x120]
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 0x41f16b
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 - 0x11c]
mov ecx, dword [eax + 0x18]
add ecx, 3
mov edx, dword [ebp - 0x11c]
mov dword [edx + 0x18], ecx
mov eax, dword [ebp - 0x11c]
mov ecx, dword [eax + 0x10]
add ecx, 1
mov edx, dword [ebp - 0x11c]
mov dword [edx + 0x10], ecx
mov eax, dword [ebp - 0x11c]
mov ecx, dword [ebp - 0xf8]
mov dword [eax + 0x1c], ecx
mov edx, dword [ebp - 0x11c]
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 - 0x118]
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 - 0x118], eax
mov dword [ebp - 0x114], 0
mov ecx, dword [ebp - 0x234]
mov edx, dword [ecx + 0x78]
mov dword [ebp - 0x110], edx
mov eax, dword [ebp - 0x1ac]
and eax, 0xffff
add eax, 1
cdq
mov ecx, 3
idiv ecx
mov dword [ebp - 0x10c], eax
mov dword [ebp - 0x108], 1
lea edx, [ebp - 0x118]
push edx
mov ecx, dword [ebp - 0x234]
call fcn.0041555b
mov eax, dword [ebp - 0x234]
cmp dword [eax + 0xc4], 0
jne 0x41f44b
mov ecx, dword [ebp - 0x234]
cmp dword [ecx + 0xc8], 0
je 0x41f45f
mov edx, dword [ebp - 0x234]
mov eax, dword [ebp - 0x118]
mov dword [edx + 0xc0], eax
jmp 0x41f46f
mov ecx, dword [ebp - 0x234]
mov dword [ecx + 0xc0], 0
lea edx, [ebp - 0x3c]
push edx
mov ecx, dword [ebp - 0x234]
call fcn.00415dcc
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.0041ccd1
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 [0x508bb8]
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 + 0x68]
cmp dword [ebp - 0x10], 0
je 0x41f54e
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 0x41f55b
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.00417993
lea ecx, [ebp - 0x7c]
call dword [sym.imp.mathlib.dll_public:_int___thiscall_Box2d::IsEmpty_void_const]
test eax, eax
jne 0x41f5a9
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.00410603
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret