Function at 0x10016750
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x248
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], 0x10019980
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
lea edi, [ebp - 0x254]
push 0x208
push 0
push edi
call fcn.10028070
sub esp, 8
mov dword [esp + 0x10], edi
movaps xmm0, xmmword [0x1004b110]
movups xmmword [esp], xmm0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x10016960
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x24], 7
mov dword [ebp - 0x28], 0
mov word [ebp - 0x38], 0
push edi
call fcn.10035098
add esp, 4
mov esi, eax
cmp eax, 7
jbe 0x100167f9
sub esp, 0xc
mov al, byte [ebp - 0x20]
mov byte [esp + 4], al
mov dword [esp + 8], edi
mov dword [esp], esi
lea ecx, [ebp - 0x38]
call fcn.10017230
jmp 0x10016815
mov dword [ebp - 0x28], esi
mov eax, esi
add eax, esi
lea ecx, [ebp - 0x38]
push eax
push edi
push ecx
call fcn.10027af0
add esp, 0xc
mov word [ebp + esi*2 - 0x38], 0
mov ecx, dword [ebp - 0x28]
mov esi, dword [ebp - 0x24]
mov eax, esi
sub eax, ecx
cmp eax, 0x16
jae 0x10016856
mov dword [ebp - 0x10], 0
sub esp, 0x10
mov al, byte [ebp - 0x20]
mov byte [esp + 4], al
mov dword [esp + 0xc], 0x16
mov dword [esp + 8], str.PerfmonBarconfig.xml
mov dword [esp], 0x16
lea ecx, [ebp - 0x38]
call fcn.10019790
jmp 0x10016893
lea eax, [ebp - 0x38]
lea edx, [ecx + 0x16]
mov dword [ebp - 0x28], edx
mov edx, eax
cmp esi, 7
jbe 0x10016869
mov edx, dword [ebp - 0x38]
movups xmm0, xmmword [0x10054f96]
movups xmmword [edx + ecx*2 + 0x1c], xmm0
movups xmm0, xmmword [0x10054f8a]
movups xmmword [edx + ecx*2 + 0x10], xmm0
movups xmm0, xmmword [str.PerfmonBarconfig.xml]
movups xmmword [edx + ecx*2], xmm0
mov word [edx + ecx*2 + 0x2c], 0
mov esi, dword [ebp + 8]
movzx edi, word [eax]
movsd xmm0, qword [eax + 2]
movsd xmm1, qword [eax + 8]
movsd qword [ebp - 0x46], xmm1
movsd qword [ebp - 0x4c], xmm0
mov ebx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], 0
mov ecx, dword [esi + 0x14]
cmp ecx, 8
jb 0x10016908
mov dword [ebp - 0x3c], edx
mov eax, dword [esi]
lea edx, [ecx + ecx]
add edx, 2
cmp edx, 0x1000
jb 0x100168fb
mov edx, eax
add edx, 0xfffffffc
mov eax, dword [eax - 4]
sub edx, eax
cmp edx, 0x20
jae 0x10016975
add ecx, ecx
add ecx, 0x25
mov edx, ecx
push edx
push eax
call fcn.100224e8
add esp, 8
mov edx, dword [ebp - 0x3c]
mov word [esi], di
movsd xmm0, qword [ebp - 0x4c]
movsd xmm1, qword [ebp - 0x46]
movsd qword [esi + 8], xmm1
movsd qword [esi + 2], xmm0
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], edx
mov ecx, dword [ebp - 0x24]
cmp ecx, 8
jb 0x1001695e
mov eax, dword [ebp - 0x38]
lea edx, [ecx + ecx]
add edx, 2
cmp edx, 0x1000
jb 0x10016954
mov edx, eax
add edx, 0xfffffffc
mov eax, dword [eax - 4]
sub edx, eax
cmp edx, 0x20
jae 0x10016975
add ecx, ecx
add ecx, 0x25
mov edx, ecx
push edx
push eax
call fcn.100224e8
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 0x18]
mov dword fs:[0], ecx
add esp, 0x248
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.10031b1d
nop word [eax + eax]
push ebp
sub esp, 0x14
add ebp, 0xc
mov ecx, dword [ebp - 0x24]
cmp ecx, 8
jb 0x100169c0
mov eax, dword [ebp - 0x38]
lea edx, [ecx + ecx]
add edx, 2
cmp edx, 0x1000
jb 0x100169b6
mov edx, eax
add edx, 0xfffffffc
mov eax, dword [eax - 4]
sub edx, eax
cmp edx, 0x20
jae 0x100169c5
add ecx, ecx
add ecx, 0x25
mov edx, ecx
push edx
push eax
call fcn.100224e8
add esp, 8
add esp, 0x14
pop ebp
ret
call fcn.10031b1d
int3