Function at 0x472300
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x476e66
mov eax, dword fs:[0]
push eax
sub esp, 0x50c
mov eax, dword [0x4922f8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x4c8], 0
push 0
push 0x1a
lea eax, [ebp - 0x21c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea ecx, [ebp - 0x21c]
push ecx
lea edx, [ebp - 0x2e8]
push edx
call fcn.0045f720
add esp, 8
mov dword [ebp - 0x4cc], eax
mov eax, dword [ebp - 0x4cc]
mov dword [ebp - 0x4d0], eax
mov dword [ebp - 4], 1
push str.OperaOpera_
mov ecx, dword [ebp - 0x4d0]
push ecx
lea edx, [ebp - 0x258]
push edx
call fcn.00402d60
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2e8]
call fcn.004016d0
lea eax, [ebp - 0x258]
push eax
call fcn.0045f2f0
add esp, 4
movzx ecx, al
test ecx, ecx
jne 0x4723bd
jmp 0x472521
push str.operaprefs.ini
lea edx, [ebp - 0x258]
push edx
lea eax, [ebp - 0x304]
push eax
call fcn.00402d60
add esp, 0xc
mov dword [ebp - 0x4d4], eax
mov ecx, dword [ebp - 0x4d4]
mov dword [ebp - 0x4d8], ecx
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x4d8]
push edx
lea ecx, [ebp - 0x280]
call fcn.00425690
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x304]
call fcn.004016d0
push 0x4840e8
lea ecx, [ebp - 0x320]
call fcn.00401650
mov byte [ebp - 4], 7
lea eax, [ebp - 0x320]
push eax
lea ecx, [ebp - 0x280]
call fcn.0046cd00
mov dword [ebp - 0x284], eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x320]
call fcn.004016d0
push 0x4840f4
lea ecx, [ebp - 0x358]
call fcn.00401650
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x33c]
call fcn.00401620
mov dword [ebp - 0x4dc], eax
mov ecx, dword [ebp - 0x4dc]
mov dword [ebp - 0x4e0], ecx
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x4e0]
push edx
lea eax, [ebp - 0x358]
push eax
mov ecx, dword [ebp - 0x284]
call fcn.0046ccb0
mov dword [ebp - 0x260], eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x33c]
call fcn.004016d0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x358]
call fcn.004016d0
mov ecx, dword [ebp - 0x260]
call fcn.004018a0
movzx ecx, al
test ecx, ecx
jne 0x472512
mov edx, dword [ebp - 0x260]
push edx
mov ecx, dword [ebp + 8]
call fcn.00401690
mov eax, dword [ebp - 0x4c8]
or eax, 1
mov dword [ebp - 0x4c8], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x280]
call fcn.004257e0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x258]
call fcn.004016d0
mov eax, dword [ebp + 8]
jmp 0x4729ac
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x280]
call fcn.004257e0
push 0x484100
lea ecx, [ebp - 0x258]
push ecx
lea edx, [ebp - 0x374]
push edx
call fcn.00402d60
add esp, 0xc
mov dword [ebp - 0x4e4], eax
mov eax, dword [ebp - 0x4e4]
mov dword [ebp - 0x4e8], eax
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x4e8]
push ecx
lea ecx, [ebp - 0x2a8]
call fcn.00425690
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x374]
call fcn.004016d0
push 0x484114
lea ecx, [ebp - 0x390]
call fcn.00401650
mov byte [ebp - 4], 0xd
lea edx, [ebp - 0x390]
push edx
lea ecx, [ebp - 0x2a8]
call fcn.0046cd00
mov dword [ebp - 0x2ac], eax
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x390]
call fcn.004016d0
push 0x484120
lea ecx, [ebp - 0x3c8]
call fcn.00401650
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x3ac]
call fcn.00401620
mov dword [ebp - 0x4ec], eax
mov eax, dword [ebp - 0x4ec]
mov dword [ebp - 0x4f0], eax
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x4f0]
push ecx
lea edx, [ebp - 0x3c8]
push edx
mov ecx, dword [ebp - 0x2ac]
call fcn.0046ccb0
mov dword [ebp - 0x288], eax
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x3ac]
call fcn.004016d0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x3c8]
call fcn.004016d0
mov ecx, dword [ebp - 0x288]
call fcn.004018a0
movzx eax, al
test eax, eax
jne 0x472676
mov ecx, dword [ebp - 0x288]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00401690
mov edx, dword [ebp - 0x4c8]
or edx, 1
mov dword [ebp - 0x4c8], edx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2a8]
call fcn.004257e0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x258]
call fcn.004016d0
mov eax, dword [ebp + 8]
jmp 0x4729ac
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2a8]
call fcn.004257e0
push 0x48412c
lea ecx, [ebp - 0x3e4]
call fcn.00401650
mov byte [ebp - 4], 0x10
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall70B96CD0_FDF2_489E_8FA0_0F92ED599368
lea ecx, [ebp - 0x400]
call fcn.00401650
mov byte [ebp - 4], 0x11
lea eax, [ebp - 0x3e4]
push eax
lea ecx, [ebp - 0x400]
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
lea edx, [ebp - 0x41c]
push edx
call fcn.0045fb00
add esp, 0x10
mov dword [ebp - 0x4f4], eax
mov eax, dword [ebp - 0x4f4]
mov dword [ebp - 0x4f8], eax
mov byte [ebp - 4], 0x12
mov ecx, dword [ebp - 0x4f8]
push ecx
lea ecx, [ebp - 0x258]
call fcn.004016f0
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x41c]
call fcn.004016d0
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x400]
call fcn.004016d0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x3e4]
call fcn.004016d0
lea ecx, [ebp - 0x258]
call fcn.004018a0
movzx edx, al
test edx, edx
jne 0x472750
lea eax, [ebp - 0x258]
push eax
call fcn.0045f2f0
add esp, 4
movzx ecx, al
test ecx, ecx
jne 0x47287a
lea edx, [ebp - 0x2c8]
push edx
call fcn.00471f70
add esp, 4
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x2c8]
call fcn.00401840
mov esi, eax
lea ecx, [ebp - 0x2c8]
call fcn.00401880
lea eax, [esi + eax - 1]
mov dword [ebp - 0x2cc], eax
jmp 0x472796
mov ecx, dword [ebp - 0x2cc]
sub ecx, 1
mov dword [ebp - 0x2cc], ecx
lea ecx, [ebp - 0x2c8]
call fcn.00401840
cmp dword [ebp - 0x2cc], eax
jbe 0x47286b
mov edx, dword [ebp - 0x2cc]
movsx eax, byte [edx]
cmp eax, 0x2f
je 0x4727cd
mov ecx, dword [ebp - 0x2cc]
movsx edx, byte [ecx]
cmp edx, 0x5c
jne 0x472866
mov eax, dword [ebp - 0x2cc]
mov byte [eax], 0
lea ecx, [ebp - 0x2c8]
call fcn.00401840
push eax
lea ecx, [ebp - 0x438]
call fcn.00401650
mov dword [ebp - 0x4fc], eax
mov ecx, dword [ebp - 0x4fc]
mov dword [ebp - 0x500], ecx
mov byte [ebp - 4], 0x14
push 0x48413c
mov edx, dword [ebp - 0x500]
push edx
lea eax, [ebp - 0x454]
push eax
call fcn.00402d60
add esp, 0xc
mov dword [ebp - 0x504], eax
mov ecx, dword [ebp - 0x504]
mov dword [ebp - 0x508], ecx
mov byte [ebp - 4], 0x15
mov edx, dword [ebp - 0x508]
push edx
lea ecx, [ebp - 0x258]
call fcn.004016f0
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x454]
call fcn.004016d0
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x438]
call fcn.004016d0
jmp 0x47286b
jmp 0x472787
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c8]
call fcn.004016d0
push str.profileopera6.ini
lea eax, [ebp - 0x258]
push eax
lea ecx, [ebp - 0x470]
push ecx
call fcn.00402d60
add esp, 0xc
mov dword [ebp - 0x50c], eax
mov edx, dword [ebp - 0x50c]
mov dword [ebp - 0x510], edx
mov byte [ebp - 4], 0x16
mov eax, dword [ebp - 0x510]
push eax
lea ecx, [ebp - 0x23c]
call fcn.00425690
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x470]
call fcn.004016d0
push str.user_prefs
lea ecx, [ebp - 0x48c]
call fcn.00401650
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x48c]
push ecx
lea ecx, [ebp - 0x23c]
call fcn.0046cd00
mov dword [ebp - 0x25c], eax
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x48c]
call fcn.004016d0
push str.home_url
lea ecx, [ebp - 0x4c4]
call fcn.00401650
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x4a8]
call fcn.00401620
mov dword [ebp - 0x514], eax
mov edx, dword [ebp - 0x514]
mov dword [ebp - 0x518], edx
mov byte [ebp - 4], 0x1b
mov eax, dword [ebp - 0x518]
push eax
lea ecx, [ebp - 0x4c4]
push ecx
mov ecx, dword [ebp - 0x25c]
call fcn.0046ccb0
push eax
mov ecx, dword [ebp + 8]
call fcn.00401690
mov edx, dword [ebp - 0x4c8]
or edx, 1
mov dword [ebp - 0x4c8], edx
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x4a8]
call fcn.004016d0
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x4c4]
call fcn.004016d0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x23c]
call fcn.004257e0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x258]
call fcn.004016d0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00442777
mov esp, ebp
pop ebp
ret