Function at 0x4c748b
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
mov edi, dword [ebp + 0x18]
mov esi, dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x28]
xor edx, edx
mov dword [eax], edx
mov eax, dword [ebp + 0x20]
mov dword [eax], edx
mov eax, dword [ebp + 0x1c]
mov dword [eax], edx
mov eax, dword [ebp + 0x14]
mov dword [eax], edx
mov dword [edi], edx
mov dword [esi], edx
cmp dword [ebp + 8], 0
je 0x4c74ce
push ebx
push dword [ebp + 8]
call fcn.004f9c59
push eax
call fcn.004c6fcc
mov ebx, eax
test ebx, ebx
je 0x4c74f6
cmp byte [ebx], 0
je 0x4c74f6
push 0x52ffb0
push 0x3e7
push 0x555704
push 0x534c10
push ebx
push str.Windows
call sub.KERNEL32.dll_GetPrivateProfileStringA
cmp byte [0x555704], 0
jne 0x4c7518
push esi
push edi
mov esi, str.0_0_0_0_0_1_0
mov edi, 0x555704
mov eax, edi
mov ecx, 3
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
pop edi
pop esi
mov dword [ebp - 4], 0x555704
push 0x555704
call fcn.005183dc
pop ecx
mov ebx, eax
add ebx, dword [ebp - 4]
cmp ebx, dword [ebp - 4]
jbe 0x4c7547
push 0xa
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
call fcn.00522b98
add esp, 0xc
mov dword [esi], eax
cmp dword [ebp - 4], 0
je 0x4c7570
cmp ebx, dword [ebp - 4]
jbe 0x4c7570
inc dword [ebp - 4]
cmp ebx, dword [ebp - 4]
jbe 0x4c7570
push 0xa
lea edx, [ebp - 4]
push edx
push dword [ebp - 4]
call fcn.00522b98
add esp, 0xc
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
cmp dword [ebp - 4], 0
je 0x4c7596
cmp ebx, dword [ebp - 4]
jbe 0x4c7596
inc dword [ebp - 4]
cmp ebx, dword [ebp - 4]
jbe 0x4c7596
push 0xa
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
call fcn.00522b98
add esp, 0xc
mov dword [edi], eax
cmp dword [ebp - 4], 0
je 0x4c75bf
cmp ebx, dword [ebp - 4]
jbe 0x4c75bf
inc dword [ebp - 4]
cmp ebx, dword [ebp - 4]
jbe 0x4c75bf
push 0xa
lea edx, [ebp - 4]
push edx
push dword [ebp - 4]
call fcn.00522b98
add esp, 0xc
mov ecx, dword [ebp + 0x1c]
mov dword [ecx], eax
cmp dword [ebp - 4], 0
je 0x4c75e8
cmp ebx, dword [ebp - 4]
jbe 0x4c75e8
inc dword [ebp - 4]
cmp ebx, dword [ebp - 4]
jbe 0x4c75e8
push 0xa
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
call fcn.00522b98
add esp, 0xc
mov edx, dword [ebp + 0x20]
mov dword [edx], eax
cmp dword [ebp - 4], 0
je 0x4c7611
cmp ebx, dword [ebp - 4]
jbe 0x4c7611
inc dword [ebp - 4]
cmp ebx, dword [ebp - 4]
jbe 0x4c7611
push 0xa
lea ecx, [ebp - 4]
push ecx
push dword [ebp - 4]
call fcn.00522b98
add esp, 0xc
mov edx, dword [ebp + 0x24]
mov dword [edx], eax
cmp dword [ebp - 4], 0
je 0x4c763a
cmp ebx, dword [ebp - 4]
jbe 0x4c763a
inc dword [ebp - 4]
cmp ebx, dword [ebp - 4]
jbe 0x4c763a
push 0xa
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
call fcn.00522b98
add esp, 0xc
mov ecx, dword [ebp + 0x28]
mov dword [ecx], eax
cmp dword [esi], 0
jne 0x4c7658
mov eax, dword [ebp + 0x14]
cmp dword [eax], 0
jne 0x4c7658
cmp dword [edi], 0
jne 0x4c7658
mov edx, dword [ebp + 0x1c]
cmp dword [edx], 0
jne 0x4c7658
xor eax, eax
jmp 0x4c76ce
mov edx, dword [ebp + 0x24]
cmp dword [edx], 1
jne 0x4c767a
cmp dword [0x537424], 0
je 0x4c767a
lea ecx, [ebp - 0x1c]
push ecx
push dword [0x537424]
call sub.USER32.dll_GetClientRect
jmp 0x4c7695
mov eax, dword [esi]
mov dword [ebp - 0xc], eax
mov edx, dword [edi]
mov dword [ebp - 8], edx
push 0
lea ecx, [ebp - 0x1c]
push ecx
lea eax, [ebp - 0xc]
push eax
push 0
call fcn.004b20ac
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff6
mov eax, dword [esi]
cmp edx, eax
jg 0x4c76ab
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff6
cmp eax, edx
jl 0x4c76af
xor ecx, ecx
mov dword [esi], ecx
mov eax, dword [edi]
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff6
cmp eax, edx
jl 0x4c76c5
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff6
cmp eax, ecx
jl 0x4c76c9
xor eax, eax
mov dword [edi], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24