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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46fde5
mov eax, dword fs:[0]
push eax
sub esp, 0x290
mov eax, dword [0x48f310]
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 ebx, ecx
xor esi, esi
lea eax, [ebp + 8]
mov dword [ebp - 4], esi
mov byte [ebp - 0x285], 1
call fcn.00401489
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x426c9f
test al, 0x10
jne 0x426c9f
lea eax, [ebp + 8]
call fcn.00401489
push esi
push 1
push 3
push esi
push 1
push SysReAllocString
push eax
mov dword [ebp - 0x294], esi
mov dword [ebp - 0x290], esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x426a00
lea eax, [ebp - 0x294]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x294], esi
jne 0x426c22
cmp dword [ebp - 0x290], esi
jne 0x426c22
lea ecx, [ebp + 8]
push ecx
lea edx, [ebp - 0x230]
push str.Try_delete_file
push edx
call fcn.0040ae00
add esp, 0xc
mov byte [ebp - 4], 1
call fcn.00401489
mov ecx, dword [ebx + 0x8d28]
push eax
push str.INFO
call fcn.00414290
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 0
call fcn.004012b8
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x268]
push str.icacls__
push ecx
call fcn.0040ae00
add esp, 0xc
mov ecx, eax
mov eax, str.___reset
lea edi, [ebp - 0x24c]
mov byte [ebp - 4], 2
call fcn.0040add0
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 4
call fcn.004012b8
push 0x414
call fcn.00450883
mov edi, eax
add esp, 4
cmp edi, esi
je 0x426ac7
lea eax, [ebp - 0x24c]
call fcn.00401489
mov edx, eax
mov esi, edi
call fcn.00423270
mov dword [ebp - 0x298], eax
xor esi, esi
jmp 0x426acd
mov dword [ebp - 0x298], esi
mov ecx, dword [ebx + 0x8d30]
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.00450883
mov edi, eax
add esp, 4
cmp edi, esi
je 0x426b1a
lea eax, [ebp + 8]
call fcn.00401489
mov edx, eax
mov esi, edi
call fcn.004232d0
mov dword [ebp - 0x290], eax
xor esi, esi
jmp 0x426b20
mov dword [ebp - 0x290], esi
mov ebx, dword [ebx + 0x8d30]
mov eax, dword [ebx]
mov edx, dword [ebp - 0x290]
mov eax, dword [eax]
push 0x100
lea ecx, [ebp - 0x214]
push ecx
push edx
mov ecx, ebx
call eax
mov ecx, 0x479604
lea eax, [ebp - 0x214]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x426b76
cmp dx, si
je 0x426b72
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x426b76
add eax, 4
add ecx, 4
cmp dx, si
jne 0x426b50
xor eax, eax
jmp 0x426b7b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, esi
je 0x426bfc
lea eax, [ebp + 8]
call fcn.00401489
mov edi, eax
lea esi, [ebp - 0x230]
call fcn.00405860
mov ecx, esi
push ecx
lea edx, [ebp - 0x268]
push 0x47b410
push edx
mov byte [ebp - 4], 5
call fcn.0040ae00
add esp, 0xc
mov ecx, eax
mov eax, 0x47b3e4
lea edi, [ebp - 0x284]
mov byte [ebp - 4], 6
call fcn.0040add0
lea ecx, [ebp - 0x268]
call fcn.004012b8
push 0x10
push 0x47b488
mov eax, edi
call fcn.00401489
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, edi
mov byte [ebp - 0x285], 0
call fcn.004012b8
mov ecx, esi
call fcn.004012b8
mov eax, dword [ebp - 0x298]
push eax
call fcn.00450827
mov ecx, dword [ebp - 0x290]
add esp, 4
push ecx
call fcn.00450827
add esp, 4
lea ecx, [ebp - 0x24c]
jmp 0x426c9a
lea eax, [ebp + 8]
mov byte [ebp - 0x285], 0
call fcn.00401489
mov edi, eax
lea esi, [ebp - 0x230]
call fcn.00405860
mov edx, esi
push edx
lea eax, [ebp - 0x268]
push 0x47b498
push eax
mov byte [ebp - 4], 7
call fcn.0040ae00
add esp, 0xc
mov ecx, eax
mov eax, 0x47b3e4
lea edi, [ebp - 0x24c]
mov byte [ebp - 4], 8
call fcn.0040add0
lea ecx, [ebp - 0x268]
call fcn.004012b8
push 0x10
push 0x47b488
mov eax, edi
call fcn.00401489
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, edi
call fcn.004012b8
mov ecx, esi
call fcn.004012b8
lea ecx, [ebp + 8]
call fcn.004012b8
cmp byte [ebp - 0x285], 0
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.0045080d
mov esp, ebp
pop ebp
ret 0x1c