Function at 0x4deb61
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
mov edi, dword [ebp + 0x18]
mov esi, dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x28]
xor edx, edx
mov dword [eax], edx
mov eax, dword [ebp + 0x20]
mov dword [eax], edx
mov eax, dword [ebp + 0x1c]
mov dword [eax], edx
mov eax, dword [ebp + 0x14]
mov dword [eax], edx
mov dword [edi], edx
mov dword [esi], edx
cmp dword [ebp + 8], 0
je 0x4deba4
push ebx
push dword [ebp + 8]
call fcn.00516145
push eax
call fcn.004de4fc
mov ebx, eax
test ebx, ebx
je 0x4debc7
push 0x20
push ebx
call fcn.00539518
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4debc1
mov dword [ebp - 4], ebx
jmp 0x4debc4
inc dword [ebp - 4]
mov ebx, dword [ebp - 4]
push 0x180
push 0
push 0x57c4a0
call fcn.00539438
add esp, 0xc
test ebx, ebx
je 0x4dec03
cmp byte [ebx], 0
je 0x4dec03
push str.mirc.ini
push 0x3e7
push 0x57c4a0
push 0x5587ec
push ebx
push str.Windows
call sub.KERNEL32.dll_GetPrivateProfileStringA
cmp byte [0x57c4a0], 0
jne 0x4dec25
push esi
push edi
mov esi, str.0_0_0_0_0_1_0
mov edi, 0x57c4a0
mov eax, edi
mov ecx, 3
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
pop edi
pop esi
mov dword [ebp - 4], 0x57c4a0
push 0x57c4a0
call fcn.005395b8
pop ecx
mov ebx, eax
add ebx, dword [ebp - 4]
cmp ebx, dword [ebp - 4]
jbe 0x4dec54
push 0xa
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
call fcn.00544214
add esp, 0xc
mov dword [esi], eax
cmp dword [ebp - 4], 0
je 0x4dec7d
cmp ebx, dword [ebp - 4]
jbe 0x4dec7d
inc dword [ebp - 4]
cmp ebx, dword [ebp - 4]
jbe 0x4dec7d
push 0xa
lea edx, [ebp - 4]
push edx
push dword [ebp - 4]
call fcn.00544214
add esp, 0xc
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
cmp dword [ebp - 4], 0
je 0x4deca3
cmp ebx, dword [ebp - 4]
jbe 0x4deca3
inc dword [ebp - 4]
cmp ebx, dword [ebp - 4]
jbe 0x4deca3
push 0xa
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
call fcn.00544214
add esp, 0xc
mov dword [edi], eax
cmp dword [ebp - 4], 0
je 0x4deccc
cmp ebx, dword [ebp - 4]
jbe 0x4deccc
inc dword [ebp - 4]
cmp ebx, dword [ebp - 4]
jbe 0x4deccc
push 0xa
lea edx, [ebp - 4]
push edx
push dword [ebp - 4]
call fcn.00544214
add esp, 0xc
mov ecx, dword [ebp + 0x1c]
mov dword [ecx], eax
cmp dword [ebp - 4], 0
je 0x4decf5
cmp ebx, dword [ebp - 4]
jbe 0x4decf5
inc dword [ebp - 4]
cmp ebx, dword [ebp - 4]
jbe 0x4decf5
push 0xa
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
call fcn.00544214
add esp, 0xc
mov edx, dword [ebp + 0x20]
mov dword [edx], eax
cmp dword [ebp - 4], 0
je 0x4ded1e
cmp ebx, dword [ebp - 4]
jbe 0x4ded1e
inc dword [ebp - 4]
cmp ebx, dword [ebp - 4]
jbe 0x4ded1e
push 0xa
lea ecx, [ebp - 4]
push ecx
push dword [ebp - 4]
call fcn.00544214
add esp, 0xc
mov edx, dword [ebp + 0x24]
mov dword [edx], eax
cmp dword [ebp - 4], 0
je 0x4ded47
cmp ebx, dword [ebp - 4]
jbe 0x4ded47
inc dword [ebp - 4]
cmp ebx, dword [ebp - 4]
jbe 0x4ded47
push 0xa
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
call fcn.00544214
add esp, 0xc
mov ecx, dword [ebp + 0x28]
mov dword [ecx], eax
cmp dword [esi], 0
jne 0x4ded68
mov eax, dword [ebp + 0x14]
cmp dword [eax], 0
jne 0x4ded68
cmp dword [edi], 0
jne 0x4ded68
mov edx, dword [ebp + 0x1c]
cmp dword [edx], 0
jne 0x4ded68
xor eax, eax
jmp 0x4dee12
cmp dword [esi], 0xffffffff
jne 0x4ded88
cmp dword [edi], 0xffffffff
jne 0x4ded88
mov dword [esi], 0x80000000
mov dword [edi], 0x80000000
mov eax, 1
jmp 0x4dee12
mov edx, dword [ebp + 0x24]
cmp dword [edx], 1
jne 0x4dedaa
cmp dword [0x55b3cc], 0
je 0x4dedaa
lea ecx, [ebp - 0x1c]
push ecx
push dword [0x55b3cc]
call sub.USER32.dll_GetClientRect
jmp 0x4dedc5
mov eax, dword [esi]
mov dword [ebp - 0xc], eax
mov edx, dword [edi]
mov dword [ebp - 8], edx
push 0
lea ecx, [ebp - 0x1c]
push ecx
lea eax, [ebp - 0xc]
push eax
push 0
call fcn.004c6b38
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp - 0x1c]
test edx, edx
jle 0x4dede9
mov eax, dword [esi]
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff6
cmp eax, edx
jl 0x4dede5
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff6
cmp eax, ecx
jl 0x4dede9
xor eax, eax
mov dword [esi], eax
mov edx, dword [ebp - 0x10]
sub edx, dword [ebp - 0x18]
test edx, edx
jle 0x4dee0d
mov eax, dword [edi]
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff6
cmp eax, edx
jl 0x4dee09
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff6
cmp eax, ecx
jl 0x4dee0d
xor eax, eax
mov dword [edi], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24