Function at 0x43d6a0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov eax, 0x405c
mov ebp, esp
push edi
push esi
push ebx
call fcn.004be3f0
sub esp, eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], 0x8000
mov eax, dword [eax]
mov eax, dword [eax + 0x50]
mov dword [esp], eax
call sub.msvcrt.dll__open
test eax, eax
mov edi, eax
js 0x43d975
mov dword [esp + 4], 1
lea ebx, [ebp - 0x4018]
mov dword [esp], 0
call fcn.0048ff80
lea ecx, [ebp - 0x403c]
mov esi, eax
call fcn.0047c950
lea ecx, [ebp - 0x4030]
mov dword [esp + 4], 0
mov dword [esp], 4
mov dword [ebp - 0x4034], 0
call fcn.00480770
lea ecx, [ebp - 0x401c]
mov dword [ebp - 0x4030], 0x581208
sub esp, 8
call fcn.0047dad0
mov eax, dword [ebp + 0xc]
mov ecx, ebx
mov eax, dword [eax]
mov dword [esp], eax
call fcn.004028d0
lea ecx, [ebp - 0x403c]
sub esp, 4
mov dword [esp], ebx
call fcn.0047cbb0
mov ecx, ebx
sub esp, 4
call fcn.0047cb20
lea eax, [ebp - 0x403c]
mov dword [esp + 4], eax
mov dword [esp], esi
mov dword [ebp - 0x4038], esi
call fcn.00490750
mov dword [esp + 8], 0x43e700
mov dword [esp + 4], 0x440690
mov dword [esp], esi
call fcn.00490830
mov dword [esp + 8], 0x43c010
mov dword [esp + 4], 0x440590
mov dword [esp], esi
call fcn.00490a30
mov dword [esp + 4], 0x440840
mov dword [esp], esi
call fcn.00490890
mov dword [esp + 4], 0x43bdc0
mov dword [esp], esi
call fcn.004908d0
jmp 0x43d803
movzx ecx, dl
mov dword [esp + 0xc], ecx
mov dword [esp + 8], eax
mov dword [esp + 4], ebx
mov dword [esp], esi
mov dword [ebp - 0x404c], edx
call fcn.00490f90
mov edx, dword [ebp - 0x404c]
test eax, eax
je 0x43d8e0
test dl, dl
jne 0x43d934
mov dword [esp + 8], 0x4000
mov dword [esp + 4], ebx
mov dword [esp], edi
call sub.msvcrt.dll__read
cmp eax, 0x3fff
setle dl
test eax, eax
jns 0x43d7d0
call dword [sym.imp.msvcrt.dll__errno]
lea ebx, [ebp - 0x4044]
mov eax, dword [eax]
mov dword [esp], eax
call sub.msvcrt.dll_strerror
mov ecx, ebx
mov dword [esp + 4], 0xffffffff
mov esi, eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
add eax, 0x50
mov dword [esp], eax
call fcn.00439bc0
sub esp, 8
mov dword [esp + 8], esi
mov dword [esp + 4], str.Error_reading_file:__s_n
mov dword [esp], ebx
call fcn.00439e20
mov ecx, ebx
call fcn.00439c50
mov dword [esp], edi
call sub.msvcrt.dll__close
mov eax, dword [ebp + 8]
mov dword [eax], 0
lea ecx, [ebp - 0x401c]
call fcn.0047dc10
lea ecx, [ebp - 0x4030]
mov dword [ebp - 0x4030], 0x581208
call fcn.00480930
lea ecx, [ebp - 0x4030]
call fcn.004806e0
mov ecx, dword [ebp - 0x4034]
test ecx, ecx
je 0x43d8ca
lea eax, [ebp - 0x4034]
mov dword [esp], eax
call fcn.0047c500
sub esp, 4
lea ecx, [ebp - 0x403c]
call fcn.0047cb20
mov eax, dword [ebp + 8]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], esi
lea ebx, [ebp - 0x4044]
call fcn.00491330
mov dword [esp], eax
call fcn.004915c0
mov dword [esp], esi
mov dword [ebp - 0x404c], eax
call fcn.00491400
mov ecx, ebx
mov dword [esp + 4], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
add eax, 0x50
mov dword [esp], eax
call fcn.00439bc0
mov edx, dword [ebp - 0x404c]
sub esp, 8
mov dword [esp + 8], edx
mov dword [esp + 4], str.Error_parsing_XML:__s_n
jmp 0x43d864
mov dword [esp], esi
call fcn.0048f920
mov eax, dword [ebp - 0x4034]
test eax, eax
je 0x43d9d9
mov dword [esp], edi
call sub.msvcrt.dll__close
mov ecx, dword [ebp - 0x4034]
mov eax, dword [ebp + 8]
test ecx, ecx
mov dword [eax], ecx
je 0x43d884
mov dword [esp], eax
call fcn.0047c390
sub esp, 4
jmp 0x43d884
call dword [sym.imp.msvcrt.dll__errno]
lea ebx, [ebp - 0x4018]
mov eax, dword [eax]
mov dword [esp], eax
call sub.msvcrt.dll_strerror
mov ecx, ebx
mov dword [esp + 4], 0xffffffff
mov esi, eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
add eax, 0x50
mov dword [esp], eax
call fcn.00439bc0
sub esp, 8
mov dword [esp + 8], esi
mov dword [esp], ebx
mov dword [esp + 4], str.Unable_to_open_file_for_read:__s
call fcn.00439e20
mov ecx, ebx
call fcn.00439c50
mov eax, dword [ebp + 8]
mov dword [eax], 0
mov eax, dword [ebp + 8]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp + 0xc]
lea ebx, [ebp - 0x4044]
mov dword [esp + 4], 0xffffffff
mov ecx, ebx
mov eax, dword [eax]
add eax, 0x50
mov dword [esp], eax
call fcn.00439bc0
sub esp, 8
mov dword [esp + 4], str.No_XML_data_generated_when_parsing
mov dword [esp], ebx
call fcn.00439e20
mov ecx, ebx
call fcn.00439c50
jmp 0x43d94a