Function at 0x440393
Capabilities:
Check if file exists

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x4be8a0]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0x5c
mov eax, 0x4899fa
call fcn.004677c7
mov dword [ebp - 0x20], ecx
mov edi, 0x4c4f30
push edi
lea ecx, [ebp - 0x14]
call fcn.00401ce4
xor esi, esi
push 0x208
lea eax, [ebp]
push esi
push eax
mov dword [ebp - 4], esi
call fcn.004670a0
add esp, 0xc
push 0x104
lea eax, [ebp]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x14]
call fcn.004025eb
mov ebx, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push str.ConfiguninstUninstDisplay.xml
lea eax, [ebp]
push eax
call ebx
lea eax, [ebp]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x440436
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.004023e9
xor eax, eax
jmp 0x4405cf
lea eax, [ebp]
push eax
call fcn.0043de83
mov ecx, eax
call fcn.0045d860
test eax, eax
je 0x440424
call fcn.0043de83
mov ecx, eax
call fcn.0046606e
push eax
lea ecx, [ebp - 0x5c]
call fcn.0043fac1
mov esi, dword [ebp - 0x4c]
sub esi, dword [ebp - 0x50]
push edi
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
sar esi, 2
call fcn.00401ce4
and dword [ebp - 0x1c], 0
mov byte [ebp - 4], 2
test esi, esi
jle 0x440597
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
call fcn.00401d13
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x5c]
call fcn.00431a99
mov eax, dword [eax]
add eax, 0x10
push eax
lea ecx, [ebp - 0x18]
call fcn.00402ee2
mov edi, dword [ebp - 0x18]
push edi
push 0x104
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.004024f1
push eax
call ebx
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.00420322
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4404e1
lea ecx, [edi - 0x10]
jmp 0x440582
lea ecx, [ebp - 0x18]
call fcn.0040a9c1
mov edi, dword [ebp - 0x20]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x40]
add edi, 0xf4
push eax
mov ecx, edi
call fcn.0043e408
mov eax, dword [edi + 0x18]
push edi
push eax
lea ecx, [ebp - 0x38]
call fcn.0043e18e
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x40]
call fcn.0045c792
test al, al
je 0x44057c
push dword [ebp - 0x10]
call fcn.00420307
test eax, eax
je 0x44057c
push eax
push ecx
lea eax, [ebp - 0x18]
mov dword [ebp - 0x44], esp
mov ecx, esp
push eax
call fcn.00402ee2
lea eax, [ebp - 0x30]
push eax
call fcn.0043e30f
add esp, 0xc
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 4
call fcn.00421b98
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x68]
push eax
mov ecx, edi
mov byte [ebp - 4], 5
call fcn.00424a91
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.004023e9
mov ecx, dword [ebp - 0x30]
add ecx, 0xfffffff0
call fcn.004023e9
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
mov byte [ebp - 4], 2
call fcn.004023e9
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], esi
jl 0x440485
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x10]
mov esi, dword [eax + 0x110]
add ecx, 0xfffffff0
call fcn.004023e9
lea ecx, [ebp - 0x5c]
call fcn.00455fdb
push dword [ebp - 0x5c]
call fcn.00463780
pop ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.004023e9
xor eax, eax
cmp eax, esi
sbb eax, eax
neg eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.0046711a
add ebp, 0x20c
leave
ret