Function at 0x452c68
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, 0x4b9978
mov eax, 0x4a85b8
call fcn.00498090
cmp byte [edi + 0x2aac], 0
jne 0x452cce
call fcn.004175c4
mov esi, eax
mov eax, 0x4a8144
cmp esi, 1
mov edx, 0x4a814c
setg cl
and ecx, 1
call fcn.0046136c
test eax, eax
je 0x452cc6
mov dword [edi + 0x2aa8], esi
jmp 0x452cce
xor eax, eax
mov dword [edi + 0x2aa8], eax
cmp dword [0x4c77c8], 1
jne 0x452d80
cmp byte [edi + 0x410], 0
je 0x452d80
mov edx, 0x4a8150
lea eax, [edi + 0x3f00]
call fcn.0040c158
test al, al
jne 0x452d80
mov edx, 0x4a8154
lea eax, [edi + 0x3f00]
call fcn.0040c158
test al, al
jne 0x452d80
mov edx, 0x4a8158
lea eax, [edi + 0x3f00]
call fcn.0040c158
test al, al
jne 0x452d6a
mov edx, 0x4a815c
lea eax, [edi + 0x3f00]
call fcn.0040c158
test al, al
jne 0x452d6a
push 0x4a8160
lea edx, [edi + 0x3f00]
push edx
call fcn.00497b84
add esp, 8
cmp word [edi + 0x4300], 0
je 0x452d6a
mov edx, str..ext
lea eax, [edi + 0x4300]
call fcn.00410794
lea eax, [edi + 0x3f00]
call fcn.0040c0d8
lea eax, [edi + 0x4300]
call fcn.0040c0e4
cmp dword [edi + 0x20d4], 0
jne 0x452d90
cmp dword [edi + 0x20d0], 0
je 0x452df0
cmp dword [edi + 0x20d4], 0x80000000
jne 0x452dd5
cmp dword [edi + 0x20d0], 0
jne 0x452dd5
cmp byte [edi + 0x2101], 0
jne 0x452dd5
lea edx, [edi + 0x3f00]
push edx
call sub.KERNEL32.DLL_GetFileAttributesA
cmp eax, 0xffffffff
je 0x452dd5
mov dword [edi + 0x20d0], 0
mov dword [edi + 0x20d4], 0
mov eax, dword [0x4c0544]
and eax, 0x18
test eax, eax
je 0x452df0
cmp dword [edi + 0x20b8], 0
je 0x452df0
or dword [edi + 0x20b8], eax
cmp dword [0x4c77c8], 1
jne 0x452dff
cmp byte [edi + 0x10], 0
jne 0x452e0f
lea ecx, [edi + 0x10]
lea edx, [edi + 0x3f00]
mov eax, ebx
call fcn.004533f0
mov eax, dword [edi + 0x2ab0]
call fcn.00441f98
mov word [ebp - 0x1438], 8
mov edx, edi
lea eax, [ebp - 0x1424]
call fcn.0046ebc0
add dword [ebp - 0x142c], 2
mov word [ebp - 0x1438], 0x14
cmp byte [edi + 0x2106], 0
je 0x452e6e
cmp dword [edi + 0x2ab0], 0
je 0x452e6e
lea edx, [edi + 0x2107]
lea eax, [edi + 0x3f00]
xor ecx, ecx
call fcn.0040cd28
mov word [edi + 0x4300], 0
lea eax, [edi + 0x3f00]
xor edx, edx
call fcn.0040a710
test al, al
je 0x452efe
cmp dword [0x4c77c4], 0
je 0x452e8f
mov byte [ebx + 0x1c3e], 1
push 1
push 0
lea edx, [edi + 0x3f00]
xor ecx, ecx
mov eax, ebx
call fcn.00455f70
dec eax
jne 0x452efe
mov eax, dword [ebx + 0x208]
test eax, eax
je 0x452efe
dec eax
je 0x452efe
push 0x30
mov eax, 0x65
call fcn.004125b4
push eax
mov eax, 0x1fd
call fcn.004125b4
push eax
push dword [0x4c4e24]
call sub.USER32.DLL_MessageBoxA
sub dword [ebp - 0x142c], 2
lea eax, [ebp - 0x1424]
mov edx, 2
call fcn.0046f034
mov ecx, dword [ebp - 0x1448]
mov dword fs:[0], ecx
jmp 0x452fc1
push 0
lea edx, [edi + 0x3f00]
mov cl, byte [ebp - 0x1449]
xor eax, eax
call fcn.00472a48
mov byte [ebp - 0x144a], al
mov eax, dword [edi + 0x2ab0]
mov eax, dword [ebx + eax*4 + 0x104]
mov edx, dword [eax]
call dword [edx + 8]
cmp dword [0x4c77c8], 0
jne 0x452f48
cmp byte [ebp - 0x144a], 0
je 0x452f48
push dword [0x4c4e30]
call sub.USER32.DLL_DestroyWindow
lea edx, [ebp - 0x184c]
lea eax, [edi + 0x3f00]
call fcn.0040abb0
push 0x5c
lea ecx, [ebp - 0x184c]
push ecx
call fcn.00497d45
add esp, 8
test eax, eax
je 0x452f85
lea edx, [ebp - 0x184c]
cmp eax, edx
je 0x452f85
xor ecx, ecx
mov cl, byte [eax - 1]
cmp ecx, 0x3a
je 0x452f85
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.0046f034
mov ecx, dword [ebp - 0x1448]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret