Function at 0x425240
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c1d9b
mov eax, dword fs:[0]
push eax
sub esp, 0x29c
mov eax, dword [0x4eb6b8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x218]
push eax
xor ebx, ebx
push ebx
push ebx
push 0x1a
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
xor ecx, ecx
lea eax, [ebp - 0x218]
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], ebx
mov word [ebp - 0x234], cx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4252a4
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x218]
lea esi, [ebp - 0x234]
call fcn.00419690
mov dword [ebp - 4], ebx
push 0xf
mov eax, str.Maxthon3Users
mov ecx, esi
call fcn.00416700
push 0x24
mov dword [ebp - 0x294], ebx
call fcn.0049d231
add esp, 4
cmp eax, ebx
je 0x42558b
mov dword [eax], eax
mov dword [ebp - 0x298], eax
mov dword [eax + 4], eax
mov byte [ebp - 4], 3
push str..
mov edx, esi
push edx
lea eax, [ebp - 0x250]
push eax
call fcn.0041d670
add esp, 0xc
mov byte [ebp - 4], 4
lea ebx, [ebp - 0x298]
mov ecx, eax
call fcn.00423860
test al, al
sete byte [ebp - 0x289]
mov byte [ebp - 4], 3
mov edi, 8
cmp dword [ebp - 0x23c], edi
jb 0x42534e
mov ecx, dword [ebp - 0x250]
push ecx
call fcn.0049ca60
add esp, 4
xor edx, edx
mov ebx, 7
mov dword [ebp - 0x23c], ebx
mov dword [ebp - 0x240], 0
mov word [ebp - 0x250], dx
cmp byte [ebp - 0x289], dl
je 0x4253ec
mov byte [ebp - 4], 5
lea ebx, [ebp - 0x298]
call fcn.00426bc0
xor ebx, ebx
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x298]
push eax
call fcn.0049ca60
add esp, 4
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x220], edi
jb 0x4253b5
mov ecx, dword [ebp - 0x234]
push ecx
call fcn.0049ca60
add esp, 4
xor edx, edx
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], ebx
mov word [ebp - 0x234], dx
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049ca6b
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x298]
mov esi, dword [eax]
cmp esi, eax
je 0x42552a
lea esp, [esp]
push 0x4cdc90
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x288]
push ecx
call fcn.0041d670
add esp, 0xc
mov byte [ebp - 4], 6
lea ecx, [esi + 8]
push ecx
lea edx, [ebp - 0x26c]
push edx
mov ecx, eax
call fcn.0041d750
mov byte [ebp - 4], bl
push str.AddonsDataMxAddonMiscconfig.ini
push eax
lea eax, [ebp - 0x250]
push eax
call fcn.0041d5e0
add esp, 0x14
mov byte [ebp - 4], 9
cmp dword [ebp - 0x258], edi
jb 0x425464
mov ecx, dword [ebp - 0x26c]
push ecx
call fcn.0049ca60
add esp, 4
xor eax, eax
xor edx, edx
mov dword [ebp - 0x258], ebx
mov dword [ebp - 0x25c], eax
mov word [ebp - 0x26c], dx
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x274], edi
jb 0x425498
mov eax, dword [ebp - 0x288]
push eax
call fcn.0049ca60
add esp, 4
xor eax, eax
push 0x4f0cc0
sub esp, 0x1c
xor ecx, ecx
mov word [ebp - 0x288], cx
mov ecx, esp
mov dword [ebp - 0x29c], esp
mov dword [ecx + 0x10], eax
push eax
mov dword [ebp - 0x278], eax
lea eax, [ebp - 0x250]
xor edx, edx
push eax
mov dword [ecx + 0x14], ebx
or eax, 0xffffffff
mov dword [ebp - 0x274], ebx
mov word [ecx], dx
call fcn.00416830
mov byte [ebp - 4], 0xb
mov byte [ebp - 4], 0xa
call fcn.004255d0
add esp, 0x20
mov byte [ebp - 4], 3
cmp dword [ebp - 0x23c], edi
jb 0x425503
mov ecx, dword [ebp - 0x250]
push ecx
call fcn.0049ca60
add esp, 4
mov esi, dword [esi]
xor edx, edx
mov dword [ebp - 0x23c], ebx
mov dword [ebp - 0x240], 0
mov word [ebp - 0x250], dx
cmp esi, dword [ebp - 0x298]
jne 0x425400
mov byte [ebp - 4], 0xc
lea ebx, [ebp - 0x298]
call fcn.00426bc0
xor ebx, ebx
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x298]
push eax
call fcn.0049ca60
add esp, 4
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x220], edi
jb 0x42556b
mov ecx, dword [ebp - 0x234]
push ecx
call fcn.0049ca60
add esp, 4
xor edx, edx
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], ebx
mov word [ebp - 0x234], dx
mov al, 1
jmp 0x4253d0
lea eax, [ebp - 0x29c]
push eax
lea ecx, [ebp - 0x2a8]
mov dword [ebp - 0x29c], ebx
call fcn.0049ccbf
mov byte [ebp - 4], 1
mov dword [ebp - method.std::bad_alloc.virtual_0], vtable.std::bad_alloc.0
mov byte [ebp - 4], bl
push 0x4de69c
lea ecx, [ebp - 0x2a8]
push ecx
call fcn.004a32cb
int3