Function at 0x553bb0
Capabilities:
Get common file path
Get installed programs

Disassembly:
sub esp, 0xbc4
push ebx
push ebp
push esi
push edi
push 0x104
lea eax, [esp + 0x408]
mov ebp, ecx
mov ecx, dword [0x5f92e8]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x5c5d18
push 0x5c5c18
push 0x5c5b18
lea edx, [esp + 0x410]
push 0x5c5b14
push edx
call fcn.00591920
mov ebx, dword [sym.imp.USER32.dll_wsprintfA]
push 0x5c5b18
push 0x5c5b14
push 0x5a49b4
push 0x5ee048
call ebx
push 0x5c5d18
push 0x5c5c18
lea eax, [esp + 0x818]
push 0x5a49b4
push eax
call ebx
mov edi, dword [sym.imp.USER32.dll_FindWindowExA]
add esp, 0x34
push 0
push 0x5a4840
push 0
push 0
call edi
mov esi, eax
test esi, esi
je 0x553ca1
jmp 0x553c50
mov edx, 0x3e7
lea ecx, [esp + 0x1c]
call fcn.00420e60
push 0x3e7
lea edx, [esp + 0x20]
mov ecx, esi
call fcn.00553a30
test eax, eax
je 0x553c8f
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x408]
push edx
call fcn.005a299c
add esp, 8
test eax, eax
je 0x554125
push 0
push 0x5a4840
push esi
push 0
call edi
mov esi, eax
test esi, esi
jne 0x553c50
mov ecx, 0x5a4840
call fcn.00553750
mov ecx, str.mIRC32
call fcn.00553750
mov ecx, str.mIRC_v6.0
call fcn.00553750
call fcn.00553290
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
lea ecx, [esp + 0x18]
push ecx
push str.SoftwareMicrosoftWindowsCurrentVersionUninstall
push reloc.WSOCK32.dll_bind
call edi
test eax, eax
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jne 0x553cfa
mov ecx, dword [esp + 0x18]
mov edx, 0x5a4840
call fcn.005530e0
mov edx, dword [esp + 0x18]
push edx
call esi
lea eax, [esp + 0x18]
push eax
push str.Software
push reloc.WSOCK32.dll_accept
call edi
test eax, eax
jne 0x553d24
mov ecx, dword [esp + 0x18]
mov edx, 0x5a4840
call fcn.005530e0
mov ecx, dword [esp + 0x18]
push ecx
call esi
call fcn.005536f0
push 1
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x18]
xor edi, edi
push eax
mov edx, 0x5a81f0
mov ecx, 0x5ee048
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], edi
call fcn.00553370
mov eax, dword [esp + 0x10]
cmp eax, edi
mov esi, eax
je 0x553fdf
lea esp, [esp]
mov ecx, dword [esi]
push 0x5c5d18
push 0x5c5c18
push 0x5c5b18
push 0x5c5b14
push ecx
call fcn.00591920
push 0x5c5b18
push 0x5c5b14
lea edx, [esp + 0x38]
push 0x5a49b4
push edx
call ebx
lea eax, [esp + 0x40]
push eax
push 0x5ee048
call fcn.005a299c
add esp, 0x2c
test eax, eax
jne 0x553fd4
mov ecx, dword [esi]
mov edx, str.backup
call fcn.004201d0
test eax, eax
jne 0x553fd4
push 0x5c5d18
push 0x5c5c18
lea ecx, [esp + 0x24]
push 0x5a49b4
push ecx
call ebx
lea edx, [esp + 0x7fc]
push edx
lea eax, [esp + 0x30]
push eax
call fcn.005a299c
add esp, 0x18
test eax, eax
je 0x553fc9
lea ecx, [esp + 0x1c]
push str.mlink32.exe
push ecx
call fcn.005a299c
add esp, 8
test eax, eax
je 0x553fc9
lea edx, [esp + 0x1c]
push str.aliases.ini
push edx
call fcn.005a299c
add esp, 8
test eax, eax
je 0x553fc9
lea eax, [esp + 0x1c]
push 0x5ad880
push eax
call fcn.005a299c
add esp, 8
test eax, eax
je 0x553fc9
lea ecx, [esp + 0x1c]
push str.popups.ini
push ecx
call fcn.005a299c
add esp, 8
test eax, eax
je 0x553fc9
lea edx, [esp + 0x1c]
push str.servers.ini
push edx
call fcn.005a299c
add esp, 8
test eax, eax
je 0x553fc9
lea eax, [esp + 0x1c]
push 0x5a9f40
push eax
call fcn.005a299c
add esp, 8
test eax, eax
je 0x553fc9
lea ecx, [esp + 0x1c]
push str.control.ini
push ecx
call fcn.005a299c
add esp, 8
test eax, eax
je 0x553fc9
lea edx, [esp + 0x1c]
push str.mirc.hlp
push edx
call fcn.005a299c
add esp, 8
test eax, eax
je 0x553fc9
lea eax, [esp + 0x1c]
push str.mirc.gid
push eax
call fcn.005a299c
add esp, 8
test eax, eax
je 0x553fc9
lea ecx, [esp + 0x1c]
push str.mirc.fts
push ecx
call fcn.005a299c
add esp, 8
test eax, eax
je 0x553fc9
lea edx, [esp + 0x1c]
push str.mirc.cnt
push edx
call fcn.005a299c
add esp, 8
test eax, eax
je 0x553fc9
lea eax, [esp + 0x1c]
push str.mirc.chm
push eax
call fcn.005a299c
add esp, 8
test eax, eax
je 0x553fc9
lea ecx, [esp + 0x1c]
push str.ircintro.hlp
push ecx
call fcn.005a299c
add esp, 8
test eax, eax
je 0x553fc9
lea edx, [esp + 0x1c]
push str.ircintro.fts
push edx
call fcn.005a299c
add esp, 8
test eax, eax
je 0x553fc9
lea eax, [esp + 0x1c]
push str.ircintro.gid
push eax
call fcn.005a299c
add esp, 8
test eax, eax
je 0x553fc9
lea ecx, [esp + 0x1c]
push str.ircintro.cnt
push ecx
call fcn.005a299c
add esp, 8
test eax, eax
je 0x553fc9
lea edx, [esp + 0x1c]
push str.ircintro.chm
push edx
call fcn.005a299c
add esp, 8
test eax, eax
je 0x553fc9
lea eax, [esp + 0x1c]
push str.readme.txt
push eax
call fcn.005a299c
add esp, 8
test eax, eax
je 0x553fc9
lea ecx, [esp + 0x1c]
push str.versions.txt
push ecx
call fcn.005a299c
add esp, 8
test eax, eax
jne 0x553fd4
mov edx, dword [esi]
push edx
call fcn.00593f0c
add esp, 4
mov esi, dword [esi + 0x40]
cmp esi, edi
jne 0x553d60
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x55400a
mov esi, dword [eax + 0x44]
cmp esi, edi
je 0x55400a
mov edi, edi
mov eax, dword [esi]
push eax
call fcn.005a348a
mov eax, dword [esp + 0x18]
add esp, 4
cmp esi, eax
je 0x55400a
mov esi, dword [esi + 0x44]
cmp esi, edi
jne 0x553ff0
lea ecx, [esp + 0x10]
call fcn.004d3d60
lea ecx, [esp + 0x14]
call fcn.004d3d60
push edi
push edi
mov edi, dword [sym.imp.USER32.dll_SendDlgItemMessageA]
push 0x184
push 0x6d
push ebp
call edi
push 1
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x18]
push edx
mov edx, 0x5a81f0
mov ecx, 0x5ee048
call fcn.00553370
mov esi, dword [esp + 0x10]
test esi, esi
je 0x554083
mov ecx, dword [esi]
lea eax, [esp + 0x404]
push eax
push ecx
call fcn.005a299c
add esp, 8
test eax, eax
je 0x55407c
mov ecx, dword [esi]
call fcn.0041f320
push eax
push 0
push 0x180
push 0x6d
push ebp
call edi
mov esi, dword [esi + 0x40]
test esi, esi
jne 0x554051
lea ecx, [esp + 0x10]
call fcn.004d3d60
lea ecx, [esp + 0x14]
call fcn.004d3d60
push 0x5ee048
call fcn.005a348a
add esp, 4
lea ecx, [esp + 0x404]
call fcn.00553900
mov edx, 0x3e7
lea ecx, [esp + 0x1c]
call fcn.00420e60
push 0x3e7
lea edx, [esp + 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x554115
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x408]
push str._shelpmirc.fts
push ecx
call ebx
lea edx, [esp + 0x410]
push edx
call fcn.00593f0c
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x418]
push str._shelpircintro.fts
push ecx
call ebx
lea edx, [esp + 0x420]
push edx
call fcn.00593f0c
add esp, 0x20
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xbc4
ret
xor edx, edx
mov ecx, 0x1613
call fcn.0041f1a0
push eax
lea eax, [esp + 0x20]
push eax
call ebx
add esp, 8
push 1
push 0
push 0
push 0
push 4
push 3
push 0
xor edx, edx
mov ecx, 0x1614
call fcn.0041f1a0
push eax
lea edx, [esp + 0x3c]
mov ecx, ebp
call fcn.004c2c40
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xbc4
ret