Function at 0x4a6fa0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x53911d
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push ebp
push esi
push edi
mov eax, dword [0x5c403c]
xor eax, esp
push eax
lea eax, [esp + 0x64]
mov dword fs:[0], eax
lea ecx, [esp + 0x10]
xor ebp, ebp
xor edi, edi
call dword [0x55a6c4]
mov dword [esp + 0x6c], edi
mov eax, dword [0x5c7000]
add eax, 0x30
push eax
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_2]
push 0x57f5f0
lea ecx, [esp + 0x14]
call dword [0x55a294]
push str.htmlChatChatTheme.html
lea ecx, [esp + 0x14]
call dword [0x55a294]
mov ecx, dword [esp + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push ecx
call esi
cmp eax, 0xffffffff
je 0x4a701e
lea edi, [ebp + 1]
mov edx, dword [0x5c7000]
add edx, 0x30
push edx
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_2]
push 0x57f5f0
lea ecx, [esp + 0x14]
call dword [0x55a294]
push str.htmlLayoutInfo.xml
lea ecx, [esp + 0x14]
call dword [0x55a294]
mov eax, dword [esp + 0x10]
push eax
call esi
cmp eax, 0xffffffff
je 0x4a7061
mov ebp, 1
test edi, edi
je 0x4a716f
test ebp, ebp
je 0x4a7162
lea ecx, [esp + 0x20]
call dword [sym.imp.libUtils.module_public:_void___thiscall_xmlElement::constructor_void_]
mov byte [esp + 0x6c], 1
push 0
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x28]
push edx
call dword [sym.imp.libUtils.module_lutXMLStandardParseF]
add esp, 0xc
lea ecx, [esp + 0x20]
call dword [sym.imp.libUtils.module_public:_unsigned_int___thiscall_xmlElement::GetChildCount_void_]
test eax, eax
je 0x4a7151
push str.default
lea ecx, [esp + 0x18]
call dword [0x55a504]
mov byte [esp + 0x6c], 2
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x24]
call dword [sym.imp.libUtils.module_public:_class_xmlElement____thiscall_xmlElement::GetChildPtr_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t____const__]
mov esi, eax
mov byte [esp + 0x6c], 1
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
test esi, esi
je 0x4a7151
push 0x55d9b0
lea ecx, [esp + 0x20]
call dword [0x55a504]
mov byte [esp + 0x6c], 3
push str.value
lea ecx, [esp + 0x1c]
call dword [0x55a504]
mov byte [esp + 0x6c], 4
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x1c]
push edx
mov ecx, esi
call dword [sym.imp.libUtils.module_public:_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t____const____thiscall_xmlElement::GetAttribute_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t____const___class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t____const__]
mov eax, dword [eax]
push 0xa
push 0
push eax
call dword [sym.imp.MSVCR90.dll_wcstol]
mov ecx, dword [esp + 0x80]
add esp, 0xc
mov dword [ecx + 4], eax
mov byte [esp + 0x6c], 3
lea ecx, [esp + 0x18]
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 byte [esp + 0x6c], 1
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 byte [esp + 0x6c], 0
lea ecx, [esp + 0x20]
call dword [sym.imp.libUtils.module_public_virtual:_void___thiscall_xmlElement::destructor_void_]
jmp 0x4a717a
mov edx, dword [esp + 0x74]
mov dword [edx + 4], 0
jmp 0x4a717a
mov eax, dword [esp + 0x74]
mov dword [eax + 4], 1
mov dword [esp + 0x6c], 0xffffffff
lea ecx, [esp + 0x10]
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 ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x60
ret 4