Function at 0x4171fa
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x437d32
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x22c
push edi
mov dword [ebp - 0x230], ecx
mov eax, dword [ebp - 0x230]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x60]
mov dword [eax + 0x89dc], edx
mov eax, dword [ebp + 8]
add eax, 0xc5c
push eax
mov ecx, dword [ebp - 0x230]
add ecx, 0x899c
call sub.MFC42.DLL_CString::operator_2
mov ecx, dword [ebp + 8]
add ecx, 0xc5c
mov dword [ebp - 0x114], ecx
push 0x481e64
mov edx, dword [ebp + 8]
add edx, 0xc5c
push edx
call dword [sym.imp.MSVCRT.dll_strtok]
add esp, 8
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x21c], 0
je 0x4172aa
mov eax, dword [ebp - 0x21c]
push eax
mov ecx, 0x4a3d10
call sub.MFC42.DLL_CStringList::AddTail
push 0x481e68
push 0
call dword [sym.imp.MSVCRT.dll_strtok]
add esp, 8
mov dword [ebp - 0x21c], eax
jmp 0x417278
mov ecx, dword [ebp - 0x230]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x414]
mov dword [ecx + 0x89b4], eax
mov ecx, dword [ebp - 0x230]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x418]
mov dword [ecx + 0x89b8], eax
mov ecx, dword [ebp - 0x230]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x420]
mov dword [ecx + 0x89bc], eax
mov ecx, dword [ebp + 8]
add ecx, 0x68
push ecx
mov ecx, dword [ebp - 0x230]
add ecx, 0x89c0
call sub.MFC42.DLL_CString::operator_2
mov edx, dword [ebp + 8]
add edx, 0x16c
push edx
mov ecx, dword [ebp - 0x230]
add ecx, 0x89c4
call sub.MFC42.DLL_CString::operator_2
mov eax, dword [ebp + 8]
add eax, 0x1ac
push eax
mov ecx, dword [ebp - 0x230]
add ecx, 0x89c8
call sub.MFC42.DLL_CString::operator_2
mov ecx, dword [ebp + 8]
add ecx, 0x2b0
push ecx
mov ecx, dword [ebp - 0x230]
add ecx, 0x89cc
call sub.MFC42.DLL_CString::operator_2
mov edx, dword [ebp + 8]
cmp dword [edx + 0x420], 0
je 0x417451
push 0x49f5b8
mov ecx, dword [ebp - 0x230]
add ecx, 0x89c4
call sub.MFC42.DLL_CString::operator_2
push 0x49f5bc
mov ecx, dword [ebp - 0x230]
add ecx, 0x89c8
call sub.MFC42.DLL_CString::operator_2
mov dword [ebp - 0x220], 0
jmp 0x4173a8
mov eax, dword [ebp - 0x220]
add eax, 1
mov dword [ebp - 0x220], eax
cmp dword [ebp - 0x220], 0xc8
jge 0x417451
mov ecx, dword [ebp - 0x220]
imul ecx, ecx, 0x18
cmp dword [ecx + 0x46bf28], 2
jne 0x417403
mov edx, dword [ebp - 0x220]
imul edx, edx, 0x18
add edx, 0x46bf18
push edx
mov ecx, dword [ebp - 0x230]
add ecx, 0x89c4
call fcn.0043549e
push 0x481e6c
mov ecx, dword [ebp - 0x230]
add ecx, 0x89c4
call fcn.0043549e
jmp 0x41744c
mov eax, dword [ebp - 0x220]
imul eax, eax, 0x18
cmp dword [eax + 0x46bf28], 3
jne 0x41744c
mov ecx, dword [ebp - 0x220]
imul ecx, ecx, 0x18
add ecx, 0x46bf18
push ecx
mov ecx, dword [ebp - 0x230]
add ecx, 0x89c8
call fcn.0043549e
push 0x481e70
mov ecx, dword [ebp - 0x230]
add ecx, 0x89c8
call fcn.0043549e
jmp 0x417399
mov edx, dword [ebp - 0x230]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x40c]
mov dword [edx + 0x89fc], ecx
mov edx, dword [ebp + 8]
cmp dword [edx + 0x40c], 0
je 0x4174a7
mov eax, dword [ebp + 8]
add eax, 0x3b4
push eax
mov ecx, dword [ebp - 0x230]
add ecx, 0x8a00
call sub.MFC42.DLL_CString::operator_2
mov ecx, dword [ebp + 8]
add ecx, 0x3d4
push ecx
mov ecx, dword [ebp - 0x230]
add ecx, 0x8a04
call sub.MFC42.DLL_CString::operator_2
mov edx, dword [ebp - 0x230]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x22f4]
mov dword [edx + 0x8a08], ecx
mov edx, dword [ebp + 8]
cmp dword [edx + 0x22f4], 0
je 0x4174fd
mov eax, dword [ebp + 8]
add eax, 0x22b4
push eax
mov ecx, dword [ebp - 0x230]
add ecx, 0x8a0c
call sub.MFC42.DLL_CString::operator_2
mov ecx, dword [ebp + 8]
add ecx, 0x22d4
push ecx
mov ecx, dword [ebp - 0x230]
add ecx, 0x8a10
call sub.MFC42.DLL_CString::operator_2
push 0x481e74
mov edx, dword [ebp + 8]
add edx, 0x43c
push edx
call dword [sym.imp.MSVCRT.dll_strtok]
add esp, 8
mov dword [ebp - 0x21c], eax
mov ecx, 0x4a3dd0
call sub.MFC42.DLL_CStringList::RemoveAll
mov ecx, 0x4a3db0
call sub.MFC42.DLL_CStringList::RemoveAll
cmp dword [ebp - 0x21c], 0
je 0x4175a2
mov eax, dword [ebp - 0x21c]
push eax
mov ecx, dword [ebp - 0x230]
add ecx, 0x8910
call sub.MFC42.DLL_CStringList::AddTail
mov ecx, dword [ebp - 0x21c]
push ecx
mov ecx, 0x4a3dd0
call sub.MFC42.DLL_CStringList::AddTail
mov edx, dword [ebp - 0x21c]
push edx
mov ecx, 0x4a3db0
call sub.MFC42.DLL_CStringList::AddTail
mov eax, dword [ebp - 0x21c]
push eax
mov ecx, dword [ebp - 0x230]
add ecx, 0x892c
call sub.MFC42.DLL_CStringList::AddTail
push 0x481e78
push 0
call dword [sym.imp.MSVCRT.dll_strtok]
add esp, 8
mov dword [ebp - 0x21c], eax
jmp 0x41752f
mov ecx, dword [ebp - 0x230]
mov edx, dword [0x494384]
mov dword [ecx + 0x89a4], edx
mov eax, dword [ebp - 0x230]
mov ecx, dword [0x494380]
mov dword [eax + 0x89a0], ecx
mov edx, dword [ebp - 0x230]
mov eax, dword [ebp - 0x230]
mov ecx, dword [eax + 0x89a0]
mov dword [edx + 0x89a8], ecx
mov edx, dword [ebp - 0x230]
cmp dword [edx + 0x89ac], 0
je 0x41760e
mov eax, dword [ebp - 0x230]
mov ecx, dword [eax + 0x89ac]
mov dword [ebp - 0x224], ecx
mov edx, dword [ebp - 0x224]
push edx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, dword [ebp - 0x230]
mov ecx, dword [eax + 0x89a0]
shl ecx, 2
push ecx
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [ebp - 0x228], eax
mov edx, dword [ebp - 0x230]
mov eax, dword [ebp - 0x228]
mov dword [edx + 0x89ac], eax
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov ecx, dword [ebp - 0x230]
mov dword [ecx + 0x89b0], eax
mov edx, dword [ebp - 0x230]
mov dword [edx + 0x89d0], 0x989680
mov eax, dword [ebp - 0x230]
mov dword [eax + 0x89d4], 0
push 0x2314
push 0
mov ecx, dword [ebp - 0x230]
add ecx, 0x23b4
push ecx
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0x2314
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x230]
add eax, 0x23b4
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov ecx, 0x4a19f8
call fcn.00418a50
push 0x2314
mov ecx, dword [ebp + 8]
push ecx
push 0x4a19f8
call sub.MSVCRT.dll_memcpy
add esp, 0xc
push 0x481e7c
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edx, dword [ebp - 0x230]
mov dword [edx + 0x89e8], eax
mov byte [ebp - 0x218], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x217]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0x110], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x10f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
cmp dword [0x4966a8], 0
je 0x417759
push 0x49f5c0
push 0x481e8c
mov ecx, 0x4a19e4
call sub.MFC42.DLL_CString::Replace
mov eax, dword [0x4a19e4]
push eax
push str._sAppDataLocalTemp_
mov ecx, dword [ebp - 0x230]
add ecx, 0x89ec
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
jmp 0x417783
lea edx, [ebp - 0x218]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [ebp - 0x218]
push eax
mov ecx, dword [ebp - 0x230]
add ecx, 0x89ec
call sub.MFC42.DLL_CString::operator_2
push 0x481ea8
lea ecx, [ebp - 0x22c]
call sub.MFC42.DLL_CString::CString_3
mov dword [ebp - 0x234], eax
mov ecx, dword [ebp - 0x234]
mov dword [ebp - 0x238], ecx
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x238]
push edx
mov ecx, dword [ebp - 0x230]
add ecx, 0x89ec
call fcn.004354d4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x22c]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x230]
add eax, 0x89ec
push eax
mov ecx, 0x4a3e30
call sub.MFC42.DLL_CString::operator_1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
mov esp, ebp
pop ebp
ret 4