Function at 0x49cc58
Capabilities:
Read .ini file

Disassembly:
push ebx
push esi
push edi
push ebp
mov ebx, 0x4eaa34
mov esi, 0x4d832f
mov edi, 0x4d28b8
mov ebp, 0x4eaa48
push 0x7f02
push 0
call sub.USER32.dll_LoadCursorA
push eax
call sub.USER32.dll_SetCursor
mov dword [0x4eaa38], eax
call fcn.0049bdec
xor eax, eax
mov dword [0x4d28b4], eax
push str.mirc.ini
push 0x3e7
push esi
lea edx, [edi + 0x2e7]
push edx
lea ecx, [edi + 0x2e3]
push ecx
lea eax, [edi + 0x2db]
push eax
call sub.KERNEL32.dll_GetPrivateProfileStringA
cmp byte [esi], 0
jne 0x49ccd2
push esi
push edi
lea eax, [edi + 0x2eb]
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 0x4d7f48
push esi
call fcn.0040b1d4
push 0
push esi
call fcn.0049c94c
push str.mirc.ini
push 0x3e7
push esi
lea edx, [edi + 0x303]
push edx
lea ecx, [edi + 0x2ff]
push ecx
lea eax, [edi + 0x2f7]
push eax
call sub.KERNEL32.dll_GetPrivateProfileStringA
cmp byte [esi], 0
jne 0x49cd24
push esi
push edi
lea eax, [edi + 0x307]
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 0x4d7f48
push esi
call fcn.0040b1d4
push 1
push esi
call fcn.0049c94c
mov dword [ebp], 2
mov edx, dword [ebp]
push edx
lea ecx, [edi + 0x313]
push ecx
push 0x4eaa3c
call sub.USER32.dll_wsprintfA
add esp, 0xc
push str.mirc.ini
push 0x3e7
push esi
lea eax, [edi + 0x320]
push eax
push 0x4eaa3c
lea edx, [edi + 0x318]
push edx
call sub.KERNEL32.dll_GetPrivateProfileStringA
cmp byte [esi], 0
je 0x49ce3b
cmp dword [0x4cf1fc], 0
je 0x49ce12
lea ecx, [edi + 0x324]
push ecx
push esi
call fcn.004bcfe4
add esp, 8
test eax, eax
jne 0x49ce12
xor eax, eax
mov dword [0x4cf1fc], eax
push str.mirc.ini
push 0
push 0x4eaa3c
lea edx, [edi + 0x330]
push edx
call fcn.0045cffc
push 0x4e23ec
lea ecx, [edi + 0x338]
push ecx
push esi
call sub.USER32.dll_wsprintfA
add esp, 0xc
push 1
push esi
call fcn.0040abec
test eax, eax
je 0x49ce0a
push 0x4e23ec
lea eax, [edi + 0x346]
push eax
push 0x4d7f48
call sub.USER32.dll_wsprintfA
add esp, 0xc
push 0x4d7f48
push esi
call fcn.004c28ac
add esp, 8
inc dword [ebp]
jmp 0x49cd3e
push 0x4d7f48
push esi
call fcn.0040b1d4
push 1
push esi
call fcn.0040abec
test eax, eax
je 0x49ce33
push 2
push esi
call fcn.0049c94c
mov dword [ebx], eax
inc dword [ebp]
jmp 0x49cd3e
mov edx, dword [0x4d28a4]
mov dword [ebx], edx
jmp 0x49ce56
cmp dword [eax + 0x120], 2
je 0x49ce5c
mov ecx, dword [eax + 0x14c]
mov dword [ebx], ecx
mov eax, dword [ebx]
test eax, eax
jne 0x49ce45
cmp dword [ebx], 0
jne 0x49cef9
push 0x4e23ec
lea edx, [edi + 0x354]
push edx
push esi
call sub.USER32.dll_wsprintfA
add esp, 0xc
push 2
push esi
call fcn.0049c94c
mov dword [ebx], eax
cmp dword [ebx], 0
je 0x49cef9
mov ecx, dword [ebx]
mov eax, dword [ecx + 0x148]
push eax
call fcn.0046f8e0
mov edx, dword [ebx]
xor ecx, ecx
mov dword [edx + 0x148], ecx
cmp dword [0x4cf1fc], 0
je 0x49cef9
xor eax, eax
mov dword [0x4cf1fc], eax
push 0x4e23ec
lea edx, [edi + 0x362]
push edx
push esi
call sub.USER32.dll_wsprintfA
add esp, 0xc
push 1
push esi
call fcn.0040abec
test eax, eax
je 0x49cef9
push 0x4e23ec
lea ecx, [edi + 0x370]
push ecx
push 0x4d7f48
call sub.USER32.dll_wsprintfA
add esp, 0xc
push 0x4d7f48
push esi
call fcn.004c28ac
add esp, 8
xor eax, eax
mov dword [ebp], eax
mov edx, dword [0x4d28a4]
mov dword [ebx], edx
jmp 0x49cf36
mov ecx, dword [ebp]
cmp ecx, dword [0x4d28a8]
jne 0x49cf1f
mov dword [eax + 0x130], 1
jmp 0x49cf29
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 0x49cf08
mov edx, dword [0x4eaa38]
push edx
call sub.USER32.dll_SetCursor
mov byte [0x4e8a00], 0
mov dword [0x4d28b4], 1
call fcn.00406a80
call fcn.0049af18
cmp dword [0x4d0f30], 0
jne 0x49cf89
push 2
lea ecx, [edi + 0x37e]
push ecx
push 0
call fcn.004724c0
test eax, eax
je 0x49cf89
push 1
push 0
call fcn.00472a5c
push 0x32
call fcn.0049beb4
pop ebp
pop edi
pop esi
pop ebx
ret