Function at 0x456b5a
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0x2c
mov eax, 0x5f1797
call fcn.005bb14d
mov dword [ebp - 0x20], ecx
and dword [ebp - 0x1c], 0
lea eax, [ebp - 0x38]
push 0x65
push 0xb
push str.Setting.cpp
push eax
call fcn.00408f4f
add esp, 0x10
mov dword [ebp - 4], 1
call fcn.004887ac
push eax
lea ecx, [ebp - 0x18]
call fcn.0040654d
mov byte [ebp - 4], 3
call fcn.004887ac
push eax
lea ecx, [ebp - 0x14]
call fcn.0040654d
mov byte [ebp - 4], 5
call fcn.004887ac
push eax
lea ecx, [ebp - 0x10]
call fcn.0040654d
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x20]
mov edi, dword [ebp + 0xc]
lea esi, [ecx + 0x1a8]
mov eax, dword [esi]
mov eax, dword [eax - 0xc]
test eax, eax
je 0x456c1c
test edi, edi
jne 0x456c1c
mov ebx, dword [ebp + 0x14]
test ebx, ebx
jne 0x456c47
mov ecx, dword [ebp + 8]
push esi
call fcn.00408eaa
mov dword [ebp - 0x1c], 1
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00406e44
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00406e44
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
jmp 0x456dbd
mov ebx, dword [ebp + 0x14]
test ebx, ebx
jne 0x456c47
test eax, eax
je 0x456c47
lea eax, [ecx + 0x1a4]
push eax
lea ecx, [ebp - 0x14]
call fcn.004067de
push esi
lea ecx, [ebp - 0x10]
call fcn.004067de
mov esi, dword [ebp - 0x14]
jmp 0x456d00
push ebx
push dword [ebp + 0x10]
lea eax, [ebp + 0x14]
push eax
call fcn.004569d7
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x14]
push eax
call fcn.004067de
mov byte [ebp - 4], 7
mov ecx, dword [ebp + 0x14]
lea ecx, [ecx - 0x10]
call fcn.00406e44
mov esi, dword [ebp - 0x14]
cmp dword [esi - 0xc], 0
jne 0x456cad
mov ecx, dword [ebp + 8]
push 0x60bba8
call fcn.00408edd
mov dword [ebp - 0x1c], 1
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00406e44
mov byte [ebp - 4], 3
lea ecx, [esi - 0x10]
call fcn.00406e44
jmp 0x456c0d
push 0x60c688
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp + 0xc]
push eax
call fcn.00406880
mov byte [ebp - 4], 0x10
push str.MacheteLiteSettings.xml
push eax
lea eax, [ebp + 0x14]
push eax
call fcn.00406880
add esp, 0x18
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x10]
push eax
call fcn.004067de
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp + 0x14]
lea ecx, [ecx - 0x10]
call fcn.00406e44
mov byte [ebp - 4], 7
mov ecx, dword [ebp + 0xc]
lea ecx, [ecx - 0x10]
call fcn.00406e44
test edi, edi
je 0x456d6f
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x456d14
test al, 0x10
jne 0x456d6f
lea eax, [ebp + 0x14]
push esi
push eax
call fcn.0044758d
pop ecx
pop ecx
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x18]
push eax
call fcn.004067de
mov byte [ebp - 4], 7
mov ecx, dword [ebp + 0x14]
lea ecx, [ecx - 0x10]
call fcn.00406e44
mov edi, dword [ebp - 0x18]
cmp dword [edi - 0xc], 0
je 0x456d72
mov eax, dword [0x699020]
push edi
add eax, 0x11c
push 0
push eax
call fcn.0040e1c4
add esp, 0xc
cmp dword [ebp + 0x10], 0
je 0x456d72
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 0x18]
push eax
call fcn.004067de
jmp 0x456d72
mov edi, dword [ebp - 0x18]
test ebx, ebx
jne 0x456d88
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x10]
push eax
lea ecx, [ecx + 0x1a8]
call fcn.004067de
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.00408eaa
mov dword [ebp - 0x1c], 1
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00406e44
mov byte [ebp - 4], 3
lea ecx, [esi - 0x10]
call fcn.00406e44
mov byte [ebp - 4], 1
lea ecx, [edi - 0x10]
call fcn.00406e44
mov byte [ebp - 4], 0
mov eax, dword [ebp + 8]
call fcn.005bb116
ret 0x10