Function at 0x467ea0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
lea ecx, [ebp - 0x18]
push edi
lea eax, [ebp - 0x5c]
push esi
push ebx
sub esp, 0x9c
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x44], sym.___gxx_personality_sj0
mov dword [ebp - 0x40], 0x520934
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], 0x468043
mov dword [ebp - 0x34], esp
mov dword [esp], eax
call sym.__Unwind_SjLj_Register
mov edx, dword [ebp + 0xc]
test edx, edx
je 0x4680bc
mov esi, dword [ebp - 0x68]
mov ebx, dword [esi + 0x18]
mov dword [ebp - 0x6c], esi
test ebx, ebx
mov dword [ebp - 0x70], ebx
je 0x467f25
lea esi, [esi]
lea edi, [edi]
mov edx, dword [ebp - 0x70]
mov edi, dword [edx + 0x28]
test edx, edx
mov dword [ebp - 0x70], edi
je 0x467f1e
mov eax, dword [edx]
mov dword [esp], edx
mov edx, dword [eax + 4]
mov dword [ebp - 0x58], 0xffffffff
call edx
mov ecx, dword [ebp - 0x70]
test ecx, ecx
jne 0x467f00
mov edx, dword [ebp - 0x6c]
xor ebx, ebx
mov esi, 2
mov edi, dword [ebp - 0x68]
mov ecx, dword [ebp + 0xc]
mov dword [edx + 0x18], 0
mov dword [edx + 0x1c], 0
mov dword [edi + 8], 0xffffffff
mov dword [edi + 4], 0xffffffff
xor edi, edi
mov dword [esp], ecx
mov dword [esp + 8], esi
mov dword [esp + 4], ebx
call sym._fseek
mov dword [ebp - 0x58], 0xffffffff
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call sym._ftell
mov dword [ebp - 0x74], eax
mov esi, dword [ebp + 0xc]
xor edx, edx
mov dword [esp + 8], edx
mov dword [esp + 4], edi
mov dword [esp], esi
call sym._fseek
mov ebx, dword [ebp - 0x74]
test ebx, ebx
jle 0x468076
mov dword [ebp - 0x28], 0x563820
mov eax, dword [ebp - 0x74]
lea edx, [ebp - 0x28]
mov dword [esp], edx
mov dword [ebp - 0x58], 1
mov dword [esp + 4], eax
call method.TiXmlString.reserve_unsigned_int_
mov ecx, dword [ebp - 0x74]
inc ecx
mov dword [esp], ecx
call sym.operator_new___unsigned_int_
mov dword [ebp - 0x78], eax
mov edi, 1
mov byte [eax], 0
mov edx, dword [ebp + 0xc]
mov dword [esp + 8], edi
mov esi, dword [ebp - 0x74]
mov ebx, dword [ebp - 0x78]
mov dword [esp + 0xc], edx
mov dword [esp + 4], esi
mov dword [esp], ebx
call sym._fread
dec eax
je 0x4680f3
mov edx, dword [ebp - 0x78]
xor edi, edi
xor esi, esi
xor ebx, ebx
mov dword [esp], edx
call sym.operator_delete___void_
mov dword [esp + 0x10], edi
mov eax, dword [ebp - 0x68]
mov ecx, 2
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
mov dword [esp + 4], ecx
mov dword [esp], eax
mov dword [ebp - 0x58], 1
call method.TiXmlDocument.SetError_int__char_const__TiXmlParsingData__TiXmlEncoding_
mov eax, dword [ebp - 0x28]
cmp eax, 0x563820
je 0x46809c
test eax, eax
je 0x46809c
mov dword [esp], eax
call sym.operator_delete___void_
jmp 0x46809c
mov eax, dword [ebp - 0x68]
xor edi, edi
xor esi, esi
mov dword [esp + 0x10], edi
xor ebx, ebx
mov ecx, 0xd
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
mov dword [esp + 4], ecx
mov dword [esp], eax
call method.TiXmlDocument.SetError_int__char_const__TiXmlParsingData__TiXmlEncoding_
mov dword [ebp - 0x64], 0
lea edi, [ebp - 0x5c]
mov dword [esp], edi
call sym.__Unwind_SjLj_Unregister
mov eax, dword [ebp - 0x64]
add esp, 0x9c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [ebp - 0x58], 0xffffffff
mov esi, dword [ebp - 0x68]
xor ecx, ecx
mov dword [esp + 0x10], ecx
xor eax, eax
xor edx, edx
mov dword [esp + 0xc], eax
mov edi, 2
mov dword [esp + 8], edx
mov dword [esp + 4], edi
mov dword [esp], esi
jmp 0x468097
mov edx, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x74]
mov dword [ebp - 0x7c], edx
mov byte [ecx + edx], 0
mov eax, dword [ebp - 0x78]
cmp byte [eax], 0
je 0x46813a
add eax, ecx
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x7c]
cmp dword [ebp - 0x80], eax
jbe 0x4682c0
mov ecx, dword [ebp - 0x7c]
movzx eax, byte [ecx]
cmp al, 0xa
je 0x468251
cmp al, 0xd
je 0x4681c7
inc dword [ebp - 0x7c]
mov ebx, dword [ebp - 0x7c]
cmp byte [ebx], 0
jne 0x46810d
cmp dword [ebp - 0x7c], edx
je 0x46815f
sub dword [ebp - 0x7c], edx
lea esi, [ebp - 0x28]
mov dword [esp + 4], edx
mov dword [esp], esi
mov edi, dword [ebp - 0x7c]
mov dword [ebp - 0x58], 1
mov dword [esp + 8], edi
call method.TiXmlString.append_char_const__unsigned_int_
mov ecx, dword [ebp - 0x78]
xor esi, esi
mov dword [esp], ecx
call sym.operator_delete___void_
mov eax, dword [ebp - 0x68]
mov ebx, dword [ebp - 0x28]
mov edi, dword [ebp + 0x10]
mov edx, dword [ebp - 0x68]
mov ecx, dword [eax]
add ebx, 8
mov dword [esp + 0xc], edi
mov dword [esp + 8], esi
mov dword [esp + 4], ebx
mov dword [esp], edx
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x58], 1
call eax
mov edx, dword [ebp - 0x68]
cmp byte [edx + 0x2c], 0
jne 0x46802b
mov eax, dword [ebp - 0x28]
cmp eax, 0x563820
je 0x4681bb
test eax, eax
je 0x4681bb
mov dword [esp], eax
call sym.operator_delete___void_
mov dword [ebp - 0x64], 1
jmp 0x4680a3
mov eax, dword [ebp - 0x7c]
sub eax, edx
test eax, eax
jle 0x4681ea
mov dword [esp + 8], eax
lea eax, [ebp - 0x28]
mov dword [esp + 4], edx
mov dword [esp], eax
mov dword [ebp - 0x58], 1
call method.TiXmlString.append_char_const__unsigned_int_
mov byte [ebp - 0x5d], 0xa
mov esi, 1
lea ebx, [ebp - 0x5d]
mov dword [esp + 8], esi
lea ecx, [ebp - 0x28]
mov dword [esp + 4], ebx
mov dword [esp], ecx
mov dword [ebp - 0x58], 1
call method.TiXmlString.append_char_const__unsigned_int_
mov ecx, dword [ebp - 0x7c]
cmp byte [ecx + 1], 0xa
je 0x4682a0
inc dword [ebp - 0x7c]
mov edx, dword [ebp - 0x7c]
cmp dword [ebp - 0x80], edx
jae 0x468132
mov dword [esp], 0x533cd1
mov ecx, 0x429
mov eax, str..._tinyxml_tinyxml.cpp
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
mov dword [ebp - 0x58], 1
call sym.__assert
mov dword [esp + 4], edx
mov edi, ecx
lea esi, [ebp - 0x28]
mov dword [esp], esi
sub edi, edx
inc edi
mov dword [esp + 8], edi
mov dword [ebp - 0x58], 1
call method.TiXmlString.append_char_const__unsigned_int_
inc dword [ebp - 0x7c]
mov edx, dword [ebp - 0x7c]
cmp dword [ebp - 0x80], edx
jae 0x468132
mov edx, 0x415
mov dword [esp + 8], edx
mov dword [esp], 0x533cd1
mov edx, str..._tinyxml_tinyxml.cpp
mov dword [esp + 4], edx
call sym.__assert
lea esi, [esi]
add ecx, 2
mov edx, ecx
cmp dword [ebp - 0x80], ecx
mov dword [ebp - 0x7c], ecx
jae 0x468132
mov edi, 0x423
mov dword [esp + 8], edi
jmp 0x468288
mov dword [esp], str.p____buflength_
mov ebx, 0x40e
mov ecx, str..._tinyxml_tinyxml.cpp
mov dword [esp + 8], ebx
mov dword [esp + 4], ecx
jmp 0x468245