Function at 0x1006ced0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f2ab4
mov eax, dword fs:[0]
push eax
sub esp, 0x3e4
mov eax, dword [0x1015f6c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
push 0x1a
lea eax, [ebp - 0x218]
mov dword [ebp - 0x264], 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x1006d053
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.10081350
add esp, 8
push 0xb
push str._alsoft.ini
lea ecx, [ebp - 0x248]
mov dword [ebp - 4], 0
call fcn.10020080
cmp dword [0x1015f088], 3
jl 0x1006cf83
cmp dword [ebp - 0x234], 0xf
lea eax, [ebp - 0x248]
cmova eax, dword [ebp - 0x248]
push eax
push str.Loading_config__s..._n
push dword [0x101647dc]
push 3
call fcn.10080dd0
add esp, 0x10
cmp dword [ebp - 0x234], 0xf
lea eax, [ebp - 0x248]
push 1
cmova eax, dword [ebp - 0x248]
lea ecx, [ebp - 0x338]
push 1
push eax
call fcn.100a8630
mov eax, dword [ebp - 0x338]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.al::ifstream.virtual_0], vtable.al::ifstream.0
mov eax, dword [ebp - 0x338]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x33c], eax
cmp dword [ebp - 0x2dc], 0
mov byte [ebp - 4], 1
je 0x1006cfea
lea eax, [ebp - 0x338]
push eax
call fcn.1006bdc0
add esp, 4
lea ecx, [ebp - 0x2c8]
call fcn.100a8730
lea eax, [ebp - 0x2c8]
mov byte [ebp - 4], 2
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.100bdb8b
mov ecx, dword [ebp - 0x234]
add esp, 4
mov dword [ebp - 4], 0xffffffff
cmp ecx, 0xf
jbe 0x1006d053
mov edx, dword [ebp - 0x248]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1006d049
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006d343
push ecx
push edx
call fcn.100beee5
add esp, 8
call fcn.1008d250
push eax
lea ecx, [ebp - 0x230]
call fcn.10013570
cmp dword [ebp - 0x220], 0
mov dword [ebp - 4], 3
je 0x1006d150
push 0xb
push str._alsoft.ini
lea ecx, [ebp - 0x230]
call fcn.10020080
cmp dword [0x1015f088], 3
jl 0x1006d0bd
cmp dword [ebp - 0x21c], 0xf
lea eax, [ebp - 0x230]
cmova eax, dword [ebp - 0x230]
push eax
push str.Loading_config__s..._n
push dword [0x101647dc]
push 3
call fcn.10080dd0
add esp, 0x10
cmp dword [ebp - 0x21c], 0xf
lea eax, [ebp - 0x230]
push 1
cmova eax, dword [ebp - 0x230]
lea ecx, [ebp - 0x338]
push 1
push eax
call fcn.100a8630
mov eax, dword [ebp - 0x338]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.al::ifstream.virtual_0], vtable.al::ifstream.0
mov eax, dword [ebp - 0x338]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x33c], eax
cmp dword [ebp - 0x2dc], 0
mov byte [ebp - 4], 4
je 0x1006d124
lea eax, [ebp - 0x338]
push eax
call fcn.1006bdc0
add esp, 4
lea ecx, [ebp - 0x2c8]
call fcn.100a8730
lea eax, [ebp - 0x2c8]
mov byte [ebp - 4], 5
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.100bdb8b
add esp, 4
mov byte [ebp - 4], 3
lea eax, [ebp - 0x280]
push str.ALSOFT_CONF
push eax
call fcn.100811a0
add esp, 8
cmp byte [ebp - 0x280], 0
mov byte [ebp - 4], 6
je 0x1006d2e8
cmp dword [0x1015f088], 3
jl 0x1006d206
cmp dword [ebp - 0x268], 7
lea eax, [ebp - 0x27c]
cmova eax, dword [ebp - 0x27c]
push eax
lea eax, [ebp - 0x260]
push eax
call fcn.10081350
add esp, 8
cmp dword [eax + 0x14], 0xf
mov byte [ebp - 4], 7
jbe 0x1006d1b2
mov eax, dword [eax]
push eax
push str.Loading_config__s..._n
push dword [0x101647dc]
push 3
call fcn.10080dd0
mov ecx, dword [ebp - 0x24c]
add esp, 0x10
mov byte [ebp - 4], 6
cmp ecx, 0xf
jbe 0x1006d206
mov edx, dword [ebp - 0x260]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1006d1fc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006d348
push ecx
push edx
call fcn.100beee5
add esp, 8
cmp dword [ebp - 0x268], 7
lea esi, [ebp - 0x27c]
lea ecx, [ebp - 0x380]
mov dword [ebp - 0x3f0], 0x10104080
cmova esi, dword [ebp - 0x27c]
call fcn.1006ae10
push 0
push 0x40
push 1
push esi
lea ecx, [ebp - 0x3f0]
mov byte [ebp - 4], 8
mov dword [ebp - 0x264], 1
call fcn.1006ab90
mov eax, dword [ebp - 0x3f0]
mov dword [ebp - 4], 6
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.al::ifstream.virtual_0], vtable.al::ifstream.0
mov eax, dword [ebp - 0x3f0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x3f4], eax
mov eax, dword [ebp - 0x3f0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.al::ifstream.virtual_0], vtable.al::ifstream.0
mov eax, dword [ebp - 0x3f0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x3f4], eax
cmp dword [ebp - 0x394], 0
mov byte [ebp - 4], 9
je 0x1006d2c0
lea eax, [ebp - 0x3f0]
push eax
call fcn.1006bdc0
add esp, 4
lea ecx, [ebp - 0x380]
call fcn.100a8730
lea eax, [ebp - 0x380]
mov byte [ebp - 4], 0xa
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.100bdb8b
add esp, 4
lea ecx, [ebp - 0x280]
call fcn.10030ca0
mov ecx, dword [ebp - 0x21c]
cmp ecx, 0xf
jbe 0x1006d329
mov edx, dword [ebp - 0x230]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1006d31f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006d34d
push ecx
push edx
call fcn.100beee5
add esp, 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.100bf2d0
mov esp, ebp
pop ebp
ret
call fcn.100c45bf
call fcn.100c45bf
call fcn.100c45bf
int3