Function at 0x4f2bcf
Capabilities:
Read .ini file

Disassembly:
push ebx
push esi
push edi
push ebp
mov ebx, 0x584048
mov esi, 0x569f83
mov edi, 0x559220
mov ebp, 0x58405c
push 0x7f02
push 0
call sub.USER32.dll_LoadCursorA
push eax
call sub.USER32.dll_SetCursor
mov dword [0x58404c], eax
call fcn.004f1ebb
xor eax, eax
mov dword [0x55921c], eax
push str.mirc.ini
push 0x3e7
push esi
lea edx, [edi + 0x2fe]
push edx
lea ecx, [edi + 0x2fa]
push ecx
lea eax, [edi + 0x2f2]
push eax
call sub.KERNEL32.dll_GetPrivateProfileStringA
cmp byte [esi], 0
jne 0x4f2c49
push esi
push edi
lea eax, [edi + 0x302]
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.0041cb6c
push 0
push 0
push esi
call fcn.004f280d
push str.mirc.ini
push 0x3e7
push esi
lea edx, [edi + 0x31a]
push edx
lea ecx, [edi + 0x316]
push ecx
lea eax, [edi + 0x30e]
push eax
call sub.KERNEL32.dll_GetPrivateProfileStringA
cmp byte [esi], 0
jne 0x4f2c98
push esi
push edi
lea eax, [edi + 0x31e]
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.0041cb6c
push 0
push 1
push esi
call fcn.004f280d
mov dword [ebp], 2
push dword [ebp]
lea edx, [edi + 0x32a]
push edx
push 0x584050
call sub.USER32.dll_wsprintfA
add esp, 0xc
push str.mirc.ini
push 0x3e7
push esi
lea ecx, [edi + 0x337]
push ecx
push 0x584050
lea eax, [edi + 0x32f]
push eax
call sub.KERNEL32.dll_GetPrivateProfileStringA
cmp byte [esi], 0
je 0x4f2da9
cmp dword [0x553520], 0
je 0x4f2d83
lea edx, [edi + 0x33b]
push edx
push esi
call fcn.0053977c
add esp, 8
test eax, eax
jne 0x4f2d83
xor ecx, ecx
mov dword [0x553520], ecx
push str.mirc.ini
push 0
push 0x584050
lea eax, [edi + 0x347]
push eax
call fcn.00498684
push 0x553318
lea edx, [edi + 0x34f]
push edx
push esi
call sub.USER32.dll_wsprintfA
add esp, 0xc
push 1
push esi
call fcn.0041c947
test eax, eax
je 0x4f2d7b
push 0x553318
lea ecx, [edi + 0x35d]
push ecx
push 0x569b9c
call sub.USER32.dll_wsprintfA
add esp, 0xc
push 0x569b9c
push esi
call fcn.005404e0
add esp, 8
inc dword [ebp]
jmp 0x4f2caf
push esi
call fcn.0041cb6c
push 1
push esi
call fcn.0041c947
test eax, eax
je 0x4f2da1
push 0
push 2
push esi
call fcn.004f280d
mov dword [ebx], eax
inc dword [ebp]
jmp 0x4f2caf
mov eax, dword [0x55920c]
mov dword [ebx], eax
jmp 0x4f2dc3
cmp dword [eax + 0x124], 2
je 0x4f2dc9
mov edx, dword [eax + 0x15c]
mov dword [ebx], edx
mov eax, dword [ebx]
test eax, eax
jne 0x4f2db2
cmp dword [ebx], 0
jne 0x4f2e68
push 0x553318
lea edx, [edi + 0x36b]
push edx
push esi
call sub.USER32.dll_wsprintfA
add esp, 0xc
push 0
push 2
push esi
call fcn.004f280d
mov dword [ebx], eax
cmp dword [ebx], 0
je 0x4f2e68
mov ecx, dword [ebx]
push dword [ecx + 0x158]
call fcn.004b12ac
mov eax, dword [ebx]
xor edx, edx
mov dword [eax + 0x158], edx
cmp dword [0x553520], 0
je 0x4f2e68
xor ecx, ecx
mov dword [0x553520], ecx
push 0x553318
lea eax, [edi + 0x379]
push eax
push esi
call sub.USER32.dll_wsprintfA
add esp, 0xc
push 1
push esi
call fcn.0041c947
test eax, eax
je 0x4f2e68
push 0x553318
lea edx, [edi + 0x387]
push edx
push 0x569b9c
call sub.USER32.dll_wsprintfA
add esp, 0xc
push 0x569b9c
push esi
call fcn.005404e0
add esp, 8
xor ecx, ecx
mov dword [ebp], ecx
mov eax, dword [0x55920c]
mov dword [ebx], eax
jmp 0x4f2ea4
mov edx, dword [ebp]
cmp edx, dword [0x559210]
jne 0x4f2e8d
mov dword [eax + 0x134], 1
jmp 0x4f2e97
mov ecx, dword [ebx]
xor eax, eax
mov dword [ecx + 0x134], eax
mov edx, dword [ebx]
mov ecx, dword [edx + 0x15c]
mov dword [ebx], ecx
inc dword [ebp]
mov eax, dword [ebx]
test eax, eax
jne 0x4f2e76
push dword [0x58404c]
call sub.USER32.dll_SetCursor
mov dword [0x55921c], 1
call fcn.00415f00
call fcn.004f0e53
push 0
push 0
push 2
lea edx, [edi + 0x395]
push edx
push 0
call fcn.004b617c
test eax, eax
je 0x4f2eea
push 1
push 0
call fcn.004b67ee
push 0x3e
call fcn.004f1f7f
pop ebp
pop edi
pop esi
pop ebx
ret