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

Disassembly:
push 0xffffffffffffffff
push 0x4c280a
mov eax, dword fs:[0]
push eax
sub esp, 0xb60
mov eax, dword [0x4e880c]
xor eax, esp
mov dword [esp + 0xb5c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4e880c]
xor eax, esp
push eax
lea eax, [esp + 0xb74]
mov dword fs:[0], eax
xor ebx, ebx
push ebx
mov dword [esp + 0x34], ecx
mov edi, 7
push 0x4d39d0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], bx
call fcn.0040244b
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14c]
push ecx
mov dword [esp + 0xb84], ebx
call fcn.00445c10
add esp, 8
mov ebp, 8
cmp dword [esp + 0x2c], ebp
mov byte [esp + 0xb7c], 2
jb 0x4685be
mov edx, dword [esp + 0x18]
push edx
call fcn.0048c049
add esp, 4
cmp dword [esp + 0x15c], ebx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], ebx
mov word [esp + 0x18], bx
je 0x468625
lea ecx, [esp + 0xf4]
push ebx
push ecx
call fcn.00446310
add esp, 8
cmp dword [esp + 0x108], ebx
mov byte [esp + 0xb7c], 3
jne 0x46863f
cmp dword [esp + 0x10c], ebp
jb 0x46860f
mov edx, dword [esp + 0xf8]
push edx
call fcn.0048c049
add esp, 4
mov dword [esp + 0x10c], edi
mov dword [esp + 0x108], ebx
mov word [esp + 0xf8], bx
cmp dword [esp + 0x160], ebp
jb 0x468a3f
mov eax, dword [esp + 0x14c]
push eax
jmp 0x468a37
cmp dword [esp + 0x10c], ebp
mov eax, dword [esp + 0xf8]
jae 0x468656
lea eax, [esp + 0xf8]
push eax
lea ecx, [esp + 0x31c]
call fcn.00441fd0
lea ecx, [esp + 0xb68]
xor eax, eax
push ecx
lea ecx, [esp + 0x31c]
mov byte [esp + 0xb80], 4
mov word [esp + 0xb6c], bx
mov dword [esp + 0xb6e], eax
mov word [esp + 0xb72], ax
call fcn.00441be0
movzx esi, word [esp + 0xb6c]
push 1
push 3
lea ecx, [esp + 0x74]
call fcn.0043e0b0
push 0x4caa50
push esi
lea ecx, [esp + 0x7c]
mov byte [esp + 0xb84], 5
call fcn.0043dd90
push eax
call fcn.00432190
add esp, 8
lea edx, [esp + 0x34]
push edx
lea ecx, [esp + 0x70]
call fcn.0043b170
mov esi, eax
push 0x4caa50
lea eax, [esp + 0x14c]
push eax
lea ecx, [esp + 0x58]
push ecx
mov byte [esp + 0xb88], 6
call fcn.0040dae0
push esi
push eax
lea edx, [esp + 0x28]
push edx
mov byte [esp + 0xb94], 7
call fcn.00419e20
push str.InstallInfo.xml
push eax
lea eax, [esp + 0x130]
push eax
mov byte [esp + 0xba0], 8
call fcn.0040dae0
add esp, 0x24
cmp dword [esp + 0x2c], ebp
jb 0x468741
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0048c049
add esp, 4
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], ebx
mov word [esp + 0x18], bx
cmp dword [esp + 0x68], ebp
jb 0x468761
mov edx, dword [esp + 0x54]
push edx
call fcn.0048c049
add esp, 4
mov dword [esp + 0x68], edi
mov dword [esp + 0x64], ebx
mov word [esp + 0x54], bx
cmp dword [esp + 0x4c], ebp
jb 0x468781
mov eax, dword [esp + 0x38]
push eax
call fcn.0048c049
add esp, 4
cmp dword [esp + 0x128], ebp
jb 0x468a67
mov eax, dword [esp + 0x114]
cmp eax, ebx
je 0x4687cc
cmp word [eax], bx
je 0x4687cc
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4687cc
test al, 0x10
jne 0x4687cc
cmp dword [esp + 0x128], ebp
mov eax, dword [esp + 0x114]
jae 0x4687c5
lea eax, [esp + 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edi, 0xf
mov dword [esp + 0x144], edi
mov dword [esp + 0x140], ebx
mov byte [esp + 0x130], bl
lea ecx, [esp + 0x110]
push ecx
lea edx, [esp + 0x38]
push edx
mov byte [esp + 0xb84], 0xd
call fcn.0046d290
add esp, 8
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x138]
mov byte [esp + 0xb88], 0xe
call fcn.0040206e
mov esi, 0x10
cmp dword [esp + 0x4c], esi
mov byte [esp + 0xb7c], 0xd
jb 0x46883b
mov eax, dword [esp + 0x38]
push eax
call fcn.0048c049
add esp, 4
push 0x4ca9a4
push 0x4d39ce
push 0x4ca9a0
lea ecx, [esp + 0x288]
call fcn.00472200
lea ecx, [esp + 0x164]
mov byte [esp + 0xb7c], 0xf
call fcn.00471ac0
push 0xfde9
push str.InstallInfo
lea ecx, [esp + 0x1e8]
mov byte [esp + 0xb84], 0x10
call fcn.00471760
lea ecx, [esp + 0x27c]
push ecx
lea ecx, [esp + 0x168]
mov byte [esp + 0xb80], 0x11
call fcn.00470a40
mov ecx, dword [esp + 0x30]
lea edx, [esp + 0x1e0]
push edx
call fcn.004670e0
lea eax, [esp + 0x1e0]
push eax
lea ecx, [esp + 0x168]
call fcn.00470a40
lea ecx, [esp + 0x12c]
push ecx
lea ecx, [esp + 0x168]
call fcn.0040b0f0
lea ecx, [esp + 0x1e0]
mov byte [esp + 0xb7c], 0x10
call fcn.004712f0
cmp dword [esp + 0x1cc], esi
mov byte [esp + 0xb7c], 0xf
mov dword [esp + 0x164], 0x4ca94c
jb 0x46891d
mov edx, dword [esp + 0x1b8]
push edx
call fcn.0048c049
add esp, 4
lea ecx, [esp + 0x164]
mov dword [esp + 0x1cc], edi
mov dword [esp + 0x1c8], ebx
mov byte [esp + 0x1b8], bl
call fcn.004710a0
lea ecx, [esp + 0x27c]
mov byte [esp + 0xb7c], 0xd
call fcn.0040b490
cmp dword [esp + 0x144], esi
jb 0x46896b
mov eax, dword [esp + 0x130]
push eax
call fcn.0048c049
add esp, 4
cmp dword [esp + 0x128], ebp
mov dword [esp + 0x144], edi
mov dword [esp + 0x140], ebx
mov byte [esp + 0x130], bl
jb 0x468999
mov ecx, dword [esp + 0x114]
push ecx
call fcn.0048c049
add esp, 4
mov esi, 7
lea ecx, [esp + 0xc0]
mov dword [esp + 0x128], esi
mov dword [esp + 0x124], ebx
mov word [esp + 0x114], bx
mov byte [esp + 0xb7c], 4
call fcn.0043a5e0
lea edx, [esp + 0xc0]
push edx
mov dword [esp + 0xc4], 0x4ca7b0
call fcn.004aa0bd
add esp, 4
lea ecx, [esp + 0x318]
mov byte [esp + 0xb7c], 3
call fcn.00441c50
cmp dword [esp + 0x10c], ebp
jb 0x468a10
mov eax, dword [esp + 0xf8]
push eax
call fcn.0048c049
add esp, 4
cmp dword [esp + 0x160], ebp
mov dword [esp + 0x10c], esi
mov dword [esp + 0x108], ebx
mov word [esp + 0xf8], bx
jb 0x468a3f
mov ecx, dword [esp + 0x14c]
push ecx
call fcn.0048c049
add esp, 4
mov ecx, dword [esp + 0xb74]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xb5c]
xor ecx, esp
call fcn.0048c010
add esp, 0xb6c
ret
lea eax, [esp + 0x114]
jmp 0x468799