Function at 0x51b2e9
Capabilities:
Read .ini file

Disassembly:
push ebp
lea ebp, [esp - 0x1630]
mov eax, 0x1630
call fcn.0059cbb0
push 0xffffffffffffffff
push 0x5ecabd
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x665ebc]
xor eax, ebp
mov dword [ebp + 0x162c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
xor esi, esi
lea ecx, [ebp + 0x870]
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], esi
call fcn.00427139
lea ecx, [ebp + 0x438]
mov byte [ebp - 4], 1
call fcn.00427139
lea ecx, [ebp]
mov byte [ebp - 4], 2
call fcn.00427139
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 3
call fcn.004c07ca
push 0xffffffffffffffff
push esi
lea ecx, [edi + 0x464]
mov byte [ebp - 4], 4
mov dword [ebp - 0x1c], esi
call fcn.005757d6
lea eax, [ebp + 0x870]
push eax
push 0x26
mov ecx, eax
call fcn.00499062
mov ebx, str.Opera
push ebx
push esi
lea ecx, [ebp + 0x870]
call fcn.00499340
push 1
mov esi, str.Accounts.ini
push esi
lea eax, [ebp + 0x870]
push eax
mov ecx, edi
call fcn.004d7144
lea ecx, [ebp]
call fcn.00499b91
push ebx
push 0
lea ecx, [ebp]
call fcn.00499340
push 1
push esi
lea eax, [ebp]
push eax
mov ecx, edi
call fcn.004d7144
cmp dword [edi + 0x448], 2
jl 0x51b462
lea ecx, [ebp + 0x870]
call fcn.00499aa1
push 0
push 0x5f7710
lea ecx, [ebp + 0x870]
call fcn.0049a237
test eax, eax
je 0x51b462
push eax
lea eax, [ebp + 0x870]
push eax
lea ecx, [ebp + 0x438]
call fcn.00499340
push 1
lea ecx, [ebp + 0x438]
call fcn.0049a516
push ebx
push 0
lea ecx, [ebp + 0x438]
call fcn.00499340
lea eax, [ebp]
push eax
lea eax, [ebp + 0x438]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x51b455
push 1
push esi
lea eax, [ebp + 0x438]
push eax
mov ecx, edi
call fcn.004d7144
lea ecx, [ebp + 0x870]
call fcn.0049980d
jmp 0x51b3fd
push dword [edi + 0x46c]
push str.Found__d_Opera_email_accounts
push 0x66eab8
call fcn.0047f157
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
add esp, 0xc
and dword [ebp - 0x18], 0
mov esi, 0x631718
mov ebx, 0x820
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
cmp ecx, dword [eax + 0x46c]
jge 0x51b7f2
push ecx
lea ecx, [eax + 0x464]
call fcn.004026b0
push dword [eax]
lea ecx, [ebp + 0x870]
call fcn.00498be1
push 0
push 0
lea ecx, [ebp + 0x870]
call fcn.00498d2a
push 0
push 0
lea ecx, [ebp + 0x870]
call fcn.00498d2a
push str.opcert6.dat
push 0
lea ecx, [ebp + 0x870]
call fcn.00499340
lea ecx, [ebp + 0x870]
call fcn.004992e9
test eax, eax
jne 0x51b517
push eax
push eax
lea ecx, [ebp + 0x870]
call fcn.00498d2a
push str.profileopcert6.dat
push 0
lea ecx, [ebp + 0x870]
call fcn.00499340
lea ecx, [ebp + 0x870]
call fcn.004992e9
test eax, eax
je 0x51b583
push esi
lea eax, [ebp + 0x870]
push eax
lea ecx, [ebp - 0x4c]
call fcn.004c1e05
test eax, eax
jg 0x51b583
lea eax, [ebp + 0xda8]
push eax
mov ecx, 0x672b98
call fcn.004ba0de
test eax, eax
je 0x51b583
lea eax, [ebp + 0xda8]
push eax
lea eax, [ebp + 0x870]
push eax
lea ecx, [ebp - 0x4c]
call fcn.004c1e05
test eax, eax
lea eax, [ebp + 0xda8]
push eax
jle 0x51b7db
lea eax, [ebp + 0x870]
push eax
lea ecx, [ebp - 0x4c]
call fcn.004c2314
mov ecx, dword [ebp - 0x14]
push dword [ebp - 0x18]
add ecx, 0x464
call fcn.004026b0
push dword [eax]
push 0
push str.Next_Available_Id
push str.Accounts
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], 1
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x24]
jge 0x51b7ea
push eax
lea eax, [ebp + 0x15c8]
push str.Account_d
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
mov ecx, dword [ebp - 0x14]
add esp, 0xc
push dword [ebp - 0x18]
add ecx, 0x464
call fcn.004026b0
push dword [eax]
lea eax, [ebp + 0xca8]
push 0x100
push eax
push esi
push 0x603030
lea eax, [ebp + 0x15c8]
push eax
call edi
cmp byte [ebp + 0xca8], 0
je 0x51b7d3
mov ecx, dword [ebp - 0x14]
push dword [ebp - 0x18]
add ecx, 0x464
call fcn.004026b0
push dword [eax]
lea eax, [ebp + 0xda8]
push ebx
push eax
push esi
push str.Incoming_Servername
lea eax, [ebp + 0x15c8]
push eax
call edi
cmp byte [ebp + 0xda8], 0
je 0x51b6f1
mov ecx, dword [ebp - 0x14]
push dword [ebp - 0x18]
add ecx, 0x464
call fcn.004026b0
push dword [eax]
lea eax, [ebp + 0xda8]
push ebx
push eax
push esi
push str.Incoming_Username
lea eax, [ebp + 0x15c8]
push eax
call edi
lea eax, [ebp + 0xda8]
push eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x450]
call fcn.004d8b84
mov ecx, dword [ebp - 0x14]
push dword [ebp - 0x18]
add ecx, 0x464
call fcn.004026b0
push dword [eax]
lea eax, [ebp + 0xda8]
push ebx
push eax
push esi
push str.Incoming_Password
lea eax, [ebp + 0x15c8]
push eax
call edi
cmp byte [ebp + 0xda8], 0
je 0x51b6f1
push 0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp + 0xda8]
push eax
lea ecx, [ebp - 0x4c]
call fcn.004c0b20
test eax, eax
je 0x51b6f1
push dword [ebp - 0x1c]
mov ecx, 0x672b98
call fcn.004ba0ea
cmp dword [ebp - 0x1c], 0
je 0x51b6f1
push dword [ebp - 0x1c]
call fcn.00564e3f
and dword [ebp - 0x1c], 0
pop ecx
mov ecx, dword [ebp - 0x14]
push dword [ebp - 0x18]
add ecx, 0x464
call fcn.004026b0
push dword [eax]
lea eax, [ebp + 0xda8]
push ebx
push eax
push esi
push str.Outgoing_Servername
lea eax, [ebp + 0x15c8]
push eax
call edi
cmp byte [ebp + 0xda8], 0
je 0x51b7d3
mov ecx, dword [ebp - 0x14]
push dword [ebp - 0x18]
add ecx, 0x464
call fcn.004026b0
push dword [eax]
lea eax, [ebp + 0xda8]
push ebx
push eax
push esi
push str.Outgoing_Username
lea eax, [ebp + 0x15c8]
push eax
call edi
lea eax, [ebp + 0xda8]
push eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x450]
call fcn.004d8b84
mov ecx, dword [ebp - 0x14]
push dword [ebp - 0x18]
add ecx, 0x464
call fcn.004026b0
push dword [eax]
lea eax, [ebp + 0xda8]
push ebx
push eax
push esi
push str.Outgoing_Password
lea eax, [ebp + 0x15c8]
push eax
call edi
cmp byte [ebp + 0xda8], 0
je 0x51b7d3
push 0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp + 0xda8]
push eax
lea ecx, [ebp - 0x4c]
call fcn.004c0b20
test eax, eax
je 0x51b7d3
push dword [ebp - 0x1c]
mov ecx, 0x672b98
call fcn.004ba0ea
cmp dword [ebp - 0x1c], 0
je 0x51b7d3
push dword [ebp - 0x1c]
call fcn.00564e3f
and dword [ebp - 0x1c], 0
pop ecx
inc dword [ebp - 0x20]
jmp 0x51b5b2
mov ecx, 0x672b98
call fcn.004b9d18
jmp 0x51b54b
inc dword [ebp - 0x18]
jmp 0x51b48e
push 0xffffffffffffffff
push 0
lea ecx, [eax + 0x464]
call fcn.005757d6
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 3
call fcn.004c1222
lea ecx, [ebp]
mov byte [ebp - 4], 2
call fcn.0042719c
lea ecx, [ebp + 0x438]
mov byte [ebp - 4], 1
call fcn.0042719c
lea ecx, [ebp + 0x870]
mov byte [ebp - 4], 0
call fcn.0042719c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x162c]
xor ecx, ebp
call fcn.0059ca15
add ebp, 0x1630
leave
ret