Function at 0x401c00
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40ffa7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2ac
push ebx
push esi
push edi
lea ecx, [ebp - 0x18]
call fcn.0040bc10
mov dword [ebp - 4], 0
lea eax, [ebp - 0x220]
push eax
call fcn.00401b90
add esp, 4
test eax, eax
jne 0x401c67
mov dword [ebp - 0x23c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.0040bc90
mov eax, dword [ebp - 0x23c]
jmp 0x401ef7
push str.PPLiveNetworkproduct.ini
lea ecx, [ebp - 0x220]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea edx, [ebp - 0x220]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x401cae
mov dword [ebp - 0x240], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.0040bc90
mov eax, dword [ebp - 0x240]
jmp 0x401ef7
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x18]
call fcn.0040bd10
push 0
push str.count
push str.product
lea ecx, [ebp - 0x18]
call fcn.0040be40
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x228], 1
jmp 0x401cf2
mov ecx, dword [ebp - 0x228]
add ecx, 1
mov dword [ebp - 0x228], ecx
mov edx, dword [ebp - 0x228]
cmp edx, dword [ebp - 0x224]
ja 0x401ed8
lea ecx, [ebp - 0x22c]
call sub.MFC42u.DLL_CString::CString_2
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x228]
push eax
push str.product_d
lea ecx, [ebp - 0x22c]
push ecx
call sub.MFC42u.DLL_CString::Format
add esp, 0xc
push 0x411628
push str.name
lea ecx, [ebp - 0x22c]
call fcn.00401910
push eax
lea edx, [ebp - 0x250]
push edx
lea ecx, [ebp - 0x18]
call fcn.0040bee0
mov dword [ebp - 0x26c], eax
mov eax, dword [ebp - 0x26c]
mov dword [ebp - 0x270], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x270]
call dword [sym.imp.MSVCP60.dll_public:_unsigned_short_int_const____thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::c_str_void_const]
push eax
lea ecx, [ebp - 0x230]
call sub.MFC42u.DLL_CString::CString_1
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x250]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::destructor_void_]
push 0x411628
push str.fullname
lea ecx, [ebp - 0x22c]
call fcn.00401910
push eax
lea ecx, [ebp - 0x260]
push ecx
lea ecx, [ebp - 0x18]
call fcn.0040bee0
mov dword [ebp - 0x274], eax
mov edx, dword [ebp - 0x274]
mov dword [ebp - 0x278], edx
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x278]
call dword [sym.imp.MSVCP60.dll_public:_unsigned_short_int_const____thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::c_str_void_const]
push eax
lea ecx, [ebp - 0x234]
call sub.MFC42u.DLL_CString::CString_1
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x260]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::destructor_void_]
push 0
push str.state
lea ecx, [ebp - 0x22c]
call fcn.00401910
push eax
lea ecx, [ebp - 0x18]
call fcn.0040be40
mov dword [ebp - 0x238], eax
push str.PPLite
lea ecx, [ebp - 0x230]
call fcn.00401f10
test eax, eax
je 0x401e3c
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x230]
call fcn.00401f10
test eax, eax
je 0x401e4f
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x234]
call fcn.00401f10
test eax, eax
jne 0x401ea6
cmp dword [ebp - 0x238], 1
jne 0x401ea6
mov dword [ebp - 0x264], 1
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x234]
call sub.MFC42u.DLL_CString::CString
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x230]
call sub.MFC42u.DLL_CString::CString
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x22c]
call sub.MFC42u.DLL_CString::CString
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.0040bc90
mov eax, dword [ebp - 0x264]
jmp 0x401ef7
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x234]
call sub.MFC42u.DLL_CString::CString
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x230]
call sub.MFC42u.DLL_CString::CString
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x22c]
call sub.MFC42u.DLL_CString::CString
jmp 0x401ce3
mov dword [ebp - 0x268], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.0040bc90
mov eax, dword [ebp - 0x268]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret