Function at 0x45db7c
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, 0x4b5fc4
mov eax, 0x4a65b8
call fcn.00494df8
cmp byte [edi + 0x2aa4], 0
jne 0x45dbe2
call fcn.00416fdc
mov esi, eax
mov eax, 0x4a6162
cmp esi, 1
mov edx, 0x4a616a
setg cl
and ecx, 1
call fcn.0046bff8
test eax, eax
je 0x45dbda
mov dword [edi + 0x2aa0], esi
jmp 0x45dbe2
xor eax, eax
mov dword [edi + 0x2aa0], eax
cmp dword [0x4c3de4], 1
jne 0x45dc94
cmp byte [edi + 0x410], 0
je 0x45dc94
mov edx, 0x4a616e
lea eax, [edi + 0x3ef0]
call fcn.0040be78
test al, al
jne 0x45dc94
mov edx, 0x4a6172
lea eax, [edi + 0x3ef0]
call fcn.0040be78
test al, al
jne 0x45dc94
mov edx, 0x4a6176
lea eax, [edi + 0x3ef0]
call fcn.0040be78
test al, al
jne 0x45dc7e
mov edx, 0x4a617a
lea eax, [edi + 0x3ef0]
call fcn.0040be78
test al, al
jne 0x45dc7e
push 0x4a617e
lea edx, [edi + 0x3ef0]
push edx
call fcn.004948ec
add esp, 8
cmp word [edi + 0x42f0], 0
je 0x45dc7e
mov edx, str..ext
lea eax, [edi + 0x42f0]
call fcn.00410234
lea eax, [edi + 0x3ef0]
call fcn.0040bdf8
lea eax, [edi + 0x42f0]
call fcn.0040be04
cmp dword [edi + 0x20cc], 0
jne 0x45dca4
cmp dword [edi + 0x20c8], 0
je 0x45dd04
cmp dword [edi + 0x20cc], 0x80000000
jne 0x45dce9
cmp dword [edi + 0x20c8], 0
jne 0x45dce9
cmp byte [edi + 0x20f9], 0
jne 0x45dce9
lea edx, [edi + 0x3ef0]
push edx
call sub.KERNEL32.DLL_GetFileAttributesA
cmp eax, 0xffffffff
je 0x45dce9
mov dword [edi + 0x20c8], 0
mov dword [edi + 0x20cc], 0
mov eax, dword [0x4bcb78]
and eax, 0x18
test eax, eax
je 0x45dd04
cmp dword [edi + 0x20b0], 0
je 0x45dd04
or dword [edi + 0x20b0], eax
cmp dword [0x4c3de4], 1
jne 0x45dd13
cmp byte [edi + 0x10], 0
jne 0x45dd23
lea ecx, [edi + 0x10]
lea edx, [edi + 0x3ef0]
mov eax, ebx
call fcn.0045e318
mov eax, dword [edi + 0x2aa8]
call fcn.00447e78
mov word [ebp - 0x1438], 8
mov edx, edi
lea eax, [ebp - 0x1424]
call fcn.00479160
add dword [ebp - 0x142c], 2
mov word [ebp - 0x1438], 0x14
cmp byte [edi + 0x20fe], 0
je 0x45dd82
cmp dword [edi + 0x2aa8], 0
je 0x45dd82
lea edx, [edi + 0x20ff]
lea eax, [edi + 0x3ef0]
xor ecx, ecx
call fcn.0040c8f4
mov word [edi + 0x42f0], 0
lea eax, [edi + 0x3ef0]
xor edx, edx
call fcn.0040a4d8
test al, al
je 0x45de12
cmp dword [0x4c3de0], 0
je 0x45dda3
mov byte [ebx + 0x1c42], 1
push 1
push 0
lea edx, [edi + 0x3ef0]
xor ecx, ecx
mov eax, ebx
call fcn.00460e08
dec eax
jne 0x45de12
mov eax, dword [ebx + 0x208]
test eax, eax
je 0x45de12
dec eax
je 0x45de12
push 0x30
mov eax, 0x65
call fcn.00411fe8
push eax
mov eax, 0x1fd
call fcn.00411fe8
push eax
push dword [0x4c1440]
call sub.USER32.DLL_MessageBoxA
sub dword [ebp - 0x142c], 2
lea eax, [ebp - 0x1424]
mov edx, 2
call fcn.004795ac
mov ecx, dword [ebp - 0x1448]
mov dword fs:[0], ecx
jmp 0x45ded5
push 0
lea edx, [edi + 0x3ef0]
mov cl, byte [ebp - 0x1449]
xor eax, eax
call fcn.0047c8e4
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 [0x4c3de4], 0
jne 0x45de5c
cmp byte [ebp - 0x144a], 0
je 0x45de5c
push dword [0x4c144c]
call sub.USER32.DLL_DestroyWindow
lea edx, [ebp - 0x184c]
lea eax, [edi + 0x3ef0]
call fcn.0040a978
push 0x5c
lea ecx, [ebp - 0x184c]
push ecx
call fcn.00494aad
add esp, 8
test eax, eax
je 0x45de99
lea edx, [ebp - 0x184c]
cmp eax, edx
je 0x45de99
xor ecx, ecx
mov cl, byte [eax - 1]
cmp ecx, 0x3a
je 0x45de99
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.004795ac
mov ecx, dword [ebp - 0x1448]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret