Function at 0x411700
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x468e95
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x4c8578]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea edx, [ecx + 0x2cae0]
mov dword [ebp - 0x28], 0
mov ecx, edx
mov dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x411750
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.004095e0
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x48]
call fcn.00410c60
cmp dword [ebp - 0x34], 8
lea eax, [ebp - 0x48]
cmovae eax, dword [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4118bb
test al, 0x10
je 0x4118bb
lea ecx, [ebp - 0x48]
call fcn.00411030
push str.DeleteFileRecursive
push dword [0x502db0]
call fcn.004403a0
add esp, 8
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x48]
push eax
call fcn.00410c60
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0
push eax
push 0x470bc8
push 0x17
push 0
push 0x47e738
mov byte [ebp - 4], 2
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov eax, dword [ebp - 0x2c]
push 0x614
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
cmp dword [ebp - 0x34], 8
lea ecx, [ebp - 0x30]
push ecx
push 0x46e394
lea eax, [ebp - 0x48]
mov dword [ebp - 0x30], 0
cmovae eax, dword [ebp - 0x48]
push 0
push eax
mov byte [ebp - 4], 4
call dword [sym.imp.SHELL32.dll_SHCreateItemFromParsingName]
mov eax, dword [ebp - 0x2c]
push 0
push dword [ebp - 0x30]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x48]
mov ecx, dword [ebp - 0x30]
mov byte [ebp - 4], 6
mov dword [ebp - 0x30], 0
test ecx, ecx
je 0x411845
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x2c]
push eax
mov byte [ebp - 4], 4
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_OleUninitialize]
mov eax, dword [ebp - 0x30]
mov byte [ebp - 4], 7
test eax, eax
je 0x411872
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 8
test eax, eax
je 0x411883
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov edx, dword [ebp - 0x34]
cmp edx, 8
jb 0x4118c3
mov ecx, dword [ebp - 0x48]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4118af
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411913
push edx
push ecx
call fcn.00443fd6
add esp, 8
jmp 0x4118c3
lea ecx, [ebp - 0x48]
call fcn.00411030
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4118f9
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4118ef
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411918
push edx
push ecx
call fcn.00443fd6
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00443fa5
mov esp, ebp
pop ebp
ret
call fcn.0044eb30
call fcn.0044eb30
int3