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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x54254d
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
push ebx
push esi
push edi
mov eax, dword [0x5c403c]
xor eax, esp
push eax
lea eax, [esp + 0xc8]
mov dword fs:[0], eax
lea ecx, [esp + 0x7c]
call dword [sym.imp.libUtils.module_public:_void___thiscall_xmlElement::constructor_void_]
mov dword [esp + 0xd0], 0
mov ebx, 1
push str.root
lea ecx, [esp + 0x84]
mov byte [esp + 0xc0], bl
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_3]
mov edi, dword [ebp + 8]
mov esi, dword [edi + 0x1c]
mov eax, dword [edi + 0x20]
add eax, esi
cmp esi, eax
jbe 0x4a365a
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ecx, dword [edi + 4]
mov dword [esp + 0x18], esi
mov esi, dword [sym.imp.libUtils.module_public:_void___thiscall_xmlElement::SetAttribute_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t____const___int_]
mov dword [esp + 0x14], ecx
jmp 0x4a3670
mov ecx, dword [edi + 0x1c]
mov eax, dword [edi + 0x20]
add eax, ecx
mov dword [esp + 0x2c], eax
cmp ecx, eax
jbe 0x4a368a
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x14]
mov edi, dword [edi + 4]
test ecx, ecx
je 0x4a3699
cmp ecx, edi
je 0x4a36a3
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x2c]
cmp dword [esp + 0x18], eax
je 0x4a3880
lea ecx, [esp + 0x34]
call dword [sym.imp.libUtils.module_public:_void___thiscall_xmlElement::constructor_void_]
mov byte [esp + 0xd0], bl
push str.trigger
lea ecx, [esp + 0x3c]
mov byte [esp + 0x78], bl
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_3]
push str.action
lea ecx, [esp + 0x28]
call dword [0x55a504]
mov byte [esp + 0xd0], 2
lea eax, [esp + 0x14]
call fcn.00413720
mov edx, dword [eax + 0x10]
push edx
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x3c]
call esi
mov byte [esp + 0xd0], bl
lea ecx, [esp + 0x24]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
push str.fromState
lea ecx, [esp + 0x2c]
call dword [0x55a504]
mov byte [esp + 0xd0], 3
lea eax, [esp + 0x14]
call fcn.00413720
mov ecx, dword [eax]
push ecx
lea edx, [esp + 0x2c]
push edx
lea ecx, [esp + 0x3c]
call esi
mov byte [esp + 0xd0], bl
lea ecx, [esp + 0x28]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
push str.toState
lea ecx, [esp + 0x34]
call dword [0x55a504]
mov byte [esp + 0xd0], 4
lea eax, [esp + 0x14]
call fcn.00413720
mov eax, dword [eax + 0x14]
push eax
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x3c]
call esi
mov byte [esp + 0xd0], bl
lea ecx, [esp + 0x30]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
push str.triggerData
lea ecx, [esp + 0x24]
call dword [0x55a504]
mov byte [esp + 0xd0], 5
lea eax, [esp + 0x14]
call fcn.00413720
mov edx, dword [eax + 8]
push edx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x3c]
call esi
mov byte [esp + 0xd0], bl
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
push str.triggerType
lea ecx, [esp + 0x20]
call dword [0x55a504]
mov byte [esp + 0xd0], 6
lea eax, [esp + 0x14]
call fcn.00413720
mov ecx, dword [eax + 4]
push ecx
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x3c]
call esi
mov byte [esp + 0xd0], bl
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea eax, [esp + 0x14]
call fcn.00413720
add eax, 0x18
push eax
lea ecx, [esp + 0x74]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_2]
lea eax, [esp + 0x34]
push eax
lea edi, [esp + 0x8c]
call fcn.004a39d0
mov byte [esp + 0xd0], 0
lea ecx, [esp + 0x34]
call dword [sym.imp.libUtils.module_public_virtual:_void___thiscall_xmlElement::destructor_void_]
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x4a387a
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
xor ecx, ecx
mov ecx, dword [ecx + 0x1c]
add ecx, dword [eax + 0x18]
cmp dword [esp + 0x18], ecx
jb 0x4a386e
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
add dword [esp + 0x18], ebx
mov edi, dword [ebp + 8]
jmp 0x4a3670
mov eax, dword [eax]
mov ecx, eax
jmp 0x4a385c
mov eax, dword [0x5c7000]
add eax, 0x30
push eax
lea edx, [esp + 0x20]
push edx
mov edi, str.autoAwayTriggers.xml
call fcn.0040f2b0
add esp, 8
mov byte [esp + 0xd0], 7
mov eax, dword [eax]
lea edi, [esp + 0x7c]
mov ecx, eax
call fcn.0051e560
mov byte [esp + 0xd0], 0
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov dword [esp + 0xd0], 0xffffffff
mov ecx, edi
call dword [sym.imp.libUtils.module_public_virtual:_void___thiscall_xmlElement::destructor_void_]
mov ecx, dword [esp + 0xc8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4