Function at 0x46ce10
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x475ab8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x7ec
mov eax, dword [0x49c1c8]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x7f8], ecx
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
push str.Loading_String_Table:__s
push 0x49d444
call fcn.00441600
add esp, 0xc
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
lea ecx, [ebp + 8]
call fcn.00405020
push eax
call dword [0x49c238]
mov ecx, dword [ebp - 0x7f8]
mov dword [ecx + 0x34], eax
mov edx, dword [ebp - 0x7f8]
cmp dword [edx + 0x34], 0xffffffff
jne 0x46cedf
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x48e290
push 0x106
push 0x48e3c4
push 0
mov ecx, 0x49d444
call fcn.00441650
mov eax, dword [ebp - 0x7f8]
mov dword [eax + 0x34], 0
mov byte [ebp - 0x7f1], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00402980
mov al, byte [ebp - 0x7f1]
jmp 0x46d079
push 0
push 0
push 0
mov ecx, dword [ebp - 0x7f8]
mov edx, dword [ecx + 0x34]
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x46cf2b
mov eax, dword [ebp - 0x7f8]
mov ecx, dword [eax + 0x34]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 0x7f2], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00402980
mov al, byte [ebp - 0x7f2]
jmp 0x46d079
push 0
call sub.xmlparse.dll_XML_ParserCreate
add esp, 4
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x7f8]
push edx
mov eax, dword [ebp - 0x10]
push eax
call sub.xmlparse.dll_XML_SetUserData
add esp, 8
push fcn.0040cbf0
push 0x46ccc0
mov ecx, dword [ebp - 0x10]
push ecx
call sub.xmlparse.dll_XML_SetElementHandler
add esp, 0xc
mov dword [ebp - 0x7f0], 0
push 0
lea edx, [ebp - 0x7f0]
push edx
push 0x7d0
lea eax, [ebp - 0x7e4]
push eax
mov ecx, dword [ebp - 0x7f8]
mov edx, dword [ecx + 0x34]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x7ec], eax
cmp dword [ebp - 0x7ec], 0
jne 0x46cfc1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.bool___thiscall_StringTable::LoadAux_class_ATL::CStringT_unsigned_short_class_ATL::StrTraitATL_unsigned_short_class_ATL::ChTraitsCRT_unsigned_short______
push 0x11c
push 0x48e51c
push 0
mov ecx, 0x49d444
call fcn.00441650
cmp dword [ebp - 0x7f0], 0x7d0
sbb eax, eax
neg eax
mov dword [ebp - 0x7e8], eax
mov ecx, dword [ebp - 0x7e8]
push ecx
mov edx, dword [ebp - 0x7f0]
push edx
lea eax, [ebp - 0x7e4]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call sub.xmlparse.dll_XML_Parse
add esp, 0x10
test eax, eax
jne 0x46d034
mov edx, dword [ebp - 0x10]
push edx
call sub.xmlparse.dll_XML_ParserFree
add esp, 4
mov eax, dword [ebp - 0x7f8]
mov ecx, dword [eax + 0x34]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 0x7f3], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00402980
mov al, byte [ebp - 0x7f3]
jmp 0x46d079
cmp dword [ebp - 0x7e8], 0
je 0x46cf61
mov edx, dword [ebp - 0x10]
push edx
call sub.xmlparse.dll_XML_ParserFree
add esp, 4
mov eax, dword [ebp - 0x7f8]
mov ecx, dword [eax + 0x34]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 0x7f4], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00402980
mov al, byte [ebp - 0x7f4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x14]
call fcn.0046faad
mov esp, ebp
pop ebp
ret 4