Function at 0x40e6a0
Capabilities:
Get file attributes
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x435355
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x214
mov al, byte [esp + 3]
push ebx
push ebp
mov ebp, ecx
push esi
push edi
lea ecx, [ebp + 0x14]
xor edi, edi
push edi
mov dword [esp + 0x1c], ebp
mov byte [ecx], al
call fcn.00401d50
lea esi, [ebp + 0x24]
lea ecx, [esp + 0x13]
push ecx
mov dword [esp + 0x230], edi
lea ecx, [esi + 4]
mov dword [esp + 0x18], esi
call fcn.00408a10
mov ecx, esi
mov byte [esp + 0x22c], 1
call fcn.00407e40
mov dl, byte [esp + 0x13]
lea ecx, [ebp + 0x34]
push edi
mov byte [esp + 0x230], 2
mov byte [ecx], dl
call fcn.00401d50
mov al, byte [esp + 0x13]
lea ecx, [ebp + 0x44]
push edi
mov byte [esp + 0x230], 3
mov byte [ecx], al
call fcn.00401d50
mov dl, byte [esp + 0x13]
lea ecx, [ebp + 0x54]
push edi
mov byte [esp + 0x230], 4
mov byte [ecx], dl
call fcn.00401d50
mov al, byte [esp + 0x13]
lea ecx, [ebp + 0x64]
push edi
mov byte [esp + 0x230], 5
mov byte [ecx], al
call fcn.00401d50
mov dl, byte [esp + 0x13]
lea ecx, [ebp + 0x74]
push edi
mov byte [esp + 0x230], 6
mov byte [ecx], dl
call fcn.00401d50
mov al, byte [esp + 0x13]
lea ecx, [ebp + 0x84]
push edi
mov byte [esp + 0x230], 7
mov byte [ecx], al
call fcn.00401d50
mov dl, byte [esp + 0x13]
lea ecx, [ebp + 0x94]
push edi
mov byte [esp + 0x230], 8
mov byte [ecx], dl
call fcn.00401d50
mov al, byte [esp + 0x13]
lea ebx, [ebp + 0xa4]
push edi
mov ecx, ebx
mov byte [esp + 0x230], 9
mov byte [ebx], al
call fcn.00401d50
mov cl, byte [esp + 0x13]
lea esi, [ebp + 0xb4]
push edi
push edi
mov byte [esi], cl
mov ecx, esi
mov byte [esp + 0x234], 0xa
call fcn.00403e30
mov dword [esi + 4], eax
mov dword [esi + 8], edi
mov dl, byte [esp + 0x13]
lea esi, [ebp + 0xc0]
push edi
push edi
mov ecx, esi
mov byte [esp + 0x234], 0xb
mov byte [esi], dl
call fcn.00403e30
mov dword [esi + 4], eax
mov dword [esi + 8], edi
mov edx, dword [esp + 0x234]
lea esi, [ebp + 0xcc]
cmp edx, edi
mov byte [esp + 0x22c], 0xc
mov dword [esi], 0x437a80
mov dword [ebp], 0x437aa4
mov dword [ebp + 4], edi
mov dword [ebp + 8], edi
mov dword [ebp + 0xc], edi
je 0x40e850
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
lea ecx, [ebp + 0x14]
call fcn.00402160
xor edi, edi
lea eax, [esp + 0x120]
push 0x104
push eax
push edi
mov dword [ebp + 0xd0], esi
mov dword [ebp + 0x10], edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov ecx, eax
dec eax
test ecx, ecx
je 0x40e890
mov cl, 0x5c
cmp byte [esp + eax + 0x120], cl
je 0x40e888
mov edx, eax
dec eax
test edx, edx
jne 0x40e876
jmp 0x40e890
mov byte [esp + eax + 0x120], 0
lea edi, [esp + 0x120]
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
mov ecx, ebx
push esi
mov dword [esp + 0x1c], esi
call fcn.00402220
test al, al
je 0x40e8d9
mov edi, dword [ebx + 4]
mov ecx, esi
mov eax, ecx
lea esi, [esp + 0x120]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, eax
push ecx
mov ecx, ebx
call fcn.00402200
mov edi, str._settings.ini
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str._settings.ini
mov ecx, ebx
call fcn.004020a0
mov eax, dword [ebx + 4]
test eax, eax
jne 0x40e901
mov eax, 0x4375d0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test al, 0x10
jne 0x40e915
cmp eax, 0xffffffff
jne 0x40e996
lea edi, [esp + 0x120]
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
mov ecx, ebx
push esi
mov dword [esp + 0x1c], esi
call fcn.00402220
test al, al
je 0x40e95e
mov edi, dword [ebx + 4]
mov ecx, esi
mov edx, ecx
lea esi, [esp + 0x120]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov eax, edx
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov ecx, ebx
call fcn.00402200
mov edi, str.config
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.config
mov ecx, ebx
call fcn.004020a0
mov edi, str._settings.ini
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str._settings.ini
mov ecx, ebx
call fcn.004020a0
mov eax, dword [ebx + 4]
test eax, eax
jne 0x40e9a2
mov eax, 0x4375d0
push eax
lea ecx, [esp + 0x20]
push 0x104
push ecx
push str.http:__www.ppstream.com_
push str.hyperurl
push 0x44242c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edi, [esp + 0x1c]
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edi, [ebp + 0x34]
mov esi, ecx
mov ecx, edi
push esi
mov dword [esp + 0x1c], esi
call fcn.00402220
test al, al
je 0x40ea0a
mov edi, dword [edi + 4]
mov ecx, esi
mov edx, ecx
lea esi, [esp + 0x1c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov eax, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 0x38]
mov dword [ebp + 0x3c], eax
mov byte [eax + ecx], 0
mov eax, dword [ebx + 4]
test eax, eax
jne 0x40ea16
mov eax, 0x4375d0
push eax
lea edx, [esp + 0x20]
push 0x104
push edx
push 0x4467b0
push str.version
push 0x44242c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edi, [esp + 0x1c]
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edi, [ebp + 0x64]
mov esi, ecx
mov ecx, edi
push esi
mov dword [esp + 0x1c], esi
call fcn.00402220
test al, al
je 0x40ea7c
mov edi, dword [edi + 4]
mov ecx, esi
mov eax, ecx
lea esi, [esp + 0x1c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 0x68]
mov dword [ebp + 0x6c], eax
mov byte [eax + ecx], 0
mov eax, dword [ebx + 4]
test eax, eax
jne 0x40ea88
mov eax, 0x4375d0
push eax
lea edx, [esp + 0x20]
push 0x104
push edx
push 0x4467b0
push 0x442420
push 0x44242c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edi, [esp + 0x1c]
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edi, [ebp + 0x44]
mov esi, ecx
mov ecx, edi
push esi
mov dword [esp + 0x1c], esi
call fcn.00402220
test al, al
je 0x40eaee
mov edi, dword [edi + 4]
mov ecx, esi
mov eax, ecx
lea esi, [esp + 0x1c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 0x48]
mov dword [ebp + 0x4c], eax
mov byte [eax + ecx], 0
mov ebx, dword [ebx + 4]
mov eax, 0x4375d0
test ebx, ebx
je 0x40eafc
mov eax, ebx
push eax
lea edx, [esp + 0x20]
push 0x104
push edx
push 0x4467b0
push str.software
push 0x44242c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [esp + 0x1c]
test eax, eax
je 0x40ebcb
mov al, byte [esp + 0x1c]
test al, al
je 0x40ebcb
lea edi, [esp + 0x1c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
cmp esi, 0xfffffffd
mov dword [esp + 0x14], esi
jbe 0x40eb52
call fcn.00424090
mov ecx, dword [ebp + 0x18]
lea ebx, [ebp + 0x14]
test ecx, ecx
je 0x40eb7a
mov al, byte [ecx - 1]
test al, al
je 0x40eb7a
cmp al, 0xff
je 0x40eb7a
test esi, esi
jne 0x40eb9e
dec al
push esi
mov byte [ecx - 1], al
mov ecx, ebx
call fcn.00401d50
jmp 0x40ebcb
test esi, esi
jne 0x40eb89
push 1
mov ecx, ebx
call fcn.00401d50
jmp 0x40ebcb
mov eax, dword [ebx + 0xc]
cmp eax, 0x1f
ja 0x40eb95
cmp eax, esi
jae 0x40eba6
push 1
mov ecx, ebx
call fcn.00401d50
push esi
mov ecx, ebx
call fcn.004028c0
mov edi, dword [ebx + 4]
mov ecx, esi
mov edx, ecx
lea esi, [esp + 0x1c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x14]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 4]
mov dword [ebx + 8], eax
mov byte [ecx + eax], 0
mov ecx, dword [esp + 0x224]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x220
ret 4