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

Disassembly:
mov eax, 0x43a590
call fcn.00437bf0
sub esp, 0x67c
push ebx
push esi
push edi
lea eax, [ebp - 0x438]
push dword [0x4568b0]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x438]
push 0x5c
push eax
call sub.MSVCRT.dll_wcsrchr
xor ebx, ebx
pop ecx
cmp eax, ebx
pop ecx
je 0x426a2a
push str._auto_complet_
lea ecx, [ebp - 0x10]
mov word [eax], bx
call fcn.00402d79
push dword [eax]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x438]
push eax
call esi
lea ecx, [ebp - 0x10]
call fcn.00402cb3
push dword [0x465708]
lea eax, [ebp - 0x438]
push eax
call esi
push str..txt
lea ecx, [ebp - 0x10]
call fcn.00402d79
push dword [eax]
lea eax, [ebp - 0x438]
push eax
call esi
lea ecx, [ebp - 0x10]
call fcn.00402cb3
lea eax, [ebp - 0x438]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x426a2a
lea eax, [ebp - 0x688]
push eax
push ecx
lea eax, [ebp - 0x438]
mov ecx, esp
mov dword [ebp - 0x10], esp
push eax
call fcn.00402cdf
call fcn.00426799
mov eax, dword [ebp - 0x670]
pop ecx
cmp eax, dword [0x4693b8]
pop ecx
jne 0x4268aa
mov eax, dword [ebp - 0x674]
cmp eax, dword [0x4693b4]
je 0x426a2a
mov eax, dword [0x444130]
mov ecx, 0x94
lea esi, [ebp - 0x688]
mov edi, 0x4693a0
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], ebx
push eax
push ecx
lea eax, [ebp - 0x438]
mov ecx, esp
mov dword [ebp - 0x20], esp
push eax
call fcn.00402cdf
call fcn.004321e4
mov eax, dword [0x444130]
pop ecx
pop ecx
mov dword [ebp - 0x14], eax
mov ecx, 0x470070
mov byte [ebp - 4], 1
mov dword [ebp - 0x28], ebx
call fcn.0042c0f2
mov ecx, 0x470050
call fcn.0042c2cf
mov edi, 0x470040
mov ecx, edi
call fcn.0042c2cf
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x14]
push 1
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0041a9a3
add esp, 0x10
test eax, eax
je 0x426a09
push 0x4561e8
push 0x4442f4
lea ecx, [ebp - 0x14]
call fcn.0040348c
push ebx
push 0x4454b8
lea ecx, [ebp - 0x14]
call fcn.004030c9
mov esi, eax
cmp esi, 0xffffffff
je 0x426913
lea eax, [ebp - 0x18]
push esi
push eax
lea ecx, [ebp - 0x14]
call fcn.0040e5d1
inc esi
lea eax, [ebp - 0x20]
push esi
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.0040e505
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 3
cmp dword [eax - 8], 1
jle 0x4269ec
lea eax, [ebp - 0x20]
mov ecx, 0x470070
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0042b280
mov ecx, eax
call fcn.00402e92
push ebx
lea ecx, [ebp - 0x18]
call fcn.00403003
mov esi, eax
mov ecx, 0x470050
mov word [ebp - 0xe], bx
mov ax, word [esi]
mov word [ebp - 0x10], ax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.0042c215
mov eax, dword [eax]
mov ecx, edi
mov word [ebp - 0x22], bx
inc word [eax + 0xe]
mov ax, word [esi + 2]
mov word [ebp - 0x24], ax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.0042c215
mov eax, dword [eax]
inc word [eax + 0xe]
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
call fcn.00402cb3
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.00402cb3
jmp 0x426913
mov esi, dword [0x47007c]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.00402cb3
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00402cb3
mov eax, esi
jmp 0x426a2c
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret