Function at 0x498000
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a3e66
mov eax, dword fs:[0]
push eax
sub esp, 0x3a4
mov eax, dword [0x4e24e0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor ebx, ebx
mov esi, edx
mov dword [ebp - 0x2c4], ebx
mov eax, dword [esi]
mov edi, ecx
mov dword [ebp - 0x2bc], edi
mov dword [ebp - 0x2cc], esi
cmp dword [eax - 0xc], ebx
jne 0x498062
push edi
mov ecx, 0x4be0e8
call fcn.00411220
mov eax, edi
jmp 0x498400
lea ecx, [ebp - 0x2b8]
push ecx
mov dword [ebp - 4], ebx
call fcn.00463040
and dword [ebp - 0x2e0], 0xfffffe00
mov dword [ebp - 0x2dc], ebx
mov dword [ebp - 0x2d8], ebx
mov dword [ebp - 0x2d4], ebx
push str.installer_prefs.json
lea edx, [ebp - 0x2c4]
push esi
push edx
mov byte [ebp - 4], 3
call fcn.0040f510
add esp, 0xc
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x2c4]
push eax
lea ecx, [ebp - 0x390]
push ecx
call fcn.00404f50
lea edx, [ebp - 0x390]
push edx
lea edi, [ebp - 0x2e8]
lea esi, [ebp - 0x2b8]
mov byte [ebp - 4], 5
call fcn.0046de10
cmp al, bl
jne 0x498161
mov ecx, 0x4be118
mov esi, dword [ebp - 0x2bc]
push esi
call fcn.00411220
lea ecx, [ebp - 0x338]
mov byte [ebp - 4], 4
call fcn.00405030
lea eax, [ebp - 0x338]
push eax
mov dword [ebp - method.std::basic_ios_char__struct_std::char_traits_char__.virtual_0], vtable.std::ios_base.0
call fcn.00441f92
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x2c4]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
add esp, 4
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x498140
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x2e8]
mov byte [ebp - 4], 1
call fcn.00465610
lea edi, [ebp - 0x2b8]
call fcn.00401cd0
mov eax, esi
jmp 0x498400
cmp byte [ebp - 0x2e0], 7
jne 0x4983c2
lea ecx, [ebp - 0x2e8]
push ecx
mov edx, str.single_profile
call fcn.0046b1c0
cmp al, bl
je 0x4983c2
mov edx, dword [0x4e768c]
mov eax, dword [edx + 0xc]
mov ecx, 0x4e768c
call eax
add eax, 0x10
mov dword [ebp - 0x2c0], eax
mov byte [ebp - 4], 6
mov edx, dword [0x4e768c]
mov eax, dword [edx + 0xc]
mov ecx, 0x4e768c
call eax
add eax, 0x10
mov dword [ebp - 0x2c8], eax
mov ecx, dword [ebp - 0x2f8]
and ecx, 0xfffffe01
or ecx, 1
mov dword [ebp - 0x2f8], ecx
mov dword [ebp - 0x2f4], ebx
mov dword [ebp - 0x2f0], ebx
mov dword [ebp - 0x2ec], ebx
mov dword [ebp - 0x300], ebx
mov dword [ebp - 0x2fc], ebx
lea edx, [ebp - 0x300]
push edx
lea eax, [ebp - 0x2e8]
push eax
mov ecx, str.single_profile
lea eax, [ebp - 0x3a8]
mov byte [ebp - 4], 8
call fcn.0046c640
push eax
mov byte [ebp - 4], 9
call fcn.00467c80
lea ecx, [ebp - 0x3a8]
mov byte [ebp - 0x2cd], al
mov byte [ebp - 4], 8
call fcn.00465610
lea ecx, [ebp - 0x300]
mov byte [ebp - 4], 7
call fcn.00465610
cmp byte [ebp - 0x2cd], bl
je 0x498305
mov ecx, dword [ebp - 0x2cc]
push str.profiledata
push ecx
lea edx, [ebp - 0x2cc]
push edx
call fcn.0040f510
add esp, 0xc
lea edi, [ebp - 0x2c0]
mov byte [ebp - 4], 0xa
call fcn.00411540
lea ecx, [ebp - 0x2cc]
mov byte [ebp - 4], 7
call fcn.00402430
lea eax, [ebp - 0x2cc]
push eax
call fcn.0040a6c0
add esp, 4
lea edi, [ebp - 0x2c8]
mov byte [ebp - 4], 0xb
call fcn.00411540
lea ecx, [ebp - 0x2cc]
mov byte [ebp - 4], 7
call fcn.00402430
mov eax, dword [ebp - 0x2c8]
cmp dword [eax - 0xc], ebx
je 0x498305
add eax, 0xfffffff0
call fcn.004115b0
mov esi, dword [ebp - 0x2bc]
add eax, 0x10
lea ecx, [ebp - 0x2c8]
mov dword [esi], eax
call fcn.00402430
lea ecx, [ebp - 0x2c0]
call fcn.00402430
lea eax, [ebp - 0x390]
mov byte [ebp - 4], 4
call fcn.00402410
lea ecx, [ebp - 0x2c4]
call fcn.00402430
jmp 0x498140
lea ecx, [ebp - 0x220]
push ecx
push ebx
push ebx
push 0x1a
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
cmp eax, ebx
je 0x498361
mov ecx, 0x4be1b8
mov esi, dword [ebp - 0x2bc]
push esi
call fcn.00411220
lea ecx, [ebp - 0x2c8]
call fcn.00402430
lea ecx, [ebp - 0x2c0]
call fcn.00402430
lea eax, [ebp - 0x390]
mov byte [ebp - 4], 4
call fcn.00402410
lea ecx, [ebp - 0x2c4]
call fcn.00402430
jmp 0x498140
lea edx, [ebp - 0x220]
lea edi, [ebp - 0x2c0]
call fcn.004112d0
mov edx, str.Opera_SoftwareOpera_Stable
call fcn.004027e0
lea edx, [ebp - 0x2cc]
push edx
call fcn.0040a6c0
add esp, 4
lea edi, [ebp - 0x2c8]
mov byte [ebp - 4], 0xc
call fcn.00411540
lea ecx, [ebp - 0x2cc]
mov byte [ebp - 4], 7
call fcn.00402430
mov eax, dword [ebp - 0x2c8]
cmp dword [eax - 0xc], ebx
jne 0x4982bd
mov ecx, 0x4be1f8
jmp 0x498320
mov ecx, 0x4be12c
jmp 0x4980e6
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0044557a
mov esp, ebp
pop ebp
ret