Function at 0x460080
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bb52d
mov eax, dword fs:[0]
push eax
sub esp, 0x158
mov eax, dword [0x4ff1a0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 0xac], ebx
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xa8], ecx
mov esi, edx
cmp dword [eax + 0x68], ebx
je 0x460220
push 1
push 2
lea ecx, [ebp - 0x164]
call fcn.00413cc0
mov dword [ebp - 4], 1
mov edi, dword [ebp - 0xa4]
add edi, 0x58
push edi
lea edx, [ebp - 0x164]
push str.Already_GetExtVerFromSettingFile__m_strExtVersion:
push edx
call fcn.00416b90
add esp, 8
push eax
call fcn.00416df0
add esp, 8
push 0x23
mov esi, 0xf
push str.CChrmCore::GetExtVerFromSettingFile
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call fcn.0040ebe0
mov byte [ebp - 4], 2
push 0xc
push str.ChrmCore.cpp
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
call fcn.0040ebe0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x164]
call fcn.00413de0
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x2c]
push ecx
push 0x339
lea edx, [ebp - 0x48]
push edx
push 3
call fcn.004144e0
mov ecx, eax
call fcn.0042e360
mov byte [ebp - 4], 3
cmp dword [ebp - 0x50], 8
jb 0x460192
mov eax, dword [ebp - 0x64]
push eax
call fcn.00490458
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x50], 7
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], cx
mov byte [ebp - 4], 2
cmp dword [ebp - 0x34], 0x10
jb 0x4601b8
mov edx, dword [ebp - 0x48]
push edx
call fcn.00490458
add esp, 4
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
mov byte [ebp - 4], 1
cmp dword [ebp - 0x18], 0x10
jb 0x4601d7
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00490458
add esp, 4
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x164]
call fcn.00412cc0
mov esi, dword [ebp - 0xa8]
push 0xffffffffffffffff
xor ecx, ecx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebx
push ebx
mov word [esi], cx
push edi
mov ecx, esi
call fcn.0040f1f0
mov dword [ebp - 4], ebx
mov dword [ebp - 0xac], 1
jmp 0x460917
cmp dword [esi + 0x10], ebx
jne 0x46036e
push 1
push 2
lea ecx, [ebp - 0x164]
call fcn.00413cc0
mov dword [ebp - 4], 5
lea edx, [ebp - 0x164]
push str.strSettingFile_is_EMPTY.
push edx
call fcn.00416b90
add esp, 8
push 0x23
mov esi, 0xf
push str.CChrmCore::GetExtVerFromSettingFile
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
call fcn.0040ebe0
mov byte [ebp - 4], 6
push 0xc
push str.ChrmCore.cpp
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call fcn.0040ebe0
mov byte [ebp - 4], 7
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x164]
call fcn.00413de0
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x48]
push ecx
push 0x33f
lea edx, [ebp - 0x2c]
push edx
push ebx
call fcn.004144e0
mov ecx, eax
call fcn.0042e360
mov byte [ebp - 4], 7
cmp dword [ebp - 0x50], 8
jb 0x4602d4
mov eax, dword [ebp - 0x64]
push eax
call fcn.00490458
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x50], 7
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], cx
mov byte [ebp - 4], 6
mov edi, 0x10
cmp dword [ebp - 0x18], edi
jb 0x4602fe
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00490458
add esp, 4
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
mov byte [ebp - 4], 5
cmp dword [ebp - 0x34], edi
jb 0x46031c
mov eax, dword [ebp - 0x48]
push eax
call fcn.00490458
add esp, 4
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x164]
call fcn.00412cc0
mov esi, dword [ebp - 0xa8]
mov edx, dword [ebp - 0xa4]
push 0xffffffffffffffff
xor ecx, ecx
push ebx
add edx, 0x58
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebx
mov word [esi], cx
push edx
mov ecx, esi
call fcn.0040f1f0
mov dword [ebp - 4], ebx
mov dword [ebp - 0xac], 1
jmp 0x460917
cmp dword [esi + 0x14], 8
jb 0x460378
mov eax, dword [esi]
jmp 0x46037a
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
sete al
cmp al, bl
jne 0x4604d8
push 1
push 2
lea ecx, [ebp - 0x164]
call fcn.00413cc0
mov dword [ebp - 4], 9
push str._NOT_exist.
push esi
lea eax, [ebp - 0x164]
push str.strSettingFile:
push eax
call fcn.00416b90
add esp, 8
push eax
call fcn.00416df0
add esp, 8
push eax
call fcn.00416b90
add esp, 8
push 0x23
mov esi, 0xf
push str.CChrmCore::GetExtVerFromSettingFile
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
call fcn.0040ebe0
mov byte [ebp - 4], 0xa
push 0xc
push str.ChrmCore.cpp
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call fcn.0040ebe0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x64]
push ecx
lea ecx, [ebp - 0x164]
call fcn.00413de0
mov byte [ebp - 4], 0xc
push eax
lea edx, [ebp - 0x48]
push edx
push 0x345
lea eax, [ebp - 0x2c]
push eax
push ebx
call fcn.004144e0
mov ecx, eax
call fcn.0042e360
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x50], 8
jb 0x460452
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.00490458
add esp, 4
xor edx, edx
mov dword [ebp - 0x50], 7
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], dx
mov byte [ebp - 4], 0xa
mov edi, 0x10
cmp dword [ebp - 0x18], edi
jb 0x46047c
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00490458
add esp, 4
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
mov byte [ebp - 4], 9
cmp dword [ebp - 0x34], edi
jb 0x46049a
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.00490458
add esp, 4
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x164]
call fcn.00412cc0
mov esi, dword [ebp - 0xa8]
mov eax, dword [ebp - 0xa4]
push 0xffffffffffffffff
xor edx, edx
push ebx
add eax, 0x58
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebx
mov word [esi], dx
push eax
jmp 0x460355
and dword [ebp - 0xb8], 0xfffffe00
mov dword [ebp - 0xb4], ebx
mov dword [ebp - 4], 0x11
xor ecx, ecx
push 1
mov word [ebp - 0x2c], cx
push 0x4c591c
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
call fcn.0040e680
mov byte [ebp - 4], 0x12
sub esp, 0x1c
mov edx, esp
mov dword [ebp - 0xb0], esp
push edi
lea eax, [ebp - 0x2c]
push eax
push edx
call fcn.00410c00
add esp, 0xc
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0xc0]
push ecx
mov byte [ebp - 4], 0x12
mov ecx, esi
call fcn.0045c520
cmp al, bl
sete byte [ebp - 0x9d]
mov byte [ebp - 4], 0x11
cmp dword [ebp - 0x18], 8
jb 0x460560
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00490458
add esp, 4
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], ax
cmp byte [ebp - 0x9d], bl
je 0x46066e
push 1
push 2
lea ecx, [ebp - 0x164]
call fcn.00413cc0
mov byte [ebp - 4], 0x14
push esi
push str.__strSettingFile_:
push edi
lea ecx, [ebp - 0x164]
push str.GetValueFormFile_FAILED._strExtID:
push ecx
call fcn.00416b90
add esp, 8
push eax
call fcn.00416df0
add esp, 8
push eax
call fcn.0042c440
add esp, 8
push eax
call fcn.00416df0
add esp, 8
push str.CChrmCore::GetExtVerFromSettingFile
lea ecx, [ebp - 0x2c]
call fcn.0040ece0
mov byte [ebp - 4], 0x15
push str.ChrmCore.cpp
lea ecx, [ebp - 0x64]
call fcn.0040ece0
mov byte [ebp - 4], 0x16
lea edx, [ebp - 0x48]
push edx
lea ecx, [ebp - 0x164]
call fcn.00413de0
mov byte [ebp - 4], 0x17
push eax
lea eax, [ebp - 0x2c]
push eax
push 0x34c
lea ecx, [ebp - 0x64]
push ecx
push ebx
call fcn.004144e0
mov ecx, eax
call fcn.0042e360
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x48]
call fcn.0040f320
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x64]
call fcn.0040f350
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x2c]
call fcn.0040f350
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x164]
call fcn.00412cc0
mov edx, dword [ebp - 0xa4]
mov esi, dword [ebp - 0xa8]
add edx, 0x58
push edx
mov ecx, esi
call fcn.0040f2f0
mov dword [ebp - 0xac], 1
jmp 0x460909
mov dword [ebp - 0x6c], 0xf
mov dword [ebp - 0x70], ebx
mov byte [ebp - 0x80], bl
mov byte [ebp - 4], 0x18
push str.manifest
lea ecx, [ebp - 0xc0]
call fcn.0046467e
push eax
lea ecx, [ebp - 0x3c]
call fcn.00463dbf
mov byte [ebp - 4], 0x19
cmp byte [ebp - 0x34], 7
jne 0x4608d0
mov dword [ebp - 0xcc], str.version
mov dword [ebp - 0xc8], ebx
mov byte [ebp - 4], 0x1c
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 4]
mov edx, dword [eax + 4]
mov edi, eax
cmp byte [edx + 0x29], bl
jne 0x460719
mov eax, dword [edx + 0x10]
cmp eax, ebx
je 0x460701
mov esi, str.version
mov cl, byte [eax]
cmp cl, byte [esi]
jne 0x4606f8
cmp cl, bl
je 0x4606f2
mov cl, byte [eax + 1]
cmp cl, byte [esi + 1]
jne 0x4606f8
add eax, 2
add esi, 2
cmp cl, bl
jne 0x4606d6
xor eax, eax
cmp eax, ebx
jmp 0x460704
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jmp 0x460704
cmp dword [edx + 0x14], ebx
setl al
cmp al, bl
je 0x460710
mov edx, dword [edx + 8]
jmp 0x460714
mov edi, edx
mov edx, dword [edx]
cmp byte [edx + 0x29], bl
je 0x4606ca
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ecx + 4]
mov dword [ebp - 0xc4], edi
cmp edi, edx
je 0x460767
mov esi, dword [edi + 0x10]
mov eax, str.version
mov cl, byte [eax]
cmp cl, byte [esi]
jne 0x460751
cmp cl, bl
je 0x46074d
mov cl, byte [eax + 1]
cmp cl, byte [esi + 1]
jne 0x460751
add eax, 2
add esi, 2
cmp cl, bl
jne 0x460731
xor eax, eax
jmp 0x460756
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
setl al
cmp al, bl
jne 0x460767
lea eax, [ebp - 0xc4]
jmp 0x460773
mov dword [ebp - 0xb0], edx
lea eax, [ebp - 0xb0]
mov eax, dword [eax]
cmp eax, edx
jne 0x460784
mov byte [ebp - 4], 0x19
mov eax, 0x503690
jmp 0x46078b
add eax, 0x18
mov byte [ebp - 4], 0x19
cmp eax, 0x503690
setne al
cmp al, bl
je 0x4608d0
push str.manifest
lea ecx, [ebp - 0xc0]
call fcn.0046467e
push str.version
mov ecx, eax
call fcn.0046467e
lea edx, [ebp - 0x64]
push edx
mov ecx, eax
call fcn.00464036
mov byte [ebp - 4], 0x1d
push eax
lea ecx, [ebp - 0x80]
call fcn.0040e5d0
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x64]
call fcn.0040f350
cmp dword [ebp - 0x70], ebx
je 0x4608d0
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x64]
push ecx
call fcn.00418a60
add esp, 8
mov byte [ebp - 4], 0x1e
mov esi, dword [ebp - 0xa4]
add esi, 0x58
push eax
mov ecx, esi
call fcn.00409ad0
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x64]
call fcn.0040f320
push 1
push 2
lea ecx, [ebp - 0x164]
call fcn.00413cc0
mov byte [ebp - 4], 0x1f
push esi
lea edx, [ebp - 0x164]
push str.GetExtVerFromSettingFile_OK__m_strExtVersion:
push edx
call fcn.00416b90
add esp, 8
push eax
call fcn.00416df0
add esp, 8
push str.CChrmCore::GetExtVerFromSettingFile
lea ecx, [ebp - 0x2c]
call fcn.0040ece0
mov byte [ebp - 4], 0x20
push str.ChrmCore.cpp
lea ecx, [ebp - 0x64]
call fcn.0040ece0
mov byte [ebp - 4], 0x21
lea eax, [ebp - 0x9c]
push eax
lea ecx, [ebp - 0x164]
call fcn.00413de0
mov byte [ebp - 4], 0x22
push eax
lea ecx, [ebp - 0x2c]
push ecx
push 0x359
lea edx, [ebp - 0x64]
push edx
push 3
call fcn.004144e0
mov ecx, eax
call fcn.0042e360
mov byte [ebp - 4], 0x21
lea ecx, [ebp - 0x9c]
call fcn.0040f320
mov byte [ebp - 4], 0x20
lea ecx, [ebp - 0x64]
call fcn.0040f350
mov byte [ebp - 4], 0x1f
lea ecx, [ebp - 0x2c]
call fcn.0040f350
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x164]
call fcn.00412cc0
mov eax, dword [ebp - 0xa4]
mov esi, dword [ebp - 0xa8]
add eax, 0x58
push eax
mov ecx, esi
call fcn.0040f2f0
mov dword [ebp - 0xac], 1
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x3c]
call fcn.00463ee0
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x80]
call fcn.0040f350
mov byte [ebp - 4], bl
lea ecx, [ebp - 0xc0]
call fcn.00463ee0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004911d1
mov esp, ebp
pop ebp
ret 8