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

Disassembly:
push 0xffffffffffffffff
push 0x4a8223
mov eax, dword fs:[0]
push eax
sub esp, 0x9a8
mov eax, dword [0x4c8698]
xor eax, esp
mov dword [esp + 0x9a4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c8698]
xor eax, esp
push eax
lea eax, [esp + 0x9bc]
mov dword fs:[0], eax
xor esi, esi
push esi
mov ebp, 7
push 0x4b0878
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], ebp
mov dword [esp + 0x30], esi
mov word [esp + 0x20], si
call fcn.00409b40
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x148]
push ecx
mov dword [esp + 0x9cc], esi
call fcn.0043a930
add esp, 8
mov ebx, 8
cmp dword [esp + 0x2c], ebx
mov byte [esp + 0x9c4], 2
jb 0x44f8da
mov edx, dword [esp + 0x18]
push edx
call fcn.00470259
add esp, 4
cmp dword [esp + 0x158], esi
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], esi
mov word [esp + 0x18], si
je 0x44f941
lea ecx, [esp + 0x10c]
push esi
push ecx
call fcn.0043b030
add esp, 8
cmp dword [esp + 0x120], esi
mov byte [esp + 0x9c4], 3
jne 0x44f95b
cmp dword [esp + 0x124], ebx
jb 0x44f92b
mov edx, dword [esp + 0x110]
push edx
call fcn.00470259
add esp, 4
mov dword [esp + 0x124], ebp
mov dword [esp + 0x120], esi
mov word [esp + 0x110], si
cmp dword [esp + 0x15c], ebx
jb 0x44fc36
mov eax, dword [esp + 0x148]
push eax
jmp 0x44fc2e
cmp dword [esp + 0x124], ebx
mov eax, dword [esp + 0x110]
jae 0x44f972
lea eax, [esp + 0x110]
push eax
lea ecx, [esp + 0x164]
call fcn.00436720
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.00436330
movzx edi, word [esp + 0x9b4]
push 1
push 3
lea ecx, [esp + 0x8c]
call fcn.00433ac0
push 0x4af76c
push edi
lea ecx, [esp + 0x94]
mov byte [esp + 0x9cc], 5
call fcn.004331a0
push eax
call fcn.00432f80
add esp, 8
lea edx, [esp + 0x68]
push edx
lea ecx, [esp + 0x88]
call fcn.004311c0
mov edi, eax
push 0x4af76c
lea eax, [esp + 0x148]
push eax
lea ecx, [esp + 0x54]
push ecx
mov byte [esp + 0x9d0], 6
call fcn.0040a230
push edi
push eax
lea edx, [esp + 0x44]
push edx
mov byte [esp + 0x9dc], 7
call fcn.004142b0
push str.InstallInfo.xml
push eax
lea eax, [esp + 0x148]
push eax
mov byte [esp + 0x9e8], bl
call fcn.0040a230
add esp, 0x24
cmp dword [esp + 0x48], ebx
jb 0x44fa65
mov ecx, dword [esp + 0x34]
push ecx
call fcn.00470259
add esp, 4
mov dword [esp + 0x48], ebp
mov dword [esp + 0x44], esi
mov word [esp + 0x34], si
cmp dword [esp + 0x64], ebx
jb 0x44fa85
mov edx, dword [esp + 0x50]
push edx
call fcn.00470259
add esp, 4
mov dword [esp + 0x64], ebp
mov dword [esp + 0x60], esi
mov word [esp + 0x50], si
cmp dword [esp + 0x80], ebx
jb 0x44faa8
mov eax, dword [esp + 0x6c]
push eax
call fcn.00470259
add esp, 4
cmp dword [esp + 0x140], ebx
mov ecx, dword [esp + 0x12c]
jb 0x44fb52
cmp ecx, esi
mov eax, ecx
je 0x44fae2
cmp word [eax], si
je 0x44fae2
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x44fadb
test al, 0x10
je 0x44fb5e
mov ecx, dword [esp + 0x12c]
cmp dword [esp + 0x140], ebx
jb 0x44faf4
push ecx
call fcn.00470259
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.0042fc40
lea ecx, [esp + 0xd8]
push ecx
mov dword [esp + 0xdc], 0x4af4f8
call fcn.0048ea57
add esp, 4
lea ecx, [esp + 0x160]
mov byte [esp + 0x9c4], 3
call fcn.004363a0
jmp 0x44f912
lea eax, [esp + 0x12c]
jmp 0x44fac2
cmp dword [esp + 0x140], ebx
mov eax, dword [esp + 0x12c]
jae 0x44fb75
lea eax, [esp + 0x12c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [esp + 0x140], ebx
jb 0x44fb95
mov ecx, dword [esp + 0x12c]
push ecx
call fcn.00470259
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.0042fc40
lea edx, [esp + 0xd8]
push edx
mov dword [esp + 0xdc], 0x4af4f8
call fcn.0048ea57
add esp, 4
lea ecx, [esp + 0x160]
mov byte [esp + 0x9c4], 3
call fcn.004363a0
cmp dword [esp + 0x124], ebx
jb 0x44fc07
mov eax, dword [esp + 0x110]
push eax
call fcn.00470259
add esp, 4
cmp dword [esp + 0x15c], ebx
mov dword [esp + 0x124], ebp
mov dword [esp + 0x120], esi
mov word [esp + 0x110], si
jb 0x44fc36
mov ecx, dword [esp + 0x148]
push ecx
call fcn.00470259
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.00470220
add esp, 0x9b4
ret