Function at 0x40a7cf
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov eax, 0x417d4a
call fcn.00415f40
sub esp, 0x174
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x44], edi
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], edi
call dword [sym.imp.routing.dll_public:_void___thiscall_CUserName::constructor_void_]
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString_1
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString_1
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 3
call fcn.004023cd
push edi
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 4
call fcn.0040e3df
push 0x3fd
lea ecx, [ebp - 0x180]
mov byte [ebp - 4], 5
call fcn.0040f5cf
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 6
call sub.MFC42.DLL_CString::CString_1
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 7
call sub.MFC42.DLL_CString::CString_1
lea eax, [ebp - 0x34]
lea ecx, [ebp + 0xc]
push eax
mov byte [ebp - 4], 8
mov dword [ebp - 0x84], edi
call fcn.0040e8ef
mov ecx, eax
mov byte [ebp - 4], 9
call fcn.0040838b
mov ecx, eax
call sub.bcs.dll_public:_int___thiscall_ATOMTrendDef::IsUsingTrigger_void_const
mov esi, dword [sym.imp.oodb94.DLL_public:_void___thiscall_opiHandle_class_ooObj_::destructor_void_]
lea ecx, [ebp - 0x34]
mov ebx, eax
mov byte [ebp - 4], 8
call esi
cmp ebx, edi
je 0x40aa0d
lea eax, [ebp - 0x34]
lea ecx, [ebp + 0xc]
push eax
call fcn.0040e8ef
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xa
push ecx
mov ecx, eax
call fcn.0040838b
mov ecx, eax
call sub.bcs.dll_public:_class_CSysName___thiscall_ATOMTrendDef::GetTriggerPoint_void_
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0xb
push ecx
push eax
call dword [sym.imp.Safe_Sub.dll_int___cdecl_ResolvePoint_class_CSysName_const___class_Ref_class_BCOLogicalPt___]
pop ecx
mov ebx, eax
pop ecx
lea eax, [ebp - 0x10]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xa
neg ecx
sbb ecx, ecx
and ecx, eax
call fcn.00415a40
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 8
call esi
cmp ebx, edi
je 0x40a9b5
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
cmp dword [eax + 0x218], edi
je 0x40a95d
lea eax, [ebp - 0x34]
lea ecx, [ebp - 0x54]
push eax
call fcn.004023fc
mov ecx, eax
mov byte [ebp - 4], 0xc
call fcn.0040838b
mov edx, dword [eax]
lea ecx, [ebp - 0x14]
push ecx
mov ecx, eax
call dword [edx + 0x38]
mov ecx, eax
add eax, 4
neg ecx
sbb ecx, ecx
mov byte [ebp - 4], 0xd
and ecx, eax
push ecx
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CString::operator
lea ecx, [ebp - 0x14]
lea eax, [ebp - 0x10]
neg ecx
sbb ecx, ecx
mov byte [ebp - 4], 0xc
and ecx, eax
call fcn.00415a40
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x34]
jmp 0x40aa0b
lea eax, [ebp - 0x34]
lea ecx, [ebp - 0x54]
push eax
call fcn.004023fc
mov ecx, eax
mov byte [ebp - 4], 0xe
call fcn.0040838b
mov edx, dword [eax]
lea ecx, [ebp - 0x14]
push ecx
mov ecx, eax
call dword [edx + 0x34]
mov ecx, eax
add eax, 4
neg ecx
sbb ecx, ecx
mov byte [ebp - 4], 0xf
and ecx, eax
push ecx
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CString::operator
lea ecx, [ebp - 0x14]
lea eax, [ebp - 0x10]
neg ecx
sbb ecx, ecx
mov byte [ebp - 4], 0xe
and ecx, eax
call fcn.00415a40
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x34]
jmp 0x40aa0b
lea eax, [ebp - 0x34]
lea ecx, [ebp + 0xc]
push eax
call fcn.0040e8ef
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x10
push ecx
mov ecx, eax
call fcn.0040838b
mov ecx, eax
call sub.bcs.dll_public:_class_CSysName___thiscall_ATOMTrendDef::GetTriggerPoint_void_
mov ecx, eax
add eax, 4
neg ecx
sbb ecx, ecx
mov byte [ebp - 4], 0x11
and ecx, eax
push ecx
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CString::operator
lea ecx, [ebp - 0x14]
lea eax, [ebp - 0x10]
neg ecx
sbb ecx, ecx
mov byte [ebp - 4], 0x10
and ecx, eax
call fcn.00415a40
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x34]
call esi
lea eax, [ebp - 0x34]
lea ecx, [ebp + 0xc]
push eax
call fcn.0040e8ef
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0x12
push ecx
lea ecx, [ebp - 0x10]
push ecx
mov ecx, eax
call fcn.0040838b
mov ecx, eax
call sub.bcs.dll_public:_union_MAPPED_STATUS___thiscall_ATOMTrendDef::GetPoint_class_Ref_class_BCOLogicalPt___
mov edi, dword [eax]
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 8
call esi
mov ebx, edi
and ebx, 0x80000000
jne 0x40aab1
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
cmp dword [eax + 0x218], 0
je 0x40aab1
lea eax, [ebp - 0x34]
lea ecx, [ebp - 0x54]
push eax
call fcn.004023fc
mov ecx, eax
mov byte [ebp - 4], 0x13
call fcn.0040838b
mov edx, dword [eax]
lea ecx, [ebp - 0x14]
push ecx
mov ecx, eax
call dword [edx + 0x38]
mov ecx, eax
add eax, 4
neg ecx
sbb ecx, ecx
mov byte [ebp - 4], 0x14
and ecx, eax
push ecx
lea ecx, [ebp - 0x38]
call sub.MFC42.DLL_CString::operator
lea ecx, [ebp - 0x14]
lea eax, [ebp - 0x10]
neg ecx
sbb ecx, ecx
mov byte [ebp - 4], 0x13
and ecx, eax
call fcn.00415a40
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x34]
jmp 0x40ab0b
test ebx, ebx
jne 0x40ab0d
lea eax, [ebp - 0x34]
lea ecx, [ebp - 0x54]
push eax
call fcn.004023fc
mov ecx, eax
mov byte [ebp - 4], 0x15
call fcn.0040838b
mov edx, dword [eax]
lea ecx, [ebp - 0x14]
push ecx
mov ecx, eax
call dword [edx + 0x34]
mov ecx, eax
add eax, 4
neg ecx
sbb ecx, ecx
mov byte [ebp - 4], 0x16
and ecx, eax
push ecx
lea ecx, [ebp - 0x38]
call sub.MFC42.DLL_CString::operator
lea ecx, [ebp - 0x14]
lea eax, [ebp - 0x10]
neg ecx
sbb ecx, ecx
mov byte [ebp - 4], 0x15
and ecx, eax
call fcn.00415a40
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x34]
call esi
test edi, edi
jne 0x40ab22
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.Safe_Sub.dll_int___cdecl_IsBacnetPoint_class_Ref_class_BCOLogicalPt___]
pop ecx
mov dword [ebp - 0x84], eax
lea eax, [ebp - 0x34]
lea ecx, [ebp + 0xc]
push eax
call fcn.0040e8ef
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0x17
push ecx
lea ecx, [ebp - 0x10]
push ecx
mov ecx, eax
call fcn.0040838b
mov ecx, eax
call sub.bcs.dll_public:_union_MAPPED_STATUS___thiscall_ATOMTrendDef::GetCec_class_Ref_class_BCOCec___
mov ebx, dword [eax]
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 8
call esi
test ebx, ebx
jne 0x40ac24
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
cmp dword [eax + 0x218], ebx
je 0x40abc9
lea eax, [ebp - 0x34]
lea ecx, [ebp - 0xa0]
push eax
call fcn.0040e420
mov ecx, eax
mov byte [ebp - 4], 0x18
call fcn.0040839e
mov edx, dword [eax]
lea ecx, [ebp - 0x14]
push ecx
mov ecx, eax
call dword [edx + 0x38]
mov ecx, eax
add eax, 4
neg ecx
sbb ecx, ecx
mov byte [ebp - 4], 0x19
and ecx, eax
push ecx
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CString::operator
lea ecx, [ebp - 0x14]
lea eax, [ebp - 0x10]
neg ecx
sbb ecx, ecx
mov byte [ebp - 4], 0x18
and ecx, eax
call fcn.00415a40
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x34]
jmp 0x40ac22
lea eax, [ebp - 0x34]
lea ecx, [ebp - 0xa0]
push eax
call fcn.0040e420
mov ecx, eax
mov byte [ebp - 4], 0x1a
call fcn.0040839e
mov edx, dword [eax]
lea ecx, [ebp - 0x14]
push ecx
mov ecx, eax
call dword [edx + 0x34]
mov ecx, eax
add eax, 4
neg ecx
sbb ecx, ecx
mov byte [ebp - 4], 0x1b
and ecx, eax
push ecx
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CString::operator
lea ecx, [ebp - 0x14]
lea eax, [ebp - 0x10]
neg ecx
sbb ecx, ecx
mov byte [ebp - 4], 0x1a
and ecx, eax
call fcn.00415a40
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x34]
call esi
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebx + 0xc]
call sub.MFC42.DLL_CString::operator
mov eax, dword [ebp - 0x58]
mov edi, dword [eax + 0x78]
test edi, edi
je 0x40ac79
lea eax, [edi + 8]
lea ecx, [ebp + 8]
push eax
call sub.MFC42.DLL_CString::CString_2
push dword [ebp - 0x1c]
push dword [ebp + 8]
call dword [sym.imp.MSVCRT.dll__mbscmp]
pop ecx
test eax, eax
pop ecx
je 0x40ac6b
mov edi, dword [edi]
lea ecx, [ebp + 8]
mov byte [ebp - 4], 8
call fcn.00415a40
jmp 0x40ac39
lea ecx, [ebp + 8]
mov byte [ebp - 4], 8
call fcn.00415a40
jmp 0x40ac88
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x58]
lea ecx, [eax + 0x74]
call sub.MFC42.DLL_CStringList::AddHead
lea eax, [ebp - 0x34]
lea ecx, [ebp + 0xc]
push eax
call fcn.0040e8ef
mov ecx, eax
mov byte [ebp - 4], 0x1d
call fcn.0040839e
mov ecx, eax
call sub.bcs.dll_public:_enum_TREND_TYPE___thiscall_ATOMTrendDef::GetTrendType_void_
lea ecx, [ebp - 0x34]
mov edi, eax
mov byte [ebp - 4], 8
call esi
test edi, edi
jl 0x40ae0d
cmp edi, 1
jle 0x40adf8
cmp edi, 2
jne 0x40ae0d
lea eax, [ebp - 0x68]
lea ecx, [ebp + 0xc]
push eax
call fcn.0040e8ef
mov ecx, eax
mov byte [ebp - 4], 0x1e
call fcn.0040839e
mov ecx, eax
call sub.bcs.dll_public:_unsigned_int___thiscall_ATOMTrendDef::GetSampleInterval_void_const
lea ecx, [ebp - 0x68]
mov edi, eax
mov byte [ebp - 4], 8
call esi
lea eax, [ebp - 0xb4]
lea ecx, [ebp + 0xc]
push eax
call fcn.0040e8ef
mov ecx, eax
mov byte [ebp - 4], 0x1f
call fcn.0040839e
mov ecx, eax
call sub.bcs.dll_public:_enum_TREND_UNIT___thiscall_ATOMTrendDef::GetSampleIntervalUnits_void_
lea ecx, [ebp - 0xb4]
mov dword [ebp + 8], eax
mov byte [ebp - 4], 8
call esi
cmp dword [ebp - 0x84], 0
mov eax, edi
je 0x40ad35
push 0x64
cdq
pop ecx
idiv ecx
cmp eax, 0x3c
je 0x40adf1
cmp eax, 0x12c
je 0x40ade2
cmp eax, 0x258
je 0x40addb
cmp eax, 0x384
je 0x40add4
cmp eax, 0x708
je 0x40adcd
cmp eax, 0xe10
je 0x40adc6
cmp dword [ebp - 0x84], 0
je 0x40ad82
push 0x9b
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::LoadStringA
push edi
jmp 0x40adb5
cmp dword [ebp + 8], 0
jne 0x40ad9d
push 0x88
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::LoadStringA
mov eax, edi
push 0x3c
cdq
pop ecx
jmp 0x40adb2
push 0x89
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::LoadStringA
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
push eax
push dword [ebp - 0x18]
lea eax, [ebx + 8]
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
jmp 0x40ae10
push 0x87
jmp 0x40ade7
push 0x86
jmp 0x40ade7
push 0x85
jmp 0x40ade7
push 0x82
jmp 0x40ade7
push 0x84
lea ecx, [ebx + 8]
call sub.MFC42.DLL_CString::LoadStringA
jmp 0x40ae10
push 0x83
jmp 0x40ade7
push 0x425260
lea ecx, [ebx + 8]
call fcn.00415a82
xor edi, edi
or dword [ebp + 8], 0xffffffff
jmp 0x40ae10
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0x18]
push ecx
mov dword [ebx + 4], eax
lea eax, [ebp - 0x20]
mov ecx, esp
mov dword [ebp + 0x18], esp
push eax
call sub.MFC42.DLL_CString::CString_2
lea eax, [ebp - 0xdc]
lea ecx, [ebp + 0xc]
push eax
mov byte [ebp - 4], 0x20
call fcn.0040e8ef
mov ecx, eax
mov byte [ebp - 4], 0x21
call fcn.0040839e
mov ecx, eax
call sub.bcs.dll_public:_int___thiscall_ATOMTrendDef::IsUsingTrigger_void_const
push eax
lea eax, [ebp - 0x104]
push eax
lea ecx, [ebp + 0xc]
call fcn.0040e8ef
mov ecx, eax
mov byte [ebp - 4], 0x22
call fcn.0040839e
mov ecx, eax
call sub.bcs.dll_public:_unsigned_char___thiscall_ATOMTrendDef::GetHighWaterLevelPercent_void_const
movzx eax, al
push eax
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp + 0xc]
call fcn.0040e8ef
mov ecx, eax
mov byte [ebp - 4], 0x23
call fcn.0040839e
mov ecx, eax
call sub.bcs.dll_public:_int___thiscall_ATOMTrendDef::IsTrendFullEnabled_void_const
push eax
lea eax, [ebp - 0xf0]
push eax
lea ecx, [ebp + 0xc]
call fcn.0040e8ef
mov ecx, eax
mov byte [ebp - 4], 0x24
call fcn.0040839e
mov ecx, eax
call sub.bcs.dll_public:_int___thiscall_ATOMTrendDef::IsEnabled_void_const
push eax
lea eax, [ebp - 0x94]
push 1
push eax
lea ecx, [ebp + 0xc]
call fcn.0040e8ef
mov ecx, eax
mov byte [ebp - 4], 0x25
call fcn.0040839e
mov ecx, eax
call sub.bcs.dll_public:_float___thiscall_ATOMTrendDef::GetTrendCOVLimit_void_const
push ecx
lea eax, [ebp - 0x68]
lea ecx, [ebp + 0xc]
fstp dword [esp]
push eax
call fcn.0040e8ef
mov ecx, eax
mov byte [ebp - 4], 0x26
call fcn.0040839e
mov ecx, eax
call sub.bcs.dll_public:_unsigned_int___thiscall_ATOMTrendDef::GetRollover_void_const
push eax
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp + 0xc]
call fcn.0040e8ef
mov ecx, eax
mov byte [ebp - 4], 0x27
call fcn.0040839e
mov ecx, eax
call sub.bcs.dll_public:_unsigned_int___thiscall_ATOMTrendDef::GetNumberSamplesAtPanel_void_const
push eax
lea eax, [ebp - 0xb4]
push dword [ebp + 8]
lea ecx, [ebp + 0xc]
push edi
push eax
call fcn.0040e8ef
mov ecx, eax
mov byte [ebp - 4], 0x28
call fcn.0040839e
mov ecx, eax
call sub.bcs.dll_public:_enum_TREND_TYPE___thiscall_ATOMTrendDef::GetTrendType_void_
push eax
push ecx
push ecx
lea eax, [ebp - 0x38]
mov ecx, esp
mov dword [ebp + 8], esp
push eax
call dword [sym.imp.routing.dll_public:_void___thiscall_CUserName::constructor_class_CString_const__]
lea edi, [ebx + 0x10]
lea eax, [ebp + 0xc]
push eax
mov ecx, edi
mov byte [ebp - 4], 0x30
call dword [sym.imp.TRNDSRVR.dll_public:_void___thiscall_AssociatedItemData::SetData_class_Ref_class_ATOMTrendDef____class_CUserName__enum_TREND_TYPE__unsigned_int__enum_TREND_UNIT__unsigned_int__unsigned_int__float__int__int__int__int__int__class_CString_]
lea ecx, [ebp - 0xb4]
mov byte [ebp - 4], 0x2f
call esi
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0x2e
call esi
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0x2d
call esi
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 0x2c
call esi
lea ecx, [ebp - 0xf0]
mov byte [ebp - 4], 0x2b
call esi
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 0x2a
call esi
lea ecx, [ebp - 0x104]
mov byte [ebp - 4], 0x29
call esi
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 8
call esi
lea eax, [ebp - 0xc8]
lea ecx, [ebp + 0xc]
push eax
call fcn.0040e8ef
mov ecx, eax
mov byte [ebp - 4], 0x31
call fcn.0040839e
mov ecx, eax
call sub.bcs.dll_public:_unsigned_int___thiscall_ATOMTrendDef::GetBACnetObjectInstanceNumber_void_const
cmp eax, 0x3fffff
jne 0x40afeb
or dword [ebp + 8], 0xffffffff
jmp 0x40b016
lea eax, [ebp - 0x12c]
lea ecx, [ebp + 0xc]
push eax
call fcn.0040e8ef
mov dword [ebp - 0x44], 1
mov ecx, eax
mov byte [ebp - 4], 0x32
call fcn.0040839e
mov ecx, eax
call sub.bcs.dll_public:_unsigned_int___thiscall_ATOMTrendDef::GetBACnetObjectInstanceNumber_void_const
mov dword [ebp + 8], eax
lea eax, [ebp - 0x7c]
lea ecx, [ebp + 0xc]
push eax
call fcn.0040e8ef
lea ecx, [ebp - 0x5c]
mov dword [ebp - 4], 0x33
push ecx
mov ecx, eax
call fcn.0040839e
mov ecx, eax
call sub.bcs.dll_public:_struct_CPI_DATE_TIME___thiscall_ATOMTrendDef::GetStopTime_void_
push dword [eax + 4]
lea ecx, [ebp + 0xc]
push dword [eax]
lea eax, [ebp - 0x140]
push eax
call fcn.0040e8ef
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0x34
push ecx
mov ecx, eax
call fcn.0040839e
mov ecx, eax
call sub.bcs.dll_public:_struct_CPI_DATE_TIME___thiscall_ATOMTrendDef::GetStartTime_void_
push dword [eax + 4]
lea ecx, [ebp + 0xc]
push dword [eax]
lea eax, [ebp - 0x34]
push eax
call fcn.0040e8ef
mov ecx, eax
mov byte [ebp - 4], 0x35
call fcn.0040839e
mov ecx, eax
call sub.bcs.dll_public:_int___thiscall_ATOMTrendDef::IsLogEnabled_void_const
push eax
lea eax, [ebp - 0xb4]
push eax
lea ecx, [ebp + 0xc]
call fcn.0040e8ef
mov ecx, eax
mov byte [ebp - 4], 0x36
call fcn.0040839e
mov ecx, eax
call sub.bcs.dll_public:_int___thiscall_ATOMTrendDef::IsStopWhenFull_void_const
push eax
lea eax, [ebp - 0xf0]
push eax
lea ecx, [ebp + 0xc]
call fcn.0040e8ef
mov ecx, eax
mov byte [ebp - 4], 0x37
call fcn.0040839e
mov ecx, eax
call sub.bcs.dll_public:_unsigned_int___thiscall_ATOMTrendDef::GetNotificationThreshold_void_const
push eax
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp + 0xc]
call fcn.0040e8ef
mov ecx, eax
mov byte [ebp - 4], 0x38
call fcn.0040839e
mov ecx, eax
call sub.bcs.dll_public:_unsigned_int___thiscall_ATOMTrendDef::GetNotificationClass_void_const
push eax
lea eax, [ebp - 0x104]
push dword [ebp + 8]
lea ecx, [ebp + 0xc]
push eax
call fcn.0040e8ef
push ecx
mov byte [ebp - 4], 0x39
mov ecx, esp
mov dword [ebp + 8], esp
push ecx
mov ecx, eax
call fcn.0040839e
mov ecx, eax
call sub.bcs.dll_public:_class_CString___thiscall_ATOMTrendDef::GetDescription_void_
push ecx
lea eax, [ebp - 0x1c]
mov ecx, esp
mov dword [ebp + 0x18], esp
push eax
mov byte [ebp - 4], 0x3a
call sub.MFC42.DLL_CString::CString_2
lea eax, [ebp - 0xdc]
lea ecx, [ebp + 0xc]
push eax
mov byte [ebp - 4], 0x3b
call fcn.0040e8ef
push ecx
mov byte [ebp - 4], 0x3c
mov ecx, esp
mov dword [ebp - 0x10], esp
push ecx
mov ecx, eax
call fcn.0040839e
mov ecx, eax
call sub.bcs.dll_public:_class_CString___thiscall_ATOMTrendDef::GetBACnetObjectName_void_
mov ecx, edi
mov byte [ebp - 4], 0x3d
call dword [sym.imp.TRNDSRVR.dll_public:_void___thiscall_AssociatedItemData::SetBACnetData_class_CString__class_CString__class_CString__unsigned_int__unsigned_int__unsigned_int__int__int__struct_CPI_DATE_TIME__struct_CPI_DATE_TIME_]
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 0x39
call esi
lea ecx, [ebp - 0x104]
mov byte [ebp - 4], 0x38
call esi
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 0x37
call esi
lea ecx, [ebp - 0xf0]
mov byte [ebp - 4], 0x36
call esi
lea ecx, [ebp - 0xb4]
mov byte [ebp - 4], 0x35
call esi
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0x34
call esi
lea ecx, [ebp - 0x140]
mov byte [ebp - 4], 0x33
call esi
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0x32
call esi
test byte [ebp - 0x44], 1
mov dword [ebp - 4], 0x31
je 0x40b1d7
lea ecx, [ebp - 0x12c]
call esi
lea ecx, [ebp - 0xc8]
mov byte [ebp - 4], 8
call esi
lea eax, [ebp - 0xc8]
lea ecx, [ebp + 0xc]
push eax
call fcn.0040e8ef
lea ecx, [ebp - 0x180]
mov byte [ebp - 4], 0x3e
push ecx
lea ecx, [ebp + 8]
push ecx
mov ecx, eax
call fcn.0040839e
mov ecx, eax
call sub.bcs.dll_public:_union_MAPPED_STATUS___thiscall_ATOMTrendDef::GetList_class_Collection_class_ATOMBaseReport___
mov edi, dword [eax]
lea ecx, [ebp - 0xc8]
mov byte [ebp - 4], 8
call esi
test edi, edi
jne 0x40b38a
lea ecx, [ebp - 0x78]
call fcn.0040ebd3
or dword [ebp - 0x6c], 0xffffffff
lea eax, [ebp - 0x180]
mov dword [ebp - 0x80], 0x41b1c4
mov dword [ebp - 0x7c], eax
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0x3f
call fcn.0040ebd3
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 0x40
call fcn.004077f5
lea ecx, [ebp - 0x80]
call fcn.0040f9ad
mov eax, dword [ebp - 0x7c]
mov eax, dword [eax + 0x34]
cmp dword [ebp - 0x6c], eax
jge 0x40b38a
cmp dword [ebp - 0x6c], 0
jl 0x40b38a
lea eax, [ebp - 0x8c]
lea ecx, [ebp - 0x80]
push eax
call fcn.0040fa00
mov ecx, dword [eax + 4]
mov dword [ebp - 0x5c], ecx
mov eax, dword [eax + 8]
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x8c], 0x41b1b4
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
cmp dword [eax + 0x218], 0
je 0x40b30e
lea eax, [ebp - 0xc8]
lea ecx, [ebp - 0x60]
push eax
call fcn.0040ec02
mov ecx, eax
mov byte [ebp - 4], 0x41
call fcn.0040839e
mov edx, dword [eax]
lea ecx, [ebp - 0x14]
push ecx
mov ecx, eax
call dword [edx + 0x38]
mov ecx, eax
add eax, 4
neg ecx
sbb ecx, ecx
mov byte [ebp - 4], 0x42
and ecx, eax
push ecx
lea ecx, [ebp - 0x3c]
call sub.MFC42.DLL_CString::operator
lea ecx, [ebp - 0x14]
lea eax, [ebp - 0x10]
neg ecx
sbb ecx, ecx
mov byte [ebp - 4], 0x41
and ecx, eax
call fcn.00415a40
mov byte [ebp - 4], 0x40
lea ecx, [ebp - 0xc8]
jmp 0x40b36b
lea eax, [ebp - 0x12c]
lea ecx, [ebp - 0x60]
push eax
call fcn.0040ec02
mov ecx, eax
mov byte [ebp - 4], 0x43
call fcn.0040839e
mov edx, dword [eax]
lea ecx, [ebp - 0x48]
push ecx
mov ecx, eax
call dword [edx + 0x34]
mov ecx, eax
add eax, 4
neg ecx
sbb ecx, ecx
mov byte [ebp - 4], 0x44
and ecx, eax
push ecx
lea ecx, [ebp - 0x40]
call dword [sym.imp.routing.dll_public:_class_CUserName_const____thiscall_CUserName::operator_class_CString_const__]
lea ecx, [ebp - 0x48]
lea eax, [ebp - 0x44]
neg ecx
sbb ecx, ecx
mov byte [ebp - 4], 0x43
and ecx, eax
call fcn.00415a40
mov byte [ebp - 4], 0x40
lea ecx, [ebp - 0x12c]
call esi
lea eax, [ebp - 0x40]
lea ecx, [ebp - 0x3c]
neg eax
sbb eax, eax
and eax, ecx
lea ecx, [ebx + 0x88]
push eax
call sub.MFC42.DLL_CStringList::AddTail
jmp 0x40b259
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 7
call fcn.00415a40
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 6
call fcn.00415a40
lea ecx, [ebp - 0x180]
mov byte [ebp - 4], 5
call fcn.0040f654
lea ecx, [ebp - 0x38]
mov dword [ebp - 0xa0], 0x41b164
mov dword [ebp - 0x54], 0x41ac5c
mov byte [ebp - 4], 2
call fcn.00415a40
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.00415a40
and byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
neg ecx
sbb ecx, ecx
lea eax, [ebp - 0x3c]
and ecx, eax
call fcn.00415a40
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0x14