Function at 0x10014180
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101927b6
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x101fd000]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x208
push 0
push eax
mov dword [ebp - 0x25c], esi
mov dword [ebp - 0x240], esi
call fcn.101695f0
mov edi, dword [ebp + 0xc]
add esp, 0xc
mov ecx, edi
cmp dword [edi + 0x14], 0xf
jbe 0x100141df
mov ecx, dword [edi]
mov eax, dword [edi + 0x10]
mov edx, eax
push 2
push 0x101da9fc
mov dword [ebp - 0x240], eax
call fcn.1000ca40
add esp, 8
test al, al
je 0x10014204
mov eax, 0x1a
jmp 0x1001422d
cmp dword [edi + 0x14], 0xf
jbe 0x1001420c
mov edi, dword [edi]
mov edx, dword [ebp - 0x240]
mov ecx, edi
push 2
push 0x101daa00
call fcn.1000ca40
add esp, 8
test al, al
je 0x10014461
xor eax, eax
push 0
push eax
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x1001443a
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.10015670
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x258]
call fcn.10015670
push 0
push 0
push 0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x258]
cmp dword [ebp - 0x244], 7
mov esi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
cmova eax, dword [ebp - 0x258]
push 0
push dword [ebp - 0x248]
push eax
push 0
push 0xfde9
call esi
mov edi, eax
mov dword [ebp - 0x234], 0
push ecx
xorps xmm0, xmm0
movq qword [ebp - 0x23c], xmm0
lea ecx, [edi + 1]
push ecx
lea ecx, [ebp - 0x23c]
call fcn.1000e640
cmp dword [ebp - 0x244], 7
lea eax, [ebp - 0x258]
push 0
cmova eax, dword [ebp - 0x258]
push 0
push edi
push dword [ebp - 0x23c]
push dword [ebp - 0x248]
push eax
push 0
push 0xfde9
call esi
mov eax, dword [ebp - 0x23c]
mov byte [eax + edi], 0
mov esi, dword [ebp - 0x25c]
xorps xmm0, xmm0
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x23c]
mov ecx, edx
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10014331
sub ecx, edi
push ecx
push edx
mov ecx, esi
call fcn.1000dcd0
mov edx, dword [ebp - 0x23c]
test edx, edx
je 0x1001439b
mov ecx, dword [ebp - 0x234]
mov eax, edx
sub ecx, edx
cmp ecx, 0x1000
jb 0x10014373
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100144a2
push ecx
push edx
call fcn.10165540
add esp, 8
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0
mov ecx, dword [ebp - 0x244]
cmp ecx, 7
jbe 0x100143db
mov edx, dword [ebp - 0x258]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100143d1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100144a2
push ecx
push edx
call fcn.10165540
add esp, 8
mov ecx, dword [ebp - 0x21c]
xor eax, eax
mov dword [ebp - 0x248], 0
mov dword [ebp - 0x244], 7
mov word [ebp - 0x258], ax
cmp ecx, 7
jbe 0x10014483
mov edx, dword [ebp - 0x230]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1001442e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100144a2
push ecx
push edx
call fcn.10165540
add esp, 8
jmp 0x10014483
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
jmp 0x10014483
xorps xmm0, xmm0
mov ecx, esi
push 0
movups xmmword [esi], xmm0
push 0x101daa4c
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.1000dcd0
mov eax, esi
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.1016550f
mov esp, ebp
pop ebp
ret 8
call fcn.1016cb5f
int3