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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c163b
mov eax, dword fs:[0]
push eax
sub esp, 0x29c
mov eax, dword [0x100eb6ac]
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 0x10025364
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x218]
lea esi, [ebp - 0x234]
call fcn.10019760
mov dword [ebp - 4], ebx
push 0xf
mov eax, str.Maxthon3Users
mov ecx, esi
call fcn.10016590
push 0x24
mov dword [ebp - 0x294], ebx
call fcn.1009ddc4
add esp, 4
cmp eax, ebx
je 0x1002564b
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.1001d7f0
add esp, 0xc
mov byte [ebp - 4], 4
lea ebx, [ebp - 0x298]
mov ecx, eax
call fcn.10023930
test al, al
sete byte [ebp - 0x289]
mov byte [ebp - 4], 3
mov edi, 8
cmp dword [ebp - 0x23c], edi
jb 0x1002540e
mov ecx, dword [ebp - 0x250]
push ecx
call fcn.1009c0c0
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 0x100254ac
mov byte [ebp - 4], 5
lea ebx, [ebp - 0x298]
call fcn.10026c00
xor ebx, ebx
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x298]
push eax
call fcn.1009c0c0
add esp, 4
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x220], edi
jb 0x10025475
mov ecx, dword [ebp - 0x234]
push ecx
call fcn.1009c0c0
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.1009c0cb
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x298]
mov esi, dword [eax]
cmp esi, eax
je 0x100255ea
lea esp, [esp]
push 0x100cde64
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x288]
push ecx
call fcn.1001d7f0
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.1001d960
mov byte [ebp - 4], bl
push str.AddonsDataMxAddonMiscconfig.ini
push eax
lea eax, [ebp - 0x250]
push eax
call fcn.1001d8d0
add esp, 0x14
mov byte [ebp - 4], 9
cmp dword [ebp - 0x258], edi
jb 0x10025524
mov ecx, dword [ebp - 0x26c]
push ecx
call fcn.1009c0c0
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 0x10025558
mov eax, dword [ebp - 0x288]
push eax
call fcn.1009c0c0
add esp, 4
xor eax, eax
push 0x100f0eb0
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.100166c0
mov byte [ebp - 4], 0xb
mov byte [ebp - 4], 0xa
call fcn.10025690
add esp, 0x20
mov byte [ebp - 4], 3
cmp dword [ebp - 0x23c], edi
jb 0x100255c3
mov ecx, dword [ebp - 0x250]
push ecx
call fcn.1009c0c0
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 0x100254c0
mov byte [ebp - 4], 0xc
lea ebx, [ebp - 0x298]
call fcn.10026c00
xor ebx, ebx
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x298]
push eax
call fcn.1009c0c0
add esp, 4
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x220], edi
jb 0x1002562b
mov ecx, dword [ebp - 0x234]
push ecx
call fcn.1009c0c0
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 0x10025490
lea eax, [ebp - 0x29c]
push eax
lea ecx, [ebp - 0x2a8]
mov dword [ebp - 0x29c], ebx
call fcn.1009c2ff
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 0x100de544
lea ecx, [ebp - 0x2a8]
push ecx
call fcn.100a1191
int3