Function at 0x490fa0
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53c66a
mov eax, dword fs:[0]
push eax
mov eax, 0x20d0
call fcn.004b0a90
mov eax, dword [0x58c758]
xor eax, ebp
mov dword [ebp - 0x50], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2084], ecx
mov ecx, dword [ebp + 0xc]
call fcn.00402010
movzx eax, al
test eax, eax
jne 0x490ff7
mov ecx, dword [ebp + 0xc]
call fcn.0043e290
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x491045
push str.EntClientEntAllFix.ini.dec
lea ecx, [ebp - 0x2058]
push ecx
call fcn.0041acc0
add esp, 8
mov dword [ebp - 0x2088], eax
mov edx, dword [ebp - 0x2088]
mov dword [ebp - 0x208c], edx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x208c]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00401970
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2058]
call fcn.00401eb0
mov ecx, dword [ebp + 0xc]
call fcn.0043e290
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x49105f
xor eax, eax
jmp 0x4919f2
mov ecx, dword [ebp + 8]
call fcn.00493760
mov dword [ebp - 0x10], 0
jmp 0x491079
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
xor edx, edx
mov word [ebp - 0x2054], dx
push 0x1ffe
push 0
lea eax, [ebp - 0x2052]
push eax
call fcn.004b0ac0
add esp, 0xc
lea ecx, [ebp - 0x30]
call fcn.00403840
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
push ecx
push str.task_d
lea edx, [ebp - 0x30]
push edx
call fcn.00409170
add esp, 0xc
mov ecx, dword [ebp + 0xc]
call fcn.0043e290
push eax
push 0xfff
lea eax, [ebp - 0x2054]
push eax
push 0x540868
lea ecx, [ebp - 0x30]
call fcn.0043e290
push eax
push str.Task
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0x2054]
push ecx
call fcn.004b0eb7
add esp, 4
test eax, eax
ja 0x491111
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00401eb0
jmp 0x4919ed
lea edx, [ebp - 0x2054]
push edx
lea ecx, [ebp - 0x28]
call fcn.00401e30
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x20]
call fcn.00403840
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x48]
call fcn.00403840
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1c]
call fcn.00403840
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2c]
call fcn.00403840
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x18]
call fcn.00403840
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x24]
call fcn.00403840
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x28]
call fcn.00428bb0
push 0
push 0x543270
lea ecx, [ebp - 0x28]
call fcn.004282c0
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0xffffffff
jne 0x4911f4
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x24]
call fcn.00401eb0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x18]
call fcn.00401eb0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2c]
call fcn.00401eb0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1c]
call fcn.00401eb0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x48]
call fcn.00401eb0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x20]
call fcn.00401eb0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.00401eb0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00401eb0
jmp 0x491070
mov eax, dword [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x205c]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00409410
mov dword [ebp - 0x2090], eax
mov edx, dword [ebp - 0x2090]
mov dword [ebp - 0x2094], edx
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x2094]
push eax
lea ecx, [ebp - 0x20]
call fcn.00401970
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x205c]
call fcn.00401eb0
lea ecx, [ebp - 0x20]
call fcn.00428bb0
mov ecx, dword [ebp - 0x4c]
add ecx, 1
push ecx
lea edx, [ebp - 0x2060]
push edx
lea ecx, [ebp - 0x28]
call fcn.00408770
mov dword [ebp - 0x2098], eax
mov eax, dword [ebp - 0x2098]
mov dword [ebp - 0x209c], eax
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x209c]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00401970
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x2060]
call fcn.00401eb0
lea ecx, [ebp - 0x28]
call fcn.00428bb0
push 0
push 0x543270
lea ecx, [ebp - 0x28]
call fcn.004282c0
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0xffffffff
jne 0x491315
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x24]
call fcn.00401eb0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x18]
call fcn.00401eb0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2c]
call fcn.00401eb0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1c]
call fcn.00401eb0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x48]
call fcn.00401eb0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x20]
call fcn.00401eb0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.00401eb0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00401eb0
jmp 0x491070
mov edx, dword [ebp - 0x4c]
push edx
lea eax, [ebp - 0x2064]
push eax
lea ecx, [ebp - 0x28]
call fcn.00409410
mov dword [ebp - 0x20a0], eax
mov ecx, dword [ebp - 0x20a0]
mov dword [ebp - 0x20a4], ecx
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0x20a4]
push edx
lea ecx, [ebp - 0x48]
call fcn.00401970
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x2064]
call fcn.00401eb0
lea ecx, [ebp - 0x48]
call fcn.00428bb0
push str.360safe_speedup_fix
lea ecx, [ebp - 0x48]
call fcn.00452180
test eax, eax
je 0x4913dd
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x24]
call fcn.00401eb0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x18]
call fcn.00401eb0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2c]
call fcn.00401eb0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1c]
call fcn.00401eb0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x48]
call fcn.00401eb0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x20]
call fcn.00401eb0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.00401eb0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00401eb0
jmp 0x491070
mov eax, dword [ebp - 0x4c]
add eax, 1
push eax
lea ecx, [ebp - 0x2068]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00408770
mov dword [ebp - 0x20a8], eax
mov edx, dword [ebp - 0x20a8]
mov dword [ebp - 0x20ac], edx
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x20ac]
push eax
lea ecx, [ebp - 0x28]
call fcn.00401970
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x2068]
call fcn.00401eb0
lea ecx, [ebp - 0x28]
call fcn.00428bb0
push 0
push 0x54326c
lea ecx, [ebp - 0x28]
call fcn.004282c0
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0xffffffff
jne 0x4914af
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x24]
call fcn.00401eb0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x18]
call fcn.00401eb0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2c]
call fcn.00401eb0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1c]
call fcn.00401eb0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x48]
call fcn.00401eb0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x20]
call fcn.00401eb0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.00401eb0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00401eb0
jmp 0x491070
mov ecx, dword [ebp - 0x4c]
push ecx
lea edx, [ebp - 0x206c]
push edx
lea ecx, [ebp - 0x28]
call fcn.00409410
mov dword [ebp - 0x20b0], eax
mov eax, dword [ebp - 0x20b0]
mov dword [ebp - 0x20b4], eax
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x20b4]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00401970
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x206c]
call fcn.00401eb0
lea ecx, [ebp - 0x2c]
call fcn.00428bb0
push 0x54a874
lea ecx, [ebp - 0x2c]
call fcn.00401ef0
test eax, eax
je 0x491577
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x24]
call fcn.00401eb0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x18]
call fcn.00401eb0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2c]
call fcn.00401eb0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1c]
call fcn.00401eb0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x48]
call fcn.00401eb0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x20]
call fcn.00401eb0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.00401eb0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00401eb0
jmp 0x491070
mov edx, dword [ebp - 0x4c]
add edx, 1
push edx
lea eax, [ebp - 0x2070]
push eax
lea ecx, [ebp - 0x28]
call fcn.00408770
mov dword [ebp - 0x20b8], eax
mov ecx, dword [ebp - 0x20b8]
mov dword [ebp - 0x20bc], ecx
mov byte [ebp - 4], 0xe
mov edx, dword [ebp - 0x20bc]
push edx
lea ecx, [ebp - 0x28]
call fcn.00401970
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x2070]
call fcn.00401eb0
lea ecx, [ebp - 0x28]
call fcn.00428bb0
push 0
push 0x54326c
lea ecx, [ebp - 0x28]
call fcn.004282c0
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0xffffffff
jne 0x491649
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x24]
call fcn.00401eb0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x18]
call fcn.00401eb0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2c]
call fcn.00401eb0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1c]
call fcn.00401eb0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x48]
call fcn.00401eb0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x20]
call fcn.00401eb0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.00401eb0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00401eb0
jmp 0x491070
mov eax, dword [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x2074]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00409410
mov dword [ebp - 0x20c0], eax
mov edx, dword [ebp - 0x20c0]
mov dword [ebp - 0x20c4], edx
mov byte [ebp - 4], 0xf
mov eax, dword [ebp - 0x20c4]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00401970
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x2074]
call fcn.00401eb0
lea ecx, [ebp - 0x1c]
call fcn.00428bb0
lea ecx, [ebp - 0x1c]
call fcn.0043e290
push eax
call fcn.004b5d34
add esp, 4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
jle 0x4916b8
cmp dword [ebp - 0x14], 4
jle 0x491720
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x24]
call fcn.00401eb0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x18]
call fcn.00401eb0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2c]
call fcn.00401eb0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1c]
call fcn.00401eb0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x48]
call fcn.00401eb0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x20]
call fcn.00401eb0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.00401eb0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00401eb0
jmp 0x491070
mov ecx, dword [ebp - 0x4c]
add ecx, 1
push ecx
lea edx, [ebp - 0x2078]
push edx
lea ecx, [ebp - 0x28]
call fcn.00408770
mov dword [ebp - 0x20c8], eax
mov eax, dword [ebp - 0x20c8]
mov dword [ebp - 0x20cc], eax
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x20cc]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00401970
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x2078]
call fcn.00401eb0
lea ecx, [ebp - 0x28]
call fcn.00428bb0
push 0
push 0x54326c
lea ecx, [ebp - 0x28]
call fcn.004282c0
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0xffffffff
jne 0x4917f2
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x24]
call fcn.00401eb0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x18]
call fcn.00401eb0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2c]
call fcn.00401eb0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1c]
call fcn.00401eb0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x48]
call fcn.00401eb0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x20]
call fcn.00401eb0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.00401eb0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00401eb0
jmp 0x491070
mov edx, dword [ebp - 0x4c]
push edx
lea eax, [ebp - 0x207c]
push eax
lea ecx, [ebp - 0x28]
call fcn.00409410
mov dword [ebp - 0x20d0], eax
mov ecx, dword [ebp - 0x20d0]
mov dword [ebp - 0x20d4], ecx
mov byte [ebp - 4], 0x11
mov edx, dword [ebp - 0x20d4]
push edx
lea ecx, [ebp - 0x18]
call fcn.00401970
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x207c]
call fcn.00401eb0
lea ecx, [ebp - 0x18]
call fcn.00428bb0
lea ecx, [ebp - 0x18]
call fcn.00402010
movzx eax, al
test eax, eax
je 0x4918b8
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x24]
call fcn.00401eb0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x18]
call fcn.00401eb0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2c]
call fcn.00401eb0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1c]
call fcn.00401eb0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x48]
call fcn.00401eb0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x20]
call fcn.00401eb0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.00401eb0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00401eb0
jmp 0x491070
mov ecx, dword [ebp - 0x4c]
add ecx, 1
push ecx
lea edx, [ebp - 0x2080]
push edx
lea ecx, [ebp - 0x28]
call fcn.00408770
mov dword [ebp - 0x20d8], eax
mov eax, dword [ebp - 0x20d8]
mov dword [ebp - 0x20dc], eax
mov byte [ebp - 4], 0x12
mov ecx, dword [ebp - 0x20dc]
push ecx
lea ecx, [ebp - 0x24]
call fcn.00401970
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x2080]
call fcn.00401eb0
lea ecx, [ebp - 0x24]
call fcn.00428bb0
lea ecx, [ebp - 0x44]
call fcn.00493310
mov byte [ebp - 4], 0x13
lea edx, [ebp - 0x18]
push edx
lea ecx, [ebp - 0x44]
call fcn.00401970
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x3c]
call fcn.00401970
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x40]
call fcn.00401970
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x38], edx
cmp dword [0x58fb50], 0
je 0x491962
lea eax, [ebp - 0x2054]
push eax
push str.6e0R_T
push 0x58f750
call fcn.004045b0
add esp, 0xc
lea ecx, [ebp - 0x44]
push ecx
lea edx, [ebp - 0x18]
push edx
mov ecx, dword [ebp + 8]
call fcn.004935e0
mov ecx, eax
call fcn.00493350
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x44]
call fcn.00409d90
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x24]
call fcn.00401eb0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x18]
call fcn.00401eb0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2c]
call fcn.00401eb0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1c]
call fcn.00401eb0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x48]
call fcn.00401eb0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x20]
call fcn.00401eb0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.00401eb0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00401eb0
jmp 0x491070
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x50]
xor ecx, ebp
call fcn.004b0a79
mov esp, ebp
pop ebp
ret 8