Function at 0x462f20
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a4dbe
mov eax, dword fs:[0]
push eax
sub esp, 0x374
mov eax, dword [0x5e6468]
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 edi, edi
mov esi, edx
mov dword [ebp - 0x2c0], edi
mov eax, dword [esi]
mov ebx, ecx
mov dword [ebp - 0x2b8], ebx
cmp dword [eax - 0xc], edi
jne 0x462f7b
push 0x5c353c
call fcn.00426f30
mov eax, ebx
jmp 0x46332d
lea ecx, [ebp - 0x2ac]
mov dword [ebp - 4], edi
call fcn.0047edb0
push edi
lea ecx, [ebp - 0x2d0]
mov byte [ebp - 4], 1
call fcn.00485260
push str.installer_prefs.json
lea ecx, [ebp - 0x2bc]
push esi
push ecx
mov byte [ebp - 4], 2
call fcn.004272e0
add esp, 0xc
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x2bc]
push edx
lea eax, [ebp - 0x37c]
push eax
call fcn.00464940
push 1
lea ecx, [ebp - 0x2d0]
push ecx
lea edx, [ebp - 0x37c]
push edx
lea ecx, [ebp - 0x2ac]
mov byte [ebp - 4], 4
call fcn.0047ef30
test al, al
jne 0x463067
push 0x5c353c
mov ecx, ebx
call fcn.00426f30
lea ecx, [ebp - 0x324]
mov byte [ebp - 4], 3
call fcn.00464a50
lea eax, [ebp - 0x324]
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.0059318b
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x2bc]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
add esp, 4
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x463046
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x2d0]
mov byte [ebp - 4], 1
call fcn.004858d0
lea edi, [ebp - 0x2ac]
call fcn.00463350
mov eax, ebx
jmp 0x46332d
lea ecx, [ebp - 0x2d0]
call fcn.004877b0
test al, al
je 0x462fec
push str.single_profile
lea ecx, [ebp - 0x2d0]
call fcn.00487440
test al, al
je 0x462fec
mov edx, dword [0x5f22b0]
mov eax, dword [edx + 0xc]
mov ecx, 0x5f22b0
call eax
add eax, 0x10
mov dword [ebp - 0x2b4], eax
mov byte [ebp - 4], 5
mov edx, dword [0x5f22b0]
mov eax, dword [edx + 0xc]
mov ecx, 0x5f22b0
call eax
add eax, 0x10
mov dword [ebp - 0x2b0], eax
push edi
lea ecx, [ebp - 0x2e0]
call fcn.00485380
lea ecx, [ebp - 0x2e0]
push ecx
push str.single_profile
lea edx, [ebp - 0x2f0]
push edx
lea ecx, [ebp - 0x2d0]
mov byte [ebp - 4], 7
call fcn.00487210
mov ecx, eax
call fcn.00486630
lea ecx, [ebp - 0x2f0]
mov bl, al
call fcn.004858d0
lea ecx, [ebp - 0x2e0]
mov byte [ebp - 4], 6
call fcn.004858d0
test bl, bl
je 0x4631fa
push str.profiledata
lea eax, [ebp - 0x2c0]
push esi
push eax
call fcn.004272e0
add esp, 0xc
push eax
lea ecx, [ebp - 0x2b4]
mov byte [ebp - 4], 8
call fcn.004275f0
lea ecx, [ebp - 0x2c0]
mov byte [ebp - 4], 6
call fcn.00426fe0
lea ecx, [ebp - 0x2c0]
push ecx
lea edi, [ebp - 0x2b4]
call fcn.00466230
add esp, 4
push eax
lea ecx, [ebp - 0x2b0]
mov byte [ebp - 4], 9
call fcn.004275f0
lea ecx, [ebp - 0x2c0]
mov byte [ebp - 4], 6
call fcn.00426fe0
mov edx, dword [ebp - 0x2b0]
cmp dword [edx - 0xc], 0
je 0x4631fa
mov esi, dword [ebp - 0x2b8]
lea eax, [ebp - 0x2b0]
push eax
mov ecx, esi
call fcn.00426f00
lea ecx, [ebp - 0x2b0]
call fcn.00426fe0
lea ecx, [ebp - 0x2b4]
call fcn.00426fe0
lea eax, [ebp - 0x37c]
mov byte [ebp - 4], 3
call fcn.00462f00
lea ecx, [ebp - 0x2bc]
call fcn.00426fe0
lea ecx, [ebp - 0x2d0]
mov byte [ebp - 4], 1
call fcn.004858d0
lea edi, [ebp - 0x2ac]
call fcn.00463350
mov eax, esi
jmp 0x46332d
lea ecx, [ebp - 0x21c]
push ecx
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
je 0x463276
mov esi, dword [ebp - 0x2b8]
push 0x5c353c
mov ecx, esi
call fcn.00426f30
lea ecx, [ebp - 0x2b0]
call fcn.00426fe0
lea ecx, [ebp - 0x2b4]
call fcn.00426fe0
lea eax, [ebp - 0x37c]
mov byte [ebp - 4], 3
call fcn.00462f00
lea ecx, [ebp - 0x2bc]
call fcn.00426fe0
lea ecx, [ebp - 0x2d0]
mov byte [ebp - 4], 1
call fcn.004858d0
lea edi, [ebp - 0x2ac]
call fcn.00463350
mov eax, esi
jmp 0x46332d
lea edx, [ebp - 0x21c]
push edx
lea ecx, [ebp - 0x2b4]
call fcn.00427020
push str.Opera_SoftwareOpera_Stable
lea ecx, [ebp - 0x2b4]
call fcn.00427070
lea eax, [ebp - 0x2c0]
push eax
lea edi, [ebp - 0x2b4]
call fcn.00466230
add esp, 4
push eax
lea ecx, [ebp - 0x2b0]
mov byte [ebp - 4], 0xa
call fcn.00427000
lea ecx, [ebp - 0x2c0]
mov byte [ebp - 4], 6
call fcn.00426fe0
mov ecx, dword [ebp - 0x2b0]
mov esi, dword [ebp - 0x2b8]
cmp dword [ecx - 0xc], 0
mov ecx, esi
je 0x4632ec
lea edx, [ebp - 0x2b0]
push edx
jmp 0x4631a4
push 0x5c353c
call fcn.00426f30
jmp 0x4631a9
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.0055e289
mov esp, ebp
pop ebp
ret