Function at 0x41dee0
Capabilities:
Check if file exists

Disassembly:
push 0x10
mov eax, 0x556d1c
call fcn.0052fa89
mov dword [ebp - 4], 3
mov eax, dword [ebp + 8]
xor ebx, ebx
cmp dword [eax - 0xc], ebx
je 0x41e131
mov ecx, dword [ebp + 0xc]
cmp dword [ecx - 0xc], ebx
je 0x41e131
mov ecx, dword [ebp + 0x10]
cmp dword [ecx - 0xc], ebx
je 0x41e131
mov ecx, dword [ebp + 0x14]
cmp dword [ecx - 0xc], ebx
je 0x41e131
xor esi, esi
inc esi
push esi
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp + 8]
call fcn.00406fff
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push 0x5c
pop edi
cmp ecx, esi
jne 0x41df5b
cmp ecx, ebx
jge 0x41df4f
push 0x80070057
call fcn.00402165
movzx eax, word [eax]
cmp ax, di
jne 0x41df5b
xor bl, bl
jmp 0x41df5d
mov bl, 1
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.004021a7
test bl, bl
je 0x41df75
push edi
lea ecx, [ebp + 8]
call fcn.0040d76d
push esi
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp + 0xc]
call fcn.00406fff
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
cmp ecx, esi
jne 0x41df9b
test ecx, ecx
js 0x41df45
movzx eax, word [eax]
cmp ax, di
jne 0x41df9b
xor bl, bl
jmp 0x41df9d
mov bl, 1
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.004021a7
test bl, bl
je 0x41dfb5
push edi
lea ecx, [ebp + 0xc]
call fcn.0040d76d
and dword [ebp - 0x18], 0
call fcn.0042b589
push eax
lea ecx, [ebp - 0x14]
call fcn.0040217f
mov esi, 0x58b788
push esi
mov byte [ebp - 4], 4
push dword [ebp + 0x14]
mov ebx, 0x58b79c
push dword [ebp + 0xc]
lea eax, [ebp - 0x14]
push ebx
push eax
call fcn.004034f1
mov edi, dword [ebp - 0x14]
add esp, 0x14
push edi
call fcn.0042adb1
pop ecx
test eax, eax
jne 0x41dffe
call fcn.0042ad6d
jmp 0x41e001
xor eax, eax
inc eax
test eax, eax
jne 0x41e018
lea ecx, [edi - 0x10]
call fcn.004021a7
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
jmp 0x41e134
call fcn.0042b589
push eax
lea ecx, [ebp - 0x10]
call fcn.0040217f
push esi
mov byte [ebp - 4], 5
push dword [ebp + 0x10]
mov edi, 0x58b7ac
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push edi
push eax
call fcn.004034f1
mov edx, dword [ebp + 0x18]
add esp, 0x14
lea ecx, [ebp - 0x10]
call fcn.0041e7ec
test eax, eax
je 0x41e06c
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00429054
pop ecx
pop ecx
test eax, eax
je 0x41e06c
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.004034f1
add esp, 0x14
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41e0ea
push esi
push dword [ebp + 0x14]
lea eax, [ebp - 0x14]
push dword [ebp + 0xc]
push ebx
push eax
call fcn.004034f1
add esp, 0x14
push dword [ebp - 0x14]
call fcn.0042adb1
pop ecx
test eax, eax
jne 0x41e0ba
call fcn.0042ad6d
jmp 0x41e0bd
xor eax, eax
inc eax
test eax, eax
je 0x41e0ea
mov edx, dword [ebp + 0x18]
lea ecx, [ebp - 0x10]
call fcn.0041e7ec
test eax, eax
je 0x41e0ea
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00429054
pop ecx
pop ecx
test eax, eax
je 0x41e0ea
mov dword [ebp - 0x18], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004021a7
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.004021a7
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.004021a7
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.004021a7
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
call fcn.004021a7
mov ecx, dword [ebp + 0x14]
add ecx, 0xfffffff0
call fcn.004021a7
mov eax, dword [ebp - 0x18]
jmp 0x41e15c
lea ecx, [eax - 0x10]
call fcn.004021a7
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.004021a7
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
call fcn.004021a7
mov ecx, dword [ebp + 0x14]
add ecx, 0xfffffff0
call fcn.004021a7
xor eax, eax
call fcn.0052fb61
ret