Function at 0x4b8218
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55753c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x324
push esi
push edi
mov dword [ebp - 0x2d8], ecx
call dword [sym.imp.DataMgr.dll_class_CDataMgr____cdecl_gf_GetDataMgr_void_]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
call dword [sym.imp.DataMgr.dll_public:_int___thiscall_CDataMgr::GetPickCount_void_const]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 1
je 0x4b825e
jmp 0x4b916c
call dword [sym.imp.DataMgr.dll_class_CFontMgr____cdecl_gf_GetFontMgr_void_]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x4b8272
jmp 0x4b916c
push 1
mov ecx, dword [ebp - 0x2d8]
call sub.MFC42u.DLL_CWnd::UpdateData
lea ecx, [ebp - 0x20]
call sub.MFC42u.DLL_CString::CString_3
mov dword [ebp - 4], 0
lea eax, [ebp - 0x20]
push eax
push 0x588
mov ecx, dword [ebp - 0x2d8]
call sub.MFC42u.DLL_CWnd::GetDlgItem
mov ecx, eax
call sub.MFC42u.DLL_CWnd::GetWindowTextW
push ecx
mov ecx, esp
mov dword [ebp - 0x20c], esp
lea edx, [ebp - 0x20]
push edx
call sub.MFC42u.DLL_CString::CString_1
mov dword [ebp - 0x2dc], eax
call dword [sym.imp.DataMgr.dll_double___cdecl_ATOF_class_CString_]
fstp qword [ebp - 0x2e4]
add esp, 4
mov eax, dword [ebp - 0x2d8]
mov ecx, dword [ebp - 0x2e4]
mov dword [eax + 0x958], ecx
mov edx, dword [ebp - 0x2e0]
mov dword [eax + 0x95c], edx
mov eax, dword [ebp - 0x2d8]
fld qword [eax + 0x958]
fcomp qword [0x565908]
fnstsw ax
test ah, 1
je 0x4b8321
mov ecx, dword [ebp - 0x2d8]
mov dword [ecx + 0x958], 0x47ae147b
mov dword [ecx + 0x95c], 0x3f847ae1
cmp dword [ebp - 0x18], 1
jne 0x4b9146
mov ecx, dword [ebp - 0x1c]
call dword [sym.imp.DataMgr.dll_public:_class_CEntity____thiscall_CDataMgr::GetPickHead_void_const]
mov dword [ebp - 0xf4], eax
cmp dword [ebp - 0xf4], 0
je 0x4b835b
mov ecx, dword [ebp - 0xf4]
call dword [sym.imp.DataMgr.dll_public:_unsigned_short_int___thiscall_CEntity::GetType_void_const]
and eax, 0xffff
cmp eax, 0x800
je 0x4b836f
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call sub.MFC42u.DLL_CString::CString
jmp 0x4b916c
mov ecx, dword [ebp - 0x2d8]
add ecx, 0x914
call fcn.0044f310
mov dword [ebp - 0x90], eax
mov ecx, dword [ebp - 0x2d8]
add ecx, 0x8a4
call fcn.0044f310
mov dword [ebp - 0xf0], eax
cmp dword [ebp - 0xf0], 0
jge 0x4b83ba
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call sub.MFC42u.DLL_CString::CString
jmp 0x4b916c
lea ecx, [ebp - 0x138]
call sub.MFC42u.DLL_CString::CString_3
mov byte [ebp - 4], 1
lea edx, [ebp - 0x138]
push edx
mov eax, dword [ebp - 0xf0]
push eax
mov ecx, dword [ebp - 0x2d8]
add ecx, 0x8a4
call sub.MFC42u.DLL_CComboBox::GetLBText
lea ecx, [ebp - 0x198]
push ecx
mov ecx, dword [ebp - 0x1c]
call dword [sym.imp.DataMgr.dll_public:_class_Box2d___thiscall_CDataMgr::GetPickArrayBox_void_]
mov edx, dword [ebp - 0xf4]
mov dword [ebp - 0x94], edx
mov ecx, dword [ebp - 0x1c]
call dword [sym.imp.DataMgr.dll_public:_void___thiscall_CDataMgr::ResetPickParam_void_]
mov ecx, dword [ebp - 0x1c]
call dword [sym.imp.DataMgr.dll_public:_void___thiscall_CDataMgr::BeginPick_void_]
push 0x5aa11c
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x1c]
call dword [edx + 0x68]
push 0
mov ecx, dword [ebp - 0x94]
call dword [sym.imp.DataMgr.dll_public:_void___thiscall_CEntity::Pick_int_]
mov eax, dword [ebp - 0x94]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x94]
call dword [edx + 0x18]
mov dword [ebp - 0x134], eax
mov eax, dword [ebp - 0x134]
mov dword [ebp - 0x8c], eax
lea ecx, [ebp - 0x210]
push ecx
mov ecx, dword [ebp - 0x2d8]
call fcn.004b5d50
mov dword [ebp - 0x2e8], eax
mov edx, dword [ebp - 0x2e8]
mov dword [ebp - 0x2ec], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x2ec]
push eax
mov ecx, dword [ebp - 0x8c]
add ecx, 0x20c
call sub.MFC42u.DLL_CString::operator
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x210]
call sub.MFC42u.DLL_CString::CString
lea ecx, [ebp - 0x84]
call sub.MFC42u.DLL_CString::CString_3
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x84]
push ecx
push 0x541
mov ecx, dword [ebp - 0x2d8]
call sub.MFC42u.DLL_CWnd::GetDlgItem
mov ecx, eax
call sub.MFC42u.DLL_CWnd::GetWindowTextW
push ecx
mov ecx, esp
mov dword [ebp - 0x214], esp
lea edx, [ebp - 0x84]
push edx
call sub.MFC42u.DLL_CString::CString_1
mov dword [ebp - 0x2f0], eax
call dword [sym.imp.DataMgr.dll_double___cdecl_ATOF_class_CString_]
fstp qword [ebp - 0x2f8]
add esp, 4
mov eax, dword [ebp - 0x2f8]
mov dword [ebp - 0x130], eax
mov ecx, dword [ebp - 0x2f4]
mov dword [ebp - 0x12c], ecx
lea ecx, [ebp - 0x138]
call fcn.0040f0c0
push eax
mov ecx, dword [ebp - 0x14]
call dword [sym.imp.DataMgr.dll_public:_int___thiscall_CFontMgr::GetFontID_unsigned_short_int_const__const]
mov dword [ebp - 0x178], eax
mov edx, dword [ebp - 0x178]
push edx
mov ecx, dword [ebp - 0x14]
call dword [sym.imp.DataMgr.dll_public:_unsigned_long_int___thiscall_CFontMgr::GetFontAttrib_int_const]
mov dword [ebp - 0x13c], eax
mov eax, dword [ebp - 0x13c]
and eax, 8
test eax, eax
je 0x4b856f
mov ecx, dword [ebp - 0x2d8]
add ecx, 0x190
push ecx
mov ecx, dword [ebp - 0x14]
call dword [sym.imp.DataMgr.dll_public:_int___thiscall_CFontMgr::GetFontID_unsigned_short_int_const__const]
mov dword [ebp - 0x178], eax
mov edx, dword [ebp - 0x2d8]
add edx, 0x188
push edx
mov ecx, dword [ebp - 0x8c]
add ecx, 0x270
call dword [sym.imp.DataMgr.dll_public:_class_CBarCodeFont____thiscall_CBarCodeFont::operator_class_CBarCodeFont_const__]
mov eax, dword [ebp - 0x8c]
mov ecx, dword [ebp - 0x8c]
fld qword [eax + 0x160]
fdiv qword [ecx + 0x158]
fstp qword [ebp - 0x80]
mov edx, dword [ebp - 0x8c]
mov eax, dword [ebp - 0x2d8]
mov ecx, dword [eax + 0xe0]
mov dword [edx + 0x1a0], ecx
mov edx, dword [ebp - 0x8c]
mov eax, dword [ebp - 0x2d8]
mov ecx, dword [eax + 0x9a0]
mov dword [edx + 0x1f4], ecx
lea ecx, [ebp - 0x174]
call dword [sym.imp.DataMgr.dll_public:_void___thiscall_CFontAttrib::constructor_void_]
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x178]
mov dword [ebp - 0x174], edx
mov eax, dword [ebp - 0x2d8]
mov ecx, dword [eax + 0x958]
mov dword [ebp - 0x16c], ecx
mov edx, dword [eax + 0x95c]
mov dword [ebp - 0x168], edx
mov eax, dword [ebp - 0x2d8]
mov ecx, dword [ebp - 0x2d8]
fld qword [eax + 0xe8]
fmul qword [ecx + 0x958]
fstp qword [ebp - 0x164]
mov edx, dword [ebp - 0x2d8]
mov eax, dword [ebp - 0x2d8]
fld qword [edx + 0xf0]
fmul qword [eax + 0x958]
fstp qword [ebp - 0x14c]
mov ecx, dword [ebp - 0x2d8]
mov edx, dword [ecx + 0xf8]
mov dword [ebp - 0x154], edx
mov eax, dword [ecx + 0xfc]
mov dword [ebp - 0x150], eax
mov ecx, dword [ebp - 0x2d8]
mov edx, dword [ecx + 0x100]
mov dword [ebp - 0x15c], edx
mov eax, dword [ecx + 0x104]
mov dword [ebp - 0x158], eax
lea ecx, [ebp - 0x78]
call fcn.004bc7a0
lea ecx, [ebp - 0xec]
call fcn.004bc7a0
mov ecx, dword [ebp - 0x174]
mov dword [ebp - 0x78], ecx
mov edx, dword [ebp - 0x16c]
mov dword [ebp - 0x68], edx
mov eax, dword [ebp - 0x168]
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp - 0x164]
mov dword [ebp - 0x70], ecx
mov edx, dword [ebp - 0x160]
mov dword [ebp - 0x6c], edx
mov eax, dword [ebp - 0x14c]
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x148]
mov dword [ebp - 0x4c], ecx
mov edx, dword [ebp - 0x15c]
mov dword [ebp - 0x60], edx
mov eax, dword [ebp - 0x158]
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x154]
mov dword [ebp - 0x58], ecx
mov edx, dword [ebp - 0x150]
mov dword [ebp - 0x54], edx
mov ecx, 0x16
lea esi, [ebp - 0x78]
lea edi, [ebp - 0xec]
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x78]
push eax
mov esi, dword [ebp - 0x8c]
add esi, 0x1a8
sub esp, 0x48
mov ecx, 0x12
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call dword [sym.imp.DataMgr.dll_void___cdecl_gf_CalcTextFontSize_class_CMatrix2d__class_tagFontSet__]
add esp, 0x4c
mov ecx, dword [ebp - 0x130]
mov dword [ebp - 0xd4], ecx
mov edx, dword [ebp - 0x12c]
mov dword [ebp - 0xd0], edx
lea eax, [ebp - 0xec]
push eax
mov esi, dword [ebp - 0x8c]
add esi, 0x1a8
sub esp, 0x48
mov ecx, 0x12
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call dword [sym.imp.DataMgr.dll_void___cdecl_gf_CalcTextFontSize_class_CMatrix2d__class_tagFontSet__]
add esp, 0x4c
mov ecx, dword [ebp - 0xd4]
mov dword [ebp - 0x130], ecx
mov edx, dword [ebp - 0xd0]
mov dword [ebp - 0x12c], edx
lea eax, [ebp - 0x174]
push eax
lea ecx, [ebp - 0x78]
call fcn.0044e6f0
mov ecx, dword [ebp - 0x8c]
mov edx, dword [ebp - 0x178]
mov dword [ecx + 0x150], edx
mov eax, dword [ebp - 0x8c]
mov ecx, dword [ebp - 0x16c]
mov dword [eax + 0x158], ecx
mov edx, dword [ebp - 0x168]
mov dword [eax + 0x15c], edx
mov eax, dword [ebp - 0x8c]
mov ecx, dword [ebp - 0x164]
mov dword [eax + 0x160], ecx
mov edx, dword [ebp - 0x160]
mov dword [eax + 0x164], edx
mov eax, dword [ebp - 0x8c]
mov ecx, dword [ebp - 0x14c]
mov dword [eax + 0x178], ecx
mov edx, dword [ebp - 0x148]
mov dword [eax + 0x17c], edx
mov eax, dword [ebp - 0x2d8]
mov ecx, dword [ebp - 0x8c]
mov edx, dword [eax + 0xf8]
mov dword [ecx + 0x170], edx
mov eax, dword [eax + 0xfc]
mov dword [ecx + 0x174], eax
mov ecx, dword [ebp - 0x8c]
mov edx, dword [ebp - 0x60]
mov dword [ecx + 0x168], edx
mov eax, dword [ebp - 0x5c]
mov dword [ecx + 0x16c], eax
mov ecx, dword [ebp - 0x8c]
mov edx, dword [ebp - 0x2d8]
mov eax, dword [edx + 0x898]
mov dword [ecx + 0x180], eax
mov ecx, dword [ebp - 0x8c]
mov edx, dword [ebp - 0x2d8]
mov eax, dword [edx + 0x89c]
mov dword [ecx + 0x184], eax
mov ecx, dword [ebp - 0x8c]
mov edx, dword [ebp - 0x2d8]
mov eax, dword [edx + 0x8a0]
mov dword [ecx + 0x208], eax
mov ecx, dword [ebp - 0x2d8]
mov edx, dword [ebp - 0x8c]
mov eax, dword [ecx + 0x108]
mov dword [edx + 0x188], eax
mov ecx, dword [ecx + 0x10c]
mov dword [edx + 0x18c], ecx
mov edx, dword [ebp - 0x8c]
mov eax, dword [ebp - 0x2d8]
mov ecx, dword [eax + 0x158]
mov dword [edx + 0x244], ecx
mov edx, dword [ebp - 0x2d8]
mov eax, dword [ebp - 0x8c]
mov ecx, dword [edx + 0x160]
mov dword [eax + 0x248], ecx
mov edx, dword [edx + 0x164]
mov dword [eax + 0x24c], edx
mov eax, dword [ebp - 0x2d8]
mov ecx, dword [ebp - 0x8c]
mov edx, dword [eax + 0x168]
mov dword [ecx + 0x250], edx
mov eax, dword [eax + 0x16c]
mov dword [ecx + 0x254], eax
mov ecx, dword [ebp - 0x8c]
mov edx, dword [ebp - 0x2d8]
mov eax, dword [edx + 0x170]
mov dword [ecx + 0x258], eax
mov ecx, dword [ebp - 0x2d8]
mov edx, dword [ebp - 0x8c]
mov eax, dword [ecx + 0x178]
mov dword [edx + 0x260], eax
mov ecx, dword [ecx + 0x17c]
mov dword [edx + 0x264], ecx
mov edx, dword [ebp - 0x8c]
mov eax, dword [ebp - 0x2d8]
mov ecx, dword [eax + 0x180]
mov dword [edx + 0x1f0], ecx
mov edx, dword [ebp - 0x8c]
mov dword [edx + 0x268], 0
mov eax, dword [ebp - 0x2d8]
cmp dword [eax + 0x134], 0
je 0x4b899f
mov ecx, dword [ebp - 0x8c]
mov edx, dword [ecx + 0x268]
or edx, 1
mov eax, dword [ebp - 0x8c]
mov dword [eax + 0x268], edx
mov ecx, dword [ebp - 0x2d8]
cmp dword [ecx + 0x138], 0
je 0x4b89c8
mov edx, dword [ebp - 0x8c]
mov eax, dword [edx + 0x268]
or al, 2
mov ecx, dword [ebp - 0x8c]
mov dword [ecx + 0x268], eax
push 0xc31
mov ecx, dword [ebp - 0x2d8]
call sub.MFC42u.DLL_CWnd::GetDlgItem
mov ecx, eax
call fcn.0043ff60
test eax, eax
je 0x4b89f5
mov edx, dword [ebp - 0x8c]
mov dword [edx + 0x1f8], 0
jmp 0x4b8a32
push 0xc2f
mov ecx, dword [ebp - 0x2d8]
call sub.MFC42u.DLL_CWnd::GetDlgItem
mov ecx, eax
call fcn.0043ff60
test eax, eax
je 0x4b8a22
mov eax, dword [ebp - 0x8c]
mov dword [eax + 0x1f8], 1
jmp 0x4b8a32
mov ecx, dword [ebp - 0x8c]
mov dword [ecx + 0x1f8], 2
mov edx, dword [ebp - 0x8c]
mov eax, dword [ebp - 0x130]
mov dword [edx + 0x200], eax
mov ecx, dword [ebp - 0x12c]
mov dword [edx + 0x204], ecx
mov edx, dword [ebp - 0x8c]
mov dword [edx + 0x980], 0
mov eax, dword [ebp - 0x2d8]
cmp dword [eax + 0xc4], 0
je 0x4b8a8a
mov ecx, dword [ebp - 0x8c]
mov edx, dword [ecx + 0x980]
or edx, 1
mov eax, dword [ebp - 0x8c]
mov dword [eax + 0x980], edx
mov ecx, dword [ebp - 0x2d8]
cmp dword [ecx + 0xc8], 0
je 0x4b8ab3
mov edx, dword [ebp - 0x8c]
mov eax, dword [edx + 0x980]
or al, 2
mov ecx, dword [ebp - 0x8c]
mov dword [ecx + 0x980], eax
mov edx, dword [ebp - 0x2d8]
cmp dword [edx + 0xcc], 0
je 0x4b8add
mov eax, dword [ebp - 0x8c]
mov ecx, dword [eax + 0x980]
or ecx, 4
mov edx, dword [ebp - 0x8c]
mov dword [edx + 0x980], ecx
mov eax, dword [ebp - 0x2d8]
add eax, 0xc0
push eax
mov ecx, dword [ebp - 0x8c]
add ecx, 0x984
call sub.MFC42u.DLL_CString::operator
mov ecx, dword [ebp - 0x8c]
cmp dword [ecx + 0x9b0], 0
je 0x4b8d61
mov edx, dword [ebp - 0x8c]
mov eax, dword [ebp - 0x2d8]
mov ecx, dword [eax + 0x13c]
mov dword [edx + 0x9d8], ecx
mov edx, dword [ebp - 0x8c]
mov eax, dword [ebp - 0x2d8]
mov ecx, dword [eax + 0x140]
mov dword [edx + 0x9d0], ecx
mov edx, dword [ebp - 0x8c]
mov eax, dword [ebp - 0x2d8]
mov ecx, dword [eax + 0x144]
mov dword [edx + 0x9d4], ecx
mov edx, dword [ebp - 0x2d8]
mov eax, dword [ebp - 0x8c]
mov ecx, dword [edx + 0x148]
mov dword [eax + 0x9c0], ecx
mov edx, dword [edx + 0x14c]
mov dword [eax + 0x9c4], edx
mov eax, dword [ebp - 0x2d8]
mov ecx, dword [ebp - 0x8c]
mov edx, dword [eax + 0x150]
mov dword [ecx + 0x9c8], edx
mov eax, dword [eax + 0x154]
mov dword [ecx + 0x9cc], eax
mov ecx, dword [ebp - 0x2d8]
cmp dword [ecx + 0x114], 0
je 0x4b8d61
mov edx, dword [ebp - 0x2d8]
mov eax, dword [ebp - 0x8c]
mov ecx, dword [edx + 0x118]
mov dword [eax + 0x248], ecx
mov edx, dword [edx + 0x11c]
mov dword [eax + 0x24c], edx
mov eax, dword [ebp - 0x2d8]
mov ecx, dword [ebp - 0x8c]
mov edx, dword [eax + 0x120]
mov dword [ecx + 0x250], edx
mov eax, dword [eax + 0x124]
mov dword [ecx + 0x254], eax
mov ecx, dword [ebp - 0x2d8]
mov edx, dword [ebp - 0x8c]
mov eax, dword [ecx + 0x128]
mov dword [edx + 0x260], eax
mov ecx, dword [ecx + 0x12c]
mov dword [edx + 0x264], ecx
mov edx, dword [ebp - 0x8c]
mov eax, dword [ebp - 0x2d8]
mov ecx, dword [eax + 0x130]
mov dword [edx + 0x258], ecx
lea edx, [ebp - 0x1b8]
push edx
mov eax, dword [ebp - 0x8c]
mov ecx, dword [eax + 0x9b0]
call dword [sym.imp.QLib.dll_public:_class_Box2d___thiscall_CSectChain::GetBox_void_]
lea ecx, [ebp - 0x1b8]
call dword [sym.imp.mathlib.dll_public:_double___thiscall_Box2d::Width_void_const]
mov ecx, dword [ebp - 0x2d8]
fsub qword [ecx + 0x118]
sub esp, 8
fstp qword [esp]
call sub.MSVCRT.dll_fabs
add esp, 8
fcomp qword [0x5658e8]
fnstsw ax
test ah, 0x41
jne 0x4b8d61
mov esi, dword [ebp - 0x2d8]
lea ecx, [ebp - 0x1b8]
call dword [sym.imp.mathlib.dll_public:_double___thiscall_Box2d::Width_void_const]
fdivr qword [esi + 0x118]
fstp qword [ebp - 0x208]
lea ecx, [ebp - 0x200]
call dword [sym.imp.QLib.dll_public:_void___thiscall_CMatrix2d::constructor_void_]
mov byte [ebp - 4], 5
lea edx, [ebp - 0x22c]
push edx
lea ecx, [ebp - 0x1b8]
call dword [sym.imp.mathlib.dll_public:_class_Pt2d___thiscall_Box2d::GetCenterPt_void_]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x21c], ecx
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x218], edx
lea eax, [ebp - 0x244]
push eax
lea ecx, [ebp - 0x1b8]
call dword [sym.imp.mathlib.dll_public:_class_Pt2d___thiscall_Box2d::GetCenterPt_void_]
mov ecx, dword [eax]
mov dword [ebp - 0x234], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x230], edx
lea eax, [ebp - 0x208]
push eax
lea ecx, [ebp - 0x208]
push ecx
lea edx, [ebp - 0x21c]
push edx
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x28c]
push ecx
lea ecx, [ebp - 0x200]
call dword [sym.imp.mathlib.dll_public:_class_CMatrix2d___thiscall_CMatrix2d::Scale_double_const___double_const___double_const___double_const__]
lea ecx, [ebp - 0x28c]
call dword [sym.imp.mathlib.dll_public:_void___thiscall_CMatrix2d::destructor_void_]
push 2
lea edx, [ebp - 0x200]
push edx
mov eax, dword [ebp - 0x8c]
mov ecx, dword [eax + 0x9b0]
call dword [sym.imp.mathlib.dll_public:_void___thiscall_CSectChain::Transform_class_CMatrix2d_const___int_]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x200]
call dword [sym.imp.mathlib.dll_public:_void___thiscall_CMatrix2d::destructor_void_]
mov ecx, dword [ebp - 0x8c]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x8c]
call dword [edx + 0x6c]
push 0
push 0
mov eax, dword [ebp - 0x8c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x8c]
call dword [edx + 0x98]
push 0
mov eax, dword [ebp - 0x8c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x8c]
call dword [edx + 0x14]
mov eax, dword [ebp - 0x8c]
push eax
mov ecx, dword [ebp - 0x94]
call dword [sym.imp.DataMgr.dll_public:_void___thiscall_CEntity::UD_Replace_class_CEntity__]
push 0
mov ecx, dword [ebp - 0x8c]
call dword [sym.imp.DataMgr.dll_public:_void___thiscall_CEntity::Pick_int_]
push 1
mov ecx, dword [ebp - 0x8c]
push ecx
mov ecx, dword [ebp - 0x1c]
call dword [sym.imp.DataMgr.dll_public:_int___thiscall_CDataMgr::PickEntity_class_CEntity___int_]
push 0
mov ecx, dword [ebp - 0x1c]
call dword [sym.imp.DataMgr.dll_public:_int___thiscall_CDataMgr::UpdataBoundBox_int_]
mov ecx, dword [ebp - 0x1c]
call dword [sym.imp.DataMgr.dll_public:_int___thiscall_CDataMgr::UpdatePickBox_void_]
mov ecx, dword [ebp - 0x1c]
call dword [sym.imp.DataMgr.dll_public:_void___thiscall_CDataMgr::EndPick_void_]
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x1c]
call dword [eax + 0x6c]
lea ecx, [ebp - 0x2ac]
push ecx
mov edx, dword [ebp - 0x8c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x8c]
call dword [eax + 0x60]
push eax
lea ecx, [ebp - 0x198]
call dword [0x564eac]
push 2
call dword [sym.imp.DataMgr.dll_class_CDrawDC____cdecl_gf_GetDrawDC_void_]
mov ecx, eax
call dword [sym.imp.DataMgr.dll_public:_void___thiscall_CDrawDC::Show_int_]
lea ecx, [ebp - 0x198]
push ecx
call dword [sym.imp.DataMgr.dll_class_CDrawDC____cdecl_gf_GetDrawDC_void_]
mov ecx, eax
call dword [sym.imp.DataMgr.dll_public:_void___thiscall_CDrawDC::InvalidateRect_class_Box2d_const__]
call dword [sym.imp.DataMgr.dll_class_CEzcadCfg____cdecl_gf_GetCfg_void_]
mov edi, eax
add edi, 0x660
mov ecx, 0x16
lea esi, [ebp - 0x78]
rep movsd dword es:[edi], dword [esi]
call dword [sym.imp.DataMgr.dll_class_CEzcadCfg____cdecl_gf_GetCfg_void_]
mov edx, dword [ebp - 0x2d8]
mov ecx, dword [edx + 0xe0]
mov dword [eax + 0x698], ecx
call dword [sym.imp.DataMgr.dll_class_CEzcadCfg____cdecl_gf_GetCfg_void_]
mov edx, dword [ebp - 0x8c]
mov ecx, dword [edx + 0x1f0]
mov dword [eax + 0x710], ecx
call dword [sym.imp.DataMgr.dll_class_CEzcadCfg____cdecl_gf_GetCfg_void_]
mov edx, dword [ebp - 0x8c]
mov ecx, dword [edx + 0x180]
mov dword [eax + 0x714], ecx
call dword [sym.imp.DataMgr.dll_class_CEzcadCfg____cdecl_gf_GetCfg_void_]
mov edx, dword [ebp - 0x8c]
mov ecx, dword [edx + 0x184]
mov dword [eax + 0x718], ecx
call dword [sym.imp.DataMgr.dll_class_CEzcadCfg____cdecl_gf_GetCfg_void_]
mov edx, dword [ebp - 0x8c]
mov ecx, dword [edx + 0x208]
mov dword [eax + 0x71c], ecx
lea edx, [ebp - 0x2b0]
push edx
call dword [sym.imp.DataMgr.dll_class_CString___cdecl_gf_GetCfgFileName_void_]
add esp, 4
mov dword [ebp - 0x2fc], eax
mov eax, dword [ebp - 0x2fc]
mov dword [ebp - 0x300], eax
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x300]
push ecx
lea edx, [ebp - 0x2b4]
push edx
call dword [sym.imp.DataMgr.dll_class_CString___cdecl_gf_GetWorkPath_void_]
add esp, 4
mov dword [ebp - 0x304], eax
mov eax, dword [ebp - 0x304]
mov dword [ebp - 0x308], eax
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x308]
push ecx
lea edx, [ebp - 0x88]
push edx
call sub.MFC42u.DLL_operator_1
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x2b4]
call sub.MFC42u.DLL_CString::CString
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x2b0]
call sub.MFC42u.DLL_CString::CString
call dword [sym.imp.DataMgr.dll_class_CEzcadCfg____cdecl_gf_GetCfg_void_]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x2b8], esp
lea eax, [ebp - 0x88]
push eax
call sub.MFC42u.DLL_CString::CString_1
mov dword [ebp - 0x30c], eax
call dword [sym.imp.DataMgr.dll_int___cdecl_SaveEzCadCfg_class_CString__class_CEzcadCfg_const__]
add esp, 8
lea ecx, [ebp - 0x128]
call dword [sym.imp.DataMgr.dll_public:_void___thiscall_CQIniFile::constructor_void_]
mov byte [ebp - 4], 0xb
push 0x5aa12c
lea ecx, [ebp - 0x2c0]
call sub.MFC42u.DLL_CString::CString_4
mov byte [ebp - 4], 0xc
push ecx
mov esi, esp
mov dword [ebp - 0x2bc], esp
lea ecx, [ebp - 0x2c0]
push ecx
lea edx, [ebp - 0x2c4]
push edx
call dword [sym.imp.DataMgr.dll_class_CString___cdecl_gf_GetWorkPath_void_]
add esp, 4
mov dword [ebp - 0x310], eax
mov eax, dword [ebp - 0x310]
mov dword [ebp - 0x314], eax
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x314]
push ecx
push esi
call sub.MFC42u.DLL_operator_1
mov dword [ebp - 0x318], eax
lea ecx, [ebp - 0x128]
call dword [sym.imp.DataMgr.dll_public:_void___thiscall_CQIniFile::SetPath_class_CString_]
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x2c4]
call sub.MFC42u.DLL_CString::CString
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x2c0]
call sub.MFC42u.DLL_CString::CString
lea ecx, [ebp - 0x128]
call dword [sym.imp.DataMgr.dll_public:_int___thiscall_CQIniFile::ReadFile_void_]
push 1
mov edx, dword [ebp - 0x8c]
mov eax, dword [edx + 0x1f8]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x2c8], esp
push 0x5aa138
call sub.MFC42u.DLL_CString::CString_2
mov dword [ebp - 0x31c], eax
mov ecx, dword [ebp - 0x31c]
mov dword [ebp - 0x320], ecx
mov byte [ebp - 4], 0xe
push ecx
mov ecx, esp
mov dword [ebp - 0x2cc], esp
push 0x5aa14c
call sub.MFC42u.DLL_CString::CString_2
mov dword [ebp - 0x324], eax
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], 0xb
call dword [sym.imp.DataMgr.dll_public:_int___thiscall_CQIniFile::SetValueI_class_CString__class_CString__int__int_]
push 1
mov edx, dword [ebp - 0x8c]
mov eax, dword [edx + 0x204]
push eax
mov ecx, dword [edx + 0x200]
push ecx
push ecx
mov ecx, esp
mov dword [ebp - 0x2d0], esp
push 0x5aa158
call sub.MFC42u.DLL_CString::CString_2
mov dword [ebp - 0x328], eax
mov edx, dword [ebp - 0x328]
mov dword [ebp - 0x32c], edx
mov byte [ebp - 4], 0xf
push ecx
mov ecx, esp
mov dword [ebp - 0x2d4], esp
push 0x5aa16c
call sub.MFC42u.DLL_CString::CString_2
mov dword [ebp - 0x330], eax
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], 0xb
call dword [sym.imp.DataMgr.dll_public:_int___thiscall_CQIniFile::SetValueF_class_CString__class_CString__double__int_]
lea ecx, [ebp - 0x128]
call dword [sym.imp.DataMgr.dll_public:_void___thiscall_CQIniFile::WriteFile_void_]
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x128]
call dword [sym.imp.DataMgr.dll_public_virtual:_void___thiscall_CQIniFile::destructor_void_]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x88]
call sub.MFC42u.DLL_CString::CString
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x174]
call dword [sym.imp.DataMgr.dll_public:_void___thiscall_CFontAttrib::destructor_void_]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x84]
call sub.MFC42u.DLL_CString::CString
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x138]
call sub.MFC42u.DLL_CString::CString
call dword [sym.imp.DataMgr.dll_class_CWnd____cdecl_gf_GetActiveWnd_void_]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4b915d
mov ecx, dword [ebp - 0x10]
call sub.MFC42u.DLL_CWnd::SetFocus
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret