Function at 0x454e90
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffff718
push ebx
push esi
push edi
mov byte [ebp - 0x1449], dl
mov ebx, eax
mov esi, 0x4c3188
mov eax, 0x4b1978
call fcn.004a0204
cmp byte [esi + 0x2a90], 0
je 0x454ed9
mov word [esi + 0x4b00], 0
lea eax, [esi + 0x4700]
mov dl, 1
call fcn.0040cfb4
cmp byte [esi + 0x32ac], 0
jne 0x454f15
call fcn.00418478
mov edi, eax
mov eax, 0x4b1568
cmp edi, 1
mov edx, 0x4b1570
setg cl
and ecx, 1
call fcn.00463dec
test eax, eax
je 0x454f0d
mov dword [esi + 0x32a8], edi
jmp 0x454f15
xor eax, eax
mov dword [esi + 0x32a8], eax
cmp dword [0x4d27d8], 1
jne 0x454fc7
cmp byte [esi + 0x410], 0
je 0x454fc7
mov edx, 0x4b1574
lea eax, [esi + 0x4700]
call fcn.0040c948
test al, al
jne 0x454fc7
mov edx, 0x4b1578
lea eax, [esi + 0x4700]
call fcn.0040c948
test al, al
jne 0x454fc7
mov edx, 0x4b157c
lea eax, [esi + 0x4700]
call fcn.0040c948
test al, al
jne 0x454fb1
mov edx, 0x4b1580
lea eax, [esi + 0x4700]
call fcn.0040c948
test al, al
jne 0x454fb1
push 0x4b1584
lea edx, [esi + 0x4700]
push edx
call fcn.0049fcf8
add esp, 8
cmp word [esi + 0x4b00], 0
je 0x454fb1
mov edx, str..ext
lea eax, [esi + 0x4b00]
call fcn.004114bc
lea eax, [esi + 0x4700]
call fcn.0040c8c8
lea eax, [esi + 0x4b00]
call fcn.0040c8d4
cmp dword [esi + 0x28d4], 0
jne 0x454fd7
cmp dword [esi + 0x28d0], 0
je 0x45503d
cmp dword [esi + 0x28d4], 0x80000000
jne 0x45501c
cmp dword [esi + 0x28d0], 0
jne 0x45501c
cmp byte [esi + 0x2901], 0
jne 0x45501c
lea edx, [esi + 0x4700]
push edx
call sub.KERNEL32.DLL_GetFileAttributesA
cmp eax, 0xffffffff
je 0x45501c
mov dword [esi + 0x28d0], 0
mov dword [esi + 0x28d4], 0
test byte [0x4cad54], 0x18
je 0x45503d
cmp dword [esi + 0x28b8], 0
je 0x45503d
mov ecx, dword [0x4cad54]
and ecx, 0x18
or dword [esi + 0x28b8], ecx
cmp dword [0x4d27d8], 1
jne 0x45504c
cmp byte [esi + 0x10], 0
jne 0x45505c
lea ecx, [esi + 0x10]
lea edx, [esi + 0x4700]
mov eax, ebx
call fcn.00455684
cmp byte [esi + 0x2908], 0
je 0x45508a
cmp dword [esi + 0x32b0], 0
je 0x45508a
lea edx, [esi + 0x2909]
lea eax, [esi + 0x4700]
xor ecx, ecx
call fcn.0040d718
mov word [esi + 0x4b00], 0
lea edx, [esi + 0x4b00]
lea eax, [esi + 0x4700]
call fcn.0040a918
test al, al
je 0x45515f
cmp dword [0x4d27d4], 0
je 0x4550b3
mov byte [ebx + 0x1c3e], 1
push 1
push 0
lea ecx, [esi + 0x4b00]
lea edx, [esi + 0x4700]
mov eax, ebx
call fcn.00457674
dec eax
jne 0x45515f
lea edx, [ebp - 0x14e8]
mov eax, ebx
call fcn.00458d98
cmp dword [ebp - 0x14d8], 0
je 0x455127
cmp dword [ebp - 0x14d8], 1
je 0x455127
push 0x30
mov eax, 0x65
call fcn.00413388
push eax
mov eax, 0x1fd
call fcn.00413388
push eax
push dword [0x4cfe34]
call sub.USER32.DLL_MessageBoxA
mov edx, dword [ebp - 0x1448]
mov dword fs:[0], edx
mov eax, edx
jmp 0x455253
cmp dword [ebp - 0x1478], 0
jle 0x45515f
xor ecx, ecx
mov cl, byte [esi + 0x410]
cmp ecx, 0x2a
jne 0x45515f
cmp byte [esi + 0x1410], 0
jne 0x45515f
cmp byte [esi + 0x32b5], 0
jne 0x45515f
cmp byte [esi + 0x36b5], 0
jne 0x45515f
mov byte [esi + 0x410], 0
mov eax, dword [esi + 0x32b0]
call fcn.0044388c
mov word [ebp - 0x1438], 8
mov edx, esi
lea eax, [ebp - 0x1424]
call fcn.00472280
add dword [ebp - 0x142c], 2
mov word [ebp - 0x1438], 0x14
push 0
lea edx, [esi + 0x4700]
mov cl, byte [ebp - 0x1449]
xor eax, eax
call fcn.00476300
mov byte [ebp - 0x144a], al
mov edx, dword [esi + 0x32b0]
mov eax, dword [ebx + edx*4 + 0x104]
mov edx, dword [eax]
call dword [edx + 8]
cmp dword [0x4d27d8], 0
jne 0x4551da
cmp byte [ebp - 0x144a], 0
je 0x4551da
push dword [0x4cfe40]
call sub.USER32.DLL_DestroyWindow
lea edx, [ebp - 0x18e8]
lea eax, [esi + 0x4700]
call fcn.0040adf8
push 0x5c
lea ecx, [ebp - 0x18e8]
push ecx
call fcn.0049feb9
add esp, 8
test eax, eax
je 0x455217
lea edx, [ebp - 0x18e8]
cmp eax, edx
je 0x455217
xor ecx, ecx
mov cl, byte [eax - 1]
cmp ecx, 0x3a
je 0x455217
mov byte [eax], 0
push 0
lea eax, [ebp - 0x18e8]
push eax
push 0x2001
push 0x1000
call sub.SHELL32.DLL_SHChangeNotify
sub dword [ebp - 0x142c], 2
lea eax, [ebp - 0x1424]
mov edx, 2
call fcn.004726fc
mov ecx, dword [ebp - 0x1448]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret