Function at 0x4019e0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x4129b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push ebp
push esi
lea eax, [esp + 0x10]
push edi
xor ebx, ebx
mov ebp, ecx
push eax
mov dword [esp + 0x20], ebx
call fcn.00401ca0
lea ecx, [esp + 0x14]
mov dword [esp + 0x38], ebx
push ecx
call fcn.00401dc0
lea edx, [esp + 0x20]
push ebx
push edx
mov byte [esp + 0x44], 1
call fcn.004013d0
mov eax, dword [esp + 0x24]
mov esi, dword [sym.imp.MSVCRT.dll_wcscmp]
push 0x41a6c4
push eax
mov byte [esp + 0x4c], 2
call esi
mov edi, dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 0x18
cmp eax, ebx
je 0x401a63
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push ecx
push edx
call edi
add esp, 8
cmp eax, ebx
jne 0x401a91
mov eax, dword [esp + 0x10]
push 0x41a6c4
push eax
call esi
add esp, 8
cmp eax, ebx
je 0x401c47
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
push ecx
push edx
call edi
add esp, 8
cmp eax, ebx
je 0x401c47
lea eax, [esp + 0x10]
lea ecx, [esp + 0x24]
push eax
call sub.MFC42u.DLL_CString::CString_2
push str.uninst.exe
lea ecx, [esp + 0x28]
mov byte [esp + 0x38], 3
call sub.MFC42u.DLL_CString::operator_1
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x24]
call sub.MFC42u.DLL_CString::CString_2
mov ebx, 4
push str.uninst.exe
lea ecx, [esp + 0x24]
mov byte [esp + 0x38], bl
call sub.MFC42u.DLL_CString::operator_1
mov edx, dword [esp + 0x10]
push 0x41a6c4
push edx
call esi
add esp, 8
test eax, eax
je 0x401b74
mov eax, dword [esp + 0x24]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x401b74
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
push ecx
push edx
call edi
add esp, 8
test eax, eax
je 0x401b74
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x10]
mov eax, dword [eax - 8]
push eax
call sub.MFC42u.DLL_CString::GetBuffer
push eax
push 0x21
push 3
call fcn.004018e0
add esp, 0xc
cmp eax, 1
jne 0x401c21
lea ecx, [esp + 0x28]
push 0
push ecx
call fcn.004013d0
mov eax, dword [eax]
mov edx, dword [ebp + 0x74]
push 0
push 0x64
push eax
mov eax, dword [esp + 0x38]
push edx
push eax
push 0
mov byte [esp + 0x54], 5
call fcn.00403df0
add esp, 0x20
lea ecx, [esp + 0x28]
mov byte [esp + 0x34], bl
call sub.MFC42u.DLL_CString::CString
jmp 0x401c29
mov ecx, dword [esp + 0x14]
push 0x41a6c4
push ecx
call esi
add esp, 8
test eax, eax
je 0x401c06
mov edx, dword [esp + 0x20]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x401c06
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push eax
push ecx
call edi
add esp, 8
test eax, eax
je 0x401c06
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x14]
mov eax, dword [edx - 8]
push eax
call sub.MFC42u.DLL_CString::GetBuffer
push eax
push 0x21
push 3
call fcn.004018e0
add esp, 0xc
cmp eax, 1
jne 0x401c21
lea eax, [esp + 0x28]
push 0
push eax
call fcn.004013d0
mov eax, dword [eax]
mov ecx, dword [ebp + 0x74]
mov edx, dword [esp + 0x28]
push 0
push 0x64
push eax
push ecx
push edx
push 0
mov byte [esp + 0x54], 6
call fcn.00403df0
add esp, 0x20
lea ecx, [esp + 0x28]
mov byte [esp + 0x34], bl
call sub.MFC42u.DLL_CString::CString
jmp 0x401c29
push 0
push 0x21
push ebx
call fcn.004018e0
add esp, 0xc
cmp eax, 1
jne 0x401c21
mov ecx, ebp
call fcn.004015f0
jmp 0x401c29
mov dword [esp + 0x1c], 1
lea ecx, [esp + 0x20]
mov byte [esp + 0x34], 3
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x34], 2
call sub.MFC42u.DLL_CString::CString
jmp 0x401c4f
mov dword [esp + 0x1c], 1
lea ecx, [esp + 0x18]
mov byte [esp + 0x34], 1
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x34], 0
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x14]
mov dword [esp + 0x34], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret