Function at 0x42f660
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4a5e6a
mov eax, dword fs:[0]
push eax
mov eax, 0x2778
mov dword fs:[0], esp
call fcn.004a17e0
mov eax, dword [0x4cbba0]
xor eax, esp
push ebp
push esi
push edi
mov dword [esp + 0x2780], eax
mov eax, dword [0x4ccb50]
mov edx, dword [eax + 0x85c]
mov edi, ecx
lea ecx, [eax + 0x860]
push ecx
push edx
lea ecx, [esp + 0x74]
mov dword [esp + 0x20], edi
call fcn.004400f0
lea ecx, [esp + 0x50]
mov dword [esp + 0x278c], 0
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x278c], 1
call sub.MFC71.DLL_CStringArray::CStringArray
push str.config_config.ini
lea eax, [esp + 0x10]
push 0x4cbdc0
push eax
mov byte [esp + 0x2798], 2
call fcn.004010a0
add esp, 0xc
mov ecx, eax
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push eax
push 0
push str.EXPERIENCEID
push 0x4ac6b4
call esi
lea ecx, [esp + 0xc]
mov dword [0x4cc10c], eax
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov edx, dword [0x4cc10c]
lea ecx, [esp + 0x1c6c]
push ecx
push 0
push 0x4cc5fc
push edx
mov ecx, 0x4cca18
call fcn.0043ae50
push 0x4cc970
push 0x4cc96c
call fcn.0042ecb0
lea eax, [esp + 0x2488]
push eax
call fcn.004038e0
lea eax, [esp + 0x248c]
add esp, 0xc
lea ecx, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x42f770
sub eax, ecx
push eax
lea ecx, [esp + 0x2484]
push ecx
lea edx, [esp + 0x3c]
push edx
call fcn.00497870
add esp, 0xc
push eax
lea ecx, [esp + 0x54]
mov byte [esp + 0x2790], 3
call dword [0x4ab944]
lea ecx, [esp + 0x34]
mov byte [esp + 0x278c], 2
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov eax, dword [edi + 0x130]
mov ecx, dword [edi + 0x12c]
push eax
push ecx
lea edx, [esp + 0x1c74]
push edx
lea ecx, [esp + 0x5c]
call dword [sym.imp.MSVCP71.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
push 0x747
push 0x4cbf60
lea ecx, [esp + 0x84]
call fcn.004418d0
mov eax, dword [0x4cbdc0]
mov ebp, dword [sym.imp.MSVCR71.dll_sprintf]
push str.configclienttype.ini
push eax
lea ecx, [esp + 0x2088]
push 0x4ae764
push ecx
call ebp
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
add esp, 0x10
lea edx, [esp + 0x2080]
push edx
push 0x100
lea eax, [esp + 0x1e88]
push eax
push str.http:__pipi.cn
push str.weburl
push str.clienttype
call edi
lea eax, [esp + 0x1e80]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42f844
sub eax, edx
mov dword [esp + 0xc], eax
je 0x42f869
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x1e80]
push ecx
push edx
lea ecx, [esp + 0x24]
call sub.MFC71.DLL_CStringArray::SetAtGrow
push str.configclienttype.ini
lea eax, [esp + 0x10]
push 0x4cbdc0
push eax
call fcn.004010a0
add esp, 0xc
mov ecx, eax
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
push 0
push str.count
push str.webclick
call esi
lea ecx, [esp + 0xc]
mov esi, eax
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
test esi, esi
jle 0x42f943
jmp 0x42f8b0
dec esi
push esi
lea ecx, [esp + 0x1d84]
push str.url_d
push ecx
call ebp
push str.configclienttype.ini
lea edx, [esp + 0x1c]
push 0x4cbdc0
push edx
call fcn.004010a0
add esp, 0x18
mov ecx, eax
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
push 0x100
lea eax, [esp + 0x1c88]
push eax
push 0x4acbb2
lea ecx, [esp + 0x1d90]
push ecx
push str.webclick
call edi
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea eax, [esp + 0x1c80]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42f916
sub eax, edx
mov dword [esp + 0x30], eax
je 0x42f93b
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x1c80]
push edx
push eax
lea ecx, [esp + 0x24]
call sub.MFC71.DLL_CStringArray::SetAtGrow
test esi, esi
jg 0x42f8b0
lea ecx, [esp + 0x2080]
push ecx
push 0x100
lea edx, [esp + 0x1d88]
push edx
push str.ppfilmsetup
push str.cookiename
push str.clienttype
call edi
lea eax, [esp + 0x2080]
push eax
push 0x100
lea ecx, [esp + 0x1c88]
push ecx
push str.date
push str.cookievalue
push str.clienttype
call edi
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.MSVCR71.dll__time64]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
add ecx, 5
adc eax, 0
mov dword [esp + 0x18], eax
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x18], ecx
call dword [sym.imp.MSVCR71.dll__gmtime64]
push eax
push str._a___d__b__Y___H:_M:_S_GMT
lea ecx, [esp + 0x1f90]
push 0x100
push ecx
call dword [sym.imp.MSVCR71.dll_strftime]
lea edx, [esp + 0x1f98]
push edx
lea eax, [esp + 0x1c9c]
push eax
lea ecx, [esp + 0x1da0]
push ecx
lea edx, [esp + 0x20a4]
push str._s___s__expires___s
push edx
call ebp
mov eax, dword [esp + 0x50]
add esp, 0x2c
xor esi, esi
test eax, eax
jle 0x42fa43
mov ebp, dword [sym.imp.WININET.dll_InternetSetCookieA]
mov edi, edi
test esi, esi
jl 0x42fc05
cmp esi, eax
jge 0x42fc05
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x2080]
push edx
lea ecx, [eax + esi*4]
push 0
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
call ebp
mov eax, dword [esp + 0x24]
inc esi
cmp esi, eax
jl 0x42fa10
push str.configenumwindow.ini
lea eax, [esp + 0x10]
push 0x4cbdc0
push eax
call fcn.004010a0
add esp, 0xc
mov ecx, eax
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
push 0x400
lea ecx, [esp + 0x2088]
push ecx
push str.PIPI
push str.NAME
push str.MSGWINDOW
call edi
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
push str.configenumwindow.ini
lea edx, [esp + 0x10]
push 0x4cbdc0
push edx
call fcn.004010a0
add esp, 0xc
mov ecx, eax
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
push 0x100
lea eax, [esp + 0x2688]
push eax
push 0x4acbb2
push str.WNDCLASS
push str.MSGWINDOW
call edi
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
call fcn.00407e20
mov eax, dword [0x4cbc38]
test eax, eax
je 0x42fb77
push 0xa
push 0x14
push 0
push 0
push 0x12
push eax
call fcn.0049c490
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
add esp, 0x18
push 0x7d0
call esi
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
mov byte [esp + 0x278c], 4
call fcn.00407e20
mov eax, dword [0x4cbc38]
test eax, eax
je 0x42fb65
push 0xa
push 0x14
push 0
push 0
push 0x12
push eax
call fcn.0049c490
lea ecx, [esp + 0x2098]
push ecx
lea edx, [esp + 0x28]
push 0x4b1d50
push edx
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Format]
add esp, 0x24
push 0x3e8
call esi
call fcn.00407e20
mov eax, dword [0x4cbc38]
test eax, eax
jne 0x42fb25
lea ecx, [esp + 0xc]
mov byte [esp + 0x278c], 2
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov esi, dword [esp + 0x18]
mov eax, dword [esi + 0x20]
test eax, eax
je 0x42fba8
mov eax, dword [eax + 0x20]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x42fba8
mov ecx, dword [esi + 0x20]
call fcn.00407f20
mov ecx, dword [esi + 0x20]
call fcn.00411cb0
mov ecx, dword [esi + 0x20]
mov edx, dword [ecx]
call dword [edx + 0x68]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x278c], 1
call fcn.004a1414
lea ecx, [esp + 0x50]
mov byte [esp + 0x278c], 0
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x6c]
mov dword [esp + 0x278c], 0xffffffff
call fcn.0043eda0
mov ecx, dword [esp + 0x2784]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x2778]
pop ebp
xor ecx, esp
call fcn.004a17d1
add esp, 0x2784
ret
jmp fcn.004a11bc