Function at 0x1000fe14
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
push 0x80000301
push 0
push 0x104
push 1
mov ebx, 0x184
call fcn.1001dbd0
add esp, 0x10
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x1000fe67
push ebx
call fcn.1001b72e
add esp, 4
pop eax
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0
jne 0x1000fe7c
mov dword [ebp + 8], 3
cmp dword [ebp + 8], 1
jl 0x1000fe97
cmp dword [ebp + 8], 8
jg 0x1000fe97
mov eax, 1
jmp 0x1000fe9c
mov eax, 0
test eax, eax
je 0x1000ff5f
mov eax, dword [ebp + 8]
cmp eax, 1
jl 0x1000feb1
cmp eax, 9
jl 0x1000febe
push 9
call fcn.1001b722
add esp, 4
dec eax
call 0x1000fec4
pop ebx
add ebx, dword [eax*4 + 0x10074817]
jmp ebx
cmp dword [ebp + 8], 9
jne 0x1000ffa7
mov dword [ebp - 0x10], esp
push 0x104
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
nop
nop
cmp dword [ebp - 0x10], esp
je 0x1000ff90
push 6
call fcn.1001b722
add esp, 4
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
mov eax, 0
setg al
mov dword [ebp - 0xc], eax
jmp 0x10010081
cmp dword [ebp + 8], 0xa
jne 0x1000ffef
mov dword [ebp - 0x10], esp
push 0x104
push dword [ebp - 4]
xor eax, eax
call dword [0x10076434]
nop
nop
cmp dword [ebp - 0x10], esp
je 0x1000ffd8
push 6
call fcn.1001b722
add esp, 4
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
mov eax, 0
setg al
mov dword [ebp - 0xc], eax
jmp 0x10010081
cmp dword [ebp + 8], 0xb
jne 0x10010037
mov dword [ebp - 0x10], esp
push dword [ebp - 4]
push 0x104
xor eax, eax
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
nop
nop
cmp dword [ebp - 0x10], esp
je 0x10010020
push 6
call fcn.1001b722
add esp, 4
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
mov eax, 0
setg al
mov dword [ebp - 0xc], eax
jmp 0x10010081
cmp dword [ebp + 8], 0xc
jne 0x10010081
mov dword [ebp - 0x10], esp
push 0
push 0x20
push dword [ebp - 4]
push 0
xor eax, eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
nop
nop
cmp dword [ebp - 0x10], esp
je 0x10010072
push 6
call fcn.1001b722
add esp, 4
test eax, eax
je 0x10010081
mov dword [ebp - 0xc], 1
cmp dword [ebp - 0xc], 0
je 0x10010149
push 0x80000301
push 0
push 1
push OleUIBusyA
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x100100aa
mov eax, 0x10044333
push eax
push 2
mov ebx, 0x138
call fcn.1001e0b0
add esp, 0x1c
mov dword [ebp - 0x10], eax
push 0x10074e22
push dword [ebp - 0x10]
call fcn.1000193c
add esp, 8
cmp eax, 0
mov eax, 0
setne al
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x100100ee
push ebx
call fcn.1001b72e
add esp, 4
cmp dword [ebp - 0x14], 0
je 0x10010128
push 0x10074e22
push dword [ebp - 4]
mov ecx, 2
call fcn.100019d9
add esp, 8
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x10010124
push ebx
call fcn.1001b72e
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x10010144
push eax
mov ebx, eax
call fcn.100012c4
inc eax
push eax
call fcn.1001b71c
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x10010153
mov eax, 0x10044333
jmp 0x10010153
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x10010164
push ebx
call fcn.1001b72e
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 8