Function at 0x2005ab4e
Capabilities:
Check for time delay via gettickcount
Read .ini file

Disassembly:
mov eax, 0x200a126b
call fcn.2007d394
sub esp, 0xf18
mov eax, dword [0x200cc84c]
push ebx
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
push esi
mov ebx, ecx
push edi
lea ecx, [ebp - 0xeac]
mov dword [ebp - 0xebc], eax
call fcn.200026bf
xor esi, esi
mov dword [ebp - 4], esi
call fcn.2003ad33
cmp eax, esi
je 0x2005ab9d
lea ecx, [ebp - 0xeac]
push ecx
mov ecx, eax
call fcn.200925dc
lea ecx, [ebp - 0xd9c]
call fcn.2000fa51
mov byte [ebp - 4], 1
push str.OBYG2YLUMUXGK6DFAA
lea eax, [ebp - 0x8dc]
push eax
lea ecx, [ebp - 0xd9c]
call fcn.2000fead
mov byte [ebp - 4], 2
push 0x10
pop edi
cmp dword [eax + 0x18], edi
jb 0x2005abd4
mov eax, dword [eax + 4]
jmp 0x2005abd7
add eax, 4
push eax
lea ecx, [ebp - 0xeb8]
call fcn.20004f37
mov byte [ebp - 4], 4
push esi
push 1
lea ecx, [ebp - 0x8dc]
call fcn.2000275e
push str.KBIE2TTFOQXGK6DFAA
lea eax, [ebp - 0x8dc]
push eax
lea ecx, [ebp - 0xd9c]
call fcn.2000fead
mov byte [ebp - 4], 5
cmp dword [eax + 0x18], edi
jb 0x2005ac1a
mov eax, dword [eax + 4]
jmp 0x2005ac1d
add eax, 4
push eax
lea ecx, [ebp - 0xeb4]
call fcn.20004f37
mov byte [ebp - 4], 7
push esi
push 1
lea ecx, [ebp - 0x8dc]
call fcn.2000275e
push str.OBYG2YLUMUAA
lea eax, [ebp - 0x8dc]
push eax
lea ecx, [ebp - 0xd9c]
call fcn.2000fead
mov byte [ebp - 4], 8
cmp dword [eax + 0x18], edi
jb 0x2005ac60
mov eax, dword [eax + 4]
jmp 0x2005ac63
add eax, 4
push eax
lea ecx, [ebp - 0xeb0]
call fcn.20004f37
mov byte [ebp - 4], 0xa
push esi
push 1
lea ecx, [ebp - 0x8dc]
call fcn.2000275e
lea ecx, [ebp - 0xeac]
call fcn.20008e10
lea ecx, [ebp - 0xeb0]
call fcn.20008e10
push esi
push dword [ebp - 0xeb0]
lea ecx, [ebp - 0xeac]
call fcn.20008c71
cmp eax, 0xffffffff
jne 0x2005c717
cmp dword [ebx + 0x19570], edi
jb 0x2005acc2
mov eax, dword [ebx + 0x1955c]
jmp 0x2005acc8
lea eax, [ebx + 0x1955c]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
push eax
push dword [ebp - 0xeb8]
call esi
test eax, eax
je 0x2005c717
cmp dword [ebx + 0x19570], edi
jb 0x2005acef
mov eax, dword [ebx + 0x1955c]
jmp 0x2005acf5
lea eax, [ebx + 0x1955c]
push eax
push dword [ebp - 0xeb4]
call esi
test eax, eax
je 0x2005c717
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xeb0]
call fcn.200026ee
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xeb4]
call fcn.200026ee
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xeb8]
call fcn.200026ee
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xd9c]
call fcn.2000fbba
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xeac]
call fcn.200026ee
lea ecx, [ebp - 0xecc]
call fcn.20020d33
and dword [ebp - 0xec4], 0
mov dword [ebp - 0xec8], eax
mov dword [ebp - 4], 0xb
lea eax, [ebp - 0xecc]
push eax
call fcn.20034639
mov eax, dword [ebp - 0xec8]
mov esi, dword [eax]
cmp esi, eax
pop ecx
je 0x2005adf5
lea edi, [ebx + 0x191d0]
push dword [esi + 8]
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
lea eax, [ebp - 0x4d0]
push 0x200a6adc
push eax
call fcn.2007d900
add esp, 0xc
lea eax, [ebp - 0x4d0]
push eax
lea ecx, [ebp - 0x8dc]
call fcn.20003c27
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x8dc]
push eax
lea eax, [ebp - 0xf24]
push eax
mov ecx, edi
call fcn.200135de
mov byte [ebp - 4], 0xb
push 0
push 1
lea ecx, [ebp - 0x8dc]
call fcn.2000275e
mov esi, dword [esi]
cmp esi, dword [ebp - 0xec8]
jne 0x2005ad8f
lea eax, [ebx + 0x284]
push eax
lea ecx, [ebp - 0xf20]
call fcn.200011c0
mov byte [ebp - 4], 0xd
xor esi, esi
push 0x200a4a9c
lea ecx, [ebx + 0x324]
mov dword [ebp - 0xeb4], esi
call fcn.20003a20
mov edi, dword [ebp - 0xebc]
or dword [ebx + 0x192e8], 0xffffffff
cmp edi, esi
mov dword [ebx + 0x192e4], esi
je 0x2005ae5d
cmp dword [ebx + 0x31c], esi
je 0x2005ae5d
push edi
lea ecx, [ebx + 0x308]
call fcn.20001d33
test eax, eax
je 0x2005ae5d
lea ecx, [ebx + 0x340]
call fcn.2000ff80
lea ecx, [ebx + 0x340]
call fcn.2000f8d4
test eax, eax
jne 0x2005ae7c
push edi
mov ecx, ebx
call fcn.20042bd2
test eax, eax
je 0x2005c6d9
cmp dword [ebx + 0x458], 0x10
jb 0x2005ae8d
mov eax, dword [ebx + 0x444]
jmp 0x2005ae93
lea eax, [ebx + 0x444]
push str.msgtn.ini
push eax
push 0x200a9c54
push 0x200a8b18
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push edi
push str.XHttp_play__s__r_n
call fcn.2002eb98
push eax
call fcn.2002ebe0
add esp, 0xc
mov ecx, ebx
call fcn.2003c7e6
cmp dword [ebx + 0x458], 0x10
jb 0x2005aed5
mov eax, dword [ebx + 0x444]
jmp 0x2005aedb
lea eax, [ebx + 0x444]
push eax
mov ecx, ebx
call fcn.2003b627
and dword [ebp - 0xeb0], 0
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebx + 0x10b14], eax
mov eax, dword [ebx + 0x548]
test eax, eax
jne 0x2005baac
cmp dword [ebx + 0x10d24], 0x10
jb 0x2005af15
mov eax, dword [ebx + 0x10d10]
jmp 0x2005af1b
lea eax, [ebx + 0x10d10]
push eax
push 0xc
push str.connectingtimeout
mov esi, str.Network
push esi
call edi
cmp eax, 0x14
lea ecx, [ebx + 0x1922c]
mov dword [ecx], eax
jbe 0x2005af3e
mov dword [ecx], 0x14
push 5
pop eax
cmp dword [ecx], eax
jae 0x2005af47
mov dword [ecx], eax
mov eax, dword [ecx]
imul eax, eax, 0x3e8
mov dword [ecx], eax
cmp dword [ebx + 0x10d24], 0x10
jb 0x2005af62
mov eax, dword [ebx + 0x10d10]
jmp 0x2005af68
lea eax, [ebx + 0x10d10]
push eax
push 0
push str.fixport
push esi
call edi
cmp dword [ebx + 0x10d24], 0x10
mov dword [ebp - 0xeb0], eax
jb 0x2005af8a
mov eax, dword [ebx + 0x10d10]
jmp 0x2005af90
lea eax, [ebx + 0x10d10]
push eax
push 1
push str.dlink
push esi
call edi
mov byte [ebx + 0x192ec], al
cmp dword [ebx + 0x10d24], 0x10
jb 0x2005afb2
mov eax, dword [ebx + 0x10d10]
jmp 0x2005afb8
lea eax, [ebx + 0x10d10]
push eax
push 0
push str.udpmode
push esi
call edi
cmp eax, 1
mov dword [ebx + 0x192e4], eax
je 0x2005afd5
and dword [ebx + 0x192e4], 0
cmp dword [ebx + 0x10d24], 0x10
jb 0x2005afe6
mov eax, dword [ebx + 0x10d10]
jmp 0x2005afec
lea eax, [ebx + 0x10d10]
push eax
push 0xffffffffffffffff
push str.udpmode
push esi
call edi
mov dword [ebx + 0x192e8], eax
mov eax, dword [ebx + 0x2c4]
cmp dword [eax + 0x2cc], 0
je 0x2005b01b
xor eax, eax
inc eax
mov dword [ebx + 0x192e4], eax
mov dword [ebx + 0x192e8], eax
mov edi, 0x400
push edi
lea eax, [ebp - 0x46c]
push 0
push eax
call fcn.2007e690
add esp, 0xc
cmp dword [ebx + 0x10d24], 0x10
jb 0x2005b043
mov eax, dword [ebx + 0x10d10]
jmp 0x2005b049
lea eax, [ebx + 0x10d10]
push eax
push edi
lea eax, [ebp - 0x46c]
push eax
push 0x200a4a9c
push str.installid
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x46c]
lea ecx, [ebx + 0x192a0]
push eax
call fcn.20003a20
cmp dword [ebx + 0x192b4], 0
jne 0x2005b0b7
cmp dword [ebx + 0x10d24], 0x10
jb 0x2005b08f
mov ecx, dword [ebx + 0x10d10]
jmp 0x2005b095
lea ecx, [ebx + 0x10d10]
lea eax, [ebx + 0x192a0]
cmp dword [eax + 0x18], 0x10
jb 0x2005b0a6
mov eax, dword [eax + 4]
jmp 0x2005b0a9
add eax, 4
push ecx
push eax
push str.installid
push esi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push edi
lea eax, [ebp - 0x46c]
push 0
push eax
call fcn.2007e690
add esp, 0xc
cmp dword [ebx + 0x10d24], 0x10
jb 0x2005b0da
mov eax, dword [ebx + 0x10d10]
jmp 0x2005b0e0
lea eax, [ebx + 0x10d10]
push eax
push edi
lea eax, [ebp - 0x46c]
push eax
push 0x200a4a9c
push str.clientid
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x46c]
lea ecx, [ebx + 0x1924c]
push eax
call fcn.20003a20
lea eax, [ebp - 0x46c]
push eax
mov ecx, ebx
call fcn.2003ad6f
test eax, eax
jne 0x2005b485
lea ecx, [ebp - 0xa30]
call fcn.2001723b
mov byte [ebp - 4], 0xe
push 0x3e8
lea eax, [ebp - 0x8b8]
push eax
lea ecx, [ebp - 0xf10]
call fcn.200030b0
mov byte [ebp - 4], 0xf
mov eax, dword [ebp - 0xf0c]
mov dword [ebp - 0xf08], eax
mov byte [eax], 0
lea eax, [ebp - 0x8c0]
push eax
call fcn.200340e0
pop ecx
lea ecx, [ebp - 0x8c0]
call fcn.2003ace3
test al, al
jne 0x2005b1a5
mov eax, dword [ebp - 0xf0c]
mov dword [ebp - 0xf08], eax
mov byte [eax], 0
xor edi, edi
xor eax, eax
mov al, byte [ebp + edi - 0x8c0]
lea ecx, [ebp - 0xf10]
push eax
call fcn.20001294
inc edi
cmp edi, 6
jb 0x2005b188
jmp 0x2005b208
lea ecx, [ebp - 0x924]
call fcn.2003a6dc
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x924]
call fcn.2003a9d4
jmp 0x2005b1d8
mov eax, dword [ebp - 0x8fc]
cmp dword [eax - 0xc], 0
jg 0x2005b1dc
lea ecx, [ebp - 0x924]
call fcn.2003a86f
test eax, eax
jne 0x2005b1c1
xor edi, edi
xor eax, eax
mov al, byte [ebp + edi - 0x8ec]
lea ecx, [ebp - 0xf10]
push eax
call fcn.20001294
inc edi
cmp edi, 6
jl 0x2005b1de
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x924]
call fcn.2003a7a8
lea ecx, [ebp - 0xcbc]
call fcn.200201f9
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0xcbc]
call fcn.2002076f
test eax, eax
je 0x2005b341
lea ecx, [ebp - 0xcbc]
call fcn.200201f2
push eax
call fcn.2007d3c0
pop ecx
lea ecx, [ebp - 0xcbc]
call fcn.200201f2
push eax
lea ecx, [ebp - 0x8dc]
call fcn.20003c27
mov byte [ebp - 4], 0x12
lea eax, [ebp - 0xee8]
push eax
lea ecx, [ebp - 0x8dc]
call fcn.2000507b
mov byte [ebp - 4], 0x13
push 0xffffffffffffffff
xor edi, edi
push edi
push eax
lea ecx, [ebp - 0x8dc]
call fcn.20002fc3
mov byte [ebp - 4], 0x12
push edi
push 1
lea ecx, [ebp - 0xee8]
call fcn.2000275e
lea eax, [ebp - 0xee8]
push eax
lea ecx, [ebp - 0x8dc]
call fcn.20005023
mov byte [ebp - 4], 0x14
push 0xffffffffffffffff
push edi
push eax
lea ecx, [ebp - 0x8dc]
call fcn.20002fc3
mov byte [ebp - 4], 0x12
push edi
push 1
lea ecx, [ebp - 0xee8]
call fcn.2000275e
push 9
mov byte [ebp - 0x6c], 0
xor eax, eax
pop ecx
lea edi, [ebp - 0x6b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [ebp - 0xea8]
stosb byte es:[edi], al
call fcn.2001723b
mov byte [ebp - 4], 0x15
cmp dword [ebp - 0x8c4], 0x10
mov eax, dword [ebp - 0x8d8]
jae 0x2005b2fc
lea eax, [ebp - 0x8d8]
lea ecx, [ebp - 0x6c]
push ecx
push eax
lea ecx, [ebp - 0xea8]
call fcn.200174a9
push 0xa
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0xf10]
call fcn.20001383
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0xea8]
call fcn.2001727c
mov byte [ebp - 4], 0x11
push 0
push 1
lea ecx, [ebp - 0x8dc]
call fcn.2000275e
jmp 0x2005b36e
push 0x23
lea ecx, [ebp - 0xf10]
call fcn.200012d7
push 0xf356
lea ecx, [ebp - 0xf10]
call fcn.2000133b
push 0xec01
lea ecx, [ebp - 0xf10]
call fcn.2000133b
push 0x10
lea eax, [ebp - 0x8b8]
push 0x10
push eax
call fcn.2001762c
add esp, 0xc
push eax
lea ecx, [ebp - 0xf10]
call fcn.200012d7
push 0x32
lea eax, [ebp - 0x44]
push 0
push eax
call fcn.2007e690
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x8b8]
push 0x12
push eax
call fcn.2001729d
mov al, byte [ebp - 0x42]
mov byte [ebp - 0x27], al
mov al, byte [ebp - 0x3b]
mov byte [ebp - 0x26], al
mov al, byte [ebp - 0x33]
mov byte [ebp - 0x25], al
add esp, 0x18
lea eax, [ebp - 0x44]
lea edi, [ebx + 0x1924c]
push eax
mov ecx, edi
call fcn.20003a20
cmp dword [ebx + 0x10d24], 0x10
jb 0x2005b3e3
mov eax, dword [ebx + 0x10d10]
jmp 0x2005b3e9
lea eax, [ebx + 0x10d10]
cmp dword [edi + 0x18], 0x10
jb 0x2005b3f4
mov edi, dword [edi + 4]
jmp 0x2005b3f7
add edi, 4
push eax
push edi
push str.clientid
push esi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
lea eax, [ebp - 0x44]
push eax
mov edi, str.pps_client_id
push edi
push str.http:__ppstream.com
call fcn.2000396b
lea eax, [ebp - 0x44]
push eax
push edi
push str.http:__stat.ppstream.com
call fcn.2000396b
lea eax, [ebp - 0x44]
push eax
push edi
push str.http:__www.ppstream.com
call fcn.2000396b
lea eax, [ebp - 0x44]
push eax
push edi
push str.http:__111222.cn
call fcn.2000396b
lea eax, [ebp - 0x44]
push eax
push edi
push str.http:__pps.tv
call fcn.2000396b
add esp, 0x3c
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0xcbc]
call fcn.2002025b
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0xf10]
call fcn.200030f4
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0xa30]
call fcn.2001727c
mov eax, dword [ebx + 0x2c4]
add eax, 0x284
cmp dword [eax + 0x18], 0x10
jb 0x2005b49b
mov eax, dword [eax + 4]
jmp 0x2005b49e
add eax, 4
push eax
mov edi, str.pps_client_ver
push edi
push str.http:__ppstream.com
call fcn.2000396b
mov eax, dword [ebx + 0x2c4]
add eax, 0x284
add esp, 0xc
cmp dword [eax + 0x18], 0x10
jb 0x2005b4c8
mov eax, dword [eax + 4]
jmp 0x2005b4cb
add eax, 4
push eax
push edi
push str.http:__stat.ppstream.com
call fcn.2000396b
mov eax, dword [ebx + 0x2c4]
add eax, 0x284
add esp, 0xc
cmp dword [eax + 0x18], 0x10
jb 0x2005b4f0
mov eax, dword [eax + 4]
jmp 0x2005b4f3
add eax, 4
push eax
push edi
push str.http:__www.ppstream.com
call fcn.2000396b
mov eax, dword [ebx + 0x2c4]
add eax, 0x284
add esp, 0xc
cmp dword [eax + 0x18], 0x10
jb 0x2005b518
mov eax, dword [eax + 4]
jmp 0x2005b51b
add eax, 4
push eax
push edi
push str.http:__111222.cn
call fcn.2000396b
mov eax, dword [ebx + 0x2c4]
add eax, 0x284
add esp, 0xc
cmp dword [eax + 0x18], 0x10
jb 0x2005b540
mov eax, dword [eax + 4]
jmp 0x2005b543
add eax, 4
push eax
push edi
push str.http:__pps.tv
call fcn.2000396b
add esp, 0xc
lea eax, [ebp - 0x8c0]
push eax
call fcn.20001792
mov ecx, dword [eax]
mov eax, dword [eax + 4]
add ecx, 0x2a300
adc eax, 0
mov dword [ebp - 0xebc], eax
push str._a__d__b__Y__H:_M:_SGMT
lea eax, [ebp - 0xeb4]
mov dword [ebp - 0xec0], ecx
push eax
lea ecx, [ebp - 0xec0]
call fcn.20049d17
mov byte [ebp - 4], 0x16
push str._Y__m__d__H:_M:_S
lea eax, [ebp - 0xeb8]
push eax
lea eax, [ebp - 0x8c0]
push eax
call fcn.20001792
mov ecx, eax
call fcn.20004f86
mov byte [ebp - 4], 0x17
push dword [ebp - 0xeb4]
mov edi, str.pps_last_usetime
push dword [ebp - 0xeb8]
push edi
push str.http:__club.ppstream.com
call fcn.200038f4
push dword [ebp - 0xeb4]
push dword [ebp - 0xeb8]
push edi
push str.http:__club.pps.tv
call fcn.200038f4
add esp, 0x20
cmp dword [ebx + 0x10d24], 0x10
jb 0x2005b5fd
mov eax, dword [ebx + 0x10d10]
jmp 0x2005b603
lea eax, [ebx + 0x10d10]
push eax
push 0x400
lea eax, [ebp - 0x46c]
push eax
mov edi, 0x200a653c
push edi
push str.udpport
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x46c]
push eax
call fcn.2007db04
cmp eax, 0xffffffff
pop ecx
mov dword [ebp - 0xeac], eax
jne 0x2005b6c5
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.2007e612
pop ecx
call fcn.2007e61f
cdq
mov ecx, 0x2e7c
idiv ecx
add dword [ebp - 0xeac], edx
cmp dword [ebp - 0xeac], 0x1fa4
jl 0x2005b64b
cmp dword [ebp - 0xeac], 0x4a2c
jne 0x2005b680
mov dword [ebp - 0xeac], 0x4a2d
push dword [ebp - 0xeac]
lea eax, [ebp - 0x46c]
push 0x200a4c68
push eax
call fcn.2007d900
add esp, 0xc
cmp dword [ebx + 0x10d24], 0x10
jb 0x2005b6ab
mov eax, dword [ebx + 0x10d10]
jmp 0x2005b6b1
lea eax, [ebx + 0x10d10]
push eax
lea eax, [ebp - 0x46c]
push eax
push str.udpport
push esi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov ax, word [ebp - 0xeac]
mov word [ebx + 0x10d28], ax
cmp dword [ebx + 0x10d24], 0x10
jb 0x2005b6e4
mov eax, dword [ebx + 0x10d10]
jmp 0x2005b6ea
lea eax, [ebx + 0x10d10]
push eax
push 0x400
lea eax, [ebp - 0x46c]
push eax
push edi
mov edi, str.tcpport
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x46c]
push eax
call fcn.2007db04
cmp eax, 0xffffffff
pop ecx
mov dword [ebp - 0xeac], eax
jne 0x2005b766
movzx eax, word [ebx + 0x10d28]
push eax
mov dword [ebp - 0xeac], eax
lea eax, [ebp - 0x46c]
push 0x200a4c68
push eax
call fcn.2007d900
add esp, 0xc
cmp dword [ebx + 0x10d24], 0x10
jb 0x2005b750
mov eax, dword [ebx + 0x10d10]
jmp 0x2005b756
lea eax, [ebx + 0x10d10]
push eax
lea eax, [ebp - 0x46c]
push eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov ax, word [ebp - 0xeac]
mov edi, dword [ebx + 0x2c4]
mov word [ebx + 0x10d2a], ax
mov ax, word [ebx + 0x198c8]
mov word [ebx + 0x198ca], ax
xor eax, eax
cmp dword [edi + 0x15c], eax
jne 0x2005b7a0
lea ecx, [edi + 0x164]
call fcn.20031a5e
movzx eax, al
cmp dword [ebp - 0xeb0], 0
jne 0x2005b7d4
test eax, eax
jne 0x2005b7d4
cmp dword [ebx + 0x458], 0x10
jb 0x2005b7be
mov eax, dword [ebx + 0x444]
jmp 0x2005b7c4
lea eax, [ebx + 0x444]
push dword [ebp - 0xeac]
mov ecx, edi
push eax
call fcn.20043cbd
jmp 0x2005b7db
mov ax, word [ebp - 0xeac]
mov word [ebx + 0x198c8], ax
cmp dword [ebx + 0x10d24], 0x10
jb 0x2005b7f3
mov eax, dword [ebx + 0x10d10]
jmp 0x2005b7f9
lea eax, [ebx + 0x10d10]
push eax
push 0x400
lea eax, [ebp - 0x46c]
push eax
push 0x200aa164
push 0x200aa158
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x46c]
push eax
call fcn.200800de
fcom dword [0x200aa154]
pop ecx
fnstsw ax
test ah, 5
jp 0x2005b835
fstp st(0)
fld1
fcom dword [0x200a6ba8]
fnstsw ax
test ah, 0x41
jne 0x2005b84a
fstp st(0)
fld dword [0x200a6ba8]
fstp dword [ebx + 0x10e84]
cmp dword [ebx + 0x10d24], 0x10
jb 0x2005b861
mov eax, dword [ebx + 0x10d10]
jmp 0x2005b867
lea eax, [ebx + 0x10d10]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push eax
push 0
push str.forceadp2p
push esi
call edi
mov dword [ebx + 0x19520], eax
cmp dword [ebx + 0x10d24], 0x10
jb 0x2005b88f
mov eax, dword [ebx + 0x10d10]
jmp 0x2005b895
lea eax, [ebx + 0x10d10]
push eax
push 0x1e
push str.simulconnectingpeer
push esi
call edi
push 5
pop edx
cmp eax, edx
lea ecx, [ebx + 0x10e88]
mov dword [ecx], eax
jge 0x2005b8b1
mov dword [ecx], edx
push 0x32
pop eax
cmp dword [ecx], eax
jle 0x2005b8ba
mov dword [ecx], eax
cmp dword [ebx + 0x10d24], 0x10
jb 0x2005b8cb
mov eax, dword [ebx + 0x10d10]
jmp 0x2005b8d1
lea eax, [ebx + 0x10d10]
push eax
push 0x28
push str.remotepeerlimit
push esi
call edi
mov dword [ebx + 0x198d0], eax
cmp dword [ebx + 0x10d24], 0x10
jb 0x2005b8f3
mov eax, dword [ebx + 0x10d10]
jmp 0x2005b8f9
lea eax, [ebx + 0x10d10]
push eax
push 0x23
push str.localpeerlimit
push esi
call edi
mov dword [ebx + 0x198cc], eax
cmp dword [ebx + 0x10d24], 0x10
jb 0x2005b91b
mov eax, dword [ebx + 0x10d10]
jmp 0x2005b921
lea eax, [ebx + 0x10d10]
push eax
push 0x2d
push str.totalpeerlimit
push esi
call edi
cmp dword [ebx + 0x198cc], 0x32
mov dword [ebx + 0x198d4], eax
jle 0x2005b945
mov dword [ebx + 0x198cc], 0x32
push 0xa
pop ecx
cmp dword [ebx + 0x198cc], ecx
jge 0x2005b956
mov dword [ebx + 0x198cc], ecx
push 0x64
pop ecx
cmp dword [ebx + 0x198d0], ecx
jle 0x2005b967
mov dword [ebx + 0x198d0], ecx
push 0x1e
pop ecx
cmp dword [ebx + 0x198d0], ecx
jge 0x2005b978
mov dword [ebx + 0x198d0], ecx
mov ecx, dword [ebx + 0x198cc]
cmp eax, ecx
jge 0x2005b98b
lea eax, [ecx + 0xf]
mov dword [ebx + 0x198d4], eax
mov eax, dword [ebx + 0x198d0]
cmp dword [ebx + 0x198d4], eax
jge 0x2005b9a2
lea edx, [eax + 0xa]
mov dword [ebx + 0x198d4], edx
lea edx, [eax + ecx]
cmp dword [ebx + 0x198d4], edx
jle 0x2005b9bc
cmp ecx, eax
jle 0x2005b9b3
mov eax, ecx
add eax, 0xa
mov dword [ebx + 0x198d4], eax
cmp dword [ebx + 0x10d24], 0x10
jb 0x2005b9cd
mov eax, dword [ebx + 0x10d10]
jmp 0x2005b9d3
lea eax, [ebx + 0x10d10]
push eax
push 0x400
lea eax, [ebp - 0x46c]
push eax
push str.127.0.0.1
push str.host
push str.Http
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x46c]
push eax
lea ecx, [ebx + 0x10a5c]
call fcn.20003a20
cmp dword [ebx + 0x10d24], 0x10
jb 0x2005ba18
mov eax, dword [ebx + 0x10d10]
jmp 0x2005ba1e
lea eax, [ebx + 0x10d10]
push eax
push 0x400
lea eax, [ebp - 0x46c]
push eax
push 0x200a4a9c
push str.path
push str.Http
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x46c]
push eax
lea ecx, [ebx + 0x10ab0]
call fcn.20003a20
mov ecx, ebx
call fcn.2003b3a0
mov dword [ebx + 0x1923c], eax
cmp dword [ebx + 0x10d24], 0x10
jb 0x2005ba70
mov eax, dword [ebx + 0x10d10]
jmp 0x2005ba76
lea eax, [ebx + 0x10d10]
push eax
push 1
push str.accl
push esi
call edi
mov ecx, ebx
mov dword [ebx + 0x193c4], eax
call fcn.20045172
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0xeb8]
call fcn.200026ee
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0xeb4]
call fcn.200026ee
lea esi, [ebx + 0x19830]
mov ecx, esi
mov dword [ebp - 0xeac], 0xa
call fcn.200631bb
test eax, eax
mov dword [ebp - 0xeb4], eax
jne 0x2005bb39
dec dword [ebp - 0xeac]
js 0x2005bb31
cmp word [ebx + 0x198c8], 0xffff
jne 0x2005bb31
cmp dword [ebx + 0x548], 0
jne 0x2005bb31
inc word [ebx + 0x10d2a]
xor edi, edi
mov di, word [ebx + 0x10d2a]
push edi
jmp 0x2005bb0a
inc edi
xor eax, eax
mov ax, di
mov word [ebx + 0x10d2a], di
push eax
mov ecx, dword [ebx + 0x2c4]
call fcn.2003f973
test eax, eax
jne 0x2005bafc
mov ecx, esi
mov word [ebx + 0x198c8], di
call fcn.200631bb
test eax, eax
mov dword [ebp - 0xeb4], eax
je 0x2005bacd
test eax, eax
je 0x2005c6d9
xor edi, edi
cmp dword [ebx + 0x548], edi
jne 0x2005bb78
cmp dword [ebp - 0xeb0], edi
jne 0x2005bb78
cmp dword [ebx + 0x458], 0x10
jb 0x2005bb5c
mov eax, dword [ebx + 0x444]
jmp 0x2005bb62
lea eax, [ebx + 0x444]
xor ecx, ecx
mov cx, word [ebx + 0x198c8]
push ecx
mov ecx, dword [ebx + 0x2c4]
push eax
call fcn.2004f1e5
mov ecx, dword [ebx + 0x2c4]
xor eax, eax
mov ax, word [ebx + 0x198c8]
push ebx
mov word [ebx + 0x10d28], ax
mov word [ebx + 0x10d2a], ax
push eax
call fcn.2004d14a
mov eax, dword [ebx + 0x548]
cmp eax, edi
push 3
pop esi
je 0x2005bbcf
mov eax, dword [ebx + 0x540]
mov dword [ebx + 0x198d0], eax
add eax, eax
mov dword [ebx + 0x2a4], esi
mov dword [ebx + 0x198cc], 0x1e
mov dword [ebx + 0x198d4], eax
jmp 0x2005bbf6
mov eax, dword [ebx + 0x2c4]
cmp dword [eax + 0x2c8], edi
je 0x2005bbe7
mov dword [ebx + 0x2a4], 2
cmp dword [eax + 0x2c4], edi
je 0x2005bbf6
mov byte [ebx + 0x10e58], 1
mov dword [ebx + 0x2a0], edi
mov dword [ebx + 0x2b0], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x2c
mov dword [ebx + 0x19024], eax
call fcn.2008f9ce
pop ecx
mov dword [ebp - 0x8bc], eax
mov byte [ebp - 4], 0x18
cmp eax, edi
je 0x2005bc32
push ebx
mov ecx, eax
call fcn.2003ef08
jmp 0x2005bc34
xor eax, eax
mov byte [ebp - 4], 0xd
mov ecx, dword [ebx + 0x2c4]
push eax
add ecx, 0x48
call fcn.20074e15
mov dword [ebx + 0x108b0], eax
push 0x2c
mov dword [ebx + 0x108b4], edx
call fcn.2008f9ce
pop ecx
mov dword [ebp - 0xebc], eax
mov byte [ebp - 4], 0x19
cmp eax, edi
je 0x2005bc73
push ebx
mov ecx, eax
call fcn.2003f14e
jmp 0x2005bc75
xor eax, eax
mov byte [ebp - 4], 0xd
mov ecx, dword [ebx + 0x2c4]
push eax
add ecx, 0x48
call fcn.20074e15
mov dword [ebx + 0x108d8], eax
xor eax, eax
mov ax, word [ebx + 0x10d28]
lea ecx, [ebx + 0x10b5c]
mov dword [ebx + 0x108dc], edx
push eax
call fcn.2007642e
lea eax, [ebx + 0x424]
cmp dword [eax + 0x18], 0x10
jb 0x2005bcba
mov eax, dword [eax + 4]
jmp 0x2005bcbd
add eax, 4
push 1
lea edi, [ebx + 0x191e2]
push eax
mov ecx, edi
call fcn.20034471
mov ecx, edi
call fcn.200342ea
test eax, eax
je 0x2005c6bc
cmp dword [ebx + 0x548], 0
mov dword [ebx + 0x10890], esi
jne 0x2005c537
mov eax, dword [ebx + 0x470]
test eax, eax
je 0x2005bf80
lea ecx, [ebp - 0xa54]
call fcn.20017c8c
mov byte [ebp - 4], 0x1a
lea eax, [ebx + 0x45c]
cmp dword [eax + 0x18], 0x10
jb 0x2005bd1d
mov eax, dword [eax + 4]
jmp 0x2005bd20
add eax, 4
push eax
lea ecx, [ebp - 0xa54]
call fcn.20018478
cmp dword [ebp - 0x9b8], 0
je 0x2005be9e
mov ecx, dword [ebp - 0x9bc]
mov eax, dword [ecx]
cmp eax, ecx
jmp 0x2005be8d
lea ecx, [ebp - 0x8e4]
call fcn.200013ff
mov esi, dword [ebp - 0xeac]
lea eax, [ebp - 0x8e4]
push eax
add esi, 8
push esi
lea ecx, [ebp - 0x90c]
call fcn.2003ca9b
push eax
lea ecx, [ebp - 0x6c]
call fcn.2003c36b
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x8c0]
push eax
lea ecx, [ebx + 0x19040]
call fcn.20049240
mov eax, dword [eax]
add eax, 0x10
mov edi, eax
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
xor ecx, ecx
push eax
mov dword [eax + 0x10], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x20], ecx
push eax
lea ecx, [ebp - 0x3c]
mov word [eax + 4], 0x1f40
mov dword [eax + 0x18], 0xbb8
call fcn.2003ca9b
push eax
lea ecx, [ebp - 0xf1c]
call fcn.2003c36b
lea eax, [ebp - 0xf1c]
push eax
lea eax, [ebp - 0xec0]
push eax
lea ecx, [ebx + 0x191c4]
call fcn.20049240
mov ecx, dword [ebp - 0xeac]
lea eax, [ebx + 0x191e2]
push eax
add ecx, 8
call fcn.2003ad1c
test al, al
mov edi, dword [ebp - 0xeac]
je 0x2005be85
cmp word [edi + 0xc], 0xc350
jae 0x2005be85
lea esi, [edi + 8]
push esi
lea eax, [ebp - 0xec0]
push eax
lea ecx, [ebx + 0x191e8]
call fcn.20025c2e
cmp dword [ebx + 0x192e4], 1
je 0x2005be70
lea eax, [ebp - 0xee8]
push eax
mov ecx, esi
call fcn.20034401
mov byte [ebp - 4], 0x1b
cmp dword [eax + 0x18], 0x10
jb 0x2005be4b
mov eax, dword [eax + 4]
jmp 0x2005be4e
add eax, 4
push 2
push eax
push str.encrypturl
mov ecx, ebx
call fcn.20057758
mov byte [ebp - 4], 0x1a
push 0
push 1
lea ecx, [ebp - 0xee8]
call fcn.2000275e
push 0
push 0
push 3
push esi
lea eax, [ebx + 0x191e2]
push eax
mov ecx, ebx
call fcn.20057256
mov eax, dword [edi]
cmp eax, dword [ebp - 0x9bc]
mov dword [ebp - 0xeac], eax
jne 0x2005bd48
jmp 0x2005bf71
lea ecx, [ebp - 0x8c0]
call fcn.200013ff
cmp dword [ebp - 0x9c8], 0x10
mov eax, dword [ebp - 0x9dc]
jae 0x2005bebe
lea eax, [ebp - 0x9dc]
push 1
push eax
lea ecx, [ebp - 0x8c0]
call fcn.20034471
lea ecx, [ebp - 0xef0]
call fcn.200013ff
mov eax, dword [ebp - 0x8c0]
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0xef0]
push eax
lea ecx, [ebp - 0x68]
call fcn.2003c10e
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0xef4]
call fcn.2003c36b
lea eax, [ebp - 0xef4]
push eax
lea eax, [ebp - 0xec0]
push eax
lea ecx, [ebx + 0x19040]
call fcn.20049240
mov eax, dword [eax]
add eax, 0x10
mov edi, eax
xor ecx, ecx
lea esi, [ebp - 0x8c0]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
push eax
mov dword [eax + 0x10], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x20], ecx
push eax
lea ecx, [ebp - 0x3c]
mov word [eax + 4], 0x1f40
mov dword [eax + 0x18], 0xbb8
call fcn.2003ca9b
push eax
lea ecx, [ebp - 0x6c]
call fcn.2003c36b
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0xec0]
push eax
lea ecx, [ebx + 0x191c4]
call fcn.20049240
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0xa54]
call fcn.200177bb
lea eax, [ebx + 0x191dc]
lea esi, [ebx + 0x191e2]
mov edi, eax
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
cmp word [ebx + 0x191e0], 0xc350
jae 0x2005c027
lea eax, [ebx + 0x10938]
inc dword [eax + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea ecx, [ebp - 0xef0]
call fcn.200013ff
lea eax, [ebp - 0xef0]
push eax
lea esi, [ebx + 0x191dc]
push esi
lea ecx, [ebp - 0x910]
call fcn.2003cab8
push eax
lea ecx, [ebp - 0x40]
call fcn.2003c346
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x8c0]
push eax
lea ecx, [ebx + 0x10d88]
call fcn.200490e2
mov eax, dword [eax]
add eax, 0x14
mov edi, eax
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
xor ecx, ecx
lea esi, [ebx + 0x10938]
push esi
mov dword [eax + 0x18], 0xea60
mov dword [eax + 0x10], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x1c], ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
dec dword [esi + 0x18]
jmp 0x2005c02f
and dword [eax], 0
and word [eax + 4], 0
mov eax, dword [ebx + 0x191f0]
cmp eax, 2
mov esi, 0x200aa0dc
jae 0x2005c069
cmp dword [ebx + 0x192e4], 1
je 0x2005c0b0
lea eax, [ebp - 0xee8]
push eax
lea ecx, [ebx + 0x191e2]
call fcn.20034401
mov byte [ebp - 4], 0x1c
cmp dword [eax + 0x18], 0x10
jb 0x2005c08f
mov eax, dword [eax + 4]
jmp 0x2005c092
cmp eax, 5
jae 0x2005c0c5
cmp dword [ebx + 0x192e4], 1
je 0x2005c0b0
lea eax, [ebp - 0xee8]
push eax
lea ecx, [ebx + 0x191e2]
call fcn.20034401
mov byte [ebp - 4], 0x1d
jmp 0x2005c05e
add eax, 4
push 0
push eax
mov ecx, ebx
push esi
call fcn.20057758
mov byte [ebp - 4], 0xd
push 0
lea ecx, [ebp - 0xee8]
push 1
call fcn.2000275e
push 0
push 0
lea eax, [ebx + 0x191e2]
push 3
push eax
mov ecx, ebx
push eax
call fcn.20057256
cmp dword [ebx + 0x192e4], 1
jne 0x2005c119
lea eax, [ebp - 0xee8]
push eax
lea ecx, [ebx + 0x191e2]
call fcn.20034401
mov byte [ebp - 4], 0x1e
cmp dword [eax + 0x18], 0x10
jb 0x2005c0ef
mov eax, dword [eax + 4]
jmp 0x2005c0f2
add eax, 4
push 0
push eax
push esi
mov ecx, ebx
call fcn.20057758
mov byte [ebp - 4], 0xd
push 0
push 1
lea ecx, [ebp - 0xee8]
call fcn.2000275e
cmp dword [ebx + 0x192e4], 1
je 0x2005c120
mov ecx, ebx
call fcn.20058861
mov ecx, dword [ebx + 0x2c4]
xor eax, eax
mov ax, word [ebx + 0x10d2a]
push eax
call fcn.2003f9aa
mov eax, dword [ebx + 0x2ac]
push 2
xor ecx, ecx
pop edx
inc ecx
cmp eax, edx
jne 0x2005c14d
mov dword [ebx + 0x2a4], edx
jmp 0x2005c157
cmp eax, ecx
jne 0x2005c157
mov dword [ebx + 0x2a4], ecx
cmp dword [ebx + 0x2a4], edx
jne 0x2005c16b
mov eax, dword [ebx + 0x2c4]
mov dword [eax + 0x2c8], ecx
xor edi, edi
cmp dword [ebx + 0x108f0], edi
jne 0x2005c1a9
push 0xd4
call fcn.2008f9ce
pop ecx
mov dword [ebp - 0x8bc], eax
mov byte [ebp - 4], 0x1f
cmp eax, edi
je 0x2005c197
mov ecx, eax
call fcn.200775d7
jmp 0x2005c199
xor eax, eax
mov byte [ebp - 4], 0xd
mov dword [ebx + 0x108f0], eax
mov dword [eax + 0xcc], ebx
mov ecx, dword [ebx + 0x108f0]
cmp ecx, edi
je 0x2005c1c7
call fcn.200773dd
test eax, eax
jne 0x2005c1c7
mov ecx, dword [ebx + 0x108f0]
call fcn.200773b2
push 0x2c
call fcn.2008f9ce
pop ecx
mov dword [ebp - 0xebc], eax
mov byte [ebp - 4], 0x20
cmp eax, edi
je 0x2005c1e7
push ebx
mov ecx, eax
call fcn.2003f077
jmp 0x2005c1e9
xor eax, eax
mov byte [ebp - 4], 0xd
mov ecx, dword [ebx + 0x2c4]
push eax
push 0x48
pop esi
add ecx, esi
call fcn.20074e15
mov dword [ebx + 0x108d0], eax
push 0x2c
mov dword [ebx + 0x108d4], edx
call fcn.2008f9ce
pop ecx
mov dword [ebp - 0x8bc], eax
mov byte [ebp - 4], 0x21
cmp eax, edi
je 0x2005c22b
push edi
push ebx
mov ecx, eax
call fcn.2003efa2
jmp 0x2005c22d
xor eax, eax
mov byte [ebp - 4], 0xd
mov ecx, dword [ebx + 0x2c4]
push eax
add ecx, esi
call fcn.20074e15
cmp dword [ebx + 0x19750], 3
mov dword [ebx + 0x108b8], eax
mov dword [ebx + 0x108bc], edx
jne 0x2005c29b
push 0x2c
call fcn.2008f9ce
pop ecx
mov dword [ebp - 0xebc], eax
mov byte [ebp - 4], 0x22
cmp eax, edi
je 0x2005c279
push 0x3e8
push ebx
mov ecx, eax
call fcn.2003efe9
jmp 0x2005c27b
xor eax, eax
mov byte [ebp - 4], 0xd
mov ecx, dword [ebx + 0x2c4]
push eax
add ecx, esi
call fcn.20074e15
mov dword [ebx + 0x108c0], eax
mov dword [ebx + 0x108c4], edx
jmp 0x2005c2a7
mov dword [ebx + 0x108c0], edi
mov dword [ebx + 0x108c4], edi
push 0x2c
call fcn.2008f9ce
pop ecx
mov dword [ebp - 0x8bc], eax
mov byte [ebp - 4], 0x23
cmp eax, edi
je 0x2005c2cc
push 0x7d0
push ebx
mov ecx, eax
call fcn.2003f030
jmp 0x2005c2ce
xor eax, eax
mov byte [ebp - 4], 0xd
mov ecx, dword [ebx + 0x2c4]
push eax
add ecx, esi
call fcn.20074e15
mov esi, 0x200a6b94
push esi
push 0
push str.exceptioncnt
mov dword [ebx + 0x108c8], eax
push str.exceptstat
mov dword [ebx + 0x108cc], edx
mov dword [ebx + 0x8740], 1
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
test eax, eax
mov edi, str.stat
jbe 0x2005c329
push esi
push 0x200a4c6c
push str.starttime
push edi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
and dword [ebp - 0xeac], 0
push esi
push 0
push str.starttime
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push 0
mov dword [ebp - 0xeb0], eax
call fcn.2007e6f0
cmp dword [ebp - 0xeb0], 0
pop ecx
mov dword [ebp - 0xeb8], eax
je 0x2005c36a
mov eax, dword [ebp - 0xeb0]
cmp dword [ebp - 0xeb8], eax
jae 0x2005c3a3
mov eax, dword [ebp - 0xeb8]
push eax
mov dword [ebp - 0xeb0], eax
lea eax, [ebp - 0x44]
push 0x200a4c68
push eax
call fcn.2007d900
add esp, 0xc
push esi
lea eax, [ebp - 0x44]
push eax
push str.starttime
push edi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov dword [ebp - 0xeac], 1
push esi
push 0x15180
push str.statspan
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push esi
push 0x1d4c0
push str.postspan
push edi
mov dword [ebp - 0xebc], eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 0xeb0]
mov dword [ebp - 0x8bc], eax
mov eax, dword [ebp - 0xebc]
add eax, ecx
cmp dword [ebp - 0xeb8], eax
ja 0x2005c3f6
cmp dword [ebp - 0xeac], 0
je 0x2005c6d9
push esi
push 0
push str.usedsec
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push esi
push 0
push str.predayusedsec
push edi
mov dword [ebp - 0xebc], eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
add eax, dword [ebp - 0xebc]
push eax
lea eax, [ebp - 0x44]
push 0x200a4c68
push eax
call fcn.2007d900
add esp, 0xc
push esi
lea eax, [ebp - 0x44]
push eax
push str.predayusedsec
push edi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push esi
push 0x200a4c6c
push str.usedsec
push edi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push esi
push 0
push str.lsstt
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 0xebc], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0xebc]
cmp eax, dword [ebp - 0x8bc]
jbe 0x2005c6d9
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea eax, [ebp - 0x44]
push 0x200a4c68
push eax
call fcn.2007d900
add esp, 0xc
push esi
lea eax, [ebp - 0x44]
push eax
push str.lsstt
push edi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push 0xffffffffffffffff
xor esi, esi
push esi
lea eax, [ebx + 0x19284]
push eax
lea ecx, [ebx + 0x1936c]
call fcn.20002fc3
push 0xffffffffffffffff
push esi
lea eax, [ebx + 0x19268]
push eax
lea ecx, [ebx + 0x19388]
call fcn.20002fc3
mov eax, dword [ebx + 0x2c4]
push 0xffffffffffffffff
add eax, 0x284
push esi
push eax
lea ecx, [ebx + 0x193a4]
call fcn.20002fc3
lea eax, [ebx + 0x2a8]
mov cl, byte [eax]
mov eax, dword [eax]
cmp eax, esi
je 0x2005c504
cmp eax, 1
jne 0x2005c510
cmp byte [ebx + 0x10e58], 0
je 0x2005c510
or cl, 0x80
cmp dword [ebx + 0x192e4], 1
jne 0x2005c51c
or cl, 0x40
mov byte [ebx + 0x193c0], cl
push 0x200aa094
lea ecx, [ebx + 0x192fc]
call fcn.20014fa0
jmp 0x2005c6d9
lea eax, [ebp - 0xee8]
push eax
mov ecx, edi
call fcn.20034401
mov byte [ebp - 4], 0x24
cmp dword [eax + 0x18], 0x10
jb 0x2005c554
mov eax, dword [eax + 4]
jmp 0x2005c557
add eax, 4
push 0
push eax
push 0x200aa0dc
mov ecx, ebx
call fcn.20057758
mov byte [ebp - 4], 0xd
push 0
push 1
lea ecx, [ebp - 0xee8]
call fcn.2000275e
lea edi, [ebx + 0x191dc]
lea esi, [ebx + 0x191e2]
movsd dword es:[edi], dword [esi]
push 0x2c
movsw word es:[edi], word [esi]
call fcn.2008f9ce
pop ecx
mov dword [ebp - 0x8bc], eax
mov byte [ebp - 4], 0x25
test eax, eax
je 0x2005c5a8
push ebx
mov ecx, eax
call fcn.2003f077
jmp 0x2005c5aa
xor eax, eax
mov byte [ebp - 4], 0xd
mov ecx, dword [ebx + 0x2c4]
push eax
push 0x48
pop esi
add ecx, esi
call fcn.20074e15
cmp dword [ebx + 0x19750], 3
mov dword [ebx + 0x108d0], eax
mov dword [ebx + 0x108d4], edx
jne 0x2005c661
push 0x2c
call fcn.2008f9ce
pop ecx
mov dword [ebp - 0xebc], eax
mov byte [ebp - 4], 0x26
test eax, eax
je 0x2005c5fa
push 0
push ebx
mov ecx, eax
call fcn.2003efe9
jmp 0x2005c5fc
xor eax, eax
mov byte [ebp - 4], 0xd
mov ecx, dword [ebx + 0x2c4]
push eax
add ecx, esi
call fcn.20074e15
mov dword [ebx + 0x108c0], eax
push 0x2c
mov dword [ebx + 0x108c4], edx
call fcn.2008f9ce
pop ecx
mov dword [ebp - 0x8bc], eax
mov byte [ebp - 4], 0x27
test eax, eax
je 0x2005c63f
push 0x3e8
push ebx
mov ecx, eax
call fcn.2003efe9
jmp 0x2005c641
xor eax, eax
mov byte [ebp - 4], 0xd
mov ecx, dword [ebx + 0x2c4]
push eax
add ecx, esi
call fcn.20074e15
mov dword [ebx + 0x108c0], eax
mov dword [ebx + 0x108c4], edx
jmp 0x2005c675
mov dword [ebx + 0x108c0], 0
mov dword [ebx + 0x108c4], 0
push 0x2c
call fcn.2008f9ce
pop ecx
mov dword [ebp - 0xebc], eax
mov byte [ebp - 4], 0x28
test eax, eax
je 0x2005c69a
push 0x7d0
push ebx
mov ecx, eax
call fcn.2003f030
jmp 0x2005c69c
xor eax, eax
mov byte [ebp - 4], 0xd
mov ecx, dword [ebx + 0x2c4]
push eax
add ecx, esi
call fcn.20074e15
mov dword [ebx + 0x108c8], eax
mov dword [ebx + 0x108cc], edx
jmp 0x2005c6d9
mov ecx, dword [ebx + 0x108f4]
test ecx, ecx
je 0x2005c6d2
mov eax, dword [ecx]
push 0x200aa080
push 5
call dword [eax + 4]
and dword [ebp - 0xeb4], 0
mov ecx, dword [ebx + 0x19938]
add ebx, 4
push ebx
call fcn.2002c061
mov byte [ebp - 4], 0xb
mov esi, dword [ebp - 0xf20]
test esi, esi
je 0x2005c700
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
dec dword [esi + 0x18]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xecc]
call fcn.200223fd
mov eax, dword [ebp - 0xeb4]
jmp 0x2005c764
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xeb0]
call fcn.200026ee
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xeb4]
call fcn.200026ee
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xeb8]
call fcn.200026ee
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xd9c]
call fcn.2000fbba
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xeac]
call fcn.200026ee
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop esi
xor ecx, ebp
pop ebx
call fcn.2007c9ae
leave
ret 4