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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x536bae
mov eax, dword fs:[0]
push eax
sub esp, 0x900
mov eax, dword [0x58c758]
xor eax, ebp
mov dword [ebp - 0x58], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x8c4], ecx
push str.EntClientEntAllFix.ini.dec
lea eax, [ebp - 0x38]
push eax
call fcn.00401270
add esp, 8
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x38]
call fcn.0043e290
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4276f0
mov dword [ebp - 0x87c], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.00401eb0
mov eax, dword [ebp - 0x87c]
jmp 0x428093
lea ecx, [ebp - 0x1c]
call fcn.00403840
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.00403840
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x860]
call fcn.00403840
mov byte [ebp - 4], 3
push 0x540868
lea ecx, [ebp - 0x28]
call fcn.00401e30
mov byte [ebp - 4], 4
xor ecx, ecx
mov word [ebp - 0x85c], cx
push 0x7fe
push 0
lea edx, [ebp - 0x85a]
push edx
call fcn.004b0ac0
add esp, 0xc
lea ecx, [ebp - 0x54]
call fcn.00449170
mov byte [ebp - 4], 5
mov dword [ebp - 0x864], 0
jmp 0x42776e
mov eax, dword [ebp - 0x864]
add eax, 1
mov dword [ebp - 0x864], eax
mov ecx, dword [ebp - 0x864]
push ecx
push str.task_d
lea edx, [ebp - 0x28]
push edx
call fcn.00409170
add esp, 0xc
lea ecx, [ebp - 0x38]
call fcn.0043e290
push eax
push 0x3ff
lea eax, [ebp - 0x85c]
push eax
push 0x540868
lea ecx, [ebp - 0x28]
call fcn.0043e290
push eax
push str.Task
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
jne 0x4277bd
jmp 0x427bcb
lea ecx, [ebp - 0x85c]
push ecx
call fcn.004b0eb7
add esp, 4
test eax, eax
jne 0x4277d5
jmp 0x427bcb
lea edx, [ebp - 0x85c]
push edx
lea ecx, [ebp - 0x86c]
call fcn.00401e30
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x86c]
call fcn.00428bb0
lea ecx, [ebp - 0x86c]
call fcn.004086e0
test eax, eax
jne 0x427819
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x86c]
call fcn.00401eb0
jmp 0x42775f
push 0
push str.360safe_migrate
lea ecx, [ebp - 0x86c]
call fcn.004282c0
cmp eax, 0xffffffff
je 0x427847
push 0
push 0x543624
lea ecx, [ebp - 0x86c]
call fcn.004282c0
cmp eax, 0xffffffff
jne 0x42785b
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x86c]
call fcn.00401eb0
jmp 0x42775f
mov dword [ebp - 0x868], 0xffffffff
push 0
push 0x2c
lea ecx, [ebp - 0x86c]
call fcn.00408700
mov dword [ebp - 0x868], eax
cmp dword [ebp - 0x868], 0xffffffff
jne 0x427897
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x86c]
call fcn.00401eb0
jmp 0x42775f
mov eax, dword [ebp - 0x868]
push eax
lea ecx, [ebp - 0x880]
push ecx
lea ecx, [ebp - 0x86c]
call fcn.00409410
mov dword [ebp - 0x8c8], eax
mov edx, dword [ebp - 0x8c8]
mov dword [ebp - 0x8cc], edx
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x8cc]
push eax
lea ecx, [ebp - 0x860]
call fcn.00401970
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x880]
call fcn.00401eb0
push 0x2c
lea ecx, [ebp - 0x86c]
call fcn.0041cee0
mov dword [ebp - 0x868], eax
cmp dword [ebp - 0x868], 0xffffffff
jne 0x427917
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x86c]
call fcn.00401eb0
jmp 0x42775f
mov ecx, dword [ebp - 0x868]
push ecx
lea edx, [ebp - 0x870]
push edx
lea ecx, [ebp - 0x86c]
call fcn.00409410
mov byte [ebp - 4], 8
push 0x2c
lea ecx, [ebp - 0x870]
call fcn.0041cee0
mov dword [ebp - 0x868], eax
cmp dword [ebp - 0x868], 0xffffffff
jne 0x427973
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x870]
call fcn.00401eb0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x86c]
call fcn.00401eb0
jmp 0x42775f
mov eax, dword [ebp - 0x868]
add eax, 1
push eax
lea ecx, [ebp - 0x884]
push ecx
lea ecx, [ebp - 0x870]
call fcn.00408770
mov dword [ebp - 0x8d0], eax
mov edx, dword [ebp - 0x8d0]
mov dword [ebp - 0x8d4], edx
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x8d4]
push eax
lea ecx, [ebp - 0x870]
call fcn.00401970
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x884]
call fcn.00401eb0
push 0x7c
lea ecx, [ebp - 0x870]
call fcn.0041cee0
mov dword [ebp - 0x868], eax
cmp dword [ebp - 0x868], 0xffffffff
jne 0x427a05
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x870]
call fcn.00401eb0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x86c]
call fcn.00401eb0
jmp 0x42775f
mov ecx, dword [ebp - 0x868]
add ecx, 1
push ecx
lea edx, [ebp - 0x888]
push edx
lea ecx, [ebp - 0x870]
call fcn.00408770
mov dword [ebp - 0x8d8], eax
mov eax, dword [ebp - 0x8d8]
mov dword [ebp - 0x8dc], eax
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x8dc]
push ecx
lea ecx, [ebp - 0x20]
call fcn.00401970
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x888]
call fcn.00401eb0
mov edx, dword [ebp - 0x868]
push edx
lea eax, [ebp - 0x88c]
push eax
lea ecx, [ebp - 0x870]
call fcn.00409410
mov dword [ebp - 0x8e0], eax
mov ecx, dword [ebp - 0x8e0]
mov dword [ebp - 0x8e4], ecx
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0x8e4]
push edx
lea ecx, [ebp - 0x870]
call fcn.00401970
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x88c]
call fcn.00401eb0
push 0x7c
lea ecx, [ebp - 0x870]
call fcn.0041cee0
mov dword [ebp - 0x868], eax
cmp dword [ebp - 0x868], 0xffffffff
jne 0x427ae4
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x870]
call fcn.00401eb0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x86c]
call fcn.00401eb0
jmp 0x42775f
mov eax, dword [ebp - 0x868]
add eax, 1
push eax
lea ecx, [ebp - 0x890]
push ecx
lea ecx, [ebp - 0x870]
call fcn.00408770
mov dword [ebp - 0x8e8], eax
mov edx, dword [ebp - 0x8e8]
mov dword [ebp - 0x8ec], edx
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x8ec]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00401970
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x890]
call fcn.00401eb0
lea ecx, [ebp - 0x54]
push ecx
push ecx
mov ecx, esp
mov dword [ebp - 0x894], esp
lea edx, [ebp - 0x1c]
push edx
call fcn.00401e10
mov dword [ebp - 0x8f0], eax
mov ecx, dword [ebp - 0x8c4]
call fcn.00427570
lea ecx, [ebp - 0x54]
call fcn.004a3d00
test eax, eax
je 0x427ba8
lea ecx, [ebp - 0x20]
call fcn.00402010
movzx eax, al
test eax, eax
jne 0x427ba8
lea ecx, [ebp - 0x860]
call fcn.00402010
movzx ecx, al
test ecx, ecx
jne 0x427ba8
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x870]
call fcn.00401eb0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x86c]
call fcn.00401eb0
jmp 0x427bcb
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x870]
call fcn.00401eb0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x86c]
call fcn.00401eb0
jmp 0x42775f
call fcn.00401d40
mov dword [ebp - 0x2c], eax
lea ecx, [ebp - 0x39]
call fcn.00407270
mov byte [ebp - 4], 0xd
push 0x540868
lea ecx, [ebp - 0x24]
call fcn.00401e30
mov byte [ebp - 4], 0xe
lea edx, [ebp - 0x878]
push edx
lea ecx, [ebp - 0x54]
call fcn.00499910
lea eax, [ebp - 0x89c]
push eax
lea ecx, [ebp - 0x54]
call fcn.0045c5d0
push eax
lea ecx, [ebp - 0x878]
call fcn.00474e80
movzx ecx, al
test ecx, ecx
je 0x427d39
lea ecx, [ebp - 0x878]
call fcn.004a3db0
mov ecx, eax
call fcn.0043e290
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x427c4c
mov dword [ebp - 0x8f4], 0
jmp 0x427cad
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x3fffffff
jle 0x427c71
mov dword [ebp - 0x8f8], 0
jmp 0x427ca1
mov eax, dword [ebp - 0x10]
shl eax, 1
call fcn.004b1fe0
mov dword [ebp - 0x8fc], esp
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x10]
shl ecx, 1
push ecx
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x8fc]
push eax
call fcn.00408e90
mov dword [ebp - 0x8f8], eax
mov ecx, dword [ebp - 0x8f8]
mov dword [ebp - 0x8f4], ecx
mov edx, dword [ebp - 0x8f4]
push edx
lea ecx, [ebp - 0x39]
call fcn.00407190
test eax, eax
jne 0x427d08
mov eax, dword [ebp - 0x878]
mov dword [ebp - 0x8a4], eax
mov ecx, dword [ebp - 0x874]
mov dword [ebp - 0x8a0], ecx
mov edx, dword [ebp - 0x8a0]
push edx
mov eax, dword [ebp - 0x8a4]
push eax
lea ecx, [ebp - 0x8ac]
push ecx
lea ecx, [ebp - 0x54]
call fcn.004284a0
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x878], edx
mov dword [ebp - 0x874], eax
jmp 0x427d34
lea ecx, [ebp - 0x878]
call fcn.004a3db0
push eax
lea ecx, [ebp - 0x24]
call fcn.004049a0
push 0x543620
lea ecx, [ebp - 0x24]
call fcn.00401990
lea ecx, [ebp - 0x878]
call fcn.004499c0
jmp 0x427bff
lea ecx, [ebp - 0x54]
call fcn.004a3d00
test eax, eax
jne 0x427dd6
push 0x5435fc
push 0x58f750
call fcn.004045b0
add esp, 8
mov dword [ebp - 0x8b0], 0
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x24]
call fcn.00401eb0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x39]
call fcn.00407280
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x54]
call fcn.00404b20
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.00401eb0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x860]
call fcn.00401eb0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.00401eb0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.00401eb0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.00401eb0
mov eax, dword [ebp - 0x8b0]
jmp 0x428093
push 0x540e68
lea ecx, [ebp - 0x30]
push ecx
call fcn.00401270
add esp, 8
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x30]
call fcn.0043e290
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x427e89
mov dword [ebp - 0x8b4], 0
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x30]
call fcn.00401eb0
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x24]
call fcn.00401eb0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x39]
call fcn.00407280
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x54]
call fcn.00404b20
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.00401eb0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x860]
call fcn.00401eb0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.00401eb0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.00401eb0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.00401eb0
mov eax, dword [ebp - 0x8b4]
jmp 0x428093
lea ecx, [ebp - 0x30]
call fcn.0043e290
push eax
lea ecx, [ebp - 0x24]
call fcn.0043e290
push eax
push 0x540e40
push str.migrate
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [ebp - 0x30]
call fcn.0043e290
push eax
lea ecx, [ebp - 0x20]
call fcn.0043e290
push eax
push str.port
push str.migrate
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
cmp dword [0x58fb50], 0
je 0x427ef0
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x24]
push eax
push 0x5435d8
push 0x58f750
call fcn.004045b0
add esp, 0x10
push 0
lea ecx, [ebp - 0x860]
call fcn.0041cf30
movzx ecx, ax
cmp ecx, 0x7b
jne 0x427f50
push 1
lea edx, [ebp - 0x8b8]
push edx
lea ecx, [ebp - 0x860]
call fcn.00408770
mov dword [ebp - 0x900], eax
mov eax, dword [ebp - 0x900]
mov dword [ebp - 0x904], eax
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x904]
push ecx
lea ecx, [ebp - 0x860]
call fcn.00401970
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x8b8]
call fcn.00401eb0
lea ecx, [ebp - 0x860]
call fcn.004086e0
sub eax, 1
push eax
lea ecx, [ebp - 0x860]
call fcn.0041cf30
movzx edx, ax
cmp edx, 0x7d
jne 0x427fca
lea ecx, [ebp - 0x860]
call fcn.004086e0
sub eax, 1
push eax
lea eax, [ebp - 0x8bc]
push eax
lea ecx, [ebp - 0x860]
call fcn.00409410
mov dword [ebp - 0x908], eax
mov ecx, dword [ebp - 0x908]
mov dword [ebp - 0x90c], ecx
mov byte [ebp - 4], 0x11
mov edx, dword [ebp - 0x90c]
push edx
lea ecx, [ebp - 0x860]
call fcn.00401970
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x8bc]
call fcn.00401eb0
push 0x540868
lea ecx, [ebp - 0x14]
call fcn.00401e30
mov byte [ebp - 4], 0x12
mov eax, dword [ebp - 0x860]
push eax
push str.sid10003guid_s
lea ecx, [ebp - 0x14]
push ecx
call fcn.00409170
add esp, 0xc
lea edx, [ebp - 0x14]
push edx
mov ecx, dword [ebp - 0x8c4]
add ecx, 0x2c
call fcn.004a04d0
mov dword [ebp - 0x8c0], 1
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x14]
call fcn.00401eb0
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x30]
call fcn.00401eb0
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x24]
call fcn.00401eb0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x39]
call fcn.00407280
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x54]
call fcn.00404b20
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.00401eb0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x860]
call fcn.00401eb0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.00401eb0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.00401eb0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.00401eb0
mov eax, dword [ebp - 0x8c0]
lea esp, [ebp - 0x910]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x58]
xor ecx, ebp
call fcn.004b0a79
mov esp, ebp
pop ebp
ret 0x10