Function at 0x498fb7
Capabilities:
Read .ini file

Disassembly:
push ebx
push esi
push edi
push ebp
mov ebx, 0x553528
mov esi, 0x579826
mov ebp, 0x559658
push str.mirc.ini
push 0x3e7
push esi
lea eax, [ebx + 0x11f]
push eax
lea edx, [ebx + 0x11b]
push edx
lea ecx, [ebx + 0x112]
push ecx
call sub.KERNEL32.dll_GetPrivateProfileStringA
mov eax, esi
mov dword [0x553524], eax
cmp byte [eax], 0
je 0x498fff
xor edi, edi
jmp 0x499004
mov edi, 1
push 0
call fcn.00498f25
mov dword [0x557890], eax
push 0
call fcn.00498f25
mov dword [0x557904], eax
push 0
call fcn.00498f25
mov dword [0x5578f8], eax
push 0
call fcn.00498f25
mov dword [0x551f68], eax
push 0
call fcn.00498f25
mov dword [0x551d40], eax
push 0
call fcn.00498f25
mov dword [0x557248], eax
push 0x12c
call fcn.00498f25
mov dword [0x54f8bc], eax
push 0
call fcn.00498f25
mov dword [0x557914], eax
push 0
call fcn.00498f25
mov dword [0x55791c], eax
push 0
call fcn.00498f25
mov dword [0x5532b4], eax
push 1
call fcn.00498f25
mov dword [0x55a3e8], eax
push 0
call fcn.00498f25
mov dword [0x54b9c4], eax
push 0
call fcn.00498f25
mov dword [0x55738c], eax
push 0
call fcn.00498f25
mov dword [0x55899c], eax
push 0
call fcn.00498f25
mov dword [0x54f358], eax
push 0
call fcn.00498f25
mov dword [0x54f35c], eax
push 1
call fcn.00498f25
mov dword [0x54f374], eax
push 0
call fcn.00498f25
mov dword [0x54f360], eax
push 0
call fcn.00498f25
mov dword [0x558258], eax
push 0
call fcn.00498f25
mov dword [0x54f364], eax
push 0x1000
call fcn.00498f25
mov dword [ebp], eax
mov eax, dword [ebp]
cmp eax, 0x200
je 0x499131
cmp eax, 0x400
je 0x499131
cmp eax, 0x800
je 0x499131
cmp eax, 0x1000
je 0x499131
cmp eax, 0x2000
je 0x499131
mov dword [ebp], 0x1000
cmp dword [ebp], 0x200
jge 0x499141
mov dword [ebp], pe_nt_image_headers32
cmp dword [ebp], 0x2000
jle 0x499151
mov dword [ebp], 0x2000
push 0
call fcn.00498f25
mov dword [0x557928], eax
push 1
call fcn.00498f25
mov dword [0x557910], eax
push 0
call fcn.00498f25
mov dword [0x558298], eax
push 0
call fcn.00498f25
mov dword [0x54f378], eax
push 0
call fcn.00498f25
mov dword [0x54f37c], eax
push 1
call fcn.00498f25
mov dword [0x551f6c], eax
push 1
call fcn.00498f25
mov dword [0x54c8e8], eax
push 0
call fcn.00498f25
mov dword [0x55a298], eax
push 0x32
call fcn.00498f25
mov dword [0x55a29c], eax
push 0
call fcn.00498f25
mov dword [0x5578e0], eax
push 0
call fcn.00498f25
mov dword [0x54d040], eax
push str.mirc.ini
push 0x3e7
push esi
lea edx, [ebx + 0x130]
push edx
lea ecx, [ebx + 0x12c]
push ecx
lea eax, [ebx + 0x123]
push eax
call sub.KERNEL32.dll_GetPrivateProfileStringA
mov dword [0x553524], esi
push 5
call fcn.00498f25
mov dword [0x557944], eax
push 0x64
call fcn.00498f25
mov dword [0x557948], eax
push 0
call fcn.00498f25
mov dword [0x54fbc4], eax
push 0
call fcn.00498f25
mov dword [0x54fbc8], eax
push 0
call fcn.00498f25
mov dword [0x54fbcc], eax
push 0
call fcn.00498f25
mov dword [0x54fbd0], eax
push 0
call fcn.00498f25
mov dword [0x54fbd4], eax
cmp dword [0x54fbd0], 0x3c
jge 0x499266
cmp dword [0x54fbd4], 0x3c
jl 0x49927a
xor edx, edx
mov dword [0x54fbd4], edx
mov dword [0x54fbd0], edx
mov dword [0x54fbcc], edx
push 0
call fcn.00498f25
mov dword [0x55794c], eax
push 0
call fcn.00498f25
mov dword [0x559210], eax
push 1
call fcn.00498f25
mov dword [0x557c74], eax
push 0
call fcn.00498f25
mov dword [0x557934], eax
push 1
call fcn.00498f25
mov dword [0x557884], eax
push 0
call fcn.00498f25
mov dword [0x555950], eax
push 0
call fcn.00498f25
mov dword [0x555954], eax
push 1
call fcn.00498f25
mov dword [0x557c68], eax
push 1
call fcn.00498f25
mov dword [0x557c6c], eax
push 0
call fcn.00498f25
mov dword [0x557110], eax
push 1
call fcn.00498f25
mov dword [0x557920], eax
push 0
call fcn.00498f25
mov dword [0x55790c], eax
push 0
call fcn.00498f25
mov dword [0x559f30], eax
push 1
call fcn.00498f25
mov dword [0x557924], eax
push 1
call fcn.00498f25
mov dword [0x557c70], eax
push 1
call fcn.00498f25
mov dword [0x559f34], eax
push 0
call fcn.00498f25
mov dword [0x556148], eax
push 5
call fcn.00498f25
mov dword [0x54f59c], eax
push 0
call fcn.00498f25
mov dword [0x557c7c], eax
push 0
call fcn.00498f25
mov dword [0x55ad90], eax
push 1
call fcn.00498f25
mov dword [0x553520], eax
cmp dword [0x553520], 0
je 0x49938d
test edi, edi
je 0x49938d
mov dword [0x553520], 2
push 0
call fcn.00498f25
mov dword [0x557168], eax
push 0
call fcn.00498f25
mov dword [0x5578ec], eax
push 1
call fcn.00498f25
mov dword [0x5578e8], eax
push 0
call fcn.00498f25
mov dword [0x54bdd4], eax
push 0
call fcn.00498f25
mov dword [0x54bdd8], eax
push str.mirc.ini
push 0x3e7
push esi
lea eax, [ebx + 0x141]
push eax
lea ecx, [ebx + 0x13d]
push ecx
lea eax, [ebx + 0x134]
push eax
call sub.KERNEL32.dll_GetPrivateProfileStringA
mov dword [0x553524], esi
push 0
call fcn.00498f25
mov dword [0x54f370], eax
push 1
call fcn.00498f25
mov dword [0x55789c], eax
push 0
call fcn.00498f25
mov dword [0x54fc14], eax
push 1
call fcn.00498f25
mov dword [0x557c78], eax
push 1
call fcn.00498f25
mov dword [0x55788c], eax
push 1
call fcn.00498f25
mov dword [0x558a4c], eax
push 1
call fcn.00498f25
mov dword [0x558a44], eax
push 1
call fcn.00498f25
mov dword [0x558a50], eax
push 0
call fcn.00498f25
mov dword [0x556144], eax
push 0x3c
call fcn.00498f25
mov dword [0x54f380], eax
push 0x78
call fcn.00498f25
mov dword [0x54f384], eax
push 0
call fcn.00498f25
mov dword [0x54f36c], eax
push 0
call fcn.00498f25
mov dword [0x54f368], eax
push 1
call fcn.00498f25
mov dword [0x558a48], eax
push 1
call fcn.00498f25
mov dword [0x5558a0], eax
push 0
call fcn.00498f25
mov dword [0x557230], eax
push 1
call fcn.00498f25
mov dword [0x551d48], eax
push 1
call fcn.00498f25
mov dword [0x551598], eax
push 0
call fcn.00498f25
mov dword [0x557908], eax
push 0x78
call fcn.00498f25
mov dword [0x54f388], eax
push 0x14
call fcn.00498f25
mov dword [0x54f38c], eax
push 0xa
call fcn.00498f25
mov dword [0x54f5a0], eax
push 0
call fcn.00498f25
mov dword [0x556140], eax
push 1
call fcn.00498f25
mov dword [0x5578ac], eax
push 1
call fcn.00498f25
mov dword [0x551d44], eax
push 0
call fcn.00498f25
mov dword [0x5578f4], eax
push 0
call fcn.00498f25
mov dword [0x5578f0], eax
push 1
call fcn.00498f25
mov dword [0x558a58], eax
push 0
call fcn.00498f25
mov dword [0x558a5c], eax
push 0
call fcn.00498f25
mov dword [0x5578dc], eax
push 0
call fcn.00498f25
mov dword [0x55724c], eax
push str.mirc.ini
push 0x3e7
push esi
lea edx, [ebx + 0x152]
push edx
lea ecx, [ebx + 0x14e]
push ecx
lea eax, [ebx + 0x145]
push eax
call sub.KERNEL32.dll_GetPrivateProfileStringA
mov dword [0x553524], esi
push 0x1388
call fcn.00498f25
mov dword [0x557950], eax
push 0
call fcn.00498f25
mov dword [0x557954], eax
push 0
call fcn.00498f25
mov dword [0x55ae44], eax
push 0
call fcn.00498f25
mov dword [0x55595c], eax
push 0
call fcn.00498f25
mov dword [0x557894], eax
push 0
call fcn.00498f25
mov dword [0x559654], eax
push 1
call fcn.00498f25
mov dword [0x557390], eax
push 1
call fcn.00498f25
mov dword [0x55a6e8], eax
push 1
call fcn.00498f25
mov dword [0x55a9ec], eax
push 1
call fcn.00498f25
mov dword [0x559650], eax
push 0
call fcn.00498f25
mov dword [0x55793c], eax
push 1
call fcn.00498f25
mov dword [0x557888], eax
cmp dword [0x557884], 0
je 0x499639
mov dword [0x557888], 1
push 0
call fcn.00498f25
mov dword [0x55ae28], eax
push 0
call fcn.00498f25
mov dword [0x55ae2c], eax
push 1
call fcn.00498f25
mov dword [0x55ae30], eax
push 1
call fcn.00498f25
mov dword [0x55ae34], eax
push 3
call fcn.00498f25
mov dword [0x55ae38], eax
mov eax, dword [0x55ae38]
cmp eax, 1
jl 0x499684
cmp eax, 3
jle 0x49968e
mov dword [0x55ae38], 1
push 1
call fcn.00498f25
mov dword [0x55ae3c], eax
push 0
call fcn.00498f25
mov dword [0x55795c], eax
push 1
call fcn.00498f25
mov dword [0x557960], eax
push 0
call fcn.00498f25
mov dword [0x557964], eax
push 0
call fcn.00498f25
mov dword [0x55ae40], eax
push 0
call fcn.00498f25
mov dword [0x557918], eax
push 0
call fcn.00498f25
mov dword [0x557234], eax
push 1
call fcn.00498f25
mov dword [0x557c80], eax
push 1
call fcn.00498f25
mov dword [0x557968], eax
push 0
call fcn.00498f25
mov dword [0x54f390], eax
push 0
call fcn.00498f25
mov dword [0x557974], eax
push 0
call fcn.00498f25
mov dword [0x551594], eax
push 0
call fcn.00498f25
mov dword [0x5578e4], eax
push 1
call fcn.00498f25
mov dword [0x553304], eax
push 3
call fcn.00498f25
mov dword [0x553308], eax
cmp dword [0x553308], 1
jge 0x499755
mov dword [0x553308], 3
cmp dword [0x553308], 0x168
jle 0x49976b
mov dword [0x553308], 3
push 0
call fcn.00498f25
mov dword [0x55330c], eax
cmp dword [0x55330c], 0
jg 0x49978d
imul edx, dword [0x553308], 0x3c
mov dword [0x55330c], edx
imul ecx, dword [0x553308], 0x3c
cmp ecx, dword [0x55330c]
jge 0x4997a8
imul eax, dword [0x553308], 0x3c
mov dword [0x55330c], eax
push str.mirc.ini
push 0x3e7
push esi
lea edx, [ebx + 0x163]
push edx
lea ecx, [ebx + 0x15f]
push ecx
lea eax, [ebx + 0x156]
push eax
call sub.KERNEL32.dll_GetPrivateProfileStringA
mov dword [0x553524], esi
push 1
call fcn.00498f25
mov dword [0x54d28c], eax
push 0
call fcn.00498f25
mov dword [0x5578fc], eax
push 1
call fcn.00498f25
mov dword [0x559664], eax
push 0
call fcn.00498f25
mov dword [0x553314], eax
push 0
call fcn.00498f25
mov dword [0x55796c], eax
push 3
call fcn.00498f25
mov dword [0x54c8d0], eax
push 0x270f
call fcn.00498f25
mov dword [0x54c8d4], eax
cmp dword [0x54c8d4], 0x3e7
jne 0x499840
mov dword [0x54c8d4], 0x270f
push 0
call fcn.00498f25
mov dword [0x54c8d8], eax
push 0
call fcn.00498f25
mov dword [0x54c8dc], eax
push 0
call fcn.00498f25
mov dword [0x5578b0], eax
push 1
call fcn.00498f25
mov dword [0x54c8e0], eax
push 0
call fcn.00498f25
mov dword [0x557970], eax
push 0x400
call fcn.00498f25
mov word [0x54f354], ax
cmp word [0x54f354], 0x400
jae 0x4998a0
mov word [0x54f354], 0x400
push 0
call fcn.00498f25
mov dword [0x557898], eax
push 1
call fcn.00498f25
mov dword [0x5578a0], eax
push 0x63
call fcn.00498f25
mov dword [0x5578a4], eax
push 0x3c
call fcn.00498f25
mov dword [0x5578a8], eax
cmp dword [0x5578a8], 0xa
jge 0x4998e3
mov dword [0x5578a8], 0x3c
push 0
call fcn.00498f25
mov dword [0x55722c], eax
push 0
call fcn.00498f25
mov dword [0x557900], eax
push 1
call fcn.00498f25
mov dword [0x54c530], eax
push 1
call fcn.00498f25
mov dword [0x55a3e0], eax
cmp dword [0x55a3e0], 0
jl 0x499925
cmp dword [0x55a3e0], 3
jle 0x49992d
xor edx, edx
mov dword [0x55a3e0], edx
push 1
call fcn.00498f25
mov dword [0x55a3e4], eax
push 1
call fcn.00498f25
mov dword [0x55a3d4], eax
push 0
call fcn.00498f25
mov dword [0x54b44c], eax
push 1
call fcn.00498f25
mov dword [0x551d4c], eax
push 0x1388
call fcn.00498f25
mov word [0x54f356], ax
mov cx, word [0x54f356]
cmp cx, word [0x54f354]
jae 0x49998f
mov word [0x54f354], 0x400
mov word [0x54f356], 0x1388
push 1
call fcn.00498f25
mov dword [0x557930], eax
push 5
call fcn.00498f25
mov dword [0x55a3c4], eax
cmp dword [0x55a3c4], 0
jl 0x4999b9
cmp dword [0x55a3c4], 0x10
jle 0x4999c3
mov dword [0x55a3c4], 5
push 0
call fcn.00498f25
mov dword [0x55716c], eax
push 0
call fcn.00498f25
mov dword [0x555978], eax
push 3
call fcn.00498f25
mov dword [0x55a3cc], eax
cmp dword [0x55a3cc], 0
jl 0x4999f9
cmp dword [0x55a3cc], 0x10
jle 0x499a03
mov dword [0x55a3cc], 3
push str.mirc.ini
push 0x3e7
push esi
lea eax, [ebx + 0x174]
push eax
lea edx, [ebx + 0x170]
push edx
lea ecx, [ebx + 0x167]
push ecx
call sub.KERNEL32.dll_GetPrivateProfileStringA
mov dword [0x553524], esi
push 1
call fcn.00498f25
mov dword [0x55b3f4], eax
push 1
call fcn.00498f25
mov dword [0x55b3f8], eax
push 1
call fcn.00498f25
mov dword [0x55b3fc], eax
push 1
call fcn.00498f25
mov dword [0x55b404], eax
push 1
call fcn.00498f25
mov dword [0x55b408], eax
push 1
call fcn.00498f25
mov dword [0x55b40c], eax
push 1
call fcn.00498f25
mov dword [0x55b410], eax
push 1
call fcn.00498f25
mov dword [0x55b414], eax
push 1
call fcn.00498f25
mov dword [0x55b418], eax
push 1
call fcn.00498f25
mov dword [0x55b41c], eax
push 0x1a0b
call fcn.00498f25
mov word [0x5577b6], ax
cmp word [0x5577b6], 0xa
jae 0x499ac9
mov word [0x5577b6], 0x1a0b
push 0
call fcn.00498f25
mov dword [0x55965c], eax
cmp dword [0x55965c], 0
jge 0x499ae5
xor eax, eax
mov dword [0x55965c], eax
cmp dword [0x55965c], 0
jle 0x499af8
mov dword [0x55965c], 0x7a120
push 0
call fcn.00498f25
mov dword [0x557940], eax
push 0
call fcn.00498f25
mov dword [0x55894c], eax
cmp dword [0x55894c], 0
je 0x499b23
mov dword [0x55894c], 1
push 1
call fcn.00498f25
mov dword [0x557938], eax
push 0
call fcn.00498f25
mov dword [0x555960], eax
push 1
call fcn.00498f25
mov dword [0x55b400], eax
push 0
call fcn.00498f25
mov dword [0x55183c], eax
push 0x12c
call fcn.00498f25
mov dword [0x551840], eax
cmp dword [0x551840], 0x64
jge 0x499b75
mov dword [0x551840], 0x64
cmp dword [0x551840], 0x3e7
jle 0x499b8b
mov dword [0x551840], 0x3e7
push 0x1e
call fcn.00498f25
mov dword [0x551844], eax
cmp dword [0x551844], 0xa
jge 0x499baa
mov dword [0x551844], 0xa
push 0xa
call fcn.00498f25
mov dword [0x551848], eax
cmp dword [0x551848], 3
jge 0x499bc9
mov dword [0x551848], 3
push 0
call fcn.00498f25
mov dword [0x55184c], eax
push 1
call fcn.00498f25
mov dword [0x55a3c0], eax
push 0x18
call fcn.00498f25
mov dword [0x55a3bc], eax
cmp dword [0x55a3bc], 0x16
jl 0x499bff
cmp dword [0x55a3bc], 0x1e
jle 0x499c09
mov dword [0x55a3bc], 0x18
push 0
call fcn.00498f25
mov dword [0x55a2a0], eax
push 0
call fcn.00498f25
mov dword [0x555958], eax
push 1
call fcn.00498f25
mov dword [0x558a54], eax
push 0x2000
call fcn.00498f25
mov dword [0x54f350], eax
cmp dword [0x54f350], 0
jg 0x499c4f
xor edx, edx
mov dword [0x54f350], edx
jmp 0x499c65
cmp dword [0x54f350], 0x80
jge 0x499c65
mov dword [0x54f350], 0x80
push 1
call fcn.00498f25
mov dword [0x55596c], eax
push 0
call fcn.00498f25
mov dword [0x55b38c], eax
push 0
call fcn.00498f25
mov dword [0x55a3dc], eax
push 0x5b
call fcn.00498f25
mov dword [0x55a3d0], eax
cmp dword [0x55a3d0], 0x19
jl 0x499ca7
cmp dword [0x55a3d0], 0x63
jle 0x499cb1
mov dword [0x55a3d0], 0x5b
push str.mirc.ini
push 0x3e7
push esi
lea ecx, [ebx + 0x185]
push ecx
lea eax, [ebx + 0x181]
push eax
lea edx, [ebx + 0x178]
push edx
call sub.KERNEL32.dll_GetPrivateProfileStringA
mov dword [0x553524], esi
push 0
call fcn.00498f25
mov dword [0x579054], eax
push 0
call fcn.00498f25
mov dword [0x55a3d8], eax
push 0
call fcn.00498f25
mov dword [0x557978], eax
push 1
call fcn.00498f25
mov dword [0x557984], eax
push 0
call fcn.00498f25
mov dword [0x557988], eax
push 0
call fcn.00498f25
mov dword [0x55798c], eax
push 0
call fcn.00498f25
mov dword [0x557994], eax
push 0
call fcn.00498f25
mov dword [0x557998], eax
push 0
call fcn.00498f25
mov dword [0x55799c], eax
push 0
call fcn.00498f25
mov dword [0x557990], eax
push 0
call fcn.00498f25
mov dword [0x579054], eax
push 0
call fcn.00498f25
mov dword [0x55ad94], eax
push 0
call fcn.00498f25
mov dword [0x55ad98], eax
push 0
call fcn.00498f25
mov dword [0x55ada0], eax
cmp dword [0x55ada0], 0
jge 0x499d95
xor ecx, ecx
mov dword [0x55ada0], ecx
push 0
call fcn.00498f25
mov dword [0x557238], eax
push 0
call fcn.00498f25
mov dword [0x55723c], eax
push 0
call fcn.00498f25
mov dword [0x55615c], eax
push 1
call fcn.00498f25
mov dword [0x55ad9c], eax
push 0
call fcn.00498f25
mov dword [0x54ba98], eax
push 0
call fcn.00498f25
mov dword [0x55b420], eax
push 0
call fcn.00498f25
mov dword [0x556160], eax
push 0
call fcn.00498f25
mov dword [0x555970], eax
push 0x64
call fcn.00498f25
mov dword [0x555974], eax
cmp dword [0x555974], 0x64
jge 0x499e14
mov dword [0x555974], 0x64
push 1
call fcn.00498f25
mov dword [0x5595f8], eax
push 1
call fcn.00498f25
mov dword [0x551e6c], eax
push 0
call fcn.00498f25
mov dword [0x579054], eax
push 0
call fcn.00498f25
mov dword [0x555964], eax
push 1
call fcn.00498f25
mov dword [0x553310], eax
push 0
call fcn.00498f25
mov dword [0x54ce24], eax
push 0
call fcn.00498f25
mov dword [0x551358], eax
push 4
call fcn.00498f25
mov dword [0x55a3c8], eax
cmp dword [0x55a3c8], 0
jl 0x499e86
cmp dword [0x55a3c8], 0x10
jle 0x499e90
mov dword [0x55a3c8], 4
push 1
call fcn.00498f25
mov dword [0x555968], eax
push str.mirc.ini
push 0x3e7
push esi
lea eax, [ebx + 0x196]
push eax
lea edx, [ebx + 0x192]
push edx
lea ecx, [ebx + 0x189]
push ecx
call sub.KERNEL32.dll_GetPrivateProfileStringA
mov dword [0x553524], esi
push 1
call fcn.00498f25
mov dword [0x5578c8], eax
push 0
call fcn.00498f25
mov dword [0x5578cc], eax
push 0
call fcn.00498f25
mov dword [0x5578d0], eax
push 0
call fcn.00498f25
mov dword [0x5578d4], eax
push 0
call fcn.00498f25
mov dword [0x5578b8], eax
push 0
call fcn.00498f25
mov dword [0x5578bc], eax
push 0
call fcn.00498f25
mov dword [0x5578d8], eax
push 1
call fcn.00498f25
mov dword [0x5578c0], eax
push 1
call fcn.00498f25
mov dword [0x5578c4], eax
push 1
call fcn.00498f25
mov dword [0x54e808], eax
push 1
call fcn.00498f25
mov dword [0x55792c], eax
push 1
call fcn.00498f25
mov dword [0x54c180], eax
push 0
call fcn.00498f25
mov dword [0x55646c], eax
push 1
call fcn.00498f25
mov dword [0x54e80c], eax
push 0
call fcn.00498f25
mov dword [0x551850], eax
push 0
call fcn.00498f25
mov dword [0x5578b4], eax
pop ebp
pop edi
pop esi
pop ebx
ret