Function at 0x401108
Capabilities:
Read .ini file

Disassembly:
push ebx
push esi
push edi
push ebp
mov ebx, 0x528398
mov esi, 0x555704
mov ebp, 0x52ffb0
mov edi, 0x5300b8
push ebp
push 0x3e7
push esi
lea eax, [ebx + 0xf]
push eax
lea edx, [ebx + 7]
push edx
push ebx
call sub.KERNEL32.dll_GetPrivateProfileStringA
mov dword [edi], esi
push 0
call fcn.00487484
mov dword [0x528214], eax
push 0
call fcn.00487484
mov dword [0x528218], eax
push 0
call fcn.00487484
mov dword [0x52821c], eax
push ebp
push 0x3e7
push esi
lea ecx, [ebx + 0x20]
push ecx
lea eax, [ebx + 0x1a]
push eax
lea edx, [ebx + 0x13]
push edx
call sub.KERNEL32.dll_GetPrivateProfileStringA
mov byte [esi + 0x5a], 0
push esi
push edi
mov edi, esi
mov esi, 0x528220
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
cmp byte [0x528220], 0
jne 0x4011b8
push esi
push edi
lea esi, [ebx + 0x24]
mov edi, 0x528220
mov eax, edi
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
push ebp
push 0x3e7
push esi
lea edx, [ebx + 0x3d]
push edx
lea ecx, [ebx + 0x34]
push ecx
lea eax, [ebx + 0x2d]
push eax
call sub.KERNEL32.dll_GetPrivateProfileStringA
mov dword [edi], esi
push 1
call fcn.00487484
mov dword [0x528284], eax
push 1
call fcn.00487484
mov dword [0x528288], eax
push 1
call fcn.00487484
mov dword [0x52828c], eax
push 0x64
call fcn.00487484
mov dword [0x528294], eax
push 0
call fcn.00487484
mov dword [0x528290], eax
push ebp
push 0x3e7
push esi
lea edx, [ebx + 0x50]
push edx
lea ecx, [ebx + 0x48]
push ecx
lea eax, [ebx + 0x41]
push eax
call sub.KERNEL32.dll_GetPrivateProfileStringA
mov dword [edi], esi
push 0x96
call fcn.00487484
mov dword [0x5282a0], eax
push 0x3c
call fcn.00487484
mov dword [0x5282a4], eax
push 0x64
call fcn.00487484
mov dword [0x5282a8], eax
push 1
call fcn.00487484
mov dword [0x5282ac], eax
push 0xb4
call fcn.00487484
mov dword [0x5282b0], eax
push 0xa
call fcn.00487484
mov dword [0x5282b4], eax
push 0x32
call fcn.00487484
mov dword [0x5282b8], eax
push 1
call fcn.00487484
mov dword [0x52830c], eax
push 1
call fcn.00487484
mov dword [0x528310], eax
push 1
call fcn.00487484
mov dword [0x528314], eax
push 0
call fcn.00487484
mov dword [0x52831c], eax
push 0x32
call fcn.00487484
mov dword [0x528320], eax
push ebp
push 0x3e7
push esi
lea edx, [ebx + 0x64]
push edx
lea ecx, [ebx + 0x5b]
push ecx
lea eax, [ebx + 0x54]
push eax
call sub.KERNEL32.dll_GetPrivateProfileStringA
mov dword [edi], esi
push 1
call fcn.00487484
mov dword [0x5282c0], eax
push 1
call fcn.00487484
mov dword [0x5282c4], eax
push 1
call fcn.00487484
mov dword [0x5282c8], eax
push 1
call fcn.00487484
mov dword [0x5282cc], eax
push 1
call fcn.00487484
mov dword [0x5282d0], eax
push 1
call fcn.00487484
mov dword [0x5282d4], eax
push 1
call fcn.00487484
mov dword [0x5282d8], eax
push 1
call fcn.00487484
mov dword [0x5282dc], eax
push 1
call fcn.00487484
mov dword [0x5282e0], eax
push ebp
push 0x3e7
push esi
lea edx, [ebx + 0x78]
push edx
lea ecx, [ebx + 0x6f]
push ecx
lea eax, [ebx + 0x68]
push eax
call sub.KERNEL32.dll_GetPrivateProfileStringA
mov dword [edi], esi
push 1
call fcn.00487484
mov dword [0x5282e4], eax
push 1
call fcn.00487484
mov dword [0x5282e8], eax
push 1
call fcn.00487484
mov dword [0x5282ec], eax
push 1
call fcn.00487484
mov dword [0x5282f0], eax
push ebp
push 0x3e7
push esi
lea edx, [ebx + 0x8a]
push edx
lea ecx, [ebx + 0x83]
push ecx
lea eax, [ebx + 0x7c]
push eax
call sub.KERNEL32.dll_GetPrivateProfileStringA
mov dword [edi], esi
push 1
call fcn.00487484
mov dword [0x5282f4], eax
push 1
call fcn.00487484
mov dword [0x5282f8], eax
push 1
call fcn.00487484
mov dword [0x5282fc], eax
push 1
call fcn.00487484
mov dword [0x528300], eax
push 1
call fcn.00487484
mov dword [0x528304], eax
push 1
call fcn.00487484
mov dword [0x528308], eax
push 1
call fcn.00487484
mov dword [0x528318], eax
push ebp
push 0x3e7
push esi
lea edx, [ebx + 0x9a]
push edx
lea ecx, [ebx + 0x95]
push ecx
lea eax, [ebx + 0x8e]
push eax
call sub.KERNEL32.dll_GetPrivateProfileStringA
mov dword [edi], esi
push 0x14
call fcn.00487484
mov dword [0x528298], eax
push 0x14
call fcn.00487484
mov dword [0x52829c], eax
xor edi, edi
xor eax, eax
mov dword [0x5282bc], eax
push edi
lea edx, [ebx + 0x9e]
push edx
push 0x555aeb
call sub.USER32.dll_wsprintfA
add esp, 0xc
push ebp
push 0x3e7
push esi
lea ecx, [ebx + 0xac]
push ecx
push 0x555aeb
lea eax, [ebx + 0xa3]
push eax
call sub.KERNEL32.dll_GetPrivateProfileStringA
cmp byte [esi], 0
je 0x4014aa
push 0x2c
push esi
call fcn.005184e1
add esp, 8
test eax, eax
je 0x4014a7
push 0
push 0
push esi
push dword [0x5282bc]
call fcn.0049d9f0
test eax, eax
je 0x4014aa
mov dword [0x5282bc], eax
inc edi
jmp 0x401446
pop ebp
pop edi
pop esi
pop ebx
ret