Function at 0x428fff
Capabilities:
Check if file exists

Disassembly:
push 0x10
mov eax, 0x56835e
call fcn.0053da10
mov dword [ebp - 4], 3
mov eax, dword [ebp + 8]
xor ebx, ebx
cmp dword [eax - 0xc], ebx
je 0x429250
mov ecx, dword [ebp + 0xc]
cmp dword [ecx - 0xc], ebx
je 0x429250
mov ecx, dword [ebp + 0x10]
cmp dword [ecx - 0xc], ebx
je 0x429250
mov ecx, dword [ebp + 0x14]
cmp dword [ecx - 0xc], ebx
je 0x429250
xor esi, esi
inc esi
push esi
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp + 8]
call fcn.0040f0c6
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push 0x5c
pop edi
cmp ecx, esi
jne 0x42907a
cmp ecx, ebx
jge 0x42906e
push 0x80070057
call fcn.00402708
movzx eax, word [eax]
cmp ax, di
jne 0x42907a
xor bl, bl
jmp 0x42907c
mov bl, 1
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.00402722
test bl, bl
je 0x429094
push edi
lea ecx, [ebp + 8]
call fcn.004171f0
push esi
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp + 0xc]
call fcn.0040f0c6
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
cmp ecx, esi
jne 0x4290ba
test ecx, ecx
js 0x429064
movzx eax, word [eax]
cmp ax, di
jne 0x4290ba
xor bl, bl
jmp 0x4290bc
mov bl, 1
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.00402722
test bl, bl
je 0x4290d4
push edi
lea ecx, [ebp + 0xc]
call fcn.004171f0
and dword [ebp - 0x18], 0
call fcn.00438647
push eax
lea ecx, [ebp - 0x14]
call fcn.0042a80d
mov esi, str.AppInfo1
push esi
mov byte [ebp - 4], 4
push dword [ebp + 0x14]
mov ebx, 0x59ddfc
push dword [ebp + 0xc]
lea eax, [ebp - 0x14]
push ebx
push eax
call fcn.0040a7c3
mov edi, dword [ebp - 0x14]
add esp, 0x14
push edi
call fcn.00437d6e
pop ecx
test eax, eax
jne 0x42911d
call fcn.00437d2a
jmp 0x429120
xor eax, eax
inc eax
test eax, eax
jne 0x429137
lea ecx, [edi - 0x10]
call fcn.00402722
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
jmp 0x429253
call fcn.00438647
push eax
lea ecx, [ebp - 0x10]
call fcn.0042a80d
push esi
mov byte [ebp - 4], 5
push dword [ebp + 0x10]
mov edi, 0x59de0c
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push edi
push eax
call fcn.0040a7c3
mov edx, dword [ebp + 0x18]
add esp, 0x14
lea ecx, [ebp - 0x10]
call fcn.0042990b
test eax, eax
je 0x42918b
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00435dcc
pop ecx
pop ecx
test eax, eax
je 0x42918b
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.0040a7c3
add esp, 0x14
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x429209
push esi
push dword [ebp + 0x14]
lea eax, [ebp - 0x14]
push dword [ebp + 0xc]
push ebx
push eax
call fcn.0040a7c3
add esp, 0x14
push dword [ebp - 0x14]
call fcn.00437d6e
pop ecx
test eax, eax
jne 0x4291d9
call fcn.00437d2a
jmp 0x4291dc
xor eax, eax
inc eax
test eax, eax
je 0x429209
mov edx, dword [ebp + 0x18]
lea ecx, [ebp - 0x10]
call fcn.0042990b
test eax, eax
je 0x429209
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00435dcc
pop ecx
pop ecx
test eax, eax
je 0x429209
mov dword [ebp - 0x18], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00402722
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00402722
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00402722
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.00402722
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
call fcn.00402722
mov ecx, dword [ebp + 0x14]
add ecx, 0xfffffff0
call fcn.00402722
mov eax, dword [ebp - 0x18]
jmp 0x42927b
lea ecx, [eax - 0x10]
call fcn.00402722
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.00402722
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
call fcn.00402722
mov ecx, dword [ebp + 0x14]
add ecx, 0xfffffff0
call fcn.00402722
xor eax, eax
call fcn.0053dae8
ret