Function at 0x429840
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4401d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x7ec
mov eax, dword [0x453540]
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 0x454488
call fcn.00419160
add esp, 0xc
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
lea ecx, [ebp + 8]
call fcn.00409aa0
push eax
call dword [0x453f80]
mov ecx, dword [ebp - 0x7f8]
mov dword [ecx + 0x30], eax
mov edx, dword [ebp - 0x7f8]
cmp dword [edx + 0x30], 0xffffffff
jne 0x42990f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x44c528
push 0xdf
push 0x44c65c
push 0
mov ecx, 0x454488
call fcn.004191b0
mov eax, dword [ebp - 0x7f8]
mov dword [eax + 0x30], 0
mov byte [ebp - 0x7f1], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004030a0
mov al, byte [ebp - 0x7f1]
jmp 0x429a9d
push 0
push 0
push 0
mov ecx, dword [ebp - 0x7f8]
mov edx, dword [ecx + 0x30]
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x42995b
mov eax, dword [ebp - 0x7f8]
mov ecx, dword [eax + 0x30]
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.004030a0
mov al, byte [ebp - 0x7f2]
jmp 0x429a9d
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.0042eb90
push 0x4296f0
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 + 0x30]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x7ec], eax
cmp dword [ebp - 0x7ec], 0
jne 0x4299f1
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 0xf5
push 0x44c7b4
push 0
mov ecx, 0x454488
call fcn.004191b0
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 0x429a58
mov edx, dword [ebp - 0x7f8]
mov eax, dword [edx + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 0x7f3], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004030a0
mov al, byte [ebp - 0x7f3]
jmp 0x429a9d
cmp dword [ebp - 0x7e8], 0
je 0x429991
mov ecx, dword [ebp - 0x10]
push ecx
call sub.xmlparse.dll_XML_ParserFree
add esp, 4
mov edx, dword [ebp - 0x7f8]
mov eax, dword [edx + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 0x7f4], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004030a0
mov al, byte [ebp - 0x7f4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x14]
call fcn.0042bcf0
mov esp, ebp
pop ebp
ret 4