Function at 0x10066730
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10107640
mov eax, dword fs:[0]
push eax
mov eax, 0x3064
call fcn.10081560
mov eax, dword [0x1014857c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x800
lea eax, [ebp - 0x870]
push 0
push eax
call fcn.1008e2a0
add esp, 0xc
lea eax, [ebp - 0x870]
push 1
push 0x19
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x800
lea eax, [ebp - 0x1870]
push 0
push eax
call fcn.1008e2a0
mov esi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x870]
add esp, 0xc
push 0x1011ccec
push eax
lea eax, [ebp - 0x1870]
push eax
call esi
lea eax, [ebp - 0x1870]
push eax
call fcn.1000ad00
push 0x800
lea eax, [ebp - 0x2070]
push 0
push eax
call fcn.1008e2a0
lea eax, [ebp - 0x70]
push eax
call fcn.1004b6c0
push 0x1011ccb4
push eax
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
call fcn.10065af0
add esp, 0x20
cmp dword [eax + 0x14], 8
jb 0x10066803
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x870]
push eax
lea eax, [ebp - 0x2070]
push eax
call esi
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x1006684e
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10066844
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10066a25
push edx
push ecx
call fcn.10081109
add esp, 8
mov edx, dword [ebp - 0x5c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], 0xffffffff
cmp edx, 8
jb 0x100668a3
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10066899
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10066a2a
push edx
push ecx
call fcn.10081109
add esp, 8
lea eax, [ebp - 0x2070]
push eax
call fcn.1000ad00
push 0x800
lea eax, [ebp - 0x1070]
push 0
push eax
call fcn.1008e2a0
add esp, 0x10
lea eax, [ebp - 0x1070]
push 1
push 0x10
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x800
lea eax, [ebp - 0x2870]
push 0
push eax
call fcn.1008e2a0
add esp, 0xc
lea eax, [ebp - 0x1070]
push 0x1011ccec
push eax
lea eax, [ebp - 0x2870]
push eax
call esi
lea eax, [ebp - 0x2870]
push eax
call fcn.1000ad00
push 0x800
lea eax, [ebp - 0x3070]
push 0
push eax
call fcn.1008e2a0
lea eax, [ebp - 0x58]
push eax
call fcn.1004b6c0
push 0x1011ccb4
push eax
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 1
push eax
call fcn.10065af0
add esp, 0x20
cmp dword [eax + 0x14], 8
jb 0x1006694c
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x1070]
push eax
lea eax, [ebp - 0x3070]
push eax
call esi
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x10066997
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1006698d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10066a2f
push edx
push ecx
call fcn.10081109
add esp, 8
mov edx, dword [ebp - 0x44]
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov dword [ebp - 4], 0xffffffff
cmp edx, 8
jb 0x100669e8
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100669de
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10066a34
push edx
push ecx
call fcn.10081109
add esp, 8
xor eax, eax
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
lea eax, [ebp - 0x3070]
push eax
mov dword [ebp - 0x44], 7
call fcn.1000ad00
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100810f8
mov esp, ebp
pop ebp
ret
call fcn.100ab4b2
call fcn.100ab4b2
call fcn.100ab4b2
call fcn.100ab4b2
int3