Function at 0x40eb50
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x439d14
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x124
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x24], ebx
call fcn.00401820
mov dword [ebx], 0x43d40c
mov eax, dword [0x44cad0]
lea edi, [ebx + 0xf8]
mov dword [ebp - 4], 0
mov dword [edi], eax
mov ecx, dword [0x44cad0]
lea esi, [ebx + 0xfc]
mov dword [esi], ecx
lea edx, [ebp - 0x20]
mov byte [ebp - 4], 2
push edx
mov dword [ebx], 0x43d66c
call fcn.00403760
add esp, 4
push str.opera.ini
push eax
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 3
push eax
call fcn.0043017a
push eax
mov ecx, esi
mov byte [ebp - 4], 4
call fcn.0043001e
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call fcn.0042ff31
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
call fcn.0042ff31
push esi
call fcn.00402c10
add esp, 4
test al, al
jne 0x40ec84
push str.C:Program_FilesOperaopera.ini
lea ecx, [ebp - 0x20]
call fcn.0042ff9f
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 5
push ecx
call fcn.00402c10
add esp, 4
lea ecx, [ebp - 0x20]
mov byte [ebp - 0x11], al
mov byte [ebp - 4], 2
call fcn.0042ff31
mov al, byte [ebp - 0x11]
test al, al
je 0x40ec3e
push str.C:Program_FilesOperaopera.ini
jmp 0x40ec7d
push str.C:Operaopera.ini
lea ecx, [ebp - 0x20]
call fcn.0042ff9f
lea edx, [ebp - 0x20]
mov byte [ebp - 4], 6
push edx
call fcn.00402c10
add esp, 4
lea ecx, [ebp - 0x20]
mov byte [ebp - 0x11], al
mov byte [ebp - 4], 2
call fcn.0042ff31
mov al, byte [ebp - 0x11]
test al, al
je 0x40ec78
push str.C:Operaopera.ini
jmp 0x40ec7d
push 0x4500e4
mov ecx, esi
call fcn.0043006e
mov eax, dword [esi]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40ee94
push 0x4500e4
mov ecx, edi
call fcn.0043006e
push str.Path
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 7
call fcn.0042ff9f
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_PathsOpera.exe
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 8
call fcn.0042ff9f
lea ecx, [ebp - 0x1c]
lea edx, [ebp - 0x20]
push ecx
push edx
lea eax, [ebp - 0x18]
push 0x80000002
push eax
mov byte [ebp - 4], 9
call fcn.00402810
add esp, 0x10
push eax
mov ecx, edi
mov byte [ebp - 4], 0xa
call fcn.0043001e
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 9
call fcn.0042ff31
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 8
call fcn.0042ff31
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 7
call fcn.0042ff31
mov ecx, dword [edi]
mov eax, dword [ecx - 8]
test eax, eax
je 0x40ef54
lea edx, [ebp - 0x18]
push 1
push edx
mov ecx, edi
call fcn.0042a732
mov eax, dword [eax]
mov esi, 0x44a328
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x40ed51
test cl, cl
je 0x40ed4d
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x40ed51
add eax, 2
add esi, 2
test cl, cl
jne 0x40ed2d
xor eax, eax
jmp 0x40ed56
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
lea ecx, [ebp - 0x18]
setne byte [ebp - 0x11]
call fcn.0042ff31
mov al, byte [ebp - 0x11]
test al, al
je 0x40ee2a
push 0x44a328
mov ecx, edi
call fcn.004302c1
jmp 0x40ee2a
lea edi, [ebx + 0xf8]
push str.opera.ini
lea edx, [ebp - 0x18]
push edi
push edx
mov dword [ebp - 4], 2
call fcn.0043017a
push eax
mov byte [ebp - 4], 0xe
call fcn.00402c10
add esp, 4
lea ecx, [ebp - 0x18]
mov byte [ebp - 0x11], al
mov byte [ebp - 4], 2
call fcn.0042ff31
mov al, byte [ebp - 0x11]
test al, al
je 0x40ee94
push str.opera.ini
lea eax, [ebp - 0x18]
push edi
push eax
call fcn.0043017a
push eax
lea ecx, [ebx + 0xfc]
mov byte [ebp - 4], 0xf
call fcn.0043001e
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.0042ff31
mov eax, dword [ebx + 0xfc]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x40ef54
mov ecx, dword [edi]
mov edx, dword [ecx - 8]
test edx, edx
jne 0x40ef54
push eax
lea edx, [ebp - 0x130]
push 0x104
push edx
push 0x4500e4
push str.OPERA_DIRECTORY
push str.USER_PREFS
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x40ef54
lea eax, [ebp - 0x130]
lea ecx, [ebp - 0x18]
push eax
call fcn.0042ff9f
push eax
mov ecx, edi
mov byte [ebp - 4], 0x10
call fcn.0043001e
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.0042ff31
lea ecx, [ebp - 0x18]
push 1
push ecx
mov ecx, edi
call fcn.0042a732
mov eax, dword [eax]
mov esi, 0x44a328
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x40ef37
test cl, cl
je 0x40ef33
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x40ef37
add eax, 2
add esi, 2
test cl, cl
jne 0x40ef13
xor esi, esi
jmp 0x40ef3c
sbb esi, esi
sbb esi, 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.0042ff31
test esi, esi
je 0x40ef54
push 0x44a328
mov ecx, edi
call fcn.004302c1
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, ebx
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret