Function at 0x498b44
Capabilities:
Check if file exists

Disassembly:
push 0x54
mov eax, 0x512589
call fcn.004d0314
mov esi, ecx
mov dword [ebp - 4], 1
xor edi, edi
push edi
lea eax, [ebp - 0x1c]
push eax
push str.CMakeInstallPackDlg::_SaveUserData__
push 0xc5
mov ebx, str..dlgmakeinstallpackdlgmakeinstallpackdlg.cpp
push ebx
lea eax, [ebp - 0x60]
push eax
mov dword [ebp - 0x1c], edi
call fcn.004020c4
mov byte [ebp - 4], 2
lea eax, [ebp - 0x30]
push eax
call fcn.004028b3
mov byte [ebp - 4], 3
lea eax, [ebp - 0x28]
push eax
call fcn.004028b3
mov byte [ebp - 4], 4
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
cmp eax, edi
jne 0x498bc3
push str.ERROR_CHECK_BOOLEX:_IsStrEmpty_strUserName_
push 0xc7
push ebx
push 5
pop ecx
mov dword [ebp - 0x1c], 0x80004005
call fcn.0040ef48
jmp 0x498f48
mov eax, dword [ebp + 0xc]
cmp dword [eax - 0xc], edi
jne 0x498bd7
push str.ERROR_CHECK_BOOLEX:_IsStrEmpty_strUserPassword_
push 0xc8
jmp 0x498bae
lea edi, [esi + 0xa0]
lea eax, [ebp + 8]
call fcn.00403a2e
lea edi, [esi + 0xa4]
lea eax, [ebp + 0xc]
call fcn.00403a2e
lea eax, [ebp + 8]
lea edi, [ebp - 0x30]
call fcn.00403a2e
xor esi, esi
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 5
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x20], eax
cmp eax, esi
je 0x498c88
push eax
call dword [0x51a3cc]
mov edi, eax
inc edi
push esi
mov eax, edi
cdq
push 2
push edx
push eax
mov dword [ebp - 0x18], edi
call fcn.004d5390
cmp edx, esi
jg 0x498c49
jl 0x498c38
cmp eax, 0x7fffffff
ja 0x498c49
push edx
push eax
lea ecx, [ebp - 0x18]
call fcn.0040e152
mov edi, dword [ebp - 0x18]
pop ecx
pop ecx
jmp 0x498c4e
mov eax, 0x80070057
cmp eax, esi
jl 0x498c88
cmp edi, 0x400
jg 0x498c70
push edi
call fcn.0040e0aa
pop ecx
test al, al
je 0x498c70
mov eax, edi
call fcn.004dd0c0
mov eax, esp
jmp 0x498c79
push edi
lea esi, [ebp - 0x14]
call fcn.0040e067
push 3
push edi
push dword [ebp - 0x20]
mov esi, eax
call fcn.0040e007
mov esi, eax
lea eax, [ebp - 0x48]
push eax
call fcn.004998ac
mov byte [ebp - 4], 6
mov eax, dword [ebp + 0xc]
mov eax, dword [eax - 0xc]
lea ecx, [ebp - 0x48]
push ecx
mov ecx, esi
call fcn.0040e1e8
pop ecx
lea eax, [ebp - 0x21]
push eax
lea eax, [ebp - 0x48]
mov byte [ebp - 0x21], 0
call fcn.0049990e
lea eax, [ebp - 0x48]
call fcn.0040eba9
mov dword [ebp - 0x20], eax
test eax, eax
je 0x498d08
push eax
call dword [0x51a348]
mov edi, eax
inc edi
push 0
mov eax, edi
cdq
push 2
push edx
push eax
mov dword [ebp - 0x18], edi
call fcn.004d5390
test edx, edx
jg 0x498cff
jl 0x498cee
cmp eax, 0x7fffffff
ja 0x498cff
push edx
push eax
lea ecx, [ebp - 0x18]
call fcn.0040e152
mov edi, dword [ebp - 0x18]
pop ecx
pop ecx
jmp 0x498d04
mov eax, 0x80070057
test eax, eax
jge 0x498d0c
xor eax, eax
jmp 0x498d42
cmp edi, 0x400
jg 0x498d2a
push edi
call fcn.0040e0aa
pop ecx
test al, al
je 0x498d2a
mov eax, edi
call fcn.004dd0c0
mov eax, esp
jmp 0x498d33
push edi
lea esi, [ebp - 0x14]
call fcn.0040e067
push 3
shr edi, 1
push edi
push dword [ebp - 0x20]
mov esi, eax
call fcn.0040e11f
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0040283d
mov byte [ebp - 4], 5
lea eax, [ebp - 0x48]
push eax
call fcn.004998e4
mov byte [ebp - 4], 4
cmp dword [ebp - 0x14], 0
je 0x498d76
mov eax, dword [ebp - 0x14]
mov esi, dword [eax]
push eax
mov dword [ebp - 0x14], esi
call fcn.004cad3f
pop ecx
test esi, esi
jne 0x498d63
lea eax, [ebp - 0x18]
push eax
call fcn.0040ec80
mov byte [ebp - 4], 7
lea esi, [ebp - 0x20]
call fcn.0040d18b
mov byte [ebp - 4], 8
push dword [eax]
lea eax, [ebp - 0x14]
push eax
call fcn.004022e5
mov byte [ebp - 4], 0xa
mov ecx, esi
call fcn.004028da
push 0x52a100
lea eax, [ebp - 0x14]
call fcn.0040d65b
push dword [ebp - 0x14]
call dword [0x51a4b0]
test eax, eax
jne 0x498e0d
lea eax, [ebp - 0x2c]
push 1
push eax
mov ebx, str.BinPath
call fcn.0040d2b0
pop ecx
pop ecx
mov byte [ebp - 4], 0xb
push dword [eax]
lea eax, [ebp - 0x20]
push eax
call fcn.004022e5
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x20]
lea edi, [ebp - 0x14]
call fcn.00403a2e
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x20]
push eax
call fcn.004025f7
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x2c]
call fcn.004028da
mov ebx, str..dlgmakeinstallpackdlgmakeinstallpackdlg.cpp
mov eax, dword [ebp - 0x14]
xor edi, edi
cmp eax, edi
je 0x498e1b
cmp word [eax], di
jne 0x498e3a
push str.ERROR_CHECK_BOOLEX:_IsStrEmpty__LPCWSTR_pathConfig_
push 0xe3
push ebx
push 5
pop ecx
mov dword [ebp - 0x1c], 0x80004005
call fcn.0040ef48
jmp 0x498f2e
push 0x53b158
lea eax, [ebp - 0x14]
call fcn.0040d65b
push edi
push 0x80
push 2
push edi
push 3
push 0xc0000000
push dword [ebp - 0x14]
call dword [0x51a3a0]
cmp eax, 0xffffffff
jne 0x498e71
push str.ERROR_CHECK_BOOLEX:INVALID_HANDLE_VALUE___hFile
push 0xe6
jmp 0x498e25
push eax
call dword [0x51a3ac]
push dword [ebp - 0x14]
lea eax, [ebp - 0x18]
push eax
call fcn.0040283d
push dword [ebp - 0x30]
mov esi, str.FamilialAffection
push str.UserName
push esi
lea eax, [ebp - 0x18]
mov dword [ebp - 0x1c], edi
call fcn.0045c526
cmp eax, edi
mov dword [ebp - 0x1c], eax
jge 0x498ebd
push eax
push str.ERROR_CHECK_COM_hr___x:_hr
push 0xed
push ebx
push 5
pop esi
call fcn.0040f52f
add esp, 0x10
jmp 0x498f2e
push dword [ebp - 0x28]
lea eax, [ebp - 0x18]
push str.UserPsw
push esi
call fcn.0045c526
cmp eax, edi
mov dword [ebp - 0x1c], eax
jge 0x498ee2
push eax
push str.ERROR_CHECK_COM_hr___x:_hr
push 0xef
jmp 0x498eaf
lea eax, [ebp - 0x2c]
push eax
call fcn.0045c0ac
pop ecx
mov byte [ebp - 4], 0xd
push dword [eax]
lea eax, [ebp - 0x18]
push str.ShareboxUser
push esi
call fcn.0045c526
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x2c]
call fcn.004028da
cmp dword [ebp - 0x1c], edi
jge 0x498f23
push dword [ebp - 0x1c]
push str.ERROR_CHECK_COM_hr___x:_hr
push 0xf1
jmp 0x498eaf
lea esi, [ebp - 0x18]
call fcn.00402617
mov dword [ebp - 0x1c], edi
mov byte [ebp - 4], 7
lea eax, [ebp - 0x14]
push eax
call fcn.004025f7
mov byte [ebp - 4], 4
lea eax, [ebp - 0x18]
push eax
call fcn.0040ec60
mov esi, dword [ebp - 0x1c]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.004028da
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x30]
call fcn.004028da
mov byte [ebp - 4], 1
lea eax, [ebp - 0x60]
push eax
call fcn.0040201a
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.004028da
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.004028da
mov eax, esi
lea esp, [ebp - 0x70]
call fcn.004d0397
ret 8