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

Disassembly:
push 0xffffffffffffffff
push 0x4a7973
mov eax, dword fs:[0]
push eax
sub esp, 0x9a8
mov eax, dword [0x4c66b8]
xor eax, esp
mov dword [esp + 0x9a4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c66b8]
xor eax, esp
push eax
lea eax, [esp + 0x9bc]
mov dword fs:[0], eax
xor esi, esi
push esi
mov ebp, 7
push 0x4af938
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], ebp
mov dword [esp + 0x30], esi
mov word [esp + 0x20], si
call fcn.00409d00
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x148]
push ecx
mov dword [esp + 0x9cc], esi
call fcn.0043bf00
add esp, 8
mov ebx, 8
cmp dword [esp + 0x2c], ebx
mov byte [esp + 0x9c4], 2
jb 0x45039a
mov edx, dword [esp + 0x18]
push edx
call fcn.00470fc9
add esp, 4
cmp dword [esp + 0x158], esi
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], esi
mov word [esp + 0x18], si
je 0x450401
lea ecx, [esp + 0x10c]
push esi
push ecx
call fcn.0043c600
add esp, 8
cmp dword [esp + 0x120], esi
mov byte [esp + 0x9c4], 3
jne 0x45041b
cmp dword [esp + 0x124], ebx
jb 0x4503eb
mov edx, dword [esp + 0x110]
push edx
call fcn.00470fc9
add esp, 4
mov dword [esp + 0x124], ebp
mov dword [esp + 0x120], esi
mov word [esp + 0x110], si
cmp dword [esp + 0x15c], ebx
jb 0x4506f6
mov eax, dword [esp + 0x148]
push eax
jmp 0x4506ee
cmp dword [esp + 0x124], ebx
mov eax, dword [esp + 0x110]
jae 0x450432
lea eax, [esp + 0x110]
push eax
lea ecx, [esp + 0x164]
call fcn.00437cd0
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.004378e0
movzx edi, word [esp + 0x9b4]
push 1
push 3
lea ecx, [esp + 0x8c]
call fcn.00434f00
push 0x4ae764
push edi
lea ecx, [esp + 0x94]
mov byte [esp + 0x9cc], 5
call fcn.004345e0
push eax
call fcn.004343c0
add esp, 8
lea edx, [esp + 0x68]
push edx
lea ecx, [esp + 0x88]
call fcn.00432650
mov edi, eax
push 0x4ae764
lea eax, [esp + 0x148]
push eax
lea ecx, [esp + 0x54]
push ecx
mov byte [esp + 0x9d0], 6
call fcn.0040a3f0
push edi
push eax
lea edx, [esp + 0x44]
push edx
mov byte [esp + 0x9dc], 7
call fcn.004147d0
push str.InstallInfo.xml
push eax
lea eax, [esp + 0x148]
push eax
mov byte [esp + 0x9e8], bl
call fcn.0040a3f0
add esp, 0x24
cmp dword [esp + 0x48], ebx
jb 0x450525
mov ecx, dword [esp + 0x34]
push ecx
call fcn.00470fc9
add esp, 4
mov dword [esp + 0x48], ebp
mov dword [esp + 0x44], esi
mov word [esp + 0x34], si
cmp dword [esp + 0x64], ebx
jb 0x450545
mov edx, dword [esp + 0x50]
push edx
call fcn.00470fc9
add esp, 4
mov dword [esp + 0x64], ebp
mov dword [esp + 0x60], esi
mov word [esp + 0x50], si
cmp dword [esp + 0x80], ebx
jb 0x450568
mov eax, dword [esp + 0x6c]
push eax
call fcn.00470fc9
add esp, 4
cmp dword [esp + 0x140], ebx
mov ecx, dword [esp + 0x12c]
jb 0x450612
cmp ecx, esi
mov eax, ecx
je 0x4505a2
cmp word [eax], si
je 0x4505a2
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x45059b
test al, 0x10
je 0x45061e
mov ecx, dword [esp + 0x12c]
cmp dword [esp + 0x140], ebx
jb 0x4505b4
push ecx
call fcn.00470fc9
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.004310c0
lea ecx, [esp + 0xd8]
push ecx
mov dword [esp + 0xdc], 0x4afa98
call fcn.0048e633
add esp, 4
lea ecx, [esp + 0x160]
mov byte [esp + 0x9c4], 3
call fcn.00437950
jmp 0x4503d2
lea eax, [esp + 0x12c]
jmp 0x450582
cmp dword [esp + 0x140], ebx
mov eax, dword [esp + 0x12c]
jae 0x450635
lea eax, [esp + 0x12c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [esp + 0x140], ebx
jb 0x450655
mov ecx, dword [esp + 0x12c]
push ecx
call fcn.00470fc9
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.004310c0
lea edx, [esp + 0xd8]
push edx
mov dword [esp + 0xdc], 0x4afa98
call fcn.0048e633
add esp, 4
lea ecx, [esp + 0x160]
mov byte [esp + 0x9c4], 3
call fcn.00437950
cmp dword [esp + 0x124], ebx
jb 0x4506c7
mov eax, dword [esp + 0x110]
push eax
call fcn.00470fc9
add esp, 4
cmp dword [esp + 0x15c], ebx
mov dword [esp + 0x124], ebp
mov dword [esp + 0x120], esi
mov word [esp + 0x110], si
jb 0x4506f6
mov ecx, dword [esp + 0x148]
push ecx
call fcn.00470fc9
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.00470f90
add esp, 0x9b4
ret