Function at 0x452c98
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, 0x4b99b8
mov eax, 0x4a85f8
call fcn.004980b0
cmp byte [edi + 0x2aac], 0
jne 0x452cfe
call fcn.004175e0
mov esi, eax
mov eax, 0x4a8184
cmp esi, 1
mov edx, 0x4a818c
setg cl
and ecx, 1
call fcn.0046139c
test eax, eax
je 0x452cf6
mov dword [edi + 0x2aa8], esi
jmp 0x452cfe
xor eax, eax
mov dword [edi + 0x2aa8], eax
cmp dword [0x4c7808], 1
jne 0x452db0
cmp byte [edi + 0x410], 0
je 0x452db0
mov edx, 0x4a8190
lea eax, [edi + 0x3f00]
call fcn.0040c174
test al, al
jne 0x452db0
mov edx, 0x4a8194
lea eax, [edi + 0x3f00]
call fcn.0040c174
test al, al
jne 0x452db0
mov edx, 0x4a8198
lea eax, [edi + 0x3f00]
call fcn.0040c174
test al, al
jne 0x452d9a
mov edx, 0x4a819c
lea eax, [edi + 0x3f00]
call fcn.0040c174
test al, al
jne 0x452d9a
push 0x4a81a0
lea edx, [edi + 0x3f00]
push edx
call fcn.00497ba4
add esp, 8
cmp word [edi + 0x4300], 0
je 0x452d9a
mov edx, 0x4a81a6
lea eax, [edi + 0x4300]
call fcn.004107b0
lea eax, [edi + 0x3f00]
call fcn.0040c0f4
lea eax, [edi + 0x4300]
call fcn.0040c100
cmp dword [edi + 0x20d4], 0
jne 0x452dc0
cmp dword [edi + 0x20d0], 0
je 0x452e20
cmp dword [edi + 0x20d4], 0x80000000
jne 0x452e05
cmp dword [edi + 0x20d0], 0
jne 0x452e05
cmp byte [edi + 0x2101], 0
jne 0x452e05
lea edx, [edi + 0x3f00]
push edx
call sub.KERNEL32.DLL_GetFileAttributesA
cmp eax, 0xffffffff
je 0x452e05
mov dword [edi + 0x20d0], 0
mov dword [edi + 0x20d4], 0
mov eax, dword [0x4c0584]
and eax, 0x18
test eax, eax
je 0x452e20
cmp dword [edi + 0x20b8], 0
je 0x452e20
or dword [edi + 0x20b8], eax
cmp dword [0x4c7808], 1
jne 0x452e2f
cmp byte [edi + 0x10], 0
jne 0x452e3f
lea ecx, [edi + 0x10]
lea edx, [edi + 0x3f00]
mov eax, ebx
call fcn.00453420
mov eax, dword [edi + 0x2ab0]
call fcn.00441fc8
mov word [ebp - 0x1438], 8
mov edx, edi
lea eax, [ebp - 0x1424]
call fcn.0046ec10
add dword [ebp - 0x142c], 2
mov word [ebp - 0x1438], 0x14
cmp byte [edi + 0x2106], 0
je 0x452e9e
cmp dword [edi + 0x2ab0], 0
je 0x452e9e
lea edx, [edi + 0x2107]
lea eax, [edi + 0x3f00]
xor ecx, ecx
call fcn.0040cd44
mov word [edi + 0x4300], 0
lea eax, [edi + 0x3f00]
xor edx, edx
call fcn.0040a72c
test al, al
je 0x452f2e
cmp dword [0x4c7804], 0
je 0x452ebf
mov byte [ebx + 0x1c3e], 1
push 1
push 0
lea edx, [edi + 0x3f00]
xor ecx, ecx
mov eax, ebx
call fcn.00455fa0
dec eax
jne 0x452f2e
mov eax, dword [ebx + 0x208]
test eax, eax
je 0x452f2e
dec eax
je 0x452f2e
push 0x30
mov eax, 0x65
call fcn.004125d0
push eax
mov eax, 0x1fd
call fcn.004125d0
push eax
push dword [0x4c4e64]
call sub.USER32.DLL_MessageBoxA
sub dword [ebp - 0x142c], 2
lea eax, [ebp - 0x1424]
mov edx, 2
call fcn.0046f084
mov ecx, dword [ebp - 0x1448]
mov dword fs:[0], ecx
jmp 0x452ff1
push 0
lea edx, [edi + 0x3f00]
mov cl, byte [ebp - 0x1449]
xor eax, eax
call fcn.00472a98
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 [0x4c7808], 0
jne 0x452f78
cmp byte [ebp - 0x144a], 0
je 0x452f78
push dword [0x4c4e70]
call sub.USER32.DLL_DestroyWindow
lea edx, [ebp - 0x184c]
lea eax, [edi + 0x3f00]
call fcn.0040abcc
push 0x5c
lea ecx, [ebp - 0x184c]
push ecx
call fcn.00497d65
add esp, 8
test eax, eax
je 0x452fb5
lea edx, [ebp - 0x184c]
cmp eax, edx
je 0x452fb5
xor ecx, ecx
mov cl, byte [eax - 1]
cmp ecx, 0x3a
je 0x452fb5
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.0046f084
mov ecx, dword [ebp - 0x1448]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret