Function at 0x48352b
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x40
mov eax, dword [0xbcbae0]
mov ebx, ecx
xor eax, ebp
mov dword [esp + 0x38], eax
call fcn.0047d814
cmp byte [eax], 0
jne 0x48355d
push str.Configuration_file_unspecified_n
call fcn.00447b08
jmp 0x483879
mov ecx, eax
mov edi, eax
call fcn.00483c0e
cmp eax, 0xffffffff
jne 0x4835ce
call fcn.00977880
cmp eax, 2
jne 0x483588
push edi
push str.No_configuration_file_found__s_n
call fcn.00447b08
add esp, 8
jmp 0x48387c
call fcn.004a9e8d
test eax, eax
jne 0x4837db
xor ebx, ebx
push 0xb71df0
push ebx
call fcn.004a9ec4
add esp, 8
call fcn.00977870
mov esi, eax
call fcn.00977460
push esi
push eax
push edi
push str.Error_opening_configuration_file__s__syserr__d__s__n
call fcn.0044a156
add esp, 0x10
push 0xb71e28
push ebx
call fcn.004a9ec4
jmp 0x483580
lea esi, [esp + 0x10]
push esi
mov dword [esp + 8], eax
push eax
call fcn.0097ba40
add esp, 8
test eax, eax
je 0x483624
call fcn.004a9e8d
test eax, eax
jne 0x48381f
xor esi, esi
push 0xb71e2a
push esi
call fcn.004a9ec4
add esp, 8
call fcn.00977870
mov ebx, eax
call fcn.00977460
push ebx
push eax
push edi
push str.Error_accessing_configuration_file__s__syserr__d__s__n
call fcn.0044a156
add esp, 0x10
push 0xb71e64
jmp 0x48366d
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x28]
push esi
call fcn.0049c064
add esp, 4
cmp ebx, 0x100001
jb 0x483675
call fcn.004a9e8d
test eax, eax
jne 0x4837fc
xor esi, esi
push 0xb71e66
push esi
call fcn.004a9ec4
add esp, 8
push edi
push str.Too_big_configuration_file__s_n
call fcn.0044a156
add esp, 8
push 0xb71e89
push esi
call fcn.004a9ec4
jmp 0x483684
test ebx, ebx
jne 0x48368c
push edi
push str.Empty_configuration_file__s_n
call fcn.0044a156
add esp, 8
jmp 0x48383b
lea eax, [ebx + 1]
push eax
call fcn.004eafd7
add esp, 4
test eax, eax
mov dword [esp + 8], eax
jne 0x4836d2
call fcn.004a9e8d
test eax, eax
jne 0x483807
xor esi, esi
push 0xb71eaa
push esi
call fcn.004a9ec4
add esp, 8
push edi
push str.Low_memory_reading_configuration_file__s_n
call fcn.0044a156
add esp, 8
push 0xb71ed8
jmp 0x48366d
push ebx
push dword [esp + 0xc]
push dword [esp + 0xc]
call fcn.0097bb40
add esp, 0xc
test eax, eax
js 0x4836eb
cmp eax, ebx
je 0x48372e
call fcn.004a9e8d
test eax, eax
jne 0x483847
xor esi, esi
push 0xb71eda
push esi
call fcn.004a9ec4
add esp, 8
call fcn.00977870
mov ebx, eax
call fcn.00977460
push ebx
push eax
push edi
push str.Error_reading_configuration_file__s__syserr__d__s__n
call fcn.0044a156
add esp, 0x10
push 0xb71f12
jmp 0x4837cd
mov eax, dword [esp + 8]
cmp ebx, 2
mov byte [eax + ebx], 0
jb 0x483753
mov eax, dword [esp + 8]
mov al, byte [eax]
cmp al, 0xfe
je 0x483797
cmp al, 0xff
jne 0x483753
mov eax, dword [esp + 8]
cmp byte [eax + 1], 0xfe
je 0x4837a1
mov esi, dword [esp + 8]
mov edx, ebx
mov ecx, esi
push edi
push 2
call fcn.004807ec
add esp, 8
push edi
push str.Reading_configuration_file__s_n
call fcn.00447b08
add esp, 8
mov ecx, esi
mov edx, ebx
push edi
push dword [esp + 0x10]
call fcn.004807ec
add esp, 8
push dword [esp + 4]
call fcn.0097a0b0
add esp, 4
push esi
jmp 0x483874
mov eax, dword [esp + 8]
cmp byte [eax + 1], 0xff
jne 0x483753
call fcn.004a9e8d
test eax, eax
jne 0x483812
xor esi, esi
push 0xb71f14
push esi
call fcn.004a9ec4
add esp, 8
push edi
push str.Invalid_configuration_file__s__it_looks_like_UTF16_n
call fcn.0044a156
add esp, 8
push 0xb71f4c
push esi
call fcn.004a9ec4
add esp, 8
jmp 0x483863
call fcn.00977870
mov esi, eax
call fcn.00977460
push esi
push eax
push edi
push str.Error_opening_configuration_file__s__syserr__d__s__n
call fcn.0044a156
add esp, 0x10
jmp 0x48387c
push edi
push str.Too_big_configuration_file__s_n
jmp 0x48367f
push edi
push str.Low_memory_reading_configuration_file__s_n
jmp 0x48367f
push edi
push str.Invalid_configuration_file__s__it_looks_like_UTF16_n
call fcn.0044a156
jmp 0x4837d3
call fcn.00977870
mov ebx, eax
call fcn.00977460
push ebx
push eax
push edi
push str.Error_accessing_configuration_file__s__syserr__d__s__n
call fcn.0044a156
add esp, 0x10
mov eax, dword [esp + 4]
push eax
call fcn.0097a0b0
jmp 0x483879
call fcn.00977870
mov ebx, eax
call fcn.00977460
push ebx
push eax
push edi
push str.Error_reading_configuration_file__s__syserr__d__s__n
call fcn.0044a156
add esp, 0x10
mov eax, dword [esp + 4]
push eax
call fcn.0097a0b0
add esp, 4
push dword [esp + 8]
call fcn.004eb998
add esp, 4
mov ecx, dword [esp + 0x38]
xor ecx, ebp
call fcn.00980459
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret