Function at 0x46e1dd
Capabilities:
Read .ini file

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffe4
mov ebx, 0x550e74
mov esi, 0x569b9c
push str.mirc.ini
push 0x3e7
push esi
lea eax, [ebx + 0x11f]
push eax
lea edx, [ebx + 0x11b]
push edx
lea ecx, [ebx + 0x10f]
push ecx
call sub.KERNEL32.dll_GetPrivateProfileStringA
cmp byte [esi], 0
jne 0x46e2ad
push str.mirc.ini
push 0x3e7
push esi
lea eax, [ebx + 0x131]
push eax
lea edx, [ebx + 0x129]
push edx
lea ecx, [ebx + 0x123]
push ecx
call sub.KERNEL32.dll_GetPrivateProfileStringA
cmp byte [esi], 0
je 0x46e277
push str.mirc.ini
push 0
lea eax, [ebx + 0x13b]
push eax
lea edx, [ebx + 0x135]
push edx
call fcn.00498684
push esi
lea ecx, [ebx + 0x143]
push ecx
push 0x569f83
call sub.USER32.dll_wsprintfA
add esp, 0xc
jmp 0x46e290
push 0x553318
lea eax, [ebx + 0x155]
push eax
push 0x569f83
call sub.USER32.dll_wsprintfA
add esp, 0xc
push str.mirc.ini
push 0x569f83
lea edx, [ebx + 0x173]
push edx
lea ecx, [ebx + 0x167]
push ecx
call fcn.00498684
push dword [0x550e70]
call fcn.004b12ac
xor eax, eax
mov dword [0x550e70], eax
xor edx, edx
mov dword [esp + 0x18], edx
xor ecx, ecx
mov dword [esp + 8], ecx
mov eax, dword [esp + 0x18]
inc dword [esp + 0x18]
push eax
lea edx, [ebx + 0x177]
push edx
lea ecx, [esp + 0x14]
push ecx
call sub.USER32.dll_wsprintfA
add esp, 0xc
push str.mirc.ini
push 0x3e7
push esi
lea eax, [ebx + 0x188]
push eax
lea edx, [esp + 0x1c]
push edx
lea ecx, [ebx + 0x17c]
push ecx
call sub.KERNEL32.dll_GetPrivateProfileStringA
cmp byte [esi], 0
je 0x46e53e
lea eax, [ebx + 0x18c]
push eax
push esi
call fcn.005398cc
add esp, 8
mov edi, eax
lea eax, [ebx + 0x195]
push eax
push esi
call fcn.005398cc
add esp, 8
mov ebp, eax
lea eax, [ebx + 0x19e]
push eax
push esi
call fcn.005398cc
add esp, 8
mov dword [esp], eax
lea edx, [ebx + 0x1a7]
push edx
push esi
call fcn.005398cc
add esp, 8
mov dword [esp + 4], eax
test edi, edi
je 0x46e2cb
mov byte [edi], 0
add edi, 7
push 0x20
push esi
call fcn.00539518
add esp, 8
test eax, eax
je 0x46e37f
mov byte [eax], 0
lea ecx, [ebx + 0x1b0]
push ecx
push esi
call fcn.0053977c
add esp, 8
test eax, eax
jne 0x46e39b
mov dword [esp + 8], 1
test ebp, ebp
je 0x46e3ae
mov byte [ebp], 0
add ebp, 7
cmp byte [ebp], 0
jne 0x46e3ae
xor ebp, ebp
cmp dword [esp], 0
je 0x46e3cb
mov eax, dword [esp]
mov byte [eax], 0
add dword [esp], 7
mov edx, dword [esp]
cmp byte [edx], 0
jne 0x46e3cb
xor ecx, ecx
mov dword [esp], ecx
cmp dword [esp + 4], 0
je 0x46e3ed
mov eax, dword [esp + 4]
mov byte [eax], 0
add dword [esp + 4], 7
mov edx, dword [esp + 4]
cmp byte [edx], 0
jne 0x46e3ed
xor ecx, ecx
mov dword [esp + 4], ecx
push esi
push edi
mov esi, 0x579058
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
push 0x579058
call fcn.0041cb6c
push esi
mov edi, esi
mov esi, 0x569f83
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 esi
lea eax, [ebx + 0x1b9]
push eax
push 0x569f83
call fcn.005394dc
add esp, 8
push 0x579058
push 0x569f83
call fcn.005394dc
add esp, 8
test ebp, ebp
je 0x46e4c3
push esi
mov esi, 0x579058
mov edi, ebp
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 esi
push 0x579058
call fcn.0041cb6c
lea eax, [ebx + 0x1c2]
push eax
push 0x569f83
call fcn.005394dc
add esp, 8
push 0x579058
push 0x569f83
call fcn.005394dc
add esp, 8
cmp dword [esp], 0
je 0x46e4ed
lea edx, [ebx + 0x1cb]
push edx
push 0x569f83
call fcn.005394dc
add esp, 8
push dword [esp]
push 0x569f83
call fcn.005394dc
add esp, 8
cmp dword [esp + 4], 0
je 0x46e519
lea ecx, [ebx + 0x1d4]
push ecx
push 0x569f83
call fcn.005394dc
add esp, 8
push dword [esp + 4]
push 0x569f83
call fcn.005394dc
add esp, 8
push 0
push 0
push 0x569f83
push dword [0x550e70]
call fcn.004b0c4c
mov edi, eax
test edi, edi
je 0x46e53e
mov dword [0x550e70], edi
jmp 0x46e2cb
cmp dword [esp + 8], 0
jne 0x46e5a6
push 0x553318
lea eax, [ebx + 0x1dd]
push eax
push 0x569f83
call sub.USER32.dll_wsprintfA
add esp, 0xc
push 0
push 0
push 0x569f83
push 0
call fcn.004b0c4c
mov edi, eax
test edi, edi
je 0x46e5a6
push edi
mov esi, dword [0x550e70]
push esi
push esi
call fcn.004b1135
mov dword [0x550e70], eax
push str.mirc.ini
lea eax, [ebx + 0x1ff]
push eax
lea edx, [ebx + 0x1fb]
push edx
lea ecx, [ebx + 0x1ef]
push ecx
call fcn.00498684
call fcn.0046deb7
add esp, 0x1c
pop ebp
pop edi
pop esi
pop ebx
ret