Function at 0x4ccfd4
Capabilities:
Read .ini file

Disassembly:
push ebx
push esi
push edi
push ebp
mov ebx, 0x51c978
mov esi, 0x504a33
mov edi, 0x4fbd08
mov ebp, 0x51c98c
push 0x7f02
push 0
call sub.USER32.dll_LoadCursorA
push eax
call sub.USER32.dll_SetCursor
mov dword [0x51c97c], eax
call fcn.004cc0a0
xor eax, eax
mov dword [0x4fbd04], eax
push 0x4f7dec
push 0x3e7
push esi
lea edx, [edi + 0x340]
push edx
lea ecx, [edi + 0x33c]
push ecx
lea eax, [edi + 0x334]
push eax
call sub.KERNEL32.dll_GetPrivateProfileStringA
cmp byte [esi], 0
jne 0x4cd04e
push esi
push edi
lea eax, [edi + 0x344]
mov edi, esi
mov esi, eax
mov eax, edi
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
pop edi
pop esi
push esi
call fcn.0041fbd4
push 0
push 0
push esi
call fcn.004ccc6c
push 0x4f7dec
push 0x3e7
push esi
lea edx, [edi + 0x35c]
push edx
lea ecx, [edi + 0x358]
push ecx
lea eax, [edi + 0x350]
push eax
call sub.KERNEL32.dll_GetPrivateProfileStringA
cmp byte [esi], 0
jne 0x4cd09d
push esi
push edi
lea eax, [edi + 0x360]
mov edi, esi
mov esi, eax
mov eax, edi
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
pop edi
pop esi
push esi
call fcn.0041fbd4
push 0
push 1
push esi
call fcn.004ccc6c
mov dword [ebp], 2
mov edx, dword [ebp]
push edx
lea ecx, [edi + 0x36c]
push ecx
push 0x51c980
call sub.USER32.dll_wsprintfA
add esp, 0xc
push 0x4f7dec
push 0x3e7
push esi
lea eax, [edi + 0x379]
push eax
push 0x51c980
lea edx, [edi + 0x371]
push edx
call sub.KERNEL32.dll_GetPrivateProfileStringA
cmp byte [esi], 0
je 0x4cd1ae
cmp dword [0x4f7eec], 0
je 0x4cd188
lea ecx, [edi + 0x37d]
push ecx
push esi
call fcn.004014a8
add esp, 8
test eax, eax
jne 0x4cd188
xor eax, eax
mov dword [0x4f7eec], eax
push 0x4f7dec
push 0
push 0x51c980
lea edx, [edi + 0x389]
push edx
call fcn.0048326c
push 0x4f7cec
lea ecx, [edi + 0x391]
push ecx
push esi
call sub.USER32.dll_wsprintfA
add esp, 0xc
push 1
push esi
call fcn.0041f620
test eax, eax
je 0x4cd180
push 0x4f7cec
lea eax, [edi + 0x39f]
push eax
push 0x50464c
call sub.USER32.dll_wsprintfA
add esp, 0xc
push 0x50464c
push esi
call fcn.004073a0
add esp, 8
inc dword [ebp]
jmp 0x4cd0b4
push esi
call fcn.0041fbd4
push 1
push esi
call fcn.0041f620
test eax, eax
je 0x4cd1a6
push 0
push 2
push esi
call fcn.004ccc6c
mov dword [ebx], eax
inc dword [ebp]
jmp 0x4cd0b4
mov edx, dword [0x4fbcf4]
mov dword [ebx], edx
jmp 0x4cd1c9
cmp dword [eax + 0x120], 2
je 0x4cd1cf
mov ecx, dword [eax + 0x14c]
mov dword [ebx], ecx
mov eax, dword [ebx]
test eax, eax
jne 0x4cd1b8
cmp dword [ebx], 0
jne 0x4cd26e
push 0x4f7cec
lea edx, [edi + 0x3ad]
push edx
push esi
call sub.USER32.dll_wsprintfA
add esp, 0xc
push 0
push 2
push esi
call fcn.004ccc6c
mov dword [ebx], eax
cmp dword [ebx], 0
je 0x4cd26e
mov ecx, dword [ebx]
mov eax, dword [ecx + 0x148]
push eax
call fcn.00499164
mov edx, dword [ebx]
xor ecx, ecx
mov dword [edx + 0x148], ecx
cmp dword [0x4f7eec], 0
je 0x4cd26e
xor eax, eax
mov dword [0x4f7eec], eax
push 0x4f7cec
lea edx, [edi + 0x3bb]
push edx
push esi
call sub.USER32.dll_wsprintfA
add esp, 0xc
push 1
push esi
call fcn.0041f620
test eax, eax
je 0x4cd26e
push 0x4f7cec
lea ecx, [edi + 0x3c9]
push ecx
push 0x50464c
call sub.USER32.dll_wsprintfA
add esp, 0xc
push 0x50464c
push esi
call fcn.004073a0
add esp, 8
xor eax, eax
mov dword [ebp], eax
mov edx, dword [0x4fbcf4]
mov dword [ebx], edx
jmp 0x4cd2ab
mov ecx, dword [ebp]
cmp ecx, dword [0x4fbcf8]
jne 0x4cd294
mov dword [eax + 0x130], 1
jmp 0x4cd29e
mov eax, dword [ebx]
xor edx, edx
mov dword [eax + 0x130], edx
mov ecx, dword [ebx]
mov eax, dword [ecx + 0x14c]
mov dword [ebx], eax
inc dword [ebp]
mov eax, dword [ebx]
test eax, eax
jne 0x4cd27d
mov edx, dword [0x51c97c]
push edx
call sub.USER32.dll_SetCursor
mov dword [0x4fbd04], 1
call fcn.004195b8
call fcn.004cb030
cmp dword [0x4fa228], 0
jne 0x4cd2f7
push 2
lea ecx, [edi + 0x3d7]
push ecx
push 0
call fcn.0049cce4
test eax, eax
je 0x4cd2f7
push 1
push 0
call fcn.0049d2b8
push 0x3b
call fcn.004cc168
pop ebp
pop edi
pop esi
pop ebx
ret