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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1013fd41
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x10184f40]
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
mov ebx, ecx
mov dword [ebp - 0x234], ebx
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 0x244], 0
push 0
push eax
call fcn.1011a970
add esp, 0xc
lea eax, [ebp - 0x218]
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 - 0x23c], 0
mov dword [ebp - 0x238], 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 0x1010cbdb
mov eax, dword [ecx]
jmp 0x1010cbdd
mov eax, ecx
push 0x3e
push str.E45AF8F0FDCAE92AD4629AC4C4C8F53DCA26E8F9ECFCDA04FC63CAF9EDF1F2
mov byte [eax], 0
call fcn.1006f630
lea ecx, [ebp - 0x230]
call fcn.1010cef0
add esp, 0x18
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 0x10
jb 0x1010cc06
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x240]
call fcn.1007b170
mov edx, eax
mov esi, eax
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x1010cc16
lea edi, [ebp - 0x218]
sub edx, esi
add edi, 0xfffffffe
nop dword [eax]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x1010cc30
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 - 0x21c]
cmp eax, 0x10
jb 0x1010cc6b
inc eax
lea ecx, [ebp - 0x230]
push eax
push dword [ebp - 0x230]
call fcn.1006d640
lea ecx, [ebp - 0x218]
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 0x1010cc93
mov eax, dword [ecx]
jmp 0x1010cc95
mov eax, ecx
push 0x1a
push str.E45AFCEAFDFBE32ADD68CFFDEB
mov byte [eax], 0
call fcn.1006f630
lea ecx, [ebp - 0x230]
call fcn.1010cef0
add esp, 0x18
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 0x10
jb 0x1010ccbe
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x240]
call fcn.1007b170
mov edx, eax
mov esi, eax
nop
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x1010ccd0
lea edi, [ebp - 0x218]
sub edx, esi
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x1010cce6
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 - 0x21c]
cmp eax, 0x10
jb 0x1010cd21
inc eax
lea ecx, [ebp - 0x230]
push eax
push dword [ebp - 0x230]
call fcn.1006d640
xor eax, eax
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], 0
mov word [ebx], ax
cmp word [ebp - 0x218], ax
jne 0x1010cd41
xor ecx, ecx
jmp 0x1010cd5f
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1010cd50
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
mov ecx, ebx
push eax
call fcn.10073cf0
mov eax, dword [ebp - 0x23c]
test eax, eax
je 0x1010cd83
push 1
push eax
call fcn.101165c4
add esp, 8
mov eax, dword [ebp - 0x238]
test eax, eax
je 0x1010cd98
push 2
push eax
call fcn.101165c4
add esp, 8
mov eax, ebx
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.10116580
mov esp, ebp
pop ebp
ret