Function at 0x5a4246
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x6609af
push eax
mov eax, 0x2db0
mov dword fs:[0], esp
call fcn.0063e680
push ebx
push esi
push edi
call fcn.0041093d
mov ebx, dword [ebp + 0x10]
mov esi, eax
xor edi, edi
cmp dword [ebx + 0xe], edi
jne case.0x5a2d15.10
lea eax, [ebx + 0x46]
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
mov dword [esp + 0x10], eax
xor eax, eax
mov ax, word [ebx]
add esp, 4
dec eax
cmp eax, 0x16
ja case.0x5a2d15.10
xor ecx, ecx
mov cl, byte [eax + 0x5a4458]
jmp dword [ecx*4 + 0x5a4430]
call fcn.0041093d
mov edx, dword [eax + 0x386]
mov ebx, dword [ebp + 0x14]
fld dword [edx + 8]
fld qword [ebp + 0x1c]
fadd qword [ebx]
fmulp st(1)
fstp qword [esp + 0x10]
call fcn.0041093d
mov eax, dword [eax + 0x386]
fld dword [eax + 8]
fld qword [ebp + 0x24]
fadd qword [ebx + 8]
fsubr qword [esi + 0x1aed]
fmulp st(1)
fstp qword [esp + 0x20]
call fcn.0041093d
mov ecx, dword [eax + 0x386]
fld dword [ecx + 8]
fld qword [ebp + 0x1c]
fadd qword [ebx + 0x18]
fmulp st(1)
fstp qword [esp + 0x28]
call fcn.0041093d
mov edx, dword [eax + 0x386]
mov eax, dword [esp + 0xc]
cmp eax, 7
fld dword [edx + 8]
fld qword [ebp + 0x24]
fadd qword [ebx + 0x20]
fsubr qword [esi + 0x1aed]
fmulp st(1)
fstp qword [esp + 0x30]
jne 0x5a2df0
fld qword [esp + 0x10]
call sub.MSVCRT.dll__ftol
fld qword [esp + 0x20]
mov edi, eax
call sub.MSVCRT.dll__ftol
fld qword [esp + 0x28]
mov dword [esi + 0x216], edi
mov dword [esi + 0x21a], eax
call sub.MSVCRT.dll__ftol
fld qword [esp + 0x30]
mov edi, eax
call sub.MSVCRT.dll__ftol
mov dword [esi + 0x21e], edi
mov dword [esi + 0x222], eax
mov ecx, dword [esp + 0x2dbc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 1
je 0x5a2e0d
cmp eax, 4
je 0x5a2e0d
cmp eax, 6
je 0x5a2e0d
cmp eax, 8
je 0x5a2e0d
cmp eax, 0xe
jne case.0x5a2d15.10
push 0x34
call sub.MFC42.DLL_operatornew
mov ebx, eax
add esp, 4
mov dword [esp + 0x1c], ebx
cmp ebx, edi
mov dword [esp + 0x2dc4], edi
je 0x5a2e52
push 2
lea ecx, [ebx + 4]
call dword [sym.imp.zmathdll.dll_public:_void___thiscall_ZPointArray::constructor_int_]
mov dword [ebx + 0x14], edi
mov dword [ebx + 0x18], edi
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x20], edi
mov eax, dword [sym.imp.zmathdll.dll_const_ZPolyline::vftable]
mov dword [ebx + 0x30], edi
mov dword [ebx], eax
mov dword [ebx + 0x24], 1
mov edi, ebx
fld qword [esp + 0x10]
mov dword [esp + 0x2dc4], 0xffffffff
call sub.MSVCRT.dll__ftol
fld qword [esp + 0x20]
mov dword [esp + 0xac], eax
call sub.MSVCRT.dll__ftol
mov ebx, dword [sym.imp.zmathdll.dll_public:_int___thiscall_ZPolyline::AddPoint_class_CPoint_const__]
lea ecx, [esp + 0xac]
push ecx
mov ecx, edi
mov dword [esp + 0xb4], eax
call ebx
fld qword [esp + 0x28]
call sub.MSVCRT.dll__ftol
fld qword [esp + 0x30]
mov dword [esp + 0x94], eax
call sub.MSVCRT.dll__ftol
lea edx, [esp + 0x94]
mov ecx, edi
push edx
mov dword [esp + 0x9c], eax
call ebx
mov eax, dword [esp + 0xc]
cmp eax, 4
mov dword [edi + 0x24], eax
jne 0x5a2ece
mov dword [edi + 0x24], 8
mov eax, dword [esi + 0x2d6]
lea ecx, [esi + 0x2ce]
push edi
push eax
call sub.MFC42.DLL_CPtrArray::SetAtGrow
mov ecx, dword [esp + 0x2dbc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.0041093d
mov ecx, dword [eax + 0x386]
mov ebx, dword [ebp + 0x14]
fld dword [ecx + 8]
fld qword [ebp + 0x1c]
fadd qword [ebx]
fmulp st(1)
fstp qword [esp + 0x38]
call fcn.0041093d
mov edx, dword [eax + 0x386]
fld dword [edx + 8]
fld qword [ebp + 0x24]
fadd qword [ebx + 8]
fsubr qword [esi + 0x1aed]
fmulp st(1)
fld qword [esp + 0x38]
call sub.MSVCRT.dll__ftol
mov ebx, eax
mov dword [esp + 0x10], ebx
call sub.MSVCRT.dll__ftol
push 0xffffffffffffffff
push eax
push ebx
mov ecx, esi
mov dword [esp + 0x2c], eax
call fcn.00403071
cmp eax, edi
jne 0x5a2fec
push 0x441
call sub.MFC42.DLL_operatornew
mov ebx, eax
add esp, 4
mov dword [esp + 0x1c], ebx
cmp ebx, edi
mov dword [esp + 0x2dc4], 1
je 0x5a2fb0
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x10]
push edi
push edi
push edi
push 0x1b
push edi
lea edx, [esp + 0xb0]
mov dword [esp + 0xb4], ecx
push edi
push edx
mov ecx, ebx
mov dword [esp + 0xb8], eax
call dword [sym.imp.zmathdll.dll_public:_void___thiscall_ZPoint::constructor_class_CPoint___int__struct_ZUnit___int__struct_ZGradData____int___int__]
mov dword [ebx], 0x6701d4
mov edi, ebx
mov eax, dword [esi + 0x24a]
add esi, 0x242
push edi
push eax
mov ecx, esi
mov dword [esp + 0x2dcc], 0xffffffff
call sub.MFC42.DLL_CPtrArray::SetAtGrow
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x7d], ecx
mov ecx, dword [esp + 0x2dbc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0xc]
mov ecx, 2
cmp edx, ecx
jne case.0x5a2d15.10
mov dword [eax + 0x7d], ecx
mov ecx, dword [esp + 0x2dbc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.0041093d
mov edx, dword [eax + 0x386]
mov ebx, dword [ebp + 0x14]
fld dword [edx + 8]
fld qword [ebp + 0x1c]
fadd qword [ebx]
fmulp st(1)
fstp qword [esp + 0x38]
call fcn.0041093d
mov eax, dword [eax + 0x386]
fld dword [eax + 8]
fld qword [ebp + 0x24]
fadd qword [ebx + 8]
fsubr qword [esi + 0x1aed]
fmulp st(1)
fstp qword [esp + 0x20]
call fcn.0041093d
mov ecx, dword [eax + 0x386]
push 0x68
fld dword [ecx + 8]
fmul qword [ebx + 0x18]
fstp qword [esp + 0x14]
call sub.MFC42.DLL_operatornew
mov ebx, eax
add esp, 4
mov dword [esp + 0x1c], ebx
cmp ebx, edi
mov dword [esp + 0x2dc4], 2
je 0x5a30ca
fld qword [esp + 0x38]
call sub.MSVCRT.dll__ftol
fld qword [esp + 0x20]
mov dword [esp + 0x7c], eax
call sub.MSVCRT.dll__ftol
mov edx, dword [esp + 0x14]
push 0x401921fb
push 0x54442d18
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x18]
push edi
push edi
push edx
lea ecx, [esp + 0x90]
push eax
push ecx
mov ecx, ebx
call dword [sym.imp.zmathdll.dll_public:_void___thiscall_ZArc::constructor_class_CPoint___double__double__double_]
jmp 0x5a30cc
xor eax, eax
mov edx, dword [esp + 0xc]
add esi, 0x2e2
mov dword [eax + 0x24], edx
push eax
mov eax, dword [esi + 8]
mov ecx, esi
push eax
mov dword [esp + 0x2dcc], 0xffffffff
call sub.MFC42.DLL_CPtrArray::SetAtGrow
mov ecx, dword [esp + 0x2dbc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 0x14]
add ecx, 0x57
push ecx
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_2
lea edx, [esp + 0xc]
lea ecx, [esp + 0x28]
push edx
mov dword [esp + 0x2dc8], 3
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x28]
mov byte [esp + 0x2dc4], 4
call sub.MFC42.DLL_CString::MakeLower
call fcn.0041093d
call fcn.0041093d
push str.piece_name:
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CString::Find_2
test eax, eax
jge 0x5a3585
push str.piece:
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CString::Find_2
test eax, eax
jge 0x5a3585
push str.size:
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CString::Find_2
test eax, eax
jl 0x5a31f4
push 0x3a
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::Find_1
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x64]
mov ecx, dword [ecx - 8]
sub ecx, eax
dec ecx
push ecx
push edx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Right
add esi, 0x5fa
push eax
mov ecx, esi
mov byte [esp + 0x2dc8], 8
call fcn.0063d800
lea ecx, [esp + 0x64]
mov byte [esp + 0x2dc4], 4
call fcn.0063d7fa
push 0x20
mov ecx, esi
call sub.MFC42.DLL_CString::TrimLeft_2
push 0x20
mov ecx, esi
call sub.MFC42.DLL_CString::TrimRight_2
push 0x5f
push 0x20
mov ecx, esi
call sub.MFC42.DLL_CString::Replace
jmp 0x5a3962
push str.material:
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CString::Find_2
test eax, eax
jge 0x5a32ac
push str.fabric:
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CString::Find_2
test eax, eax
jge 0x5a32ac
push str.quantity:
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CString::Find_2
test eax, eax
jl 0x5a3962
push 0x3a
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::Find_1
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x40]
mov ecx, dword [ecx - 8]
sub ecx, eax
dec ecx
push ecx
push edx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Right
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x2dc8], 0xe
call fcn.0063d800
lea ecx, [esp + 0x40]
mov byte [esp + 0x2dc4], 4
call fcn.0063d7fa
push 0x20
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::TrimLeft_2
push 0x20
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::TrimRight_2
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
mov dword [esi + 0x1cb9], eax
jmp 0x5a3962
push 0x3a
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::Find_1
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x68]
mov ecx, dword [ecx - 8]
sub ecx, eax
dec ecx
push ecx
push edx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Right
lea ebx, [esi + 0x22a]
push eax
mov ecx, ebx
mov byte [esp + 0x2dc8], 9
call fcn.0063d800
lea ecx, [esp + 0x68]
mov byte [esp + 0x2dc4], 4
call fcn.0063d7fa
push 0x20
mov ecx, ebx
call sub.MFC42.DLL_CString::TrimLeft_2
push 0x20
mov ecx, ebx
call sub.MFC42.DLL_CString::TrimRight_2
push 0x5f
push 0x20
mov ecx, ebx
call sub.MFC42.DLL_CString::Replace
mov eax, dword [esi + 0x3ba]
mov dword [esp + 0x10], edi
cmp eax, edi
mov dword [esp + 0x30], eax
jle 0x5a335b
mov eax, dword [esi + 0x3b6]
mov ecx, dword [esp + 0x10]
mov eax, dword [eax + ecx*4]
mov ecx, dword [ebx]
push ecx
mov eax, dword [eax]
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x5a3962
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x30]
inc eax
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x5a3326
fld qword [esi + 0x1afd]
mov ebx, dword [ebx]
call sub.MSVCRT.dll__ftol
lea ecx, [esp + 0xb4]
mov dword [esp + 0x30], eax
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x160]
mov byte [esp + 0x2dc4], 0xa
call sub.MFC42.DLL_CString::CString
cmp ebx, edi
mov byte [esp + 0x2dc4], 0xb
je 0x5a33a5
push ebx
lea ecx, [esp + 0xb8]
call fcn.0063d7e2
mov edx, dword [esp + 0x30]
mov dword [esp + 0xbc], 0
mov dword [esp + 0xb8], edx
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0x42c80000
mov dword [esp + 0xc8], 0x42c80000
mov dword [esp + 0xcc], edi
mov dword [esp + 0xd0], edi
mov dword [esp + 0xd4], edi
mov dword [esp + 0xd8], edi
mov dword [esp + 0xdc], 0
mov dword [esp + 0xe0], 0
mov dword [esp + 0xe4], 0
mov dword [esp + 0xe8], 0
mov dword [esp + 0xec], 0
mov dword [esp + 0xf0], 0
mov dword [esp + 0xf4], 0
mov dword [esp + 0xf8], 0
mov dword [esp + 0xfc], edi
lea eax, [esp + 0x130]
lea ecx, [esp + 0x100]
mov edx, 4
mov dword [ecx], edi
mov dword [eax - 0x20], edi
mov dword [eax - 0x1c], edi
mov dword [eax], edi
mov dword [eax + 4], edi
add ecx, 4
add eax, 8
dec edx
jne 0x5a346a
mov ecx, 0xc8
xor eax, eax
lea edi, [esp + 0x18c]
push 0x6a6520
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x164]
mov dword [esp + 0x154], eax
mov dword [esp + 0x158], eax
mov dword [esp + 0x15c], eax
mov dword [esp + 0x160], eax
call fcn.0063d7e2
mov dword [esp + 0x164], 0
mov dword [esp + 0x168], 0
mov dword [esp + 0x16c], 0
mov dword [esp + 0x170], 0
mov dword [esp + 0x174], 0
mov dword [esp + 0x178], 0
mov dword [esp + 0x17c], 0
mov dword [esp + 0x180], 0
mov dword [esp + 0x184], 0
mov dword [esp + 0x188], 0
mov dword [esp + 0x4ac], 0
mov dword [esp + 0x4b0], 0
lea eax, [esp + 0xb4]
mov ecx, esi
push eax
mov byte [esp + 0x2dc8], 0xc
call fcn.00409241
lea ecx, [esp + 0x160]
mov byte [esp + 0x2dc4], 0xd
call fcn.0063d7fa
lea ecx, [esp + 0xb4]
mov byte [esp + 0x2dc4], 4
call fcn.0063d7fa
jmp 0x5a3962
mov eax, dword [esi + 0x226]
push 0x6bdc68
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x5a386c
mov eax, dword [esi + 0x2d6]
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x20], eax
jle 0x5a3729
mov ecx, dword [esi + 0x2d2]
mov edx, dword [ecx + ebx*4]
lea edi, [ecx + ebx*4]
cmp dword [edx + 0x24], 1
jne 0x5a3704
mov ecx, edx
call dword [sym.imp.zmathdll.dll_public:_int___thiscall_ZPolyline::GetPointNum_void_const]
mov ecx, dword [edi]
dec eax
push eax
add ecx, 4
call dword [sym.imp.zmathdll.dll_public:_class_CPoint____thiscall_ZPointArray::operator___int_]
mov ecx, dword [eax]
push 0xffffffffffffffff
mov dword [esp + 0x3c], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x40], edx
mov ecx, dword [eax + 4]
mov edx, dword [eax]
push ecx
push edx
mov ecx, esi
call fcn.00403071
mov edi, eax
test edi, edi
jne 0x5a3665
push 0x441
call sub.MFC42.DLL_operatornew
mov edi, eax
add esp, 4
mov dword [esp + 0x1c], edi
test edi, edi
mov byte [esp + 0x2dc4], 5
je 0x5a3648
push 0
push 0
push 0
push 0x1b
push 0
lea eax, [esp + 0x4c]
push 0
push eax
mov ecx, edi
call dword [sym.imp.zmathdll.dll_public:_void___thiscall_ZPoint::constructor_class_CPoint___int__struct_ZUnit___int__struct_ZGradData____int___int__]
mov dword [edi], 0x6701d4
jmp 0x5a364a
xor edi, edi
mov eax, dword [esi + 0x24a]
lea ecx, [esi + 0x242]
push edi
push eax
mov byte [esp + 0x2dcc], 4
call sub.MFC42.DLL_CPtrArray::SetAtGrow
mov eax, dword [esp + 0x10]
mov dword [edi + 0x439], 0
test eax, eax
mov dword [edi + 0x7d], 2
jne 0x5a368d
mov ecx, dword [esi + 0x2d2]
mov edx, dword [ecx + ebx*4]
mov dword [esp + 0x10], edx
jmp 0x5a36ec
mov eax, dword [esi + 0x2d2]
mov ecx, dword [eax + ebx*4]
call dword [sym.imp.zmathdll.dll_public:_int___thiscall_ZPolyline::GetPointNum_void_const]
xor edi, edi
mov dword [esp + 0x1c], eax
test eax, eax
jle 0x5a36cd
mov ecx, dword [esi + 0x2d2]
push edi
mov ecx, dword [ecx + ebx*4]
add ecx, 4
call dword [sym.imp.zmathdll.dll_public:_class_CPoint____thiscall_ZPointArray::operator___int_]
mov ecx, dword [esp + 0x10]
push eax
call dword [sym.imp.zmathdll.dll_public:_int___thiscall_ZPolyline::AddPoint_class_CPoint_const__]
mov eax, dword [esp + 0x1c]
inc edi
cmp edi, eax
jl 0x5a36a6
mov edx, dword [esi + 0x2d2]
mov edi, dword [edx + ebx*4]
test edi, edi
je 0x5a36ec
lea ecx, [edi + 4]
call dword [sym.imp.zmathdll.dll_public:_void___thiscall_ZPointArray::destructor_void_]
push edi
call sub.MFC42.DLL_operatordelete
add esp, 4
push 1
push ebx
lea ecx, [esi + 0x2ce]
call sub.MFC42.DLL_CPtrArray::RemoveAt
mov eax, dword [esp + 0x20]
dec ebx
dec eax
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x20]
inc ebx
cmp ebx, eax
jl 0x5a35ba
mov eax, dword [esp + 0x10]
test eax, eax
je 0x5a3729
push 1
push eax
push 0
lea ecx, [esi + 0x2ce]
call sub.MFC42.DLL_CPtrArray::InsertAt
lea edi, [esi + 0x5fa]
lea ecx, [esp + 0x30]
push edi
call sub.MFC42.DLL_CString::CString_1
mov byte [esp + 0x2dc4], 6
call fcn.00402572
lea eax, [esp + 0x30]
mov ecx, edi
push eax
call fcn.0063d800
push 0
mov ecx, esi
call fcn.00408814
mov ebx, eax
test ebx, ebx
jle 0x5a3859
lea ecx, [ebx - 1]
push 0
push ecx
mov ecx, esi
call fcn.00403756
mov ecx, 1
mov dword [esi + 0x212], eax
mov dword [eax + 0x105], ecx
mov edx, dword [esi + 0x212]
push 0x6bdc68
mov dword [edx + 0x101], ecx
mov eax, dword [edi]
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x5a384f
cmp ebx, 1
jne 0x5a37cd
mov eax, dword [esi + 0x34a]
push edi
mov ecx, dword [eax]
call fcn.0063d800
mov ecx, dword [esi + 0x212]
mov dword [ecx + 0x109], 0
jmp 0x5a3843
mov ecx, esi
call fcn.00406f46
xor ebx, ebx
mov dword [esp + 0x10], eax
test eax, eax
jle 0x5a3819
mov edx, dword [esi + 0x34a]
mov ecx, dword [edi]
push ecx
mov eax, dword [edx + ebx*4]
mov eax, dword [eax]
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x5a3805
mov eax, dword [esp + 0x10]
inc ebx
cmp ebx, eax
jl 0x5a37de
jmp 0x5a3819
mov eax, dword [esi + 0x212]
mov dword [eax + 0x109], ebx
mov eax, dword [esp + 0x10]
cmp ebx, eax
jl 0x5a3843
push 1
push 0
mov ecx, esi
call fcn.0040712b
mov ecx, dword [esi + 0x34a]
mov ebx, dword [esp + 0x10]
push edi
mov ecx, dword [ecx + ebx*4]
call fcn.0063d800
mov edx, dword [esi + 0x212]
mov dword [edx + 0x109], ebx
push 0x6bdc68
mov ecx, edi
call fcn.0063d7e2
mov dword [esi + 0x212], 0
lea ecx, [esp + 0x30]
mov byte [esp + 0x2dc4], 4
call fcn.0063d7fa
xor edi, edi
push 0xffffffffffffffff
push edi
lea ecx, [esi + 0x30a]
call sub.MFC42.DLL_CPtrArray::SetSize
push 0xffffffffffffffff
push edi
lea ecx, [esi + 0x242]
call sub.MFC42.DLL_CPtrArray::SetSize
push 0xffffffffffffffff
push edi
lea ecx, [esi + 0x2ce]
call sub.MFC42.DLL_CPtrArray::SetSize
push 0xffffffffffffffff
push edi
lea ecx, [esi + 0x2e2]
call sub.MFC42.DLL_CPtrArray::SetSize
lea ebx, [esi + 0x226]
push 0x6bdc68
mov ecx, ebx
call fcn.0063d7e2
push 0x6bdc68
lea ecx, [esi + 0x5fa]
call fcn.0063d7e2
push 0x6bdc68
lea ecx, [esi + 0x22a]
call fcn.0063d7e2
push 0x6bdc68
lea ecx, [esi + 0x180d]
call fcn.0063d7e2
mov eax, 0x7fffffff
push 0x3a
mov ecx, eax
mov dword [esi + 0x216], eax
mov dword [esi + 0x21e], eax
mov dword [esi + 0x21a], ecx
mov dword [esi + 0x222], ecx
lea ecx, [esp + 0x10]
mov dword [esi + 0x1cb9], edi
call sub.MFC42.DLL_CString::Find_1
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x6c]
mov ecx, dword [ecx - 8]
sub ecx, eax
dec ecx
push ecx
push edx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Right
push eax
mov ecx, ebx
mov byte [esp + 0x2dc8], 7
call fcn.0063d800
lea ecx, [esp + 0x6c]
mov byte [esp + 0x2dc4], 4
call fcn.0063d7fa
push 0x20
mov ecx, ebx
call sub.MFC42.DLL_CString::TrimLeft_2
push 0x20
mov ecx, ebx
call sub.MFC42.DLL_CString::TrimRight_2
lea ecx, [esp + 0x28]
mov byte [esp + 0x2dc4], 3
call fcn.0063d7fa
lea ecx, [esp + 0xc]
mov dword [esp + 0x2dc4], 0xffffffff
call fcn.0063d7fa
mov ecx, dword [esp + 0x2dbc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.0041093d
mov eax, dword [eax + 0x386]
mov ebx, dword [ebp + 0x14]
fld dword [eax + 8]
fld qword [ebp + 0x1c]
fadd qword [ebx]
fmulp st(1)
fstp qword [esp + 0x28]
call fcn.0041093d
mov ecx, dword [eax + 0x386]
fld dword [ecx + 8]
fld qword [ebp + 0x24]
fadd qword [ebx + 8]
fsubr qword [esi + 0x1aed]
fmulp st(1)
fstp qword [esp + 0x70]
call fcn.0041093d
mov edx, dword [eax + 0x386]
push 0x68
fld dword [edx + 8]
fmul qword [ebx + 0x18]
fstp qword [esp + 0x24]
fld qword [ebx + 0x20]
fmul qword [0x670248]
fstp qword [esp + 0x3c]
fld qword [ebx + 0x28]
fmul qword [0x670248]
fstp qword [esp + 0x14]
call sub.MFC42.DLL_operatornew
mov ebx, eax
add esp, 4
mov dword [esp + 0x1c], ebx
cmp ebx, edi
mov dword [esp + 0x2dc4], 0xf
je 0x5a3a76
fld qword [esp + 0x28]
call sub.MSVCRT.dll__ftol
fld qword [esp + 0x70]
mov dword [esp + 0x8c], eax
call sub.MSVCRT.dll__ftol
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x3c]
push eax
mov eax, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
mov edx, dword [esp + 0x2c]
push eax
push ecx
lea eax, [esp + 0xa0]
push edx
push eax
mov ecx, ebx
call dword [sym.imp.zmathdll.dll_public:_void___thiscall_ZArc::constructor_class_CPoint___double__double__double_]
jmp 0x5a3a78
xor eax, eax
mov ecx, dword [esp + 0xc]
add esi, 0x2e2
mov dword [eax + 0x24], ecx
push eax
mov edx, dword [esi + 8]
mov ecx, esi
push edx
mov dword [esp + 0x2dcc], 0xffffffff
call sub.MFC42.DLL_CPtrArray::SetAtGrow
mov ecx, dword [esp + 0x2dbc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.0041093d
mov eax, dword [eax + 0x386]
mov ebx, dword [ebp + 0x14]
fld dword [eax + 8]
fld qword [ebp + 0x1c]
fadd qword [ebx]
fmulp st(1)
call sub.MSVCRT.dll__ftol
mov dword [esp + 0x44], eax
call fcn.0041093d
mov ecx, dword [eax + 0x386]
fld dword [ecx + 8]
fld qword [ebp + 0x24]
fadd qword [ebx + 8]
fsubr qword [esi + 0x1aed]
fmulp st(1)
call sub.MSVCRT.dll__ftol
mov dword [esp + 0x48], eax
call fcn.0041093d
mov edx, dword [eax + 0x386]
fld dword [edx + 8]
fld qword [ebp + 0x1c]
fadd qword [ebx + 0x18]
fmulp st(1)
call sub.MSVCRT.dll__ftol
mov dword [esp + 0x4c], eax
call fcn.0041093d
mov eax, dword [eax + 0x386]
fld dword [eax + 8]
fld qword [ebp + 0x24]
fadd qword [ebx + 0x20]
fsubr qword [esi + 0x1aed]
fmulp st(1)
call sub.MSVCRT.dll__ftol
mov dword [esp + 0x50], eax
call fcn.0041093d
mov ecx, dword [eax + 0x386]
fld dword [ecx + 8]
fld qword [ebp + 0x1c]
fadd qword [ebx + 0x30]
fmulp st(1)
call sub.MSVCRT.dll__ftol
mov dword [esp + 0x54], eax
call fcn.0041093d
mov edx, dword [eax + 0x386]
fld dword [edx + 8]
fld qword [ebp + 0x24]
fadd qword [ebx + 0x38]
fsubr qword [esi + 0x1aed]
fmulp st(1)
call sub.MSVCRT.dll__ftol
mov dword [esp + 0x58], eax
call fcn.0041093d
mov eax, dword [eax + 0x386]
fld dword [eax + 8]
fld qword [ebp + 0x1c]
fadd qword [ebx + 0x48]
fmulp st(1)
call sub.MSVCRT.dll__ftol
mov dword [esp + 0x5c], eax
call fcn.0041093d
mov ecx, dword [eax + 0x386]
fld dword [ecx + 8]
fld qword [ebp + 0x24]
fadd qword [ebx + 0x50]
fsubr qword [esi + 0x1aed]
fmulp st(1)
call sub.MSVCRT.dll__ftol
mov dword [esp + 0x60], eax
push 0x34
call sub.MFC42.DLL_operatornew
mov ebx, eax
add esp, 4
mov dword [esp + 0x1c], ebx
cmp ebx, edi
mov dword [esp + 0x2dc4], 0x10
je 0x5a3c11
push 2
lea ecx, [ebx + 4]
call dword [sym.imp.zmathdll.dll_public:_void___thiscall_ZPointArray::constructor_int_]
mov dword [ebx + 0x14], edi
mov dword [ebx + 0x18], edi
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x20], edi
mov edx, dword [sym.imp.zmathdll.dll_const_ZPolyline::vftable]
mov dword [ebx + 0x30], edi
mov dword [ebx], edx
mov dword [ebx + 0x24], 1
mov dword [esp + 0x10], ebx
jmp 0x5a3c15
mov dword [esp + 0x10], edi
mov ebx, dword [esp + 0x10]
lea eax, [esp + 0x44]
push eax
mov ecx, ebx
mov dword [esp + 0x2dc8], 0xffffffff
call dword [sym.imp.zmathdll.dll_public:_int___thiscall_ZPolyline::AddPoint_class_CPoint_const__]
lea ecx, [esp + 0x4c]
push ecx
mov ecx, ebx
call dword [sym.imp.zmathdll.dll_public:_int___thiscall_ZPolyline::AddPoint_class_CPoint_const__]
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [ebx + 0x24], edx
mov eax, dword [esi + 0x2d6]
lea ebx, [esi + 0x2ce]
push ecx
push eax
mov ecx, ebx
call sub.MFC42.DLL_CPtrArray::SetAtGrow
push 0x34
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [esp + 0x1c], esi
cmp esi, edi
mov dword [esp + 0x2dc4], 0x11
je 0x5a3ca8
push 2
lea ecx, [esi + 4]
call dword [sym.imp.zmathdll.dll_public:_void___thiscall_ZPointArray::constructor_int_]
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov edx, dword [sym.imp.zmathdll.dll_const_ZPolyline::vftable]
mov dword [esi + 0x30], edi
mov dword [esi], edx
mov dword [esi + 0x24], 1
jmp 0x5a3caa
xor esi, esi
lea eax, [esp + 0x4c]
mov ecx, esi
push eax
mov dword [esp + 0x2dc8], 0xffffffff
call dword [sym.imp.zmathdll.dll_public:_int___thiscall_ZPolyline::AddPoint_class_CPoint_const__]
lea ecx, [esp + 0x54]
push ecx
mov ecx, esi
call dword [sym.imp.zmathdll.dll_public:_int___thiscall_ZPolyline::AddPoint_class_CPoint_const__]
mov edx, dword [esp + 0xc]
push esi
mov dword [esi + 0x24], edx
mov eax, dword [ebx + 8]
push eax
mov ecx, ebx
call sub.MFC42.DLL_CPtrArray::SetAtGrow
push 0x34
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [esp + 0x1c], esi
cmp esi, edi
mov dword [esp + 0x2dc4], 0x12
je 0x5a3d2b
push 2
lea ecx, [esi + 4]
call dword [sym.imp.zmathdll.dll_public:_void___thiscall_ZPointArray::constructor_int_]
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov eax, dword [sym.imp.zmathdll.dll_const_ZPolyline::vftable]
mov dword [esi + 0x30], edi
mov dword [esi], eax
mov dword [esi + 0x24], 1
jmp 0x5a3d2d
xor esi, esi
lea ecx, [esp + 0x54]
mov dword [esp + 0x2dc4], 0xffffffff
push ecx
mov ecx, esi
call dword [sym.imp.zmathdll.dll_public:_int___thiscall_ZPolyline::AddPoint_class_CPoint_const__]
lea edx, [esp + 0x5c]
mov ecx, esi
push edx
call dword [sym.imp.zmathdll.dll_public:_int___thiscall_ZPolyline::AddPoint_class_CPoint_const__]
mov eax, dword [esp + 0xc]
push esi
mov dword [esi + 0x24], eax
mov eax, dword [ebx + 8]
push eax
mov ecx, ebx
call sub.MFC42.DLL_CPtrArray::SetAtGrow
push 0x34
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [esp + 0x1c], esi
cmp esi, edi
mov dword [esp + 0x2dc4], 0x13
je 0x5a3daf
push 2
lea ecx, [esi + 4]
call dword [sym.imp.zmathdll.dll_public:_void___thiscall_ZPointArray::constructor_int_]
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov ecx, dword [sym.imp.zmathdll.dll_const_ZPolyline::vftable]
mov dword [esi + 0x30], edi
mov dword [esi], ecx
mov dword [esi + 0x24], 1
jmp 0x5a3db1
xor esi, esi
mov edi, dword [sym.imp.zmathdll.dll_public:_int___thiscall_ZPolyline::AddPoint_class_CPoint_const__]
lea edx, [esp + 0x5c]
push edx
mov ecx, esi
mov dword [esp + 0x2dc8], 0xffffffff
call edi
lea eax, [esp + 0x44]
mov ecx, esi
push eax
call edi
mov ecx, dword [esp + 0xc]
push esi
mov dword [esi + 0x24], ecx
mov edx, dword [ebx + 8]
push edx
mov ecx, ebx
call sub.MFC42.DLL_CPtrArray::SetAtGrow
mov ecx, dword [esp + 0x2dbc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x14]
mov ebx, dword [ebp + 8]
lea edx, [esp + 0x4b4]
mov ecx, dword [eax + 0x38]
push edx
push 0x400
push ebx
mov dword [esp + 0x4c0], ecx
call fcn.00410d61
add esp, 0xc
test eax, eax
jbe case.0x5a2d15.10
push 0xffffffffffffffff
push edi
lea ecx, [esi + 0x30a]
call sub.MFC42.DLL_CPtrArray::SetSize
push 0xffffffffffffffff
lea ecx, [esi + 0x242]
push edi
call sub.MFC42.DLL_CPtrArray::SetSize
push 0xffffffffffffffff
lea ecx, [esi + 0x2ce]
push edi
call sub.MFC42.DLL_CPtrArray::SetSize
push 0xffffffffffffffff
push edi
lea ecx, [esi + 0x2e2]
call sub.MFC42.DLL_CPtrArray::SetSize
push 0x6bdc68
lea ecx, [esi + 0x226]
call fcn.0063d7e2
lea ecx, [esi + 0x5fa]
push 0x6bdc68
call fcn.0063d7e2
push 0x6bdc68
lea ecx, [esi + 0x22a]
call fcn.0063d7e2
push 0x6bdc68
lea ecx, [esi + 0x180d]
call fcn.0063d7e2
mov eax, 0x7fffffff
push edi
mov ecx, eax
mov dword [esi + 0x216], eax
mov dword [esi + 0x21e], eax
mov dword [esi + 0x21a], ecx
mov dword [esi + 0x222], ecx
lea eax, [esp + 0xdc0]
push 1
lea ecx, [esp + 0x934]
push eax
lea edx, [esp + 0x4c4]
push ecx
push edx
push ebx
mov dword [esi + 0x1cb9], edi
call fcn.0040e9f3
add esp, 0x18
test eax, eax
jbe 0x5a3f54
mov edi, dword [ebp + 0x14]
fld qword [ebp + 0x24]
fadd qword [edi + 8]
push 0
push 0
sub esp, 8
mov eax, dword [ebp + 0x18]
lea ecx, [esp + 0xdcc]
lea edx, [esp + 0x93c]
fstp qword [esp]
fld qword [ebp + 0x1c]
fadd qword [edi]
sub esp, 8
fstp qword [esp]
push eax
mov eax, dword [ebp + 0xc]
push ecx
push edx
push eax
push ebx
call fcn.0040f8a3
push 0
lea ecx, [esp + 0xdec]
push 4
lea edx, [esp + 0x960]
push ecx
lea eax, [esp + 0x4f0]
push edx
push eax
push ebx
call fcn.0040e9f3
add esp, 0x44
test eax, eax
ja 0x5a3ef2
mov eax, dword [esi + 0x2d6]
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x20], eax
jle 0x5a40ea
mov ecx, dword [esi + 0x2d2]
mov edx, dword [ecx + ebx*4]
lea edi, [ecx + ebx*4]
cmp dword [edx + 0x24], 1
jne 0x5a40c5
mov ecx, edx
call dword [sym.imp.zmathdll.dll_public:_int___thiscall_ZPolyline::GetPointNum_void_const]
mov ecx, dword [edi]
dec eax
push eax
add ecx, 4
call dword [sym.imp.zmathdll.dll_public:_class_CPoint____thiscall_ZPointArray::operator___int_]
mov ecx, dword [eax]
push 0xffffffffffffffff
mov dword [esp + 0xa8], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0xac], edx
mov ecx, dword [eax + 4]
mov edx, dword [eax]
push ecx
push edx
mov ecx, esi
call fcn.00403071
mov edi, eax
test edi, edi
jne 0x5a4026
push 0x441
call sub.MFC42.DLL_operatornew
mov edi, eax
add esp, 4
mov dword [esp + 0x1c], edi
test edi, edi
mov dword [esp + 0x2dc4], 0x14
je 0x5a4006
push 0
push 0
push 0
push 0x1b
push 0
lea eax, [esp + 0xb8]
push 0
push eax
mov ecx, edi
call dword [sym.imp.zmathdll.dll_public:_void___thiscall_ZPoint::constructor_class_CPoint___int__struct_ZUnit___int__struct_ZGradData____int___int__]
mov dword [edi], 0x6701d4
jmp 0x5a4008
xor edi, edi
mov eax, dword [esi + 0x24a]
lea ecx, [esi + 0x242]
push edi
push eax
mov dword [esp + 0x2dcc], 0xffffffff
call sub.MFC42.DLL_CPtrArray::SetAtGrow
mov eax, dword [esp + 0x28]
mov dword [edi + 0x439], 0
test eax, eax
mov dword [edi + 0x7d], 2
jne 0x5a404e
mov ecx, dword [esi + 0x2d2]
mov edx, dword [ecx + ebx*4]
mov dword [esp + 0x28], edx
jmp 0x5a40ad
mov eax, dword [esi + 0x2d2]
mov ecx, dword [eax + ebx*4]
call dword [sym.imp.zmathdll.dll_public:_int___thiscall_ZPolyline::GetPointNum_void_const]
xor edi, edi
mov dword [esp + 0x1c], eax
test eax, eax
jle 0x5a408e
mov ecx, dword [esi + 0x2d2]
push edi
mov ecx, dword [ecx + ebx*4]
add ecx, 4
call dword [sym.imp.zmathdll.dll_public:_class_CPoint____thiscall_ZPointArray::operator___int_]
mov ecx, dword [esp + 0x28]
push eax
call dword [sym.imp.zmathdll.dll_public:_int___thiscall_ZPolyline::AddPoint_class_CPoint_const__]
mov eax, dword [esp + 0x1c]
inc edi
cmp edi, eax
jl 0x5a4067
mov edx, dword [esi + 0x2d2]
mov edi, dword [edx + ebx*4]
test edi, edi
je 0x5a40ad
lea ecx, [edi + 4]
call dword [sym.imp.zmathdll.dll_public:_void___thiscall_ZPointArray::destructor_void_]
push edi
call sub.MFC42.DLL_operatordelete
add esp, 4
push 1
push ebx
lea ecx, [esi + 0x2ce]
call sub.MFC42.DLL_CPtrArray::RemoveAt
mov eax, dword [esp + 0x20]
dec ebx
dec eax
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x20]
inc ebx
cmp ebx, eax
jl 0x5a3f6c
mov eax, dword [esp + 0x28]
test eax, eax
je 0x5a40ea
push 1
push eax
push 0
lea ecx, [esi + 0x2ce]
call sub.MFC42.DLL_CPtrArray::InsertAt
lea edi, [esi + 0x5fa]
lea ecx, [esp + 0x30]
push edi
call sub.MFC42.DLL_CString::CString_1
mov dword [esp + 0x2dc4], 0x15
call fcn.00402572
lea ecx, [esp + 0x30]
push ecx
mov ecx, edi
call fcn.0063d800
push 0
mov ecx, esi
call fcn.00408814
mov ebx, eax
test ebx, ebx
jle 0x5a421d
lea edx, [ebx - 1]
push 0
push edx
mov ecx, esi
call fcn.00403756
mov ecx, 1
mov dword [esi + 0x212], eax
mov dword [eax + 0x105], ecx
mov eax, dword [esi + 0x212]
push 0x6bdc68
mov dword [eax + 0x101], ecx
mov eax, dword [edi]
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x5a4213
cmp ebx, 1
jne 0x5a4191
mov ecx, dword [esi + 0x34a]
push edi
mov ecx, dword [ecx]
call fcn.0063d800
mov edx, dword [esi + 0x212]
mov dword [edx + 0x109], 0
jmp 0x5a4207
mov ecx, esi
call fcn.00406f46
xor ebx, ebx
mov dword [esp + 0x10], eax
test eax, eax
jle 0x5a41dd
mov eax, dword [esi + 0x34a]
mov ecx, dword [edi]
push ecx
mov eax, dword [eax + ebx*4]
mov eax, dword [eax]
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x5a41c9
mov eax, dword [esp + 0x10]
inc ebx
cmp ebx, eax
jl 0x5a41a2
jmp 0x5a41dd
mov ecx, dword [esi + 0x212]
mov eax, dword [esp + 0x10]
cmp ebx, eax
mov dword [ecx + 0x109], ebx
jl 0x5a4207
push 1
push 0
mov ecx, esi
call fcn.0040712b
mov edx, dword [esi + 0x34a]
mov ebx, dword [esp + 0x10]
push edi
mov ecx, dword [edx + ebx*4]
call fcn.0063d800
mov eax, dword [esi + 0x212]
mov dword [eax + 0x109], ebx
push 0x6bdc68
mov ecx, edi
call fcn.0063d7e2
mov dword [esi + 0x212], 0
lea ecx, [esp + 0x30]
mov dword [esp + 0x2dc4], 0xffffffff
call fcn.0063d7fa
mov ecx, dword [esp + 0x2dbc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x34
call sub.MFC42.DLL_operatornew
mov ebx, eax
add esp, 4
mov dword [esp + 0x1c], ebx
cmp ebx, edi
mov dword [esp + 0x2dc4], 0x16
je 0x5a4290
push 2
lea ecx, [ebx + 4]
call dword [sym.imp.zmathdll.dll_public:_void___thiscall_ZPointArray::constructor_int_]
mov dword [ebx + 0x14], edi
mov dword [ebx + 0x18], edi
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x20], edi
mov ecx, dword [sym.imp.zmathdll.dll_const_ZPolyline::vftable]
mov dword [ebx + 0x30], edi
mov dword [ebx], ecx
mov dword [ebx + 0x24], 1
jmp 0x5a4292
xor ebx, ebx
mov edx, dword [ebp + 0x14]
mov dword [esp + 0x2dc4], 0xffffffff
mov eax, dword [edx + 4]
dec eax
js 0x5a4333
lea ecx, [eax + eax*2]
lea edi, [ecx + ecx*4]
shl edi, 2
inc eax
mov dword [esp + 0x30], eax
call fcn.0041093d
mov eax, dword [eax + 0x386]
mov ecx, dword [ebp + 0x14]
fld dword [eax + 8]
mov edx, dword [ecx]
fld qword [ebp + 0x1c]
fadd qword [edx + edi]
fmulp st(1)
fstp qword [esp + 0x70]
call fcn.0041093d
mov eax, dword [eax + 0x386]
mov ecx, dword [ebp + 0x14]
fld dword [eax + 8]
mov edx, dword [ecx]
fld qword [ebp + 0x24]
fadd qword [edx + edi + 8]
fsubr qword [esi + 0x1aed]
fmulp st(1)
fld qword [esp + 0x70]
call sub.MSVCRT.dll__ftol
mov dword [esp + 0x84], eax
call sub.MSVCRT.dll__ftol
mov dword [esp + 0x88], eax
lea eax, [esp + 0x84]
push eax
mov ecx, ebx
call dword [sym.imp.zmathdll.dll_public:_int___thiscall_ZPolyline::AddPoint_class_CPoint_const__]
mov eax, dword [esp + 0x30]
sub edi, 0x3c
dec eax
mov dword [esp + 0x30], eax
jne 0x5a42b8
mov ecx, dword [esp + 0xc]
mov edx, dword [ebp + 0x14]
mov dword [ebx + 0x24], ecx
add esi, 0x2ce
mov al, byte [edx + 8]
push ebx
and eax, 1
mov dword [ebx + 0x30], eax
mov ecx, dword [esi + 8]
push ecx
mov ecx, esi
call sub.MFC42.DLL_CPtrArray::SetAtGrow
mov ecx, dword [esp + 0x2dbc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 0x14]
mov esi, dword [ebp + 8]
lea ecx, [esp + 0x6f0]
mov eax, dword [edx + 0x50]
push ecx
push 0x400
push esi
mov dword [esp + 0x6fc], eax
call fcn.00410d61
add esp, 0xc
test eax, eax
jbe case.0x5a2d15.10
push edi
lea edx, [esp + 0x1dc0]
push 1
lea eax, [esp + 0xb7c]
push edx
lea ecx, [esp + 0x700]
push eax
push ecx
push esi
call fcn.0040e9f3
add esp, 0x18
test eax, eax
jbe case.0x5a2d15.10
mov ebx, dword [ebp + 0x28]
mov edx, dword [ebp + 0x24]
mov eax, dword [ebp + 0x20]
mov ecx, dword [ebp + 0x1c]
push edi
push edi
push ebx
push edx
mov edx, dword [ebp + 0x18]
push eax
push ecx
lea eax, [esp + 0x1dd4]
push edx
mov edx, dword [ebp + 0xc]
lea ecx, [esp + 0xb90]
push eax
push ecx
push edx
push esi
call fcn.004099e4
push edi
lea eax, [esp + 0x1dec]
push 4
lea ecx, [esp + 0xba8]
push eax
lea edx, [esp + 0x72c]
push ecx
push edx
push esi
call fcn.0040e9f3
add esp, 0x44
test eax, eax
ja 0x5a43c6
mov ecx, dword [esp + 0x2dbc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret