Function at 0x4026a0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41bce0
mov eax, dword fs:[0]
push eax
sub esp, 0x91c
mov eax, dword [0x42a040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
xor eax, eax
mov dword [ebp - 0x26c], 0
xorps xmm0, xmm0
mov dword [ebp - 0x268], eax
movups xmmword [ebp - 0x24c], xmm0
mov dword [ebp - 0x23c], eax
movups xmmword [ebp - 0x234], xmm0
mov dword [ebp - 0x238], 7
movq qword [ebp - 0x264], xmm0
movups xmmword [ebp - 0x25c], xmm0
mov word [ebp - 0x24c], ax
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x220], 7
mov word [ebp - 0x234], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x21c], eax
lea eax, [ebp - 0x26c]
push eax
call fcn.0040a1c0
add esp, 4
test eax, eax
je 0x4027a8
cmp dword [ebp - 0x238], 7
lea eax, [ebp - 0x24c]
cmova eax, dword [ebp - 0x24c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4027a8
cmp dword [ebp - 0x21c], 1
mov dword [edi + 0x30], 1
jne 0x4027af
call fcn.004093e0
test eax, eax
je 0x4027af
push 0x40
push 0x422548
push 0x422554
push dword [edi + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_EndDialog]
jmp 0x402a89
mov dword [edi + 0x30], 0
cmp dword [edi + 0x30], 0
jne 0x402824
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0040fb70
lea eax, [ebp - 0x218]
push eax
call fcn.0040ad40
mov esi, dword [sym.imp.USER32.dll_SetDlgItemTextW]
lea eax, [ebp - 0x218]
add esp, 0x10
push eax
push 0x302
push dword [edi + 4]
call esi
push 0x4221ac
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push eax
push 0x305
push dword [edi + 4]
call esi
mov ecx, edi
call fcn.00402430
mov dword [edi + 0x44], 1
jmp 0x402a89
cmp dword [ebp - 0x238], 7
lea eax, [ebp - 0x24c]
mov esi, dword [sym.imp.USER32.dll_SetDlgItemTextW]
cmova eax, dword [ebp - 0x24c]
push eax
push 0x302
push dword [edi + 4]
call esi
cmp dword [ebp - 0x220], 7
lea eax, [ebp - 0x234]
cmova eax, dword [ebp - 0x234]
push eax
push 0x305
push dword [edi + 4]
call esi
cmp dword [ebp - 0x220], 7
lea eax, [ebp - 0x234]
cmova eax, dword [ebp - 0x234]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov dword [edi + 0x30], eax
test eax, eax
je 0x402a82
cmp dword [ebp - 0x220], 7
lea esi, [ebp - 0x234]
lea eax, [ebp - 0x24c]
cmova esi, dword [ebp - 0x234]
cmp dword [ebp - 0x238], 7
push esi
cmova eax, dword [ebp - 0x24c]
mov dword [ebp - 0x924], eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x402a50
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0040fb70
add esp, 0xc
lea eax, [ebp - 0x218]
push dword [ebp - 0x924]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x422160
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40297c
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x928]
mov dword [ebp - 0x924], 0
push eax
lea eax, [ebp - 0x924]
mov dword [ebp - 0x928], 0
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.00409180
mov eax, dword [ebp - 0x924]
add esp, 0x1c
shr eax, 0x10
cmp eax, 0xc
jb 0x402a50
mov dword [edi + 0x30], 1
mov ecx, edi
call fcn.00402530
mov dword [edi + 0x44], 2
jmp 0x402a89
push esi
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x42218c
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4029de
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x3bc]
push eax
call fcn.00409cd0
add esp, 8
test eax, eax
je 0x4029de
push esi
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x306]
push eax
jmp 0x4029f1
push esi
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x422178
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0x564
lea eax, [ebp - 0x920]
push 0
push eax
call fcn.0040fb70
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x402a50
lea eax, [ebp - 0x920]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.00409c40
add esp, 8
test eax, eax
je 0x402a50
mov eax, 0x7530
cmp word [ebp - 0x87a], ax
jmp 0x40295c
push 0x24
push 0x422548
push 0x422588
push dword [edi + 4]
mov dword [edi + 0x30], 0
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 7
jne 0x402969
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_EndDialog]
jmp 0x402a89
mov ecx, edi
call fcn.00402430
lea ecx, [ebp - 0x26c]
call fcn.00402ab0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040e852
mov esp, ebp
pop ebp
ret