Function at 0x4533d8
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, 0x4bba40
mov eax, 0x4aa66c
call fcn.004992ac
cmp byte [edi + 0x2aac], 0
jne 0x45343e
call fcn.00417a58
mov esi, eax
mov eax, 0x4aa1f8
cmp esi, 1
mov edx, 0x4aa200
setg cl
and ecx, 1
call fcn.00461bc4
test eax, eax
je 0x453436
mov dword [edi + 0x2aa8], esi
jmp 0x45343e
xor eax, eax
mov dword [edi + 0x2aa8], eax
cmp dword [0x4c9890], 1
jne 0x4534f0
cmp byte [edi + 0x410], 0
je 0x4534f0
mov edx, 0x4aa204
lea eax, [edi + 0x3f00]
call fcn.0040c2a4
test al, al
jne 0x4534f0
mov edx, 0x4aa208
lea eax, [edi + 0x3f00]
call fcn.0040c2a4
test al, al
jne 0x4534f0
mov edx, 0x4aa20c
lea eax, [edi + 0x3f00]
call fcn.0040c2a4
test al, al
jne 0x4534da
mov edx, 0x4aa210
lea eax, [edi + 0x3f00]
call fcn.0040c2a4
test al, al
jne 0x4534da
push 0x4aa214
lea edx, [edi + 0x3f00]
push edx
call fcn.00498da0
add esp, 8
cmp word [edi + 0x4300], 0
je 0x4534da
mov edx, str..ext
lea eax, [edi + 0x4300]
call fcn.00410b3c
lea eax, [edi + 0x3f00]
call fcn.0040c224
lea eax, [edi + 0x4300]
call fcn.0040c230
cmp dword [edi + 0x20d4], 0
jne 0x453500
cmp dword [edi + 0x20d0], 0
je 0x453566
cmp dword [edi + 0x20d4], 0x80000000
jne 0x453545
cmp dword [edi + 0x20d0], 0
jne 0x453545
cmp byte [edi + 0x2101], 0
jne 0x453545
lea edx, [edi + 0x3f00]
push edx
call sub.KERNEL32.DLL_GetFileAttributesA
cmp eax, 0xffffffff
je 0x453545
mov dword [edi + 0x20d0], 0
mov dword [edi + 0x20d4], 0
test byte [0x4c260c], 0x18
je 0x453566
cmp dword [edi + 0x20b8], 0
je 0x453566
mov ecx, dword [0x4c260c]
and ecx, 0x18
or dword [edi + 0x20b8], ecx
cmp dword [0x4c9890], 1
jne 0x453575
cmp byte [edi + 0x10], 0
jne 0x453585
lea ecx, [edi + 0x10]
lea edx, [edi + 0x3f00]
mov eax, ebx
call fcn.00453b68
mov eax, dword [edi + 0x2ab0]
call fcn.004425b8
mov word [ebp - 0x1438], 8
mov edx, edi
lea eax, [ebp - 0x1424]
call fcn.0046f71c
add dword [ebp - 0x142c], 2
mov word [ebp - 0x1438], 0x14
cmp byte [edi + 0x2106], 0
je 0x4535e4
cmp dword [edi + 0x2ab0], 0
je 0x4535e4
lea edx, [edi + 0x2107]
lea eax, [edi + 0x3f00]
xor ecx, ecx
call fcn.0040cee0
mov word [edi + 0x4300], 0
lea eax, [edi + 0x3f00]
xor edx, edx
call fcn.0040a838
test al, al
je 0x453674
cmp dword [0x4c988c], 0
je 0x453605
mov byte [ebx + 0x1c3e], 1
push 1
push 0
lea edx, [edi + 0x3f00]
xor ecx, ecx
mov eax, ebx
call fcn.004567bc
dec eax
jne 0x453674
mov eax, dword [ebx + 0x208]
test eax, eax
je 0x453674
dec eax
je 0x453674
push 0x30
mov eax, 0x65
call fcn.004129c8
push eax
mov eax, 0x1fd
call fcn.004129c8
push eax
push dword [0x4c6eec]
call sub.USER32.DLL_MessageBoxA
sub dword [ebp - 0x142c], 2
lea eax, [ebp - 0x1424]
mov edx, 2
call fcn.0046fb98
mov ecx, dword [ebp - 0x1448]
mov dword fs:[0], ecx
jmp 0x453737
push 0
lea edx, [edi + 0x3f00]
mov cl, byte [ebp - 0x1449]
xor eax, eax
call fcn.004735f4
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 [0x4c9890], 0
jne 0x4536be
cmp byte [ebp - 0x144a], 0
je 0x4536be
push dword [0x4c6ef8]
call sub.USER32.DLL_DestroyWindow
lea edx, [ebp - 0x184c]
lea eax, [edi + 0x3f00]
call fcn.0040acd8
push 0x5c
lea ecx, [ebp - 0x184c]
push ecx
call fcn.00498f61
add esp, 8
test eax, eax
je 0x4536fb
lea edx, [ebp - 0x184c]
cmp eax, edx
je 0x4536fb
xor ecx, ecx
mov cl, byte [eax - 1]
cmp ecx, 0x3a
je 0x4536fb
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.0046fb98
mov ecx, dword [ebp - 0x1448]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret