Function at 0x4880cd
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1258
call fcn.0052d050
mov eax, dword [ebp + 0xc]
and word [eax], 0
push ebx
push esi
push edi
lea eax, [ebp - 0x218]
call fcn.00449281
lea eax, [ebp - 0x218]
push eax
mov ebx, 0x104
push str._sThunderbird
mov esi, ebx
lea edi, [ebp - 0x420]
call fcn.0044b138
mov eax, edi
push eax
push str._sprofiles.ini
lea edi, [ebp - 0x218]
call fcn.0044b138
add esp, 0x10
mov eax, ebx
lea esi, [ebp - 8]
mov edi, ebx
call fcn.004f22c9
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesW]
lea eax, [ebp - 0x218]
push eax
push ebx
push dword [ebp - 8]
call esi
cmp eax, 0x102
jb 0x488180
push dword [ebp - 8]
add edi, ebx
call fcn.00520947
xor ecx, ecx
push 2
pop edx
mov eax, edi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0051fd80
pop ecx
pop ecx
lea ecx, [ebp - 0x218]
push ecx
push edi
push eax
mov dword [ebp - 8], eax
call esi
lea ecx, [edi - 2]
cmp eax, ecx
jae 0x488149
mov esi, dword [ebp - 8]
xor edi, edi
mov word [ebp - 0x830], di
cmp word [esi], di
mov dword [ebp - 4], esi
je 0x4881dd
jmp 0x488199
mov esi, dword [ebp - 4]
lea eax, [ebp - 0x218]
push eax
push edi
push str.Default
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
jne 0x4882aa
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, di
jne 0x4881ba
sub eax, edx
sar eax, 1
lea eax, [esi + eax*2 + 2]
cmp word [eax], di
mov dword [ebp - 4], eax
jne 0x488196
cmp word [ebp - 0x830], di
jne 0x48823f
mov eax, dword [ebp - 8]
cmp word [eax], di
mov dword [ebp - 4], eax
je 0x4882d2
mov esi, dword [ebp - 4]
lea eax, [ebp - 0x218]
push eax
push ebx
lea eax, [ebp - 0x830]
push eax
push 0x53ec98
push str.Path
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
jne 0x488232
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, di
jne 0x488218
sub eax, edx
sar eax, 1
lea eax, [esi + eax*2 + 2]
cmp word [eax], di
mov dword [ebp - 4], eax
jne 0x4881ec
cmp word [ebp - 0x830], di
je 0x4882d2
lea eax, [ebp - 0x830]
push eax
lea eax, [ebp - 0x420]
push eax
push str._s_sprefs.js
mov esi, ebx
lea edi, [ebp - 0x218]
call fcn.0044b138
add esp, 0xc
lea eax, [ebp - 0x420]
push eax
mov eax, edi
call fcn.00401016
lea eax, [ebp - 0x1050]
push eax
lea eax, [ebp - 0x420]
push eax
push str.mail.accountmanager.defaultaccount
push dword [ebp - 4]
call fcn.00487f9d
xor esi, esi
cmp word [ebp - 0x1050], si
jne 0x4882df
xor bl, bl
push dword [ebp - 8]
call fcn.00520947
pop ecx
mov al, bl
pop edi
pop esi
pop ebx
leave
ret 8
lea eax, [ebp - 0x218]
push eax
push ebx
lea eax, [ebp - 0x830]
push eax
push 0x53ec98
push str.Path
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
jne 0x4881d4
push dword [ebp - 8]
call fcn.00520947
pop ecx
xor al, al
jmp 0x4882a3
lea eax, [ebp - 0x1050]
mov dword [ebp - 0xc], eax
mov word [ebp - 0xa38], si
mov eax, dword [ebp - 0xc]
cmp word [eax], si
je 0x4883c5
lea eax, [ebp - 0xe48]
push eax
push 0x2c
lea edi, [ebp - 0xc]
call fcn.004e39a3
cmp word [ebp - 0xe48], si
je 0x4883b9
lea eax, [ebp - 0xe48]
push eax
push str.mail.account._s.identities
mov esi, ebx
lea edi, [ebp - 0x628]
call fcn.0044b138
pop ecx
pop ecx
lea eax, [ebp - 0x1258]
push eax
lea eax, [ebp - 0x420]
push eax
mov eax, edi
push eax
push dword [ebp - 4]
call fcn.00487f9d
lea esi, [ebp - 0x1258]
jmp 0x488358
mov esi, dword [ebp - 0x10]
cmp word [esi], 0
je 0x4883b7
lea eax, [ebp - 0xa38]
push eax
push 0x2c
mov edx, esi
call fcn.004f2590
cmp word [ebp - 0xa38], 0
lea eax, [esi + eax*2]
mov dword [ebp - 0x10], eax
je 0x4883ae
lea eax, [ebp - 0xa38]
push eax
push str.mail.identity._s.useremail
mov esi, ebx
lea edi, [ebp - 0x628]
call fcn.0044b138
pop ecx
pop ecx
push dword [ebp + 0xc]
lea eax, [ebp - 0x420]
push eax
mov eax, edi
push eax
push dword [ebp - 4]
call fcn.00487f9d
mov eax, dword [ebp + 0xc]
cmp word [eax], 0
je 0x488355
xor esi, esi
mov eax, dword [ebp + 0xc]
cmp word [eax], si
je 0x4882ef
lea eax, [ebp - 0xc40]
push eax
lea eax, [ebp - 0x420]
push eax
push str.mail.smtp.defaultserver
push dword [ebp - 4]
call fcn.00487f9d
cmp word [ebp - 0xc40], si
jne 0x48841d
lea eax, [ebp - 0xa38]
push eax
push str.mail.identity._s.smtpServer
mov esi, ebx
lea edi, [ebp - 0x628]
call fcn.0044b138
pop ecx
pop ecx
lea eax, [ebp - 0xc40]
push eax
lea eax, [ebp - 0x420]
push eax
mov eax, edi
push eax
push dword [ebp - 4]
call fcn.00487f9d
lea eax, [ebp - 0xc40]
push eax
push str.mail.smtpserver._s.hostname
mov esi, ebx
lea edi, [ebp - 0x628]
call fcn.0044b138
pop ecx
pop ecx
push dword [ebp + 8]
lea eax, [ebp - 0x420]
push eax
mov eax, edi
push eax
push dword [ebp - 4]
call fcn.00487f9d
test al, al
je 0x488296
mov bl, 1
jmp 0x488298