Function at 0x1001aee0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006e206
mov eax, dword fs:[0]
push eax
sub esp, 0x25c
mov eax, dword [0x1008f180]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x208
push 0
push eax
mov dword [ebp - 0x24c], edi
call fcn.1004f4a0
xorps xmm0, xmm0
mov dword [ebp - 0x21c], 7
xor ecx, ecx
xor eax, eax
movups xmmword [ebp - 0x230], xmm0
add esp, 0xc
mov dword [ebp - 0x220], ecx
mov word [ebp - 0x230], ax
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
dec eax
cmp eax, 4
ja case.default.0x1001af5d
jmp dword [eax*4 + 0x1001b384]
xor ecx, ecx
push 0
push ecx
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
xorps xmm0, xmm0
test eax, eax
je 0x1001b358
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x238], 0
movups xmmword [ebp - 0x248], xmm0
mov dword [ebp - 0x234], 0
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1001afa7
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x248]
call fcn.10023040
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x248]
cmp dword [ebp - 0x234], 7
mov eax, dword [ebp - 0x238]
cmova ecx, dword [ebp - 0x248]
lea eax, [ecx + eax*2]
lea ecx, [ebp - 0x248]
cmova ecx, dword [ebp - 0x248]
push ecx
push eax
push ecx
mov ecx, edi
call fcn.100202b0
mov ecx, dword [ebp - 0x234]
cmp ecx, 7
jbe 0x1001b041
mov edx, dword [ebp - 0x248]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1001b037
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001b37c
push ecx
push edx
call fcn.1004d752
add esp, 8
mov ecx, dword [ebp - 0x21c]
xor eax, eax
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
cmp ecx, 7
jbe 0x1001b09e
mov edx, dword [ebp - 0x230]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1001b094
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001b37c
push ecx
push edx
call fcn.1004d752
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1004d713
mov esp, ebp
pop ebp
ret 8
mov ecx, 0x28
jmp case.default.0x1001af5d
lea ecx, [ebp - 0x268]
call fcn.100297d0
mov esi, eax
lea eax, [ebp - 0x230]
cmp eax, esi
je 0x1001b163
mov ecx, dword [ebp - 0x21c]
cmp ecx, 7
jbe 0x1001b122
mov edx, dword [ebp - 0x230]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1001b118
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001b37c
push ecx
push edx
call fcn.1004d752
add esp, 8
mov dword [ebp - 0x220], 0
xor eax, eax
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x230], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x220], xmm0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov word [esi], ax
mov ecx, dword [ebp - 0x254]
cmp ecx, 7
jbe 0x1001b1a3
mov edx, dword [ebp - 0x268]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1001b199
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001b37c
push ecx
push edx
call fcn.1004d752
add esp, 8
cmp dword [ebp - 0x21c], 7
lea ecx, [ebp - 0x230]
mov eax, dword [ebp - 0x220]
cmova ecx, dword [ebp - 0x230]
lea eax, [ecx + eax*2]
lea ecx, [ebp - 0x230]
cmova ecx, dword [ebp - 0x230]
push ecx
push eax
push ecx
mov ecx, edi
call fcn.100202b0
mov ecx, dword [ebp - 0x21c]
cmp ecx, 7
jbe 0x1001b09e
mov edx, dword [ebp - 0x230]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1001b094
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001b37c
jmp 0x1001b094
lea ecx, [ebp - 0x268]
call fcn.100296d0
mov esi, eax
lea eax, [ebp - 0x230]
cmp eax, esi
je 0x1001b163
mov ecx, dword [ebp - 0x21c]
cmp ecx, 7
jbe 0x1001b122
mov edx, dword [ebp - 0x230]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1001b118
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001b37c
jmp 0x1001b118
lea ecx, [ebp - 0x248]
call fcn.100295d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x248]
cmp dword [ebp - 0x234], 7
mov eax, dword [ebp - 0x238]
cmova ecx, dword [ebp - 0x248]
lea eax, [ecx + eax*2]
lea ecx, [ebp - 0x248]
cmova ecx, dword [ebp - 0x248]
push ecx
push eax
push ecx
mov ecx, edi
call fcn.100202b0
mov ecx, dword [ebp - 0x234]
cmp ecx, 7
jbe 0x1001b2fb
mov edx, dword [ebp - 0x248]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1001b2f1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001b37c
push ecx
push edx
call fcn.1004d752
add esp, 8
xor eax, eax
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
mov ecx, dword [ebp - 0x21c]
cmp ecx, 7
jbe 0x1001b09e
mov edx, dword [ebp - 0x230]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1001b094
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1001b094
jmp 0x1001b37c
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
jmp 0x1001b318
call fcn.1005260f
nop dword [eax]
scasd eax, dword es:[edi]
add dword [eax], edx
mov ebp, 0xc71001b0
mov al, 1
adc byte [edx], bl
mov dl, 1
adc byte [eax - 0x4e], bh
add dword [eax], edx
int3