Function at 0x403330
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5742c9
mov eax, dword fs:[0]
push eax
sub esp, 0x3a4
mov eax, dword [0x5c3678]
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 0x403392
push edi
mov ecx, 0x57fde0
call fcn.00423950
mov eax, edi
jmp 0x403755
lea ecx, [ebp - 0x2b8]
push ecx
mov dword [ebp - 4], ebx
call fcn.005298a0
and dword [ebp - 0x2e0], 0xfffffe00
mov dword [ebp - 0x2dc], ebx
mov dword [ebp - 0x2d8], ebx
mov dword [ebp - 0x2d4], ebx
push esi
lea edx, [ebp - 0x2c4]
push edx
mov esi, str.installer_prefs.json
mov byte [ebp - 4], 3
call fcn.00421fe0
add esp, 8
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x2c4]
push eax
lea ecx, [ebp - 0x390]
push ecx
call fcn.00411370
lea edx, [ebp - 0x390]
push edx
lea edi, [ebp - 0x2e8]
lea esi, [ebp - 0x2b8]
mov byte [ebp - 4], 5
call fcn.00529a50
cmp al, bl
jne 0x403491
mov esi, dword [ebp - 0x2bc]
push esi
mov ecx, 0x57fde0
call fcn.00423950
lea ecx, [ebp - 0x338]
mov byte [ebp - 4], 4
call fcn.00411450
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.0053a895
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 0x403470
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.00527890
lea edi, [ebp - 0x2b8]
call fcn.00402490
mov eax, esi
jmp 0x403755
cmp byte [ebp - 0x2e0], 7
jne 0x4036f5
lea ecx, [ebp - 0x2e8]
push ecx
mov edx, str.single_profile
call fcn.00529140
cmp al, bl
je 0x4036f5
mov edx, dword [0x5cc90c]
mov eax, dword [edx + 0xc]
mov ecx, 0x5cc90c
call eax
add eax, 0x10
mov dword [ebp - 0x2c0], eax
mov byte [ebp - 4], 6
mov edx, dword [0x5cc90c]
mov eax, dword [edx + 0xc]
mov ecx, 0x5cc90c
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.00529100
push eax
mov byte [ebp - 4], 9
call fcn.00528530
lea ecx, [ebp - 0x3a8]
mov byte [ebp - 0x2cd], al
mov byte [ebp - 4], 8
call fcn.00527890
lea ecx, [ebp - 0x300]
mov byte [ebp - 4], 7
call fcn.00527890
cmp byte [ebp - 0x2cd], bl
je 0x403638
mov ecx, dword [ebp - 0x2cc]
push ecx
lea edx, [ebp - 0x2cc]
push edx
mov esi, str.profiledata
call fcn.00421fe0
add esp, 8
lea edi, [ebp - 0x2c0]
mov byte [ebp - 4], 0xa
call fcn.00423c70
lea ecx, [ebp - 0x2cc]
mov byte [ebp - 4], 7
call fcn.00423d60
mov eax, edi
push eax
lea ecx, [ebp - 0x2cc]
push ecx
call fcn.00418a80
add esp, 8
lea edi, [ebp - 0x2c8]
mov byte [ebp - 4], 0xb
call fcn.00423c70
lea ecx, [ebp - 0x2cc]
mov byte [ebp - 4], 7
call fcn.00423d60
mov eax, dword [ebp - 0x2c8]
cmp dword [eax - 0xc], ebx
je 0x403638
add eax, 0xfffffff0
call fcn.00423cf0
mov esi, dword [ebp - 0x2bc]
add eax, 0x10
lea ecx, [ebp - 0x2c8]
mov dword [esi], eax
call fcn.00423d60
lea ecx, [ebp - 0x2c0]
call fcn.00423d60
lea eax, [ebp - 0x390]
mov byte [ebp - 4], 4
call fcn.00403310
lea ecx, [ebp - 0x2c4]
call fcn.00423d60
jmp 0x403470
lea edx, [ebp - 0x220]
push edx
push ebx
push ebx
push 0x1a
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
cmp eax, ebx
je 0x403694
mov esi, dword [ebp - 0x2bc]
push esi
mov ecx, 0x57fde0
call fcn.00423950
lea ecx, [ebp - 0x2c8]
call fcn.00423d60
lea ecx, [ebp - 0x2c0]
call fcn.00423d60
lea eax, [ebp - 0x390]
mov byte [ebp - 4], 4
call fcn.00403310
lea ecx, [ebp - 0x2c4]
call fcn.00423d60
jmp 0x403470
lea edx, [ebp - 0x220]
lea edi, [ebp - 0x2c0]
call fcn.00423a40
mov edx, str.Opera_SoftwareOpera_Stable
mov eax, edi
call fcn.0040e610
mov eax, edi
push eax
lea ecx, [ebp - 0x2cc]
push ecx
call fcn.00418a80
add esp, 8
lea edi, [ebp - 0x2c8]
mov byte [ebp - 4], 0xc
call fcn.00423c70
lea ecx, [ebp - 0x2cc]
mov byte [ebp - 4], 7
call fcn.00423d60
mov eax, dword [ebp - 0x2c8]
cmp dword [eax - 0xc], ebx
je 0x40364e
jmp 0x4035f0
mov esi, dword [ebp - 0x2bc]
push esi
mov ecx, 0x57fde0
call fcn.00423950
lea ecx, [ebp - 0x338]
mov byte [ebp - 4], 4
call fcn.00411450
lea edx, [ebp - 0x338]
push edx
jmp 0x403438
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.0053c15d
mov esp, ebp
pop ebp
ret