Function at 0x45da6c
Capabilities:
Read .ini file

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov ebx, esp
mov esi, 0x4cf204
mov edi, 0x4e2a53
push str.mirc.ini
push 0x3e7
push edi
lea eax, [esi + 0x1f7]
push eax
lea edx, [esi + 0x1f3]
push edx
lea ecx, [esi + 0x1ea]
push ecx
call sub.KERNEL32.dll_GetPrivateProfileStringA
mov dword [ebx], edi
mov eax, dword [ebx]
cmp byte [eax], 0
je 0x45daaf
xor ebp, ebp
jmp 0x45dab4
mov ebp, 1
push 0
push ebx
call fcn.0045d920
mov dword [0x4d1bb4], eax
push 0
push ebx
call fcn.0045d920
mov dword [0x4d1bf8], eax
push 0
push ebx
call fcn.0045d920
mov dword [0x4d1bec], eax
push 0
push ebx
call fcn.0045d920
mov dword [0x4ce568], eax
push 0
push ebx
call fcn.0045d920
mov dword [0x4ca890], eax
push 0
push ebx
call fcn.0045d920
mov dword [0x4d15cc], eax
push 0x12c
push ebx
call fcn.0045d920
mov dword [0x4cca98], eax
push 0
push ebx
call fcn.0045d920
mov dword [0x4d1c10], eax
push 0
push ebx
call fcn.0045d920
mov dword [0x4d1c14], eax
push 0
push ebx
call fcn.0045d920
mov dword [0x4cf0b0], eax
push 1
push ebx
call fcn.0045d920
mov dword [0x4d3790], eax
push 0
push ebx
call fcn.0045d920
mov dword [0x4ca4dc], eax
push 0
push ebx
call fcn.0045d920
mov dword [0x4ca614], eax
push 0
push ebx
call fcn.0045d920
mov dword [0x4d233c], eax
push 0
push ebx
call fcn.0045d920
mov dword [0x4cc5d0], eax
push 0
push ebx
call fcn.0045d920
mov dword [0x4cc5d4], eax
push 1
push ebx
call fcn.0045d920
mov dword [0x4cc5ec], eax
push 0
push ebx
call fcn.0045d920
mov dword [0x4cc5d8], eax
push 0
push ebx
call fcn.0045d920
mov dword [0x4d2110], eax
push 0
push ebx
call fcn.0045d920
mov dword [0x4cc5dc], eax
push pe_nt_image_headers32
push ebx
call fcn.0045d920
mov dword [0x4ce3f4], eax
cmp dword [0x4ce3f4], 0x200
jge 0x45dbe1
mov dword [0x4ce3f4], 0x200
cmp dword [0x4ce3f4], 0x1000
jle 0x45dbf7
mov dword [0x4ce3f4], 0x1000
push 0
push ebx
call fcn.0045d920
mov dword [0x4d1c20], eax
push 1
push ebx
call fcn.0045d920
mov dword [0x4d1c0c], eax
push 0
push ebx
call fcn.0045d920
mov dword [0x4d2154], eax
push 0
push ebx
call fcn.0045d920
mov dword [0x4cc5f0], eax
push 0
push ebx
call fcn.0045d920
mov dword [0x4cc5f4], eax
push 1
push ebx
call fcn.0045d920
mov dword [0x4ce56c], eax
push 0
push ebx
call fcn.0045d920
mov dword [0x4cab88], eax
push str.mirc.ini
push 0x3e7
push edi
lea eax, [esi + 0x208]
push eax
lea edx, [esi + 0x204]
push edx
lea ecx, [esi + 0x1fb]
push ecx
call sub.KERNEL32.dll_GetPrivateProfileStringA
mov dword [ebx], edi
push 5
push ebx
call fcn.0045d920
mov dword [0x4d1c40], eax
push 0x32
push ebx
call fcn.0045d920
mov dword [0x4d1c44], eax
push 0
push ebx
call fcn.0045d920
mov dword [0x4ccd2c], eax
push 0
push ebx
call fcn.0045d920
mov dword [0x4ccd30], eax
push 0
push ebx
call fcn.0045d920
mov dword [0x4ccd34], eax
push 0
push ebx
call fcn.0045d920
mov dword [0x4ccd38], eax
push 0
push ebx
call fcn.0045d920
mov dword [0x4ccd3c], eax
cmp dword [0x4ccd38], 0x3c
jge 0x45dce6
cmp dword [0x4ccd3c], 0x3c
jl 0x45dcf7
xor eax, eax
mov dword [0x4ccd3c], eax
mov dword [0x4ccd38], eax
mov dword [0x4ccd34], eax
push 0
push ebx
call fcn.0045d920
mov dword [0x4d1c48], eax
push 0
push ebx
call fcn.0045d920
mov dword [0x4d28a8], eax
push 1
push ebx
call fcn.0045d920
mov dword [0x4d1c94], eax
push 0
push ebx
call fcn.0045d920
mov dword [0x4d1c28], eax
push 1
push ebx
call fcn.0045d920
mov dword [0x4d1ba8], eax
push 0
push ebx
call fcn.0045d920
mov dword [0x4d0cec], eax
push 0
push ebx
call fcn.0045d920
mov dword [0x4d0cf0], eax
push 1
push ebx
call fcn.0045d920
mov dword [0x4d1c88], eax
push 1
push ebx
call fcn.0045d920
mov dword [0x4d1c8c], eax
push 1
push ebx
call fcn.0045d920
mov dword [0x4d1c00], eax
push 1
push ebx
call fcn.0045d920
mov dword [0x4d1c18], eax
push 0
push ebx
call fcn.0045d920
mov dword [0x4d1c08], eax
push 0
push ebx
call fcn.0045d920
mov dword [0x4d34fc], eax
push 1
push ebx
call fcn.0045d920
mov dword [0x4d1c1c], eax
push 1
push ebx
call fcn.0045d920
mov dword [0x4d1c90], eax
push 1
push ebx
call fcn.0045d920
mov dword [0x4d3500], eax
push 0
push ebx
call fcn.0045d920
mov dword [0x4d1294], eax
push 5
push ebx
call fcn.0045d920
mov dword [0x4cc80c], eax
push 0
push ebx
call fcn.0045d920
mov dword [0x4d1c9c], eax
push 0
push ebx
call fcn.0045d920
mov dword [0x4d3dd4], eax
push 1
push ebx
call fcn.0045d920
mov dword [0x4cf1fc], eax
cmp dword [0x4cf1fc], 0
je 0x45de1f
test ebp, ebp
je 0x45de1f
mov dword [0x4cf1fc], 2
push 0
push ebx
call fcn.0045d920
mov dword [0x4d4354], eax
push str.mirc.ini
push 0x3e7
push edi
lea edx, [esi + 0x219]
push edx
lea ecx, [esi + 0x215]
push ecx
lea eax, [esi + 0x20c]
push eax
call sub.KERNEL32.dll_GetPrivateProfileStringA
mov dword [ebx], edi
push 0
push ebx
call fcn.0045d920
mov dword [0x4cc5e8], eax
push 1
push ebx
call fcn.0045d920
mov dword [0x4d1bc0], eax
push 0
push ebx
call fcn.0045d920
mov dword [0x4ccd64], eax
push 1
push ebx
call fcn.0045d920
mov dword [0x4d1c98], eax
push 1
push ebx
call fcn.0045d920
mov dword [0x4d1bb0], eax
push 1
push ebx
call fcn.0045d920
mov dword [0x4d2378], eax
push 1
push ebx
call fcn.0045d920
mov dword [0x4d2370], eax
push 1
push ebx
call fcn.0045d920
mov dword [0x4d237c], eax
push 0
push ebx
call fcn.0045d920
mov dword [0x4d1290], eax
push 0x3c
push ebx
call fcn.0045d920
mov dword [0x4cc5f8], eax
push 0x78
push ebx
call fcn.0045d920
mov dword [0x4cc5fc], eax
push 0
push ebx
call fcn.0045d920
mov dword [0x4cc5e4], eax
push 0
push ebx
call fcn.0045d920
mov dword [0x4cc5e0], eax
push 1
push ebx
call fcn.0045d920
mov dword [0x4d2374], eax
push 1
push ebx
call fcn.0045d920
mov dword [0x4d0c9c], eax
push 0
push ebx
call fcn.0045d920
mov dword [0x4d15b4], eax
push 1
push ebx
call fcn.0045d920
mov dword [0x4d1c24], eax
push 1
push ebx
call fcn.0045d920
mov dword [0x4cdf28], eax
push 0
push ebx
call fcn.0045d920
mov dword [0x4d1bfc], eax
push 0x78
push ebx
call fcn.0045d920
mov dword [0x4cc600], eax
push 0x14
push ebx
call fcn.0045d920
mov dword [0x4cc604], eax
push 0xa
push ebx
call fcn.0045d920
mov dword [0x4cc810], eax
push 0
push ebx
call fcn.0045d920
mov dword [0x4d128c], eax
push 1
push ebx
call fcn.0045d920
mov dword [0x4d1bd0], eax
push 1
push ebx
call fcn.0045d920
mov dword [0x4d1be4], eax
push 0
push ebx
call fcn.0045d920
mov dword [0x4d1be0], eax
push 0
push ebx
call fcn.0045d920
mov dword [0x4d1bdc], eax
push str.mirc.ini
push 0x3e7
push edi
lea edx, [esi + 0x22a]
push edx
lea ecx, [esi + 0x226]
push ecx
lea eax, [esi + 0x21d]
push eax
call sub.KERNEL32.dll_GetPrivateProfileStringA
mov dword [ebx], edi
push 0x1f4
push ebx
call fcn.0045d920
mov dword [0x4d1c4c], eax
push 0
push ebx
call fcn.0045d920
mov dword [0x4d1c50], eax
push 0
push ebx
call fcn.0045d920
mov dword [0x4d3e4c], eax
push 0
push ebx
call fcn.0045d920
mov dword [0x4d0cf8], eax
push 0
push ebx
call fcn.0045d920
mov dword [0x4d1bb8], eax
push 0
push ebx
call fcn.0045d920
mov dword [0x4d2d10], eax
push 1
push ebx
call fcn.0045d920
mov dword [0x4ca618], eax
push 1
push ebx
call fcn.0045d920
mov dword [0x4d3990], eax
push 1
push ebx
call fcn.0045d920
mov dword [0x4d3994], eax
push 1
push ebx
call fcn.0045d920
mov dword [0x4d2d0c], eax
push 0
push ebx
call fcn.0045d920
mov dword [0x4d1c38], eax
push 1
push ebx
call fcn.0045d920
mov dword [0x4d1bac], eax
cmp dword [0x4d1ba8], 0
je 0x45e08b
mov dword [0x4d1bac], 1
push 0
push ebx
call fcn.0045d920
mov dword [0x4d3e30], eax
push 0
push ebx
call fcn.0045d920
mov dword [0x4d3e34], eax
push 0
push ebx
call fcn.0045d920
mov dword [0x4d3e38], eax
push 0
push ebx
call fcn.0045d920
mov dword [0x4d3e3c], eax
push 3
push ebx
call fcn.0045d920
mov dword [0x4d3e40], eax
mov eax, dword [0x4d3e40]
cmp eax, 1
jl 0x45e0db
cmp eax, 3
jle 0x45e0e5
mov dword [0x4d3e40], 1
push 1
push ebx
call fcn.0045d920
mov dword [0x4d3e44], eax
push 0
push ebx
call fcn.0045d920
mov dword [0x4d1c58], eax
push 1
push ebx
call fcn.0045d920
mov dword [0x4d1c5c], eax
push 0
push ebx
call fcn.0045d920
mov dword [0x4d1c60], eax
push 0
push ebx
call fcn.0045d920
mov dword [0x4d3e48], eax
push 0
push ebx
call fcn.0045d920
mov dword [0x4d2380], eax
push 0
push ebx
call fcn.0045d920
mov dword [0x4d15b8], eax
push 1
push ebx
call fcn.0045d920
mov dword [0x4d1c64], eax
push 1
push ebx
call fcn.0045d920
mov dword [0x4d1c68], eax
push 0
push ebx
call fcn.0045d920
mov dword [0x4cc608], eax
push 0
push ebx
call fcn.0045d920
mov dword [0x4d1cb4], eax
push 0
push ebx
call fcn.0045d920
mov dword [0x4cdf24], eax
push str.mirc.ini
push 0x3e7
push edi
lea edx, [esi + 0x23b]
push edx
lea ecx, [esi + 0x237]
push ecx
lea eax, [esi + 0x22e]
push eax
call sub.KERNEL32.dll_GetPrivateProfileStringA
mov dword [ebx], edi
push 1
push ebx
call fcn.0045d920
mov dword [0x4cb050], eax
push 0
push ebx
call fcn.0045d920
mov dword [0x4d1bf0], eax
push 1
push ebx
call fcn.0045d920
mov dword [0x4d2d18], eax
push 1
push ebx
call fcn.0045d920
mov dword [0x4d1c6c], eax
push 0
push ebx
call fcn.0045d920
mov dword [0x4d1c70], eax
push 3
push ebx
call fcn.0045d920
mov dword [0x4cab70], eax
push 0x3e7
push ebx
call fcn.0045d920
mov dword [0x4cab74], eax
push 0
push ebx
call fcn.0045d920
mov dword [0x4cab78], eax
push 0
push ebx
call fcn.0045d920
mov dword [0x4cab7c], eax
push 0
push ebx
call fcn.0045d920
mov dword [0x4d1bd4], eax
push 1
push ebx
call fcn.0045d920
mov dword [0x4cab80], eax
push 0
push ebx
call fcn.0045d920
mov dword [0x4d1c2c], eax
push 0x400
push ebx
call fcn.0045d920
mov word [0x4cc5cc], ax
cmp word [0x4cc5cc], 0x400
jb 0x45e26e
cmp word [0x4cc5cc], 0xfa00
jbe 0x45e277
mov word [0x4cc5cc], 0x400
push 0
push ebx
call fcn.0045d920
mov dword [0x4d1bbc], eax
push 0
push ebx
call fcn.0045d920
mov dword [0x4d1bc4], eax
push 0x63
push ebx
call fcn.0045d920
mov dword [0x4d1bc8], eax
push 0x3c
push ebx
call fcn.0045d920
mov dword [0x4d1bcc], eax
cmp dword [0x4d1bcc], 0xa
jge 0x45e2be
mov dword [0x4d1bcc], 0x3c
push 0
push ebx
call fcn.0045d920
mov dword [0x4d15b0], eax
push 0
push ebx
call fcn.0045d920
mov dword [0x4d1bf4], eax
push 1
push ebx
call fcn.0045d920
mov dword [0x4caab8], eax
push 1
push ebx
call fcn.0045d920
mov dword [0x4d3788], eax
cmp dword [0x4d3788], 0
jl 0x45e304
cmp dword [0x4d3788], 3
jle 0x45e30c
xor edx, edx
mov dword [0x4d3788], edx
push 1
push ebx
call fcn.0045d920
mov dword [0x4d378c], eax
push 1
push ebx
call fcn.0045d920
mov dword [0x4d3780], eax
push 0
push ebx
call fcn.0045d920
mov dword [0x4ca1a8], eax
push 1
push ebx
call fcn.0045d920
mov dword [0x4d1be8], eax
push 0x1388
push ebx
call fcn.0045d920
mov word [0x4cc5ce], ax
mov cx, word [0x4cc5ce]
cmp cx, word [0x4cc5cc]
jae 0x45e375
mov word [0x4cc5cc], 0x400
mov word [0x4cc5ce], 0x1388
jmp 0x45e389
cmp word [0x4cc5ce], 0xfa00
jbe 0x45e389
mov word [0x4cc5ce], 0xfa00
push str.mirc.ini
push 0x3e7
push edi
lea eax, [esi + 0x24c]
push eax
lea edx, [esi + 0x248]
push edx
lea ecx, [esi + 0x23f]
push ecx
call sub.KERNEL32.dll_GetPrivateProfileStringA
mov dword [ebx], edi
push 1
push ebx
call fcn.0045d920
mov dword [0x4d42c8], eax
push 1
push ebx
call fcn.0045d920
mov dword [0x4d42cc], eax
push 1
push ebx
call fcn.0045d920
mov dword [0x4d42d0], eax
push 1
push ebx
call fcn.0045d920
mov dword [0x4d42d8], eax
push 1
push ebx
call fcn.0045d920
mov dword [0x4d42dc], eax
push 1
push ebx
call fcn.0045d920
mov dword [0x4d42e0], eax
push 1
push ebx
call fcn.0045d920
mov dword [0x4d42e4], eax
push 1
push ebx
call fcn.0045d920
mov dword [0x4d42e8], eax
push 1
push ebx
call fcn.0045d920
mov dword [0x4d42ec], eax
push 1
push ebx
call fcn.0045d920
mov dword [0x4d42f0], eax
push 0x1a0b
push ebx
call fcn.0045d920
mov word [0x4d1bd8], ax
cmp word [0x4d1bd8], 0xa
jae 0x45e456
mov word [0x4d1bd8], 0x1a0b
push 0
push ebx
call fcn.0045d920
mov dword [0x4d2d14], eax
push 0
push ebx
call fcn.0045d920
mov dword [0x4d1c3c], eax
push 0
push ebx
call fcn.0045d920
mov dword [0x4d22f0], eax
cmp dword [0x4d22f0], 0
je 0x45e490
mov dword [0x4d22f0], 1
push 1
push ebx
call fcn.0045d920
mov dword [0x4d1c34], eax
push 0
push ebx
call fcn.0045d920
mov dword [0x4d0cfc], eax
push 1
push ebx
call fcn.0045d920
mov dword [0x4d42d4], eax
push 0
push ebx
call fcn.0045d920
mov dword [0x4ce110], eax
push 0x12c
push ebx
call fcn.0045d920
mov dword [0x4ce114], eax
cmp dword [0x4ce114], 0x64
jge 0x45e4e7
mov dword [0x4ce114], 0x64
push 0xa
push ebx
call fcn.0045d920
mov dword [0x4ce118], eax
push 4
push ebx
call fcn.0045d920
mov dword [0x4ce11c], eax
push 0
push ebx
call fcn.0045d920
mov dword [0x4ce120], eax
push 1
push ebx
call fcn.0045d920
mov dword [0x4d3774], eax
push 0x18
push ebx
call fcn.0045d920
mov dword [0x4d3770], eax
cmp dword [0x4e5360], 0
je 0x45e546
cmp dword [0x4d3770], 0x16
jge 0x45e559
mov dword [0x4d3770], 0x16
jmp 0x45e559
cmp dword [0x4d3770], 0x16
jge 0x45e559
mov dword [0x4d3770], 0x16
cmp dword [0x4d3770], 0x1e
jle 0x45e56c
mov dword [0x4d3770], 0x1e
push 0
push ebx
call fcn.0045d920
mov dword [0x4d1c74], eax
push 0
push ebx
call fcn.0045d920
mov dword [0x4d0cf4], eax
push 1
push ebx
call fcn.0045d920
mov dword [0x4d2384], eax
push str.mirc.ini
push 0x3e7
push edi
lea eax, [esi + 0x25d]
push eax
lea edx, [esi + 0x259]
push edx
lea ecx, [esi + 0x250]
push ecx
call sub.KERNEL32.dll_GetPrivateProfileStringA
mov dword [ebx], edi
push 0
push ebx
call fcn.0045d920
mov dword [0x4d3778], eax
push 0
push ebx
call fcn.0045d920
mov dword [0x4d3784], eax
push 0
push ebx
call fcn.0045d920
mov dword [0x4d1cb8], eax
push 1
push ebx
call fcn.0045d920
mov dword [0x4d1cc4], eax
push 0
push ebx
call fcn.0045d920
mov dword [0x4d1cc8], eax
push 0
push ebx
call fcn.0045d920
mov dword [0x4d1ccc], eax
push 0
push ebx
call fcn.0045d920
mov dword [0x4d1cd4], eax
push 0
push ebx
call fcn.0045d920
mov dword [0x4d1cd8], eax
push 0
push ebx
call fcn.0045d920
mov dword [0x4d1cdc], eax
push 0
push ebx
call fcn.0045d920
mov dword [0x4d1cd0], eax
push 0
push ebx
call fcn.0045d920
mov dword [0x4d1cb0], eax
push 0
push ebx
call fcn.0045d920
mov dword [0x4d3dd8], eax
push 0
push ebx
call fcn.0045d920
mov dword [0x4d3ddc], eax
push 0
push ebx
call fcn.0045d920
mov dword [0x4d3de4], eax
cmp dword [0x4d3de4], 0
jge 0x45e680
xor eax, eax
mov dword [0x4d3de4], eax
push 0
push ebx
call fcn.0045d920
mov dword [0x4d15bc], eax
push 0
push ebx
call fcn.0045d920
mov dword [0x4d15c0], eax
push 0
push ebx
call fcn.0045d920
mov dword [0x4d12a4], eax
push 1
push ebx
call fcn.0045d920
mov dword [0x4d3de0], eax
push 0
push ebx
call fcn.0045d920
mov dword [0x4ca5b4], eax
push 0
push ebx
call fcn.0045d920
mov dword [0x4d42f4], eax
push 0
push ebx
call fcn.0045d920
mov dword [0x4e4b8c], eax
push 0
push ebx
call fcn.0045d920
mov dword [0x4d0d04], eax
push 0x64
push ebx
call fcn.0045d920
mov dword [0x4d0d08], eax
cmp dword [0x4d0d08], 0x64
jge 0x45e708
mov dword [0x4d0d08], 0x64
push 1
push ebx
call fcn.0045d920
mov dword [0x4d2c78], eax
push 1
push ebx
call fcn.0045d920
mov dword [0x4d4150], eax
push 1
push ebx
call fcn.0045d920
mov dword [0x4d1c04], eax
push 0
push ebx
call fcn.0045d920
mov dword [0x4d0d00], eax
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret