Function at 0x457f10
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4ae9b3
mov eax, dword fs:[0]
push eax
sub esp, 0x9a8
mov eax, dword [0x4cf640]
xor eax, esp
mov dword [esp + 0x9a4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4cf640]
xor eax, esp
push eax
lea eax, [esp + 0x9bc]
mov dword fs:[0], eax
xor esi, esi
push esi
mov ebp, 7
push 0x4bc578
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], ebp
mov dword [esp + 0x30], esi
mov word [esp + 0x20], si
call fcn.0040244b
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x148]
push ecx
mov dword [esp + 0x9cc], esi
call fcn.004430b0
add esp, 8
mov ebx, 8
cmp dword [esp + 0x2c], ebx
mov byte [esp + 0x9c4], 2
jb 0x457faa
mov edx, dword [esp + 0x18]
push edx
call fcn.00478d09
add esp, 4
cmp dword [esp + 0x158], esi
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], esi
mov word [esp + 0x18], si
je 0x458011
lea ecx, [esp + 0x10c]
push esi
push ecx
call fcn.004437b0
add esp, 8
cmp dword [esp + 0x120], esi
mov byte [esp + 0x9c4], 3
jne 0x45802b
cmp dword [esp + 0x124], ebx
jb 0x457ffb
mov edx, dword [esp + 0x110]
push edx
call fcn.00478d09
add esp, 4
mov dword [esp + 0x124], ebp
mov dword [esp + 0x120], esi
mov word [esp + 0x110], si
cmp dword [esp + 0x15c], ebx
jb 0x458306
mov eax, dword [esp + 0x148]
push eax
jmp 0x4582fe
cmp dword [esp + 0x124], ebx
mov eax, dword [esp + 0x110]
jae 0x458042
lea eax, [esp + 0x110]
push eax
lea ecx, [esp + 0x164]
call fcn.0043ecf0
lea ecx, [esp + 0x9b0]
xor eax, eax
push ecx
lea ecx, [esp + 0x164]
mov byte [esp + 0x9c8], 4
mov word [esp + 0x9b4], si
mov dword [esp + 0x9b6], eax
mov word [esp + 0x9ba], ax
call fcn.0043e900
movzx edi, word [esp + 0x9b4]
push 1
push 3
lea ecx, [esp + 0x8c]
call fcn.0043a050
push 0x4b5754
push edi
lea ecx, [esp + 0x94]
mov byte [esp + 0x9cc], 5
call fcn.00439d40
push eax
call fcn.00439af0
add esp, 8
lea edx, [esp + 0x68]
push edx
lea ecx, [esp + 0x88]
call fcn.00435260
mov edi, eax
push 0x4b5754
lea eax, [esp + 0x148]
push eax
lea ecx, [esp + 0x54]
push ecx
mov byte [esp + 0x9d0], 6
call fcn.0040cba0
push edi
push eax
lea edx, [esp + 0x44]
push edx
mov byte [esp + 0x9dc], 7
call fcn.004172c0
push str.InstallInfo.xml
push eax
lea eax, [esp + 0x148]
push eax
mov byte [esp + 0x9e8], bl
call fcn.0040cba0
add esp, 0x24
cmp dword [esp + 0x48], ebx
jb 0x458135
mov ecx, dword [esp + 0x34]
push ecx
call fcn.00478d09
add esp, 4
mov dword [esp + 0x48], ebp
mov dword [esp + 0x44], esi
mov word [esp + 0x34], si
cmp dword [esp + 0x64], ebx
jb 0x458155
mov edx, dword [esp + 0x50]
push edx
call fcn.00478d09
add esp, 4
mov dword [esp + 0x64], ebp
mov dword [esp + 0x60], esi
mov word [esp + 0x50], si
cmp dword [esp + 0x80], ebx
jb 0x458178
mov eax, dword [esp + 0x6c]
push eax
call fcn.00478d09
add esp, 4
cmp dword [esp + 0x140], ebx
mov ecx, dword [esp + 0x12c]
jb 0x458222
cmp ecx, esi
mov eax, ecx
je 0x4581b2
cmp word [eax], si
je 0x4581b2
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4581ab
test al, 0x10
je 0x45822e
mov ecx, dword [esp + 0x12c]
cmp dword [esp + 0x140], ebx
jb 0x4581c4
push ecx
call fcn.00478d09
add esp, 4
lea ecx, [esp + 0xd8]
mov dword [esp + 0x140], ebp
mov dword [esp + 0x13c], esi
mov word [esp + 0x12c], si
mov byte [esp + 0x9c4], 4
call fcn.004339a0
lea ecx, [esp + 0xd8]
push ecx
mov dword [esp + 0xdc], 0x4b6aec
call fcn.00496530
add esp, 4
lea ecx, [esp + 0x160]
mov byte [esp + 0x9c4], 3
call fcn.0043e970
jmp 0x457fe2
lea eax, [esp + 0x12c]
jmp 0x458192
cmp dword [esp + 0x140], ebx
mov eax, dword [esp + 0x12c]
jae 0x458245
lea eax, [esp + 0x12c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [esp + 0x140], ebx
jb 0x458265
mov ecx, dword [esp + 0x12c]
push ecx
call fcn.00478d09
add esp, 4
lea ecx, [esp + 0xd8]
mov dword [esp + 0x140], ebp
mov dword [esp + 0x13c], esi
mov word [esp + 0x12c], si
mov byte [esp + 0x9c4], 4
call fcn.004339a0
lea edx, [esp + 0xd8]
push edx
mov dword [esp + 0xdc], 0x4b6aec
call fcn.00496530
add esp, 4
lea ecx, [esp + 0x160]
mov byte [esp + 0x9c4], 3
call fcn.0043e970
cmp dword [esp + 0x124], ebx
jb 0x4582d7
mov eax, dword [esp + 0x110]
push eax
call fcn.00478d09
add esp, 4
cmp dword [esp + 0x15c], ebx
mov dword [esp + 0x124], ebp
mov dword [esp + 0x120], esi
mov word [esp + 0x110], si
jb 0x458306
mov ecx, dword [esp + 0x148]
push ecx
call fcn.00478d09
add esp, 4
mov ecx, dword [esp + 0x9bc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x9a4]
xor ecx, esp
call fcn.00478cd0
add esp, 0x9b4
ret