Function at 0x458c00
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 edi, eax
mov esi, 0x4ae85c
mov eax, 0x49f080
call fcn.0048dd88
cmp dword [0x4bc21c], 1
jne 0x458cdc
cmp byte [esi + 0x410], 0
je 0x458cdc
mov edx, 0x49ec96
lea eax, [esi + 0x3ed8]
call fcn.0040b9a4
test al, al
jne 0x458cdc
mov edx, 0x49ec9a
lea eax, [esi + 0x3ed8]
call fcn.0040b9a4
test al, al
jne 0x458cdc
mov edx, 0x49ec9e
lea eax, [esi + 0x3ed8]
call fcn.0040b9a4
test al, al
jne 0x458cc6
mov edx, 0x49eca2
lea eax, [esi + 0x3ed8]
call fcn.0040b9a4
test al, al
jne 0x458cc6
push 0x49eca6
lea edx, [esi + 0x3ed8]
push edx
call fcn.0048d80c
add esp, 8
cmp word [esi + 0x42d8], 0
je 0x458cc6
mov edx, str..ext
lea eax, [esi + 0x42d8]
call fcn.0040f95c
lea eax, [esi + 0x3ed8]
call fcn.0040b924
lea eax, [esi + 0x42d8]
call fcn.0040b930
cmp dword [esi + 0x20cc], 0
jne 0x458cec
cmp dword [esi + 0x20c8], 0
je 0x458d4c
cmp dword [esi + 0x20cc], 0x80000000
jne 0x458d31
cmp dword [esi + 0x20c8], 0
jne 0x458d31
cmp byte [esi + 0x20f9], 0
jne 0x458d31
lea edx, [esi + 0x3ed8]
push edx
call sub.KERNEL32.DLL_GetFileAttributesA
cmp eax, 0xffffffff
je 0x458d31
mov dword [esi + 0x20c8], 0
mov dword [esi + 0x20cc], 0
mov eax, dword [0x4b53f8]
and eax, 0x18
test eax, eax
je 0x458d4c
cmp dword [esi + 0x20b0], 0
je 0x458d4c
or dword [esi + 0x20b0], eax
lea ecx, [esi + 0x10]
lea edx, [esi + 0x3ed8]
mov eax, edi
call fcn.00459338
mov eax, dword [esi + 0x2a90]
call fcn.00443f98
mov word [ebp - 0x1438], 8
mov edx, esi
lea eax, [ebp - 0x1424]
call fcn.00472828
add dword [ebp - 0x142c], 2
mov word [ebp - 0x1438], 0x14
cmp byte [esi + 0x20fe], 0
je 0x458dbb
cmp dword [esi + 0x2a90], 0
je 0x458dbb
lea edx, [esi + 0x20ff]
lea eax, [esi + 0x3ed8]
xor ecx, ecx
call fcn.0040c3b4
mov word [esi + 0x42d8], 0
lea eax, [esi + 0x3ed8]
xor edx, edx
call fcn.0040a0c8
test al, al
je 0x458e4b
cmp dword [0x4bc218], 0
je 0x458ddc
mov byte [edi + 0x1c42], 1
push 1
push 0
lea edx, [esi + 0x3ed8]
xor ecx, ecx
mov eax, edi
call fcn.0045bd3c
dec eax
jne 0x458e4b
mov eax, dword [edi + 0x208]
test eax, eax
je 0x458e4b
dec eax
je 0x458e4b
push 0x30
mov eax, 0x65
call fcn.004116e8
push eax
mov eax, 0x1fd
call fcn.004116e8
push eax
push dword [0x4b9890]
call sub.USER32.DLL_MessageBoxA
sub dword [ebp - 0x142c], 2
lea eax, [ebp - 0x1424]
mov edx, 2
call fcn.00472bc0
mov ecx, dword [ebp - 0x1448]
mov dword fs:[0], ecx
jmp 0x458f05
push 0
lea edx, [esi + 0x3ed8]
mov cl, byte [ebp - 0x1449]
xor eax, eax
call fcn.00475efc
mov ebx, eax
mov eax, dword [esi + 0x2a90]
mov eax, dword [edi + eax*4 + 0x104]
mov edx, dword [eax]
call dword [edx + 8]
cmp dword [0x4bc21c], 0
jne 0x458e8c
test bl, bl
je 0x458e8c
push dword [0x4b989c]
call sub.USER32.DLL_DestroyWindow
lea edx, [ebp - 0x184c]
lea eax, [esi + 0x3ed8]
call fcn.0040a568
push 0x5c
lea ecx, [ebp - 0x184c]
push ecx
call fcn.0048da3d
add esp, 8
test eax, eax
je 0x458ec9
lea edx, [ebp - 0x184c]
cmp eax, edx
je 0x458ec9
xor ecx, ecx
mov cl, byte [eax - 1]
cmp ecx, 0x3a
je 0x458ec9
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.00472bc0
mov ecx, dword [ebp - 0x1448]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret