Function at 0x100fdf30
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x254]
sub esp, 0x254
push 0xffffffffffffffff
push 0x1014f4b2
mov eax, dword fs:[0]
push eax
sub esp, 0x190
mov eax, dword [0x1024b600]
xor eax, ebp
mov dword [ebp + 0x250], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
push 0x1a
lea eax, [ebp + 0x48]
mov dword [ebp - 0x10], 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x100fe091
lea eax, [ebp + 0x48]
push eax
lea eax, [ebp + 0x18]
push eax
call fcn.1010bc10
add esp, 8
push 0xb
push str._alsoft.ini
lea ecx, [ebp + 0x18]
mov dword [ebp - 4], 0
call fcn.100051f2
cmp dword [0x1024c0b8], 3
jl 0x100fdfd9
cmp dword [ebp + 0x2c], 0xf
lea eax, [ebp + 0x18]
cmova eax, dword [ebp + 0x18]
push eax
push str.Loading_config__s..._n
push dword [0x10252af0]
push 3
call fcn.100de910
add esp, 0x10
cmp dword [ebp + 0x2c], 0xf
lea eax, [ebp + 0x18]
push 1
cmova eax, dword [ebp + 0x18]
lea ecx, [ebp - 0xe4]
push 1
push eax
call fcn.10135d50
mov eax, dword [ebp - 0xe4]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xe4], vtable.al::ifstream.0
mov eax, dword [ebp - 0xe4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0xe8], eax
cmp dword [ebp - 0x88], 0
mov byte [ebp - 4], 1
je 0x100fe037
lea eax, [ebp - 0xe4]
push eax
call fcn.100fce10
add esp, 4
lea ecx, [ebp - 0x74]
call fcn.10135e50
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 2
push eax
mov dword [ebp - 0x74], vtable.std::ios_base.0
call fcn.1006a365
mov ecx, dword [ebp + 0x2c]
add esp, 4
mov dword [ebp - 4], 0xffffffff
cmp ecx, 0xf
jbe 0x100fe091
mov edx, dword [ebp + 0x18]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100fe087
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100fe333
push ecx
push edx
call fcn.1006dd11
add esp, 8
call fcn.10117490
push eax
lea ecx, [ebp + 0x30]
call fcn.100052af
cmp dword [ebp + 0x40], 0
mov dword [ebp - 4], 3
je 0x100fe16a
push 0xb
push str._alsoft.ini
lea ecx, [ebp + 0x30]
call fcn.100051f2
cmp dword [0x1024c0b8], 3
jl 0x100fe0e9
cmp dword [ebp + 0x44], 0xf
lea eax, [ebp + 0x30]
cmova eax, dword [ebp + 0x30]
push eax
push str.Loading_config__s..._n
push dword [0x10252af0]
push 3
call fcn.100de910
add esp, 0x10
cmp dword [ebp + 0x44], 0xf
lea eax, [ebp + 0x30]
push 1
cmova eax, dword [ebp + 0x30]
lea ecx, [ebp - 0xe4]
push 1
push eax
call fcn.10135d50
mov eax, dword [ebp - 0xe4]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xe4], vtable.al::ifstream.0
mov eax, dword [ebp - 0xe4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0xe8], eax
cmp dword [ebp - 0x88], 0
mov byte [ebp - 4], 4
je 0x100fe147
lea eax, [ebp - 0xe4]
push eax
call fcn.100fce10
add esp, 4
lea ecx, [ebp - 0x74]
call fcn.10135e50
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 5
push eax
mov dword [ebp - 0x74], vtable.std::ios_base.0
call fcn.1006a365
add esp, 4
mov byte [ebp - 4], 3
lea eax, [ebp - 0x2c]
push str.ALSOFT_CONF
push eax
call fcn.1010ba60
add esp, 8
cmp byte [ebp - 0x2c], 0
mov byte [ebp - 4], 6
je 0x100fe2da
cmp dword [0x1024c0b8], 3
jl 0x100fe204
cmp dword [ebp - 0x14], 7
lea eax, [ebp - 0x28]
cmova eax, dword [ebp - 0x28]
push eax
lea eax, [ebp]
push eax
call fcn.1010bc10
add esp, 8
cmp dword [eax + 0x14], 0xf
mov byte [ebp - 4], 7
jbe 0x100fe1b6
mov eax, dword [eax]
push eax
push str.Loading_config__s..._n
push dword [0x10252af0]
push 3
call fcn.100de910
mov ecx, dword [ebp + 0x14]
add esp, 0x10
mov byte [ebp - 4], 6
cmp ecx, 0xf
jbe 0x100fe204
mov edx, dword [ebp]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100fe1fa
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100fe338
push ecx
push edx
call fcn.1006dd11
add esp, 8
cmp dword [ebp - 0x14], 7
lea esi, [ebp - 0x28]
lea ecx, [ebp - 0x12c]
mov dword [ebp - 0x19c], 0x10206d4c
cmova esi, dword [ebp - 0x28]
call fcn.1000571f
push 0
push 0x40
push 1
push esi
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], 8
mov dword [ebp - 0x10], 1
call fcn.100fc1c0
mov eax, dword [ebp - 0x19c]
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 - 0x19c]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x1a0], eax
mov eax, dword [ebp - 0x19c]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.al::ifstream.virtual_0], vtable.al::ifstream.0
mov eax, dword [ebp - 0x19c]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x1a0], eax
cmp dword [ebp - 0x140], 0
mov byte [ebp - 4], 9
je 0x100fe2b2
lea eax, [ebp - 0x19c]
push eax
call fcn.100fce10
add esp, 4
lea ecx, [ebp - 0x12c]
call fcn.10135e50
lea eax, [ebp - 0x12c]
mov byte [ebp - 4], 0xa
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.1006a365
add esp, 4
lea ecx, [ebp - 0x2c]
call fcn.100d5240
mov ecx, dword [ebp + 0x44]
cmp ecx, 0xf
jbe 0x100fe312
mov edx, dword [ebp + 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100fe308
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100fe33d
push ecx
push edx
call fcn.1006dd11
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp + 0x250]
xor ecx, ebp
call fcn.1006d7ba
lea esp, [ebp + 0x254]
pop ebp
ret
call fcn.100735b5
call fcn.100735b5
call fcn.100735b5
int3