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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10140f57
mov eax, dword fs:[0]
push eax
sub esp, 0x258
mov eax, dword [0x10184f40]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x260], edx
mov ebx, ecx
push 0x208
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.1011a970
add esp, 0xc
lea eax, [ebp - 0x21c]
push 0
push 0x1c
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov dword [ebp - method.Sc_Convert.virtual_0], vtable.Sc_Convert.0
mov dword [ebp - 0x258], 0
mov dword [ebp - 0x254], 0
sub esp, 0x18
mov dword [ebp - 4], 0
mov ecx, esp
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 0x10
jb 0x1010c881
mov eax, dword [ecx]
jmp 0x1010c883
mov eax, ecx
push 0x3e
push str.E45AF8F0FDCAE92AD4629AC4C4C8F53DCA26E8F9ECFCDA04FC63CAF9EDF1F2
mov byte [eax], 0
call fcn.1006f630
lea ecx, [ebp - 0x234]
call fcn.1010cef0
add esp, 0x18
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 0x10
jb 0x1010c8ac
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x25c]
call fcn.1007b170
mov edx, eax
mov esi, eax
nop dword [eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x1010c8c0
lea edi, [ebp - 0x21c]
sub edx, esi
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x1010c8d6
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov byte [ebp - 4], al
mov eax, dword [ebp - 0x220]
cmp eax, 0x10
jb 0x1010c911
inc eax
lea ecx, [ebp - 0x234]
push eax
push dword [ebp - 0x234]
call fcn.1006d640
lea ecx, [ebp - 0x21c]
call fcn.1007a6e0
sub esp, 0x18
mov ecx, esp
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 0x10
jb 0x1010c939
mov eax, dword [ecx]
jmp 0x1010c93b
mov eax, ecx
push 0x16
push str.E45AEEF7F7F6EB39CA6DDF
mov byte [eax], 0
call fcn.1006f630
lea ecx, [ebp - 0x234]
call fcn.1010cef0
add esp, 0x18
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 0x10
jb 0x1010c964
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x25c]
call fcn.1007b170
mov edx, eax
mov esi, eax
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x1010c974
lea edi, [ebp - 0x21c]
sub edx, esi
add edi, 0xfffffffe
nop word [eax + eax]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x1010c990
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov byte [ebp - 4], al
mov eax, dword [ebp - 0x220]
cmp eax, 0x10
jb 0x1010c9cb
inc eax
lea ecx, [ebp - 0x234]
push eax
push dword [ebp - 0x234]
call fcn.1006d640
sub esp, 0x18
mov edx, esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
cmp dword [edx + 0x14], 0x10
jb 0x1010c9e8
mov eax, dword [edx]
jmp 0x1010c9ea
mov eax, edx
mov byte [eax], 0
cmp byte [ebx], 0
jne 0x1010c9f6
xor ecx, ecx
jmp 0x1010ca09
mov ecx, ebx
lea esi, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1010ca00
sub ecx, esi
push ecx
push ebx
mov ecx, edx
call fcn.1006f630
lea ecx, [ebp - 0x234]
call fcn.10079b30
add esp, 0x18
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 8
jb 0x1010ca2c
mov eax, dword [eax]
mov edx, eax
lea ecx, [ebp - 0x24c]
call fcn.10079ec0
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x220]
cmp eax, 8
jb 0x1010ca5b
inc eax
lea ecx, [ebp - 0x234]
push eax
push dword [ebp - 0x234]
call fcn.1006f8c0
xor eax, eax
mov dword [ebp - 0x220], 7
cmp dword [ebp - 0x238], 0x10
lea edx, [ebp - 0x24c]
push ecx
push dword [ebp - 0x260]
cmovae edx, dword [ebp - 0x24c]
lea ecx, [ebp - 0x21c]
mov dword [ebp - 0x224], 0
mov word [ebp - 0x234], ax
call fcn.1006e8a0
add esp, 8
neg eax
sbb esi, esi
mov eax, dword [ebp - 0x238]
neg esi
cmp eax, 0x10
jb 0x1010cac5
inc eax
lea ecx, [ebp - 0x24c]
push eax
push dword [ebp - 0x24c]
call fcn.1006d640
mov eax, dword [ebp - 0x258]
mov dword [ebp - 0x238], 0xf
mov dword [ebp - 0x23c], 0
mov byte [ebp - 0x24c], 0
test eax, eax
je 0x1010caf5
push 1
push eax
call fcn.101165c4
add esp, 8
mov eax, dword [ebp - 0x254]
test eax, eax
je 0x1010cb0a
push 2
push eax
call fcn.101165c4
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10116580
mov esp, ebp
pop ebp
ret