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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffff7b4
push ebx
push esi
push edi
mov byte [ebp - 0x1449], dl
mov ebx, eax
mov edi, 0x4b6ec4
mov eax, 0x4a74e0
call fcn.00495294
cmp byte [edi + 0x2aa4], 0
jne 0x45de5a
call fcn.00417044
mov esi, eax
mov eax, 0x4a708a
cmp esi, 1
mov edx, 0x4a7092
setg cl
and ecx, 1
call fcn.0046c29c
test eax, eax
je 0x45de52
mov dword [edi + 0x2aa0], esi
jmp 0x45de5a
xor eax, eax
mov dword [edi + 0x2aa0], eax
cmp dword [0x4c4ce4], 1
jne 0x45df0c
cmp byte [edi + 0x410], 0
je 0x45df0c
mov edx, 0x4a7096
lea eax, [edi + 0x3ef0]
call fcn.0040bea8
test al, al
jne 0x45df0c
mov edx, 0x4a709a
lea eax, [edi + 0x3ef0]
call fcn.0040bea8
test al, al
jne 0x45df0c
mov edx, 0x4a709e
lea eax, [edi + 0x3ef0]
call fcn.0040bea8
test al, al
jne 0x45def6
mov edx, 0x4a70a2
lea eax, [edi + 0x3ef0]
call fcn.0040bea8
test al, al
jne 0x45def6
push 0x4a70a6
lea edx, [edi + 0x3ef0]
push edx
call fcn.00494d88
add esp, 8
cmp word [edi + 0x42f0], 0
je 0x45def6
mov edx, 0x4a70ac
lea eax, [edi + 0x42f0]
call fcn.00410270
lea eax, [edi + 0x3ef0]
call fcn.0040be28
lea eax, [edi + 0x42f0]
call fcn.0040be34
cmp dword [edi + 0x20cc], 0
jne 0x45df1c
cmp dword [edi + 0x20c8], 0
je 0x45df7c
cmp dword [edi + 0x20cc], 0x80000000
jne 0x45df61
cmp dword [edi + 0x20c8], 0
jne 0x45df61
cmp byte [edi + 0x20f9], 0
jne 0x45df61
lea edx, [edi + 0x3ef0]
push edx
call sub.KERNEL32.DLL_GetFileAttributesA
cmp eax, 0xffffffff
je 0x45df61
mov dword [edi + 0x20c8], 0
mov dword [edi + 0x20cc], 0
mov eax, dword [0x4bda78]
and eax, 0x18
test eax, eax
je 0x45df7c
cmp dword [edi + 0x20b0], 0
je 0x45df7c
or dword [edi + 0x20b0], eax
cmp dword [0x4c4ce4], 1
jne 0x45df8b
cmp byte [edi + 0x10], 0
jne 0x45df9b
lea ecx, [edi + 0x10]
lea edx, [edi + 0x3ef0]
mov eax, ebx
call fcn.0045e590
mov eax, dword [edi + 0x2aa8]
call fcn.00448080
mov word [ebp - 0x1438], 8
mov edx, edi
lea eax, [ebp - 0x1424]
call fcn.0047946c
add dword [ebp - 0x142c], 2
mov word [ebp - 0x1438], 0x14
cmp byte [edi + 0x20fe], 0
je 0x45dffa
cmp dword [edi + 0x2aa8], 0
je 0x45dffa
lea edx, [edi + 0x20ff]
lea eax, [edi + 0x3ef0]
xor ecx, ecx
call fcn.0040c924
mov word [edi + 0x42f0], 0
lea eax, [edi + 0x3ef0]
xor edx, edx
call fcn.0040a504
test al, al
je 0x45e08a
cmp dword [0x4c4ce0], 0
je 0x45e01b
mov byte [ebx + 0x1c42], 1
push 1
push 0
lea edx, [edi + 0x3ef0]
xor ecx, ecx
mov eax, ebx
call fcn.0046109c
dec eax
jne 0x45e08a
mov eax, dword [ebx + 0x208]
test eax, eax
je 0x45e08a
dec eax
je 0x45e08a
push 0x30
mov eax, 0x65
call fcn.0041202c
push eax
mov eax, 0x1fd
call fcn.0041202c
push eax
push dword [0x4c2340]
call sub.USER32.DLL_MessageBoxA
sub dword [ebp - 0x142c], 2
lea eax, [ebp - 0x1424]
mov edx, 2
call fcn.004798b8
mov ecx, dword [ebp - 0x1448]
mov dword fs:[0], ecx
jmp 0x45e14d
push 0
lea edx, [edi + 0x3ef0]
mov cl, byte [ebp - 0x1449]
xor eax, eax
call fcn.0047cca0
mov byte [ebp - 0x144a], al
mov eax, dword [edi + 0x2aa8]
mov eax, dword [ebx + eax*4 + 0x104]
mov edx, dword [eax]
call dword [edx + 8]
cmp dword [0x4c4ce4], 0
jne 0x45e0d4
cmp byte [ebp - 0x144a], 0
je 0x45e0d4
push dword [0x4c234c]
call sub.USER32.DLL_DestroyWindow
lea edx, [ebp - 0x184c]
lea eax, [edi + 0x3ef0]
call fcn.0040a9a4
push 0x5c
lea ecx, [ebp - 0x184c]
push ecx
call fcn.00494f49
add esp, 8
test eax, eax
je 0x45e111
lea edx, [ebp - 0x184c]
cmp eax, edx
je 0x45e111
xor ecx, ecx
mov cl, byte [eax - 1]
cmp ecx, 0x3a
je 0x45e111
mov byte [eax], 0
push 0
lea eax, [ebp - 0x184c]
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.004798b8
mov ecx, dword [ebp - 0x1448]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret