Function at 0x21018695
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x2106343a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x554
lea eax, [ebp - 0x530]
push eax
call fcn.21015bf9
test eax, eax
jne 0x210186ca
xor eax, eax
jmp 0x21018c6f
push 0
push 0x21072c58
call fcn.21003a70
test eax, eax
jne 0x210186ea
mov ecx, dword [0x2107ba74]
and ecx, 0x4000000
test ecx, ecx
je 0x21018702
push 1
lea edx, [ebp - 0x530]
push edx
call fcn.21011dc1
mov eax, 1
jmp 0x21018c6f
push 0
mov eax, dword [str.ProgramGroupVersion]
push eax
mov ecx, dword [ebp + 8]
call fcn.2103987d
mov dword [ebp - 0x220], eax
cmp dword [ebp - 0x220], 0x319
jne 0x2101872e
mov eax, 1
jmp 0x21018c6f
push 0
lea ecx, [ebp - 0x53c]
call fcn.2103e673
mov dword [ebp - 4], 0
mov dword [ebp - 0x224], 0
push 1
lea ecx, [ebp - 0x530]
push ecx
call fcn.210119d7
test eax, eax
jne 0x21018785
mov dword [ebp - 0x540], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x53c]
call fcn.2103e660
mov eax, dword [ebp - 0x540]
jmp 0x21018c6f
push 0x210
call fcn.21058728
add esp, 4
mov dword [ebp - 0x548], eax
mov byte [ebp - 4], 1
cmp dword [ebp - 0x548], 0
je 0x210187b8
mov ecx, dword [ebp - 0x548]
call fcn.21012190
mov dword [ebp - 0x55c], eax
jmp 0x210187c2
mov dword [ebp - 0x55c], 0
mov edx, dword [ebp - 0x55c]
mov dword [ebp - 0x544], edx
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x544]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x21018812
push str.could_not_create_CFileList
call fcn.2100df3d
mov dword [ebp - 0x54c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x53c]
call fcn.2103e660
mov eax, dword [ebp - 0x54c]
jmp 0x21018c6f
lea ecx, [ebp - 0x42c]
push ecx
push 0x21072c84
lea edx, [ebp - 0x530]
push edx
call fcn.21010b3d
push 1
push 1
lea eax, [ebp - 0x42c]
push eax
mov ecx, dword [ebp - 0x10]
call fcn.21012761
push 0x2107bf48
push 0x2717
push 0x104
lea ecx, [ebp - 0x42c]
push ecx
call fcn.2103fdd0
add esp, 0x10
lea edx, [ebp - 0x218]
push edx
lea eax, [ebp - 0x42c]
push eax
lea ecx, [ebp - 0x530]
push ecx
call fcn.21010b3d
push 0x21072c88
lea edx, [ebp - 0x218]
push edx
call fcn.21048fd0
add esp, 8
lea eax, [ebp - 0x114]
push eax
mov ecx, dword [str.fppread3.txt]
push ecx
call fcn.2101c5f0
push 0
push 0
push 0
push 0
push 0
push 1
push 0
lea edx, [ebp - 0x114]
push edx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x53c]
call fcn.2103e765
test eax, eax
jne 0x210188cc
jmp 0x21018bdc
lea ecx, [ebp - 0x218]
push ecx
mov ecx, dword [ebp - 0x10]
call fcn.210125cc
push 0x2107bf48
push 0x2928
push 0x104
lea edx, [ebp - 0x42c]
push edx
call fcn.2103fdd0
add esp, 0x10
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x42c]
push ecx
lea edx, [ebp - 0x530]
push edx
call fcn.21010b3d
push 0x21072c90
lea eax, [ebp - 0x218]
push eax
call fcn.21048fd0
add esp, 8
lea ecx, [ebp - 0x114]
push ecx
push 0x2107b7e0
call fcn.2101c5f0
push 0
push 0
push 0
push 0
push 0
push 1
push 0
lea edx, [ebp - 0x114]
push edx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x53c]
call fcn.2103e765
test eax, eax
jne 0x21018968
jmp 0x21018bdc
lea ecx, [ebp - 0x218]
push ecx
mov ecx, dword [ebp - 0x10]
call fcn.210125cc
push 0x104
lea edx, [ebp - 0x42c]
push edx
push 0x2757
mov eax, dword [0x2107bdc4]
push eax
call dword [sym.imp.USER32.dll_LoadStringA]
lea ecx, [ebp - 0x218]
push ecx
lea edx, [ebp - 0x42c]
push edx
lea eax, [ebp - 0x530]
push eax
call fcn.21010b3d
push 0x21072c98
lea ecx, [ebp - 0x218]
push ecx
call fcn.21048fd0
add esp, 8
lea edx, [ebp - 0x114]
push edx
mov eax, dword [str.fppe3.pdf]
push eax
call fcn.21010be3
push 0
lea ecx, [ebp - 0x114]
push ecx
call fcn.2101077f
test eax, eax
je 0x21018a16
push 0
push 0
push 0
push 0
push 0
push 1
push 0
lea edx, [ebp - 0x114]
push edx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x53c]
call fcn.2103e765
test eax, eax
jne 0x21018a16
jmp 0x21018bdc
lea ecx, [ebp - 0x218]
push ecx
mov ecx, dword [ebp - 0x10]
call fcn.210125cc
push 0x2107bf48
push 0x2756
push 0x104
lea edx, [ebp - 0x42c]
push edx
call fcn.2103fdd0
add esp, 0x10
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x42c]
push ecx
lea edx, [ebp - 0x530]
push edx
call fcn.21010b3d
push 0x21072ca0
lea eax, [ebp - 0x218]
push eax
call fcn.21048fd0
add esp, 8
lea ecx, [ebp - 0x114]
push ecx
mov edx, dword [0x2107b3f0]
push edx
call fcn.2101c5f0
mov byte [ebp - 0x328], 0
push 0x104
lea eax, [ebp - 0x328]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea ecx, [ebp - 0x328]
push ecx
push 0x21072ca8
lea edx, [ebp - 0x328]
push edx
call fcn.21010b3d
push 0
push 0
push 0
lea eax, [ebp - 0x328]
push eax
push str._explore1
push 1
push 0
lea ecx, [ebp - 0x114]
push ecx
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x53c]
call fcn.2103e765
test eax, eax
jne 0x21018aed
jmp 0x21018bdc
lea eax, [ebp - 0x218]
push eax
mov ecx, dword [ebp - 0x10]
call fcn.210125cc
push 0
lea ecx, [ebp - 0x21c]
push ecx
call fcn.2103f8a9
test eax, eax
jle 0x21018bc8
push 0x2107bf48
push 0x2718
push 0x104
lea edx, [ebp - 0x42c]
push edx
call fcn.2103fdd0
add esp, 0x10
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x42c]
push ecx
lea edx, [ebp - 0x530]
push edx
call fcn.21010b3d
push 0x21072cc4
lea eax, [ebp - 0x218]
push eax
call fcn.21048fd0
add esp, 8
lea ecx, [ebp - 0x114]
push ecx
mov edx, dword [str.fppinst3.exe]
push edx
call fcn.2101c5f0
lea eax, [ebp - 0x328]
push eax
mov ecx, dword [0x2107b3e8]
push ecx
call fcn.2101c5f0
push 0
push 0
push 3
lea edx, [ebp - 0x328]
push edx
push str._uninstall
push 1
push 0
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x53c]
call fcn.2103e765
test eax, eax
jne 0x21018bb9
jmp 0x21018bdc
lea edx, [ebp - 0x218]
push edx
mov ecx, dword [ebp - 0x10]
call fcn.210125cc
push 1
mov ecx, dword [ebp - 0x10]
call fcn.2101230d
mov dword [ebp - 0x224], 1
push 0x319
mov eax, dword [str.ProgramGroupVersion]
push eax
mov ecx, dword [ebp + 8]
call fcn.2103a772
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x554], ecx
mov edx, dword [ebp - 0x554]
mov dword [ebp - 0x550], edx
cmp dword [ebp - 0x550], 0
je 0x21018c41
mov ecx, dword [ebp - 0x550]
call fcn.210121b1
mov eax, 1
and eax, 1
test eax, eax
je 0x21018c33
mov ecx, dword [ebp - 0x550]
push ecx
call fcn.21058751
add esp, 4
mov edx, dword [ebp - 0x550]
mov dword [ebp - 0x560], edx
jmp 0x21018c4b
mov dword [ebp - 0x560], 0
mov eax, dword [ebp - 0x224]
mov dword [ebp - 0x558], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x53c]
call fcn.2103e660
mov eax, dword [ebp - 0x558]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4