Function at 0x411cc6
Capabilities:
Check if file exists

Disassembly:
push 0x5c
mov eax, 0x4234a9
call fcn.00421cd2
mov eax, dword [0x435bb0]
mov esi, 0x435bb0
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
lea ebx, [ebp - 0x10]
call fcn.0041218f
test al, al
jne 0x411d1b
push str.Load_String_Bundle:_Get_Base_Dir_fail_
push 0x429460
call fcn.00417869
mov eax, dword [ebp - 0x10]
pop ecx
pop ecx
add eax, 0xfffffff0
call fcn.0040167f
xor eax, eax
call fcn.00421daa
ret
push 0x5c
lea edi, [ebp - 0x10]
call fcn.00411514
push 0x2f
call fcn.00411514
mov eax, dword [0x435bb0]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 1
call fcn.00412252
push eax
lea eax, [ebp - 0x18]
push str.I18n_luBaseStringBundle.xml
push eax
call fcn.00405c2a
mov esi, dword [ebp - 0x18]
add esp, 0xc
push dword [esi - 0xc]
mov eax, edi
push esi
call fcn.00405a4a
mov edi, dword [ebp - 0x10]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x411d96
push edi
push str.Load_String_Bundle:_no_exist___s
push 0x429460
call fcn.00417869
add esp, 0xc
lea eax, [esi - 0x10]
call fcn.0040167f
lea eax, [edi - 0x10]
jmp 0x411d0e
lea ecx, [ebp - 0x68]
call dword [sym.imp.tinyxml.dll_public:_void___thiscall_TiXmlDocument::constructor_void_]
xor ebx, ebx
push ebx
push edi
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 2
call dword [sym.imp.tinyxml.dll_public:_bool___thiscall_TiXmlDocument::LoadFile_wchar_t_const___enum_TiXmlEncoding_]
test al, al
jne 0x411dd4
push str.Load_String_Bundle:_Load_File_fail_
push 0x429460
call fcn.00417869
pop ecx
pop ecx
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 1
call dword [sym.imp.tinyxml.dll_public_virtual:_void___thiscall_TiXmlDocument::destructor_void_]
jmp 0x411d86
lea ecx, [ebp - 0x68]
call dword [sym.imp.tinyxml.dll_public:_class_TiXmlElement____thiscall_TiXmlDocument::RootElement_void_]
cmp eax, ebx
jne 0x411e16
push str.Load_String_Bundle:_Get_Root_Element_fail_
push 0x429460
call fcn.00417869
pop ecx
pop ecx
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 1
call dword [sym.imp.tinyxml.dll_public_virtual:_void___thiscall_TiXmlDocument::destructor_void_]
lea eax, [esi - 0x10]
call fcn.0040167f
lea eax, [edi - 0x10]
call fcn.0040167f
mov eax, ebx
jmp 0x411d15
mov ecx, eax
call dword [sym.imp.tinyxml.dll_public:_class_TiXmlElement____thiscall_TiXmlNode::FirstChildElement_void_]
cmp eax, ebx
mov dword [ebp - 0x14], eax
je 0x411eb3
mov ecx, dword [ebp - 0x14]
push 0x42d250
call dword [sym.imp.tinyxml.dll_public:_char_const____thiscall_TiXmlElement::Attribute_char_const__const]
mov ecx, dword [ebp - 0x14]
mov edi, eax
call dword [sym.imp.tinyxml.dll_public:_char_const____thiscall_TiXmlElement::GetText_void_const]
test edi, edi
mov ebx, eax
je 0x411e9c
test ebx, ebx
je 0x411e9c
lea eax, [ebp - 0x20]
push edi
push eax
call fcn.00417304
lea eax, [ebp - 0x1c]
push ebx
push eax
mov byte [ebp - 4], 3
call fcn.00417304
add esp, 0x10
push 0x436024
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 4
call fcn.00404e6b
mov edi, eax
lea eax, [ebp - 0x1c]
call fcn.00404a7f
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.0040167f
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
call fcn.0040167f
mov ecx, dword [ebp - 0x14]
call dword [sym.imp.tinyxml.dll_public:_class_TiXmlElement____thiscall_TiXmlNode::NextSiblingElement_void_]
test eax, eax
mov dword [ebp - 0x14], eax
jne 0x411e29
mov edi, dword [ebp - 0x10]
xor ebx, ebx
inc ebx
jmp 0x411df2