Function at 0x100c0f4
Capabilities:
Get common file path

Disassembly:
mov eax, 0x1032256
call fcn.0102edd8
sub esp, 0x1c
push esi
lea ecx, [ebp - 0x10]
call sub.MFC42u.DLL_CString::CString_3
and dword [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call sub.MFC42u.DLL_CString::CString_3
mov esi, 0x104
push esi
push esi
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call sub.MFC42u.DLL_CString::GetBuffer
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
jne 0x100c150
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], al
call sub.MFC42u.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42u.DLL_CString::CString
jmp 0x100c2cc
push ebx
push edi
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42u.DLL_CString::ReleaseBuffer
push 0xc404
lea ecx, [ebp - 0x1c]
call sub.MFC42u.DLL_CString::LoadStringW
push 0x10021cc
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x28]
push eax
call sub.MFC42u.DLL_operator
lea ecx, [ebp - 0x1c]
push ecx
push eax
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 2
call sub.MFC42u.DLL_operator_1
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call sub.MFC42u.DLL_CString::operator
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
call sub.MFC42u.DLL_CString::CString
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call sub.MFC42u.DLL_CString::CString
lea ecx, [ebp - 0x18]
call sub.MFC42u.DLL_CString::CString_3
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 4
call sub.MFC42u.DLL_CString::CString_3
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 5
call sub.MFC42u.DLL_CString::CString_3
push 0xc406
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 6
call sub.MFC42u.DLL_CString::LoadStringW
push 0x753b
lea ecx, [ebp - 0x14]
call sub.MFC42u.DLL_CString::LoadStringW
mov edi, 0x80000001
push edi
push dword [ebp - 0x14]
push 0
push dword [ebp - 0x18]
call fcn.0102aec1
lea ecx, [ebp - 0x20]
call sub.MFC42u.DLL_CString::CString_3
push 0x79e2
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 7
call sub.MFC42u.DLL_CString::LoadStringW
push 0xc418
lea ecx, [ebp - 0x24]
call sub.MFC42u.DLL_CString::LoadStringW
push dword [ebp - 0x14]
lea eax, [ebp - 0x18]
push 0xc405
push eax
call sub.MFC42u.DLL_AfxFormatString1
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x28]
push eax
call sub.MFC42u.DLL_operator_1
mov byte [ebp - 4], 8
mov eax, dword [eax]
mov ebx, dword [ebp - 0x18]
push edi
push eax
push esi
push esi
lea ecx, [ebp - 0x20]
call sub.MFC42u.DLL_CString::GetBuffer
push eax
push 0x1001e40
push ebx
call fcn.0102ad38
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 7
call sub.MFC42u.DLL_CString::CString
push 0xffffffffffffffff
lea ecx, [ebp - 0x20]
call sub.MFC42u.DLL_CString::ReleaseBuffer
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 6
call sub.MFC42u.DLL_CString::CString
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 5
call sub.MFC42u.DLL_CString::CString
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 4
call sub.MFC42u.DLL_CString::CString
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call sub.MFC42u.DLL_CString::CString
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0
call sub.MFC42u.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42u.DLL_CString::CString
pop edi
pop ebx
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret