Function at 0x45de80
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, 0x4b6fc4
mov eax, 0x4a75b8
call fcn.00495388
cmp byte [edi + 0x2aa4], 0
jne 0x45dee6
call fcn.00417044
mov esi, eax
mov eax, 0x4a7162
cmp esi, 1
mov edx, 0x4a716a
setg cl
and ecx, 1
call fcn.0046c37c
test eax, eax
je 0x45dede
mov dword [edi + 0x2aa0], esi
jmp 0x45dee6
xor eax, eax
mov dword [edi + 0x2aa0], eax
cmp dword [0x4c4de4], 1
jne 0x45df98
cmp byte [edi + 0x410], 0
je 0x45df98
mov edx, 0x4a716e
lea eax, [edi + 0x3ef0]
call fcn.0040bea8
test al, al
jne 0x45df98
mov edx, 0x4a7172
lea eax, [edi + 0x3ef0]
call fcn.0040bea8
test al, al
jne 0x45df98
mov edx, 0x4a7176
lea eax, [edi + 0x3ef0]
call fcn.0040bea8
test al, al
jne 0x45df82
mov edx, 0x4a717a
lea eax, [edi + 0x3ef0]
call fcn.0040bea8
test al, al
jne 0x45df82
push 0x4a717e
lea edx, [edi + 0x3ef0]
push edx
call fcn.00494e7c
add esp, 8
cmp word [edi + 0x42f0], 0
je 0x45df82
mov edx, str..ext
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 0x45dfa8
cmp dword [edi + 0x20c8], 0
je 0x45e008
cmp dword [edi + 0x20cc], 0x80000000
jne 0x45dfed
cmp dword [edi + 0x20c8], 0
jne 0x45dfed
cmp byte [edi + 0x20f9], 0
jne 0x45dfed
lea edx, [edi + 0x3ef0]
push edx
call sub.KERNEL32.DLL_GetFileAttributesA
cmp eax, 0xffffffff
je 0x45dfed
mov dword [edi + 0x20c8], 0
mov dword [edi + 0x20cc], 0
mov eax, dword [0x4bdb78]
and eax, 0x18
test eax, eax
je 0x45e008
cmp dword [edi + 0x20b0], 0
je 0x45e008
or dword [edi + 0x20b0], eax
cmp dword [0x4c4de4], 1
jne 0x45e017
cmp byte [edi + 0x10], 0
jne 0x45e027
lea ecx, [edi + 0x10]
lea edx, [edi + 0x3ef0]
mov eax, ebx
call fcn.0045e61c
mov eax, dword [edi + 0x2aa8]
call fcn.004480fc
mov word [ebp - 0x1438], 8
mov edx, edi
lea eax, [ebp - 0x1424]
call fcn.00479560
add dword [ebp - 0x142c], 2
mov word [ebp - 0x1438], 0x14
cmp byte [edi + 0x20fe], 0
je 0x45e086
cmp dword [edi + 0x2aa8], 0
je 0x45e086
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 0x45e116
cmp dword [0x4c4de0], 0
je 0x45e0a7
mov byte [ebx + 0x1c42], 1
push 1
push 0
lea edx, [edi + 0x3ef0]
xor ecx, ecx
mov eax, ebx
call fcn.00461128
dec eax
jne 0x45e116
mov eax, dword [ebx + 0x208]
test eax, eax
je 0x45e116
dec eax
je 0x45e116
push 0x30
mov eax, 0x65
call fcn.0041202c
push eax
mov eax, 0x1fd
call fcn.0041202c
push eax
push dword [0x4c2440]
call sub.USER32.DLL_MessageBoxA
sub dword [ebp - 0x142c], 2
lea eax, [ebp - 0x1424]
mov edx, 2
call fcn.004799ac
mov ecx, dword [ebp - 0x1448]
mov dword fs:[0], ecx
jmp 0x45e1d9
push 0
lea edx, [edi + 0x3ef0]
mov cl, byte [ebp - 0x1449]
xor eax, eax
call fcn.0047cd94
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 [0x4c4de4], 0
jne 0x45e160
cmp byte [ebp - 0x144a], 0
je 0x45e160
push dword [0x4c244c]
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.0049503d
add esp, 8
test eax, eax
je 0x45e19d
lea edx, [ebp - 0x184c]
cmp eax, edx
je 0x45e19d
xor ecx, ecx
mov cl, byte [eax - 1]
cmp ecx, 0x3a
je 0x45e19d
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.004799ac
mov ecx, dword [ebp - 0x1448]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret