Function at 0x41bfa9
Capabilities:
Check if file exists

Disassembly:
push 0x10
mov eax, 0x46cc23
call fcn.0045178e
mov dword [ebp - 4], 3
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0xc]
xor edi, edi
cmp ecx, edi
je 0x41c1c8
mov ecx, dword [ebp + 0xc]
cmp dword [ecx - 0xc], edi
je 0x41c1c8
mov ecx, dword [ebp + 0x10]
cmp dword [ecx - 0xc], edi
je 0x41c1c8
mov ecx, dword [ebp + 0x14]
cmp dword [ecx - 0xc], edi
je 0x41c1c8
push 1
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp + 8]
call fcn.0040692c
call fcn.0040b9c1
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
mov bl, al
call fcn.0040285d
test bl, bl
je 0x41c01e
push 0x5c
lea ecx, [ebp + 8]
call fcn.0040babd
push 1
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp + 0xc]
call fcn.0040692c
call fcn.0040b9c1
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
mov bl, al
call fcn.0040285d
test bl, bl
je 0x41c04c
push 0x5c
lea ecx, [ebp + 0xc]
call fcn.0040babd
mov dword [ebp - 0x18], edi
call fcn.0042a8d7
push eax
lea ecx, [ebp - 0x14]
call fcn.00402773
mov esi, 0x47ad70
push esi
mov byte [ebp - 4], 4
push dword [ebp + 0x14]
lea eax, [ebp - 0x14]
push dword [ebp + 0xc]
push 0x47ad84
push eax
call fcn.0040314f
mov ebx, dword [ebp - 0x14]
add esp, 0x14
push ebx
call fcn.00429ea3
pop ecx
test eax, eax
jne 0x41c093
call fcn.00429e5f
jmp 0x41c096
xor eax, eax
inc eax
cmp eax, edi
jne 0x41c0ad
lea ecx, [ebx - 0x10]
call fcn.0040285d
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
jmp 0x41c1cb
call fcn.0042a8d7
push eax
lea ecx, [ebp - 0x10]
call fcn.00402773
push esi
mov byte [ebp - 4], 5
push dword [ebp + 0x10]
mov ebx, 0x47ad94
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push ebx
push eax
call fcn.0040314f
mov ecx, dword [ebp + 0x18]
add esp, 0x14
lea edi, [ebp - 0x10]
call fcn.0041c6df
test eax, eax
je 0x41c100
lea eax, [ebp - 0x14]
push eax
mov eax, edi
push eax
call fcn.00427f24
pop ecx
pop ecx
test eax, eax
je 0x41c100
mov dword [ebp - 0x18], 1
mov esi, str.actions
push esi
push dword [ebp + 0x10]
lea eax, [ebp - 0x10]
push dword [ebp + 8]
push ebx
push eax
call fcn.0040314f
add esp, 0x14
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41c181
push esi
push dword [ebp + 0x14]
lea eax, [ebp - 0x14]
push dword [ebp + 0xc]
push 0x47ad84
push eax
call fcn.0040314f
add esp, 0x14
push dword [ebp - 0x14]
call fcn.00429ea3
pop ecx
test eax, eax
jne 0x41c152
call fcn.00429e5f
jmp 0x41c155
xor eax, eax
inc eax
test eax, eax
je 0x41c181
mov ecx, dword [ebp + 0x18]
lea edi, [ebp - 0x10]
call fcn.0041c6df
test eax, eax
je 0x41c181
lea eax, [ebp - 0x14]
push eax
mov eax, edi
push eax
call fcn.00427f24
pop ecx
pop ecx
test eax, eax
je 0x41c181
mov dword [ebp - 0x18], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040285d
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0040285d
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0040285d
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.0040285d
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
call fcn.0040285d
mov ecx, dword [ebp + 0x14]
add ecx, 0xfffffff0
call fcn.0040285d
mov eax, dword [ebp - 0x18]
jmp 0x41c1f3
lea ecx, [eax - 0x10]
call fcn.0040285d
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.0040285d
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
call fcn.0040285d
mov ecx, dword [ebp + 0x14]
add ecx, 0xfffffff0
call fcn.0040285d
xor eax, eax
call fcn.00451866
ret