Function at 0x4132e0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov eax, 0x405c
mov ebp, esp
push edi
push esi
push ebx
call fcn.00485f10
push esi
push esi
push 0x8000
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
mov ebx, dword [eax + 0x60]
push ebx
call sub.msvcrt.dll__open
add esp, 0x10
mov dword [ebp - 0x4060], eax
test eax, eax
js 0x41349e
push eax
push eax
push 1
push 0
call fcn.00450da0
lea ebx, [ebp - 0x10]
mov edi, eax
lea eax, [ebp - 0x54]
mov dword [esp], eax
call fcn.00432f90
add esp, 0xc
mov dword [ebp - 0x4c], 0
lea edx, [ebp - 0x48]
push 0
push 4
push edx
call fcn.00443e90
lea eax, [ebp - 0x34]
mov dword [ebp - 0x48], 0x4c8a08
mov dword [esp], eax
call fcn.00434490
mov edx, dword [ebp + 0xc]
pop esi
mov ecx, dword [edx]
pop eax
push ecx
push ebx
call fcn.004020f0
lea eax, [ebp - 0x54]
sub esp, 0xc
push ebx
push eax
call fcn.00432c60
add esp, 0x14
push ebx
call fcn.00432bc0
mov dword [ebp - 0x50], edi
pop eax
pop edx
lea edx, [ebp - 0x54]
push edx
push edi
call fcn.0044d2a0
add esp, 0xc
push 0x413190
push 0x412890
push edi
call fcn.0044d2f0
add esp, 0xc
push 0x4130d0
push 0x4122e0
push edi
call fcn.0044d440
pop ebx
pop esi
push 0x411fa0
push edi
call fcn.0044d330
pop edx
pop ecx
lea esi, [ebp - 0x4054]
push 0x411b80
push edi
call fcn.0044d350
add esp, 0x10
push eax
push 0x4000
push esi
mov eax, dword [ebp - 0x4060]
push eax
call sub.msvcrt.dll__read
add esp, 0x10
mov edx, eax
test eax, eax
js 0x4134fb
cmp eax, 0x3fff
setle bl
xor eax, eax
mov al, bl
push eax
push edx
push esi
push edi
call fcn.0044f320
add esp, 0x10
test eax, eax
je 0x413560
test bl, bl
je 0x4133d6
sub esp, 0xc
push edi
call fcn.0044e2f0
mov ebx, dword [ebp - 0x4c]
add esp, 0x10
test ebx, ebx
je 0x41359c
sub esp, 0xc
mov eax, dword [ebp - 0x4060]
lea ebx, [ebp - 0x4c]
push eax
call sub.msvcrt.dll__close
pop edi
pop eax
push ebx
mov esi, dword [ebp + 8]
push esi
call fcn.004922c0
add esp, 0x10
sub esp, 0xc
lea eax, [ebp - 0x34]
push eax
call fcn.00433ac0
lea edx, [ebp - 0x48]
mov dword [ebp - 0x48], 0x4c8a08
mov dword [esp], edx
call fcn.004443a0
lea eax, [ebp - 0x48]
mov dword [esp], eax
call fcn.004441b0
mov dword [esp], ebx
call fcn.004922f0
lea edx, [ebp - 0x54]
mov dword [esp], edx
call fcn.00432bc0
mov eax, dword [ebp + 8]
add esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 4
call sub.msvcrt.dll__errno
sub esp, 0xc
lea ebx, [ebp - 0x18]
mov ecx, dword [eax]
push ecx
call sub.msvcrt.dll_strerror
add esp, 0xc
mov esi, eax
push 0xffffffffffffffff
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
add eax, 0x60
push eax
push ebx
call fcn.0042f090
add esp, 0xc
push esi
push str.Unable_to_open_file_for_read:__s
push ebx
call fcn.0042f4a0
mov dword [esp], ebx
call fcn.0042ef50
pop eax
pop edx
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.00492290
mov eax, dword [ebp + 8]
add esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 4
call sub.msvcrt.dll__errno
sub esp, 0xc
lea ebx, [ebp - 0x20]
mov eax, dword [eax]
push eax
call sub.msvcrt.dll_strerror
add esp, 0xc
mov esi, eax
push 0xffffffffffffffff
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
add eax, 0x60
push eax
push ebx
call fcn.0042f090
add esp, 0xc
push esi
push str.Error_reading_file:__s_n
push ebx
call fcn.0042f4a0
mov dword [esp], ebx
lea ebx, [ebp - 0x4c]
call fcn.0042ef50
pop eax
mov eax, dword [ebp - 0x4060]
push eax
call sub.msvcrt.dll__close
pop edi
pop eax
push 0
mov esi, dword [ebp + 8]
push esi
call fcn.00492290
add esp, 0x10
jmp 0x413452
sub esp, 0xc
lea ebx, [ebp - 0x28]
push edi
call fcn.0044d850
mov dword [esp], eax
call fcn.0044da40
mov dword [esp], edi
mov esi, eax
call fcn.0044d900
add esp, 0xc
push eax
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
add eax, 0x60
push eax
push ebx
call fcn.0042f090
add esp, 0xc
push esi
push str.Error_parsing_XML:__s_n
jmp 0x41352d
push ecx
push 0xffffffffffffffff
mov edx, dword [ebp + 0xc]
lea ebx, [ebp - 0x30]
mov eax, dword [edx]
add eax, 0x60
push eax
push ebx
call fcn.0042f090
pop eax
pop edx
push str.No_XML_data_generated_when_parsing
push ebx
call fcn.0042f4a0
mov dword [esp], ebx
call fcn.0042ef50
add esp, 0x10
jmp 0x413431