Function at 0x429076
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x4a8e2c
call fcn.0043cb10
mov eax, 0x1018
call fcn.0043d400
mov al, byte [ebp - 0x21]
push esi
mov esi, ecx
push edi
push 0
lea ecx, [ebp - 0x20]
mov byte [ebp - 0x20], al
call fcn.00404985
mov edi, str.psnetwork.ini
push edi
call fcn.0043cd70
pop ecx
push eax
push edi
lea ecx, [ebp - 0x20]
call fcn.00404a18
mov eax, dword [ebp - 0x1c]
and dword [ebp - 4], 0
test eax, eax
mov edi, 0x4b1cbc
jne 0x4290c6
mov eax, edi
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push eax
lea eax, [ebp - 0x1024]
push 0xfff
push eax
push str.localhost
push str.host
push str.Http
call ebx
lea eax, [ebp - 0x1024]
lea ecx, [esi + 0x54]
push eax
call fcn.0049cb4d
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x429103
mov eax, edi
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push eax
push 0
push str.share
push str.Http
call edi
mov dword [esi + 0x5c], eax
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x429127
mov eax, 0x4b1cbc
push eax
lea eax, [ebp - 0x1024]
push 0xfff
push eax
push 0x4e7dd8
push str.path
push str.Http
call ebx
lea eax, [ebp - 0x1024]
lea ecx, [esi + 0x58]
push eax
call fcn.0049cb4d
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x429160
mov eax, 0x4b1cbc
push eax
lea eax, [ebp - 0x1024]
push 0xfff
push eax
push 0x4e7dd8
push str.JRFS
push str.PSNetInfo
call ebx
lea eax, [ebp - 0x1024]
lea ecx, [esi + 0x28]
push eax
call fcn.0049cb4d
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x429199
mov eax, 0x4b1cbc
push eax
lea eax, [ebp - 0x1024]
push 0xfff
push eax
push 0x4e7dd8
push str.WLDK
push str.PSNetInfo
call ebx
lea eax, [ebp - 0x1024]
lea ecx, [esi + 0x2c]
push eax
call fcn.0049cb4d
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x4291d2
mov eax, 0x4b1cbc
push eax
lea eax, [ebp - 0x1024]
push 0xfff
push eax
push 0x4e7dd8
push str.WLLX
push str.PSNetInfo
call ebx
lea eax, [ebp - 0x1024]
lea ecx, [esi + 0x30]
push eax
call fcn.0049cb4d
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x42920b
mov eax, 0x4b1cbc
push eax
lea eax, [ebp - 0x1024]
push 0xfff
push eax
push 0x4e7dd8
push 0x4de9bc
push str.PSNetInfo
call ebx
lea eax, [ebp - 0x1024]
lea ecx, [esi + 0x34]
push eax
call fcn.0049cb4d
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x429244
mov eax, 0x4b1cbc
push eax
mov ebx, str.fixed
push 0
push ebx
push str.XPSP2
call edi
push str.powerplayer.ini
push 0
push ebx
push str.WMP8
mov dword [esi + 0x68], eax
call edi
mov dword [esi + 0x60], eax
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x429275
mov eax, 0x4b1cbc
push eax
push 1
mov ebx, str.upnp
push str.FindUPNP
push ebx
call edi
mov dword [esi + 0x78], eax
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x429294
mov eax, 0x4b1cbc
push eax
push 1
push str.StartUPNP
push ebx
call edi
mov dword [esi + 0x74], eax
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x4292ae
mov eax, 0x4b1cbc
push eax
push 0x28
mov ebx, str.Network
push str.remotepeerlimit
push ebx
call edi
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x4292cd
mov eax, 0x4b1cbc
push eax
push 0x1e
push str.localpeerlimit
push ebx
call edi
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x4292e7
mov eax, 0x4b1cbc
push eax
push 0x2d
push str.totalpeerlimit
push ebx
call edi
and dword [ebp - 0x10], 0
mov dword [esi + 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.0043f354
pop ecx
call fcn.0043f361
cdq
mov ecx, 0x2e7c
idiv ecx
add dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 0x1fa4
jl 0x429306
cmp dword [ebp - 0x10], 0x4a2c
jne 0x42932f
mov dword [ebp - 0x10], 0x4a2d
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x42933b
mov eax, 0x4b1cbc
push eax
push dword [ebp - 0x10]
push str.tcpport
push ebx
call edi
mov word [esi + 8], ax
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x429357
mov eax, 0x4b1cbc
push eax
push dword [ebp - 0x10]
push str.udpport
push ebx
call edi
cmp word [esi + 8], 0
mov word [esi + 0xa], ax
jne 0x429376
mov cx, word [ebp - 0x10]
mov word [esi + 8], cx
test ax, ax
jne 0x429383
mov ax, word [ebp - 0x10]
mov word [esi + 0xa], ax
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x42938f
mov eax, 0x4b1cbc
push eax
push 0
push str.fixport
push ebx
call edi
mov dword [esi + 0x18], eax
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x4293a9
mov eax, 0x4b1cbc
push eax
push 0x1e
push str.simulconnectingpeer
push ebx
call edi
mov dword [esi + 0x20], eax
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x4293c3
mov eax, 0x4b1cbc
push eax
push 1
push str.accl
push ebx
call edi
push 0xa
mov dword [esi + 0x1c], eax
pop eax
cmp dword [esi + 0x20], eax
jae 0x4293dc
mov dword [esi + 0x20], eax
push 0x5a
pop ecx
cmp dword [esi + 0x20], ecx
jbe 0x4293e7
mov dword [esi + 0x20], ecx
push 0x32
pop ecx
cmp dword [esi + 0x10], ecx
jbe 0x4293f2
mov dword [esi + 0x10], ecx
cmp dword [esi + 0x10], eax
jae 0x4293fa
mov dword [esi + 0x10], eax
push 0x64
pop eax
cmp dword [esi + 0xc], eax
jbe 0x429405
mov dword [esi + 0xc], eax
push 0x14
pop eax
cmp dword [esi + 0xc], eax
jae 0x429410
mov dword [esi + 0xc], eax
mov ecx, dword [esi + 0x10]
cmp dword [esi + 0x14], ecx
jae 0x42941e
lea eax, [ecx + 0xf]
mov dword [esi + 0x14], eax
mov eax, dword [esi + 0xc]
cmp dword [esi + 0x14], eax
jae 0x42942c
lea edx, [eax + 0xa]
mov dword [esi + 0x14], edx
lea edx, [eax + ecx]
cmp dword [esi + 0x14], edx
jbe 0x429440
cmp ecx, eax
jbe 0x42943a
mov eax, ecx
add eax, 0xa
mov dword [esi + 0x14], eax
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x42944c
mov eax, 0x4b1cbc
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push eax
lea eax, [ebp - 0x1024]
push 0x104
push eax
push str.http:__www.ppstream.com_download.html
push str.XPSP2URL
push 0x4dea28
call ebx
lea eax, [ebp - 0x1024]
lea ecx, [esi + 0x64]
push eax
call fcn.0049cb4d
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x42948b
mov eax, 0x4b1cbc
push eax
lea eax, [ebp - 0x1024]
push 0x104
push eax
push str.http:__www.ppstream.com_download.html
push str.WMPURL
push 0x4dea28
call ebx
lea eax, [ebp - 0x1024]
lea ecx, [esi + 0x6c]
push eax
call fcn.0049cb4d
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x4294c4
mov eax, 0x4b1cbc
push eax
lea eax, [ebp - 0x1024]
push 0x104
push eax
push str.http:__www.ppstream.com_download.html
push str.OptHelperURL
push 0x4dea28
call ebx
lea eax, [ebp - 0x1024]
lea ecx, [esi + 0x6c]
push eax
call fcn.0049cb4d
mov ebx, str.powerplayer.ini
push ebx
call fcn.0043cd70
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x20]
call fcn.00404a18
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x429513
mov eax, 0x4b1cbc
push eax
push 0
mov ebx, str.main
push str.AutoMiniMemory
push ebx
call edi
mov dword [esi + 0x38], eax
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x429532
mov eax, 0x4b1cbc
push eax
push 0
push str.AutoRun
push ebx
call edi
mov dword [esi + 0x3c], eax
call fcn.004a2d8b
mov eax, dword [eax + 4]
push 1
push str.PromptWhenExit
push ebx
mov ecx, eax
call fcn.004a2f70
mov dword [esi + 0x44], eax
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x429566
mov eax, 0x4b1cbc
push eax
push 5
push str.AutoMiniMemTime
push ebx
call edi
mov dword [esi + 0x48], eax
push str.powerlist.ini
lea eax, [ebp - 0x1024]
push 0x104
push eax
push 0x4de8c4
push str.mode
push str.server
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x1024]
push str.http
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
pop ebx
jne 0x4295ba
mov dword [esi + 0x4c], 1
jmp 0x4295be
and dword [esi + 0x4c], 0
or dword [ebp - 4], 0xffffffff
push 1
lea ecx, [ebp - 0x20]
call fcn.00404985
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret