Function at 0x5145fc
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov eax, dword [ebp + 8]
lea esi, [ebp - 4]
mov ebx, 0x57c4a0
test eax, eax
jne 0x514789
xor eax, eax
mov dword [0x54fcc0], eax
mov dword [0x54fcbc], eax
mov dword [0x54fcb8], eax
mov dword [0x54fcb4], eax
xor edx, edx
mov dword [0x54fcd0], edx
mov dword [0x54fccc], edx
mov dword [0x54fcc8], edx
mov dword [0x54fcc4], edx
push str.mirc.ini
push 0x3e7
push ebx
push 0x55b636
push 0x55b62d
push 0x55b625
call sub.KERNEL32.dll_GetPrivateProfileStringA
cmp byte [ebx], 0
je 0x5148df
mov dword [esi], ebx
push ebx
call fcn.005395b8
pop ecx
add eax, dword [esi]
mov ebx, eax
cmp ebx, dword [esi]
jbe 0x514691
push 0xa
push esi
push dword [esi]
call fcn.00544214
add esp, 0xc
mov dword [0x54fcb4], eax
cmp dword [esi], 0
je 0x5146b2
cmp ebx, dword [esi]
jbe 0x5146b2
inc dword [esi]
cmp ebx, dword [esi]
jbe 0x5146b2
push 0xa
push esi
push dword [esi]
call fcn.00544214
add esp, 0xc
mov dword [0x54fcb8], eax
cmp dword [esi], 0
je 0x5146d3
cmp ebx, dword [esi]
jbe 0x5146d3
inc dword [esi]
cmp ebx, dword [esi]
jbe 0x5146d3
push 0xa
push esi
push dword [esi]
call fcn.00544214
add esp, 0xc
mov dword [0x54fcc0], eax
cmp dword [esi], 0
je 0x5146f4
cmp ebx, dword [esi]
jbe 0x5146f4
inc dword [esi]
cmp ebx, dword [esi]
jbe 0x5146f4
push 0xa
push esi
push dword [esi]
call fcn.00544214
add esp, 0xc
mov dword [0x54fcbc], eax
cmp dword [esi], 0
je 0x514715
cmp ebx, dword [esi]
jbe 0x514715
inc dword [esi]
cmp ebx, dword [esi]
jbe 0x514715
push 0xa
push esi
push dword [esi]
call fcn.00544214
add esp, 0xc
mov dword [0x54fcc4], eax
cmp dword [esi], 0
je 0x514736
cmp ebx, dword [esi]
jbe 0x514736
inc dword [esi]
cmp ebx, dword [esi]
jbe 0x514736
push 0xa
push esi
push dword [esi]
call fcn.00544214
add esp, 0xc
mov dword [0x54fccc], eax
cmp dword [esi], 0
je 0x514757
cmp ebx, dword [esi]
jbe 0x514757
inc dword [esi]
cmp ebx, dword [esi]
jbe 0x514757
push 0xa
push esi
push dword [esi]
call fcn.00544214
add esp, 0xc
mov dword [0x54fcc8], eax
cmp dword [esi], 0
je 0x5148df
cmp ebx, dword [esi]
jbe 0x5148df
inc dword [esi]
cmp ebx, dword [esi]
jbe 0x5148df
push 0xa
push esi
push dword [esi]
call fcn.00544214
add esp, 0xc
mov dword [0x54fcd0], eax
jmp 0x5148df
push eax
call fcn.00516145
mov edi, eax
test edi, edi
je 0x5148df
cmp byte [edi + 0x64c], 1
jne 0x5148df
push str.mirc.ini
push 0x3e7
push ebx
push 0x55b642
lea eax, [edi + 4]
push eax
push 0x55b63a
call sub.KERNEL32.dll_GetPrivateProfileStringA
cmp byte [ebx], 0
je 0x5148df
mov dword [esi], ebx
push ebx
call fcn.005395b8
pop ecx
add eax, dword [esi]
mov ebx, eax
cmp ebx, dword [esi]
jbe 0x5147f1
push 0xa
push esi
push dword [esi]
call fcn.00544214
add esp, 0xc
mov dword [edi + 0x820], eax
cmp dword [esi], 0
je 0x514813
cmp ebx, dword [esi]
jbe 0x514813
inc dword [esi]
cmp ebx, dword [esi]
jbe 0x514813
push 0xa
push esi
push dword [esi]
call fcn.00544214
add esp, 0xc
mov dword [edi + 0x824], eax
cmp dword [esi], 0
je 0x514835
cmp ebx, dword [esi]
jbe 0x514835
inc dword [esi]
cmp ebx, dword [esi]
jbe 0x514835
push 0xa
push esi
push dword [esi]
call fcn.00544214
add esp, 0xc
mov dword [edi + 0x828], eax
cmp dword [esi], 0
je 0x514857
cmp ebx, dword [esi]
jbe 0x514857
inc dword [esi]
cmp ebx, dword [esi]
jbe 0x514857
push 0xa
push esi
push dword [esi]
call fcn.00544214
add esp, 0xc
mov dword [edi + 0x82c], eax
cmp dword [esi], 0
je 0x514879
cmp ebx, dword [esi]
jbe 0x514879
inc dword [esi]
cmp ebx, dword [esi]
jbe 0x514879
push 0xa
push esi
push dword [esi]
call fcn.00544214
add esp, 0xc
mov dword [edi + 0x830], eax
cmp dword [esi], 0
je 0x51489b
cmp ebx, dword [esi]
jbe 0x51489b
inc dword [esi]
cmp ebx, dword [esi]
jbe 0x51489b
push 0xa
push esi
push dword [esi]
call fcn.00544214
add esp, 0xc
mov dword [edi + 0x834], eax
cmp dword [esi], 0
je 0x5148bd
cmp ebx, dword [esi]
jbe 0x5148bd
inc dword [esi]
cmp ebx, dword [esi]
jbe 0x5148bd
push 0xa
push esi
push dword [esi]
call fcn.00544214
add esp, 0xc
mov dword [edi + 0x838], eax
cmp dword [esi], 0
je 0x5148df
cmp ebx, dword [esi]
jbe 0x5148df
inc dword [esi]
cmp ebx, dword [esi]
jbe 0x5148df
push 0xa
push esi
push dword [esi]
call fcn.00544214
add esp, 0xc
mov dword [edi + 0x83c], eax
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 4