Function at 0x474640
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ec769
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
mov eax, dword [0x677000]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xc0], 0
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], eax
mov word [ebp - 0x58], ax
mov byte [ebp - 4], 1
push 4
push str.LANG
lea ecx, [ebp - 0xa4]
mov dword [ebp - 0x90], 7
mov dword [ebp - 0x94], eax
mov word [ebp - 0xa4], ax
call fcn.00406400
lea eax, [ebp - 0xa4]
push eax
mov byte [ebp - 4], 2
mov ecx, dword [0x74e2f4]
lea eax, [ebp - 0x40]
push eax
add ecx, 0xc
call fcn.00409910
mov esi, eax
lea eax, [ebp - 0x58]
cmp eax, esi
je 0x47471d
cmp dword [ebp - 0x44], 8
jb 0x474700
push dword [ebp - 0x58]
call fcn.0049500b
add esp, 4
xor eax, eax
push esi
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
call fcn.00405f10
cmp dword [ebp - 0x2c], 8
jb 0x47472e
push dword [ebp - 0x40]
call fcn.0049500b
add esp, 4
xor eax, eax
mov byte [ebp - 4], 1
cmp dword [ebp - 0x90], 8
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
jb 0x47475d
push dword [ebp - 0xa4]
call fcn.0049500b
add esp, 4
push 0
push 0x624ff8
push dword [ebp - 0x48]
push ecx
lea ecx, [ebp - 0x58]
call fcn.00407060
test eax, eax
je 0x474d26
push 0xa
xor eax, eax
push str.ONLINEFLAG
lea ecx, [ebp - 0xbc]
mov dword [ebp - 0xa8], 7
mov dword [ebp - 0xac], 0
mov word [ebp - 0xbc], ax
call fcn.00406400
mov byte [ebp - 4], 3
mov ecx, dword [0x74e2f4]
lea eax, [ebp - 0xbc]
mov ebx, 1
push eax
lea ecx, [ecx + 0xc]
mov dword [ebp - 0xc0], ebx
call fcn.00409ba0
cmp eax, ebx
je 0x474812
push str.CD_ONLINEFLAG
lea ecx, [ebp - 0xa4]
call fcn.00405d00
mov dword [ebp - 4], 4
mov ecx, dword [0x74e2f4]
lea eax, [ebp - 0xa4]
mov ebx, 3
push eax
lea ecx, [ecx + 0xc]
mov dword [ebp - 0xc0], ebx
call fcn.00409ba0
mov byte [ebp - 0x89], 0
cmp eax, 1
jne 0x474819
mov byte [ebp - 0x89], 1
test bl, 2
je 0x474855
and ebx, 0xfffffffd
cmp dword [ebp - 0x90], 8
jb 0x474838
push dword [ebp - 0xa4]
call fcn.0049500b
add esp, 4
xor eax, eax
mov dword [ebp - 0x90], 7
mov dword [ebp - 0x94], 0
mov word [ebp - 0xa4], ax
mov dword [ebp - 4], 1
test bl, 1
je 0x474878
cmp dword [ebp - 0xa8], 8
jb 0x474878
push dword [ebp - 0xbc]
call fcn.0049500b
add esp, 4
cmp byte [ebp - 0x89], 0
je 0x474a7a
push 0x624350
lea ecx, [ebp - 0xbc]
call fcn.00405d00
lea eax, [ebp - 0xbc]
mov byte [ebp - 4], 5
mov ecx, dword [0x74e2f4]
push eax
lea eax, [ebp - 0x70]
push eax
lea ecx, [ecx + 0x1c]
call fcn.00409910
mov byte [ebp - 4], 7
cmp dword [ebp - 0xa8], 8
jb 0x4748cd
push dword [ebp - 0xbc]
call fcn.0049500b
add esp, 4
xor eax, eax
push str.PATH
lea ecx, [ebp - 0xd8]
mov dword [ebp - 0xa8], 7
mov dword [ebp - 0xac], 0
mov word [ebp - 0xbc], ax
call fcn.00405d00
push str.INSTALL_EXSP_AGREE
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 8
call fcn.00405d00
lea eax, [ebp - 0xd8]
push eax
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 9
mov ecx, dword [0x74e2f4]
push eax
lea eax, [ebp - 0x40]
push eax
lea ecx, [ecx + 0x2c]
call fcn.00414810
cmp dword [ebp - 0x90], 8
jb 0x47494d
push dword [ebp - 0xa4]
call fcn.0049500b
add esp, 4
xor eax, eax
mov dword [ebp - 0x90], 7
mov dword [ebp - 0x94], 0
mov word [ebp - 0xa4], ax
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0xc4], 8
jb 0x474985
push dword [ebp - 0xd8]
call fcn.0049500b
add esp, 4
mov ecx, dword [0x74e2f4]
xor eax, eax
mov word [ebp - 0xd8], ax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0xbc]
push eax
lea ecx, [ecx + 0xc]
mov dword [ebp - 0xc4], 7
mov dword [ebp - 0xc8], 0
call fcn.00409910
mov esi, eax
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x4749f2
cmp dword [ebp - 0x14], 8
jb 0x4749d5
push dword [ebp - 0x28]
call fcn.0049500b
add esp, 4
xor eax, eax
push esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00405f10
cmp dword [ebp - 0xa8], 8
jb 0x474a09
push dword [ebp - 0xbc]
call fcn.0049500b
add esp, 4
push 0xd
push str.RESMESSAGE_
lea ecx, [ebp - 0x28]
call fcn.004062d0
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x28]
call fcn.004061c0
push 0xc
push str.message.ini
lea ecx, [ebp - 0x28]
call fcn.004062d0
cmp dword [ebp - 0x2c], 8
jb 0x474a48
push dword [ebp - 0x40]
call fcn.0049500b
add esp, 4
xor eax, eax
mov byte [ebp - 4], 1
cmp dword [ebp - 0x5c], 8
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
jb 0x474b40
push dword [ebp - 0x70]
call fcn.0049500b
add esp, 4
jmp 0x474b40
push 0x626dbc
lea ecx, [ebp - 0x70]
call fcn.00405d00
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 0xd
mov ecx, dword [0x74e2f4]
push eax
lea eax, [ebp - 0x40]
push eax
lea ecx, [ecx + 0x1c]
call fcn.00409910
mov esi, eax
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x474ad8
cmp dword [ebp - 0x14], 8
jb 0x474abb
push dword [ebp - 0x28]
call fcn.0049500b
add esp, 4
xor eax, eax
push esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00405f10
cmp dword [ebp - 0x2c], 8
jb 0x474ae9
push dword [ebp - 0x40]
call fcn.0049500b
add esp, 4
xor eax, eax
mov byte [ebp - 4], 1
cmp dword [ebp - 0x5c], 8
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
jb 0x474b12
push dword [ebp - 0x70]
call fcn.0049500b
add esp, 4
push 0x13
push str.IJPLMRESMESSAGE_
lea ecx, [ebp - 0x28]
call fcn.004062d0
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x28]
call fcn.004061c0
push 0xc
push str.message.ini
lea ecx, [ebp - 0x28]
call fcn.004062d0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x474b6d
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push str._CInfoMgr::IsEULAIJPLM__GetFileAttributes___Failed___fPath:_s
jmp 0x474d37
push str.PSVM1B
lea ecx, [ebp - 0xd8]
call fcn.00405d00
push 0x63f954
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0xe
call fcn.00405d00
lea eax, [ebp - 0xd8]
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0xf
mov ecx, dword [0x74e2f4]
push eax
lea eax, [ebp - 0x88]
push eax
lea ecx, [ecx + 0x2c]
call fcn.00414810
cmp dword [ebp - 0x2c], 8
jb 0x474bc7
push dword [ebp - 0x40]
call fcn.0049500b
add esp, 4
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
mov byte [ebp - 4], 0x12
cmp dword [ebp - 0xc4], 8
jb 0x474bf6
push dword [ebp - 0xd8]
call fcn.0049500b
add esp, 4
xor eax, eax
mov dword [ebp - 0xc4], 7
mov dword [ebp - 0xc8], 0
mov word [ebp - 0xd8], ax
cmp dword [ebp - 0x78], eax
je 0x474cf7
push str.PSVM1C
lea ecx, [ebp - 0x70]
call fcn.00405d00
push 0x63f954
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 0x13
call fcn.00405d00
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0xbc]
push eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x14
mov ecx, dword [0x74e2f4]
push eax
lea eax, [ebp - 0xa4]
push eax
lea ecx, [ecx + 0x2c]
call fcn.00414810
push eax
lea ecx, [ebp - 0x88]
call fcn.00405dd0
cmp dword [ebp - 0x90], 8
jb 0x474c88
push dword [ebp - 0xa4]
call fcn.0049500b
add esp, 4
xor eax, eax
cmp dword [ebp - 0xa8], 8
mov dword [ebp - 0x90], 7
mov dword [ebp - 0x94], 0
mov word [ebp - 0xa4], ax
jb 0x474cbc
push dword [ebp - 0xbc]
call fcn.0049500b
add esp, 4
xor eax, eax
cmp dword [ebp - 0x5c], 8
mov dword [ebp - 0xa8], 7
mov dword [ebp - 0xac], 0
mov word [ebp - 0xbc], ax
jb 0x474cea
push dword [ebp - 0x70]
call fcn.0049500b
add esp, 4
cmp dword [ebp - 0x78], 0
je 0x474cf7
mov esi, 1
jmp 0x474cf9
xor esi, esi
cmp dword [ebp - 0x74], 8
jb 0x474d0d
push dword [ebp - 0x88]
call fcn.0049500b
add esp, 4
xor eax, eax
mov dword [ebp - 0x74], 7
mov dword [ebp - 0x78], 0
mov word [ebp - 0x88], ax
jmp 0x474d57
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push eax
push str._CInfoMgr::IsEULAIJPLM__Result:FALSE___VAR_LANG:_s
push 0xffffffffffffffff
push 0x1000
push 0x74e818
call fcn.005b8769
add esp, 0x14
push 0x74e818
call fcn.00418730
xor esi, esi
cmp dword [ebp - 0x44], 8
jb 0x474d68
push dword [ebp - 0x58]
call fcn.0049500b
add esp, 4
xor eax, eax
cmp dword [ebp - 0x14], 8
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
jb 0x474d8d
push dword [ebp - 0x28]
call fcn.0049500b
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005b7f8f
mov esp, ebp
pop ebp
ret