Function at 0x4290d8
Capabilities:
Check if file exists

Disassembly:
push 0x10
mov eax, 0x567ef7
call fcn.0053d6e0
mov dword [ebp - 4], 3
mov eax, dword [ebp + 8]
xor ebx, ebx
cmp dword [eax - 0xc], ebx
je 0x429329
mov ecx, dword [ebp + 0xc]
cmp dword [ecx - 0xc], ebx
je 0x429329
mov ecx, dword [ebp + 0x10]
cmp dword [ecx - 0xc], ebx
je 0x429329
mov ecx, dword [ebp + 0x14]
cmp dword [ecx - 0xc], ebx
je 0x429329
xor esi, esi
inc esi
push esi
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp + 8]
call fcn.0040f28d
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push 0x5c
pop edi
cmp ecx, esi
jne 0x429153
cmp ecx, ebx
jge 0x429147
push 0x80070057
call fcn.00402a0e
movzx eax, word [eax]
cmp ax, di
jne 0x429153
xor bl, bl
jmp 0x429155
mov bl, 1
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.00402a50
test bl, bl
je 0x42916d
push edi
lea ecx, [ebp + 8]
call fcn.004173fa
push esi
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp + 0xc]
call fcn.0040f28d
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
cmp ecx, esi
jne 0x429193
test ecx, ecx
js 0x42913d
movzx eax, word [eax]
cmp ax, di
jne 0x429193
xor bl, bl
jmp 0x429195
mov bl, 1
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.00402a50
test bl, bl
je 0x4291ad
push edi
lea ecx, [ebp + 0xc]
call fcn.004173fa
and dword [ebp - 0x18], 0
call fcn.00438329
push eax
lea ecx, [ebp - 0x14]
call fcn.00402a28
mov esi, str.AppInfo1
push esi
mov byte [ebp - 4], 4
push dword [ebp + 0x14]
mov ebx, 0x59dedc
push dword [ebp + 0xc]
lea eax, [ebp - 0x14]
push ebx
push eax
call fcn.0040ab0a
mov edi, dword [ebp - 0x14]
add esp, 0x14
push edi
call fcn.00437a4e
pop ecx
test eax, eax
jne 0x4291f6
call fcn.00437a0a
jmp 0x4291f9
xor eax, eax
inc eax
test eax, eax
jne 0x429210
lea ecx, [edi - 0x10]
call fcn.00402a50
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
jmp 0x42932c
call fcn.00438329
push eax
lea ecx, [ebp - 0x10]
call fcn.00402a28
push esi
mov byte [ebp - 4], 5
push dword [ebp + 0x10]
mov edi, 0x59deec
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push edi
push eax
call fcn.0040ab0a
mov edx, dword [ebp + 0x18]
add esp, 0x14
lea ecx, [ebp - 0x10]
call fcn.004299e4
test eax, eax
je 0x429264
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00435aac
pop ecx
pop ecx
test eax, eax
je 0x429264
mov dword [ebp - 0x18], 1
mov esi, str.actions
push esi
push dword [ebp + 0x10]
lea eax, [ebp - 0x10]
push dword [ebp + 8]
push edi
push eax
call fcn.0040ab0a
add esp, 0x14
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4292e2
push esi
push dword [ebp + 0x14]
lea eax, [ebp - 0x14]
push dword [ebp + 0xc]
push ebx
push eax
call fcn.0040ab0a
add esp, 0x14
push dword [ebp - 0x14]
call fcn.00437a4e
pop ecx
test eax, eax
jne 0x4292b2
call fcn.00437a0a
jmp 0x4292b5
xor eax, eax
inc eax
test eax, eax
je 0x4292e2
mov edx, dword [ebp + 0x18]
lea ecx, [ebp - 0x10]
call fcn.004299e4
test eax, eax
je 0x4292e2
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00435aac
pop ecx
pop ecx
test eax, eax
je 0x4292e2
mov dword [ebp - 0x18], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00402a50
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00402a50
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00402a50
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.00402a50
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
call fcn.00402a50
mov ecx, dword [ebp + 0x14]
add ecx, 0xfffffff0
call fcn.00402a50
mov eax, dword [ebp - 0x18]
jmp 0x429354
lea ecx, [eax - 0x10]
call fcn.00402a50
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.00402a50
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
call fcn.00402a50
mov ecx, dword [ebp + 0x14]
add ecx, 0xfffffff0
call fcn.00402a50
xor eax, eax
call fcn.0053d7b8
ret