Function at 0x4190d0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x470430
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x498700]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x2c]
call fcn.0043ec5a
xor ecx, ecx
xor ebx, ebx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x419117
push 0x80004005
call fcn.004016d0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov dword [esp + 0x24], ebx
call fcn.0043ec5a
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x419145
push 0x80004005
call fcn.004016d0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x2c], eax
lea edi, [esp + 0x2c]
lea esi, [esp + 0x14]
mov byte [esp + 0x24], 1
call fcn.00418f90
test al, al
jne 0x41918b
push str.Failed_to_get_user_settings_folder
push ebx
push 0x363
push str.CWebInstallerDlg::backupUserSettings
call fcn.00430235
add esp, 0x10
or edi, 0xffffffff
jmp 0x41939d
mov esi, dword [esp + 0x14]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4191fd
push esi
push str.User_settings_folder_does_not_exist:__s
push ebx
push 0x368
push str.CWebInstallerDlg::backupUserSettings
call fcn.00430235
mov byte [esp + 0x38], bl
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
or edi, 0xffffffff
add esp, 0x14
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4191d9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x24], edi
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x4191f6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, 1
jmp 0x4193e3
mov ecx, dword [esp + 0x2c]
push ecx
push str.Attempting_to_backup_user_settings_to__s
push ebx
push 0x36e
push str.CWebInstallerDlg::backupUserSettings
call fcn.00430235
lea edx, [esp + 0x28]
push edx
push 4
lea esi, [esp + 0x48]
call fcn.00410190
mov esi, eax
add esp, 0x1c
cmp esi, ebx
jne 0x419288
push str.Renamed_user_settings_folder
push ebx
push 0x374
push str.CWebInstallerDlg::backupUserSettings
mov dword [ebp + 0x310], 4
call fcn.00430235
mov byte [esp + 0x34], bl
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
or edi, 0xffffffff
add esp, 0x10
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x419278
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x24], edi
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
jmp 0x4191e0
lea ecx, [esp + 0x18]
push esi
push ecx
call fcn.00410080
mov byte [esp + 0x2c], 2
mov edx, dword [eax]
push edx
push esi
push str.Could_not_rename_user_settings_folder__system_error__d____s
push ebx
push 0x379
push str.CWebInstallerDlg::backupUserSettings
call fcn.00430235
mov byte [esp + 0x44], 1
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
or edi, 0xffffffff
add esp, 0x20
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4192db
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x14]
push ecx
push 2
lea esi, [esp + 0x34]
call fcn.00410190
mov esi, eax
add esp, 8
cmp esi, ebx
jne 0x41934d
push str.Copied_user_settings_folder
push ebx
push 0x381
push str.CWebInstallerDlg::backupUserSettings
mov dword [ebp + 0x310], 2
call fcn.00430235
mov byte [esp + 0x34], bl
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
add esp, 0x10
lea edx, [eax + 0xc]
mov ecx, edi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x419278
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x24], edi
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
jmp 0x4191e0
lea ecx, [esp + 0x18]
push esi
push ecx
call fcn.00410080
mov byte [esp + 0x2c], 3
mov edx, dword [eax]
push edx
push esi
push str.Could_not_copy_user_settings_folder__system_error__d____s
push ebx
push 0x386
push str.CWebInstallerDlg::backupUserSettings
call fcn.00430235
mov byte [esp + 0x44], 1
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
add esp, 0x20
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41939d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x24], bl
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov edx, edi
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4193c0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x24], edi
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x4193e1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 4