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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100dd9db
mov eax, dword fs:[0]
push eax
sub esp, 0x29c
mov eax, dword [0x1010e07c]
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 0x1000a1f4
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x234]
call fcn.10006a20
mov dword [ebp - 4], ebx
push 0xf
push str.Maxthon3Users
lea ecx, [ebp - 0x234]
call fcn.1000cbb0
push 0x24
mov dword [ebp - 0x294], ebx
call fcn.100b3d5d
add esp, 4
cmp eax, ebx
je 0x1000a4ec
mov dword [eax], eax
mov dword [ebp - 0x298], eax
mov dword [eax + 4], eax
mov byte [ebp - 4], 3
push str..
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x250]
push ecx
call fcn.1000f300
add esp, 0xc
mov byte [ebp - 4], 4
lea ebx, [ebp - 0x298]
mov ecx, eax
call fcn.10008590
test al, al
sete byte [ebp - 0x289]
mov byte [ebp - 4], 3
mov edi, 8
cmp dword [ebp - 0x23c], edi
jb 0x1000a2a7
mov edx, dword [ebp - 0x250]
push edx
call fcn.100b2678
add esp, 4
xor eax, eax
mov ebx, 7
mov dword [ebp - 0x23c], ebx
mov dword [ebp - 0x240], 0
mov word [ebp - 0x250], ax
cmp byte [ebp - 0x289], al
je 0x1000a345
mov byte [ebp - 4], 5
lea ebx, [ebp - 0x298]
call fcn.1000e130
xor ebx, ebx
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x298]
push ecx
call fcn.100b2678
add esp, 4
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x220], edi
jb 0x1000a30e
mov edx, dword [ebp - 0x234]
push edx
call fcn.100b2678
add esp, 4
xor eax, eax
mov word [ebp - 0x234], ax
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], ebx
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.100b2b2c
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x298]
mov esi, dword [eax]
cmp esi, eax
je 0x1000a48b
jmp 0x1000a360
push 0x100ead34
lea ecx, [ebp - 0x234]
push ecx
lea edx, [ebp - 0x288]
push edx
call fcn.1000f300
add esp, 0xc
mov byte [ebp - 4], 6
lea ecx, [esi + 8]
push ecx
push eax
lea eax, [ebp - 0x26c]
push eax
call fcn.1000f3e0
add esp, 0xc
mov byte [ebp - 4], bl
push str.AddonsDataMxAddonMiscconfig.ini
push eax
lea ecx, [ebp - 0x250]
push ecx
call fcn.1000f460
add esp, 0xc
mov byte [ebp - 4], 9
cmp dword [ebp - 0x258], edi
jb 0x1000a3c6
mov edx, dword [ebp - 0x26c]
push edx
call fcn.100b2678
add esp, 4
xor eax, eax
xor ecx, ecx
mov dword [ebp - 0x258], ebx
mov dword [ebp - 0x25c], eax
mov word [ebp - 0x26c], cx
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x274], edi
jb 0x1000a3fa
mov edx, dword [ebp - 0x288]
push edx
call fcn.100b2678
add esp, 4
xor eax, eax
push 0x101135a0
sub esp, 0x1c
xor ecx, ecx
mov dword [ebp - 0x29c], esp
mov word [ebp - 0x288], cx
mov ecx, esp
push 0xffffffffffffffff
mov dword [ecx + 0x10], eax
push eax
mov dword [ebp - 0x278], eax
lea eax, [ebp - 0x250]
xor edx, edx
mov dword [ecx + 0x14], ebx
push eax
mov dword [ebp - 0x274], ebx
mov word [ecx], dx
call fcn.10005f30
mov byte [ebp - 4], 0xb
mov byte [ebp - 4], 0xa
call fcn.1000a530
add esp, 0x20
mov byte [ebp - 4], 3
cmp dword [ebp - 0x23c], edi
jb 0x1000a464
mov ecx, dword [ebp - 0x250]
push ecx
call fcn.100b2678
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 0x1000a360
mov byte [ebp - 4], 0xc
lea ebx, [ebp - 0x298]
call fcn.1000e130
xor ebx, ebx
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x298]
push eax
call fcn.100b2678
add esp, 4
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x220], edi
jb 0x1000a4cc
mov ecx, dword [ebp - 0x234]
push ecx
call fcn.100b2678
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 0x1000a329
lea eax, [ebp - 0x29c]
push eax
lea ecx, [ebp - 0x2a8]
mov dword [ebp - 0x29c], ebx
call fcn.100b3bc1
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 0x10101a68
lea ecx, [ebp - 0x2a8]
push ecx
call fcn.100b38d7
int3