Function at 0x429ab0
Capabilities:
Check if file exists
Get file attributes
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46fa95
mov eax, dword fs:[0]
push eax
sub esp, 0x290
mov eax, dword [0x490654]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
xor ebx, ebx
lea eax, [ebp + 8]
mov dword [ebp - 4], ebx
mov byte [ebp - 0x285], 1
call fcn.00402637
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x429de6
test al, 0x10
jne 0x429de6
lea eax, [ebp + 8]
call fcn.00402637
push ebx
push 1
push 3
push ebx
push 1
push SysReAllocString
push eax
mov dword [ebp - 0x294], ebx
mov dword [ebp - 0x290], ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x429b50
lea eax, [ebp - 0x294]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x294], ebx
jne 0x429d67
cmp dword [ebp - 0x290], ebx
jne 0x429d67
lea ecx, [ebp + 8]
push ecx
lea edx, [ebp - 0x230]
push str.Try_delete_file
push edx
call fcn.0040c1d0
add esp, 0xc
mov byte [ebp - 4], 1
call fcn.00402637
mov ecx, dword [edi + 0x8c28]
push eax
push str.INFO
call fcn.00417780
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], bl
call fcn.004025fd
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x268]
push str.icacls__
push ecx
call fcn.0040c1d0
add esp, 0xc
mov ecx, eax
mov eax, str.___reset
lea esi, [ebp - 0x24c]
mov byte [ebp - 4], 2
call fcn.0040c1b0
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 4
call fcn.004025fd
push 0x414
call fcn.00453217
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x429c12
lea eax, [ebp - 0x24c]
call fcn.00402637
mov edx, eax
call fcn.004151f0
mov dword [ebp - 0x298], eax
jmp 0x429c18
mov dword [ebp - 0x298], ebx
mov ecx, dword [edi + 0x8c30]
mov edx, dword [ecx]
mov edx, dword [edx]
push 0x100
lea eax, [ebp - 0x214]
push eax
mov eax, dword [ebp - 0x298]
push eax
call edx
push 0x414
call fcn.00453217
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x429c63
lea eax, [ebp + 8]
call fcn.00402637
mov edx, eax
mov eax, esi
call fcn.00401936
mov dword [ebp - 0x290], eax
jmp 0x429c69
mov dword [ebp - 0x290], ebx
mov ecx, dword [edi + 0x8c30]
mov eax, dword [ecx]
mov eax, dword [eax]
push 0x100
lea edx, [ebp - 0x214]
push edx
mov edx, dword [ebp - 0x290]
push edx
call eax
mov ecx, 0x479d8c
lea eax, [ebp - 0x214]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x429cb9
cmp dx, bx
je 0x429cb5
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x429cb9
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x429c93
xor eax, eax
jmp 0x429cbe
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x429d41
lea eax, [ebp + 8]
call fcn.00402637
mov edi, eax
lea esi, [ebp - 0x230]
call fcn.004086d0
mov ecx, esi
push ecx
lea edx, [ebp - 0x268]
push 0x47bf90
push edx
mov byte [ebp - 4], 5
call fcn.0040c1d0
add esp, 0xc
mov ecx, eax
mov eax, 0x47bf64
lea esi, [ebp - 0x284]
mov byte [ebp - 4], 6
call fcn.0040c1b0
lea ecx, [ebp - 0x268]
call fcn.004025fd
push 0x10
push 0x47c008
mov eax, esi
call fcn.00402637
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, esi
mov byte [ebp - 0x285], bl
call fcn.004025fd
lea ecx, [ebp - 0x230]
call fcn.004025fd
mov eax, dword [ebp - 0x298]
push eax
call fcn.004531bb
mov ecx, dword [ebp - 0x290]
add esp, 4
push ecx
call fcn.004531bb
add esp, 4
lea ecx, [ebp - 0x24c]
jmp 0x429de1
lea eax, [ebp + 8]
mov byte [ebp - 0x285], bl
call fcn.00402637
mov edi, eax
lea esi, [ebp - 0x230]
call fcn.004086d0
mov edx, esi
push edx
lea eax, [ebp - 0x268]
push 0x47c018
push eax
mov byte [ebp - 4], 7
call fcn.0040c1d0
add esp, 0xc
mov ecx, eax
mov eax, 0x47bf64
lea esi, [ebp - 0x24c]
mov byte [ebp - 4], 8
call fcn.0040c1b0
lea ecx, [ebp - 0x268]
call fcn.004025fd
push 0x10
push 0x47c008
mov eax, esi
call fcn.00402637
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, esi
call fcn.004025fd
lea ecx, [ebp - 0x230]
call fcn.004025fd
lea ecx, [ebp + 8]
call fcn.004025fd
cmp byte [ebp - 0x285], bl
setne al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00452c94
mov esp, ebp
pop ebp
ret 0x1c