Function at 0x57c250
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1254
call fcn.0060f180
mov eax, dword [ebp + 0xc]
and word [eax], 0
push ebx
push esi
push edi
lea eax, [ebp - 0x214]
call fcn.005366fc
lea eax, [ebp - 0x214]
push eax
mov esi, 0x104
push str._sThunderbird
mov eax, esi
lea edi, [ebp - 0x41c]
call fcn.005383cd
mov eax, edi
push eax
push str._sprofiles.ini
mov eax, esi
lea edi, [ebp - 0x214]
call fcn.005383cd
xor ecx, ecx
push 2
pop edx
mov eax, esi
mul edx
seto cl
mov ebx, esi
neg ecx
or ecx, eax
push ecx
call fcn.005f833c
add esp, 0x14
mov ecx, edi
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesW]
push ecx
push esi
push eax
mov dword [ebp - 4], eax
call edi
cmp eax, 0x102
jb 0x57c30e
push dword [ebp - 4]
add ebx, esi
call fcn.005f858a
xor ecx, ecx
push 2
pop edx
mov eax, ebx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.005f833c
pop ecx
pop ecx
lea ecx, [ebp - 0x214]
push ecx
push ebx
push eax
mov dword [ebp - 4], eax
call edi
lea ecx, [ebx - 2]
cmp eax, ecx
jae 0x57c2d7
mov ebx, dword [ebp - 4]
xor edi, edi
mov eax, ebx
mov word [ebp - 0x82c], di
cmp word [eax], di
je 0x57c362
lea eax, [ebp - 0x214]
push eax
push edi
push 0x644bd0
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
jne 0x57c423
mov eax, ebx
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, di
jne 0x57c342
sub eax, edx
sar eax, 1
lea ebx, [ebx + eax*2 + 2]
cmp word [ebx], di
jne 0x57c321
cmp word [ebp - 0x82c], di
jne 0x57c3bb
mov ebx, dword [ebp - 4]
cmp word [ebx], di
je 0x57c44b
lea eax, [ebp - 0x214]
push eax
push esi
lea eax, [ebp - 0x82c]
push eax
push 0x631a7c
push str.Path
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
jne 0x57c3ae
mov eax, ebx
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, di
jne 0x57c397
sub eax, edx
sar eax, 1
lea ebx, [ebx + eax*2 + 2]
cmp word [ebx], di
jne 0x57c36e
cmp word [ebp - 0x82c], di
je 0x57c44b
lea eax, [ebp - 0x82c]
push eax
lea eax, [ebp - 0x41c]
push eax
push str._s_sprefs.js
mov eax, esi
lea edi, [ebp - 0x214]
call fcn.005383cd
add esp, 0xc
lea eax, [ebp - 0x41c]
push eax
mov eax, edi
call fcn.00401050
lea eax, [ebp - 0x104c]
push eax
lea eax, [ebp - 0x41c]
push eax
push str.mail.accountmanager.defaultaccount
push ebx
call fcn.0057c117
cmp word [ebp - 0x104c], 0
jne 0x57c458
xor bl, bl
push dword [ebp - 4]
call fcn.005f858a
pop ecx
mov al, bl
pop edi
pop esi
pop ebx
leave
ret 8
lea eax, [ebp - 0x214]
push eax
push esi
lea eax, [ebp - 0x82c]
push eax
push 0x631a7c
push str.Path
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
jne 0x57c359
push dword [ebp - 4]
call fcn.005f858a
pop ecx
xor al, al
jmp 0x57c41c
and word [ebp - 0xa34], 0
lea eax, [ebp - 0x104c]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
cmp word [eax], 0
je 0x57c53c
lea eax, [ebp - 0xe44]
push eax
push 0x2c
lea edi, [ebp - 8]
call fcn.0049995d
cmp word [ebp - 0xe44], 0
je 0x57c52f
lea eax, [ebp - 0xe44]
push eax
push str.mail.account._s.identities
mov eax, esi
lea edi, [ebp - 0x624]
call fcn.005383cd
pop ecx
pop ecx
lea eax, [ebp - 0x1254]
push eax
lea eax, [ebp - 0x41c]
push eax
mov eax, edi
push eax
push ebx
call fcn.0057c117
lea edi, [ebp - 0x1254]
jmp 0x57c4d2
mov edi, dword [ebp - 0xc]
cmp word [edi], 0
je 0x57c52f
lea eax, [ebp - 0xa34]
push eax
push 0x2c
mov edx, edi
call fcn.004b3d92
cmp word [ebp - 0xa34], 0
lea eax, [edi + eax*2]
mov dword [ebp - 0xc], eax
je 0x57c526
lea eax, [ebp - 0xa34]
push eax
push str.mail.identity._s.useremail
mov eax, esi
lea edi, [ebp - 0x624]
call fcn.005383cd
pop ecx
pop ecx
push dword [ebp + 0xc]
lea eax, [ebp - 0x41c]
push eax
mov eax, edi
push eax
push ebx
call fcn.0057c117
mov eax, dword [ebp + 0xc]
cmp word [eax], 0
je 0x57c4cf
mov eax, dword [ebp + 0xc]
cmp word [eax], 0
je 0x57c469
lea eax, [ebp - 0xc3c]
push eax
lea eax, [ebp - 0x41c]
push eax
push str.mail.smtp.defaultserver
push ebx
call fcn.0057c117
cmp word [ebp - 0xc3c], 0
jne 0x57c591
lea eax, [ebp - 0xa34]
push eax
push str.mail.identity._s.smtpServer
mov eax, esi
lea edi, [ebp - 0x624]
call fcn.005383cd
pop ecx
pop ecx
lea eax, [ebp - 0xc3c]
push eax
lea eax, [ebp - 0x41c]
push eax
mov eax, edi
push eax
push ebx
call fcn.0057c117
lea eax, [ebp - 0xc3c]
push eax
push str.mail.smtpserver._s.hostname
mov eax, esi
lea edi, [ebp - 0x624]
call fcn.005383cd
pop ecx
pop ecx
push dword [ebp + 8]
lea eax, [ebp - 0x41c]
push eax
mov eax, edi
push eax
push ebx
call fcn.0057c117
test al, al
je 0x57c40f
mov bl, 1
jmp 0x57c411