Function at 0x42cc80
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x45b290
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
push edi
mov ebx, ecx
call fcn.00424510
xor edi, edi
mov dword [esp + 0xc], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x10], edi
mov eax, dword [0x473544]
lea edx, [esp + 0x10]
push edx
push eax
mov ecx, dword [eax]
mov byte [esp + 0x28], 1
call dword [ecx + 0xc]
cmp eax, edi
mov eax, dword [esp + 0x10]
jne 0x42cebd
cmp eax, edi
je 0x42cebd
mov ecx, dword [eax]
lea esi, [ebx + 0x478]
push esi
push edi
push eax
call dword [ecx + 0xc]
cmp eax, edi
jne 0x42ce98
mov esi, dword [esi]
cmp esi, edi
je 0x42ce98
push 0x471be8
lea edx, [esp + 0x10]
push esi
push edx
call fcn.004216c0
mov eax, dword [esp + 0xc]
cmp eax, edi
jne 0x42cd52
mov ecx, dword [esp + 0x10]
mov byte [esp + 0x20], 0
cmp ecx, edi
je 0x42cd28
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [esp + 0xc]
cmp eax, edi
mov dword [esp + 0x20], 0xffffffff
je 0x42cee2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret 4
mov edx, dword [esp + 0x28]
mov esi, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
push ebp
mov eax, dword [edx]
push eax
call esi
mov edi, eax
mov dword [esp + 0x2c], edi
mov eax, dword [esp + 0x10]
push edi
push eax
mov byte [esp + 0x2c], 2
mov ecx, dword [eax]
call dword [ecx + 0x10]
push edi
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov byte [esp + 0x28], 1
call edi
lea ecx, [esp + 0x18]
call sub.MFC42u.DLL_CString::CString_3
push 0x400
lea ecx, [esp + 0x1c]
mov byte [esp + 0x28], 3
call sub.MFC42u.DLL_CString::GetBufferSetLength
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0x400
lea ecx, [esp + 0x1c]
call sub.MFC42u.DLL_CString::ReleaseBuffer
push str.PreDownload
call esi
mov ebp, eax
mov dword [esp + 0x2c], ebp
mov eax, dword [esp + 0x10]
push ebp
push eax
mov byte [esp + 0x2c], 4
mov edx, dword [eax]
call dword [edx + 0x30]
push ebp
call edi
mov eax, dword [esp + 0x18]
push eax
call esi
mov esi, eax
mov dword [esp + 0x2c], esi
mov eax, dword [esp + 0x10]
push esi
push eax
mov byte [esp + 0x2c], 5
mov ecx, dword [eax]
call dword [ecx + 0x28]
push esi
mov byte [esp + 0x28], 3
call edi
mov eax, dword [esp + 0x10]
push 0
push 0
push eax
mov edx, dword [eax]
call dword [edx + 0xd8]
mov eax, dword [esp + 0x10]
push 0
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0xdc]
mov eax, dword [esp + 0x10]
push 1
push eax
mov edx, dword [eax]
call dword [edx + 0x7c]
mov eax, dword [esp + 0x10]
push 1
push eax
mov ecx, dword [eax]
call dword [ecx + 0x70]
mov eax, dword [esp + 0x10]
push 0x464278
mov ecx, ebx
mov esi, eax
mov edi, dword [eax]
call sub.MFC42u.DLL_CCmdTarget::GetInterface
push eax
push esi
call dword [edi + 0xa8]
mov eax, dword [esp + 0x10]
push eax
mov edx, dword [eax]
call dword [edx + 0x88]
lea ecx, [esp + 0x18]
mov byte [esp + 0x24], 1
call sub.MFC42u.DLL_CString::CString
mov eax, dword [esp + 0x14]
mov byte [esp + 0x24], 0
test eax, eax
pop ebp
je 0x42ce86
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0xc]
mov dword [esp + 0x20], 0xffffffff
test eax, eax
je 0x42cee2
jmp 0x42cedc
mov eax, dword [esp + 0x10]
mov byte [esp + 0x20], 0
cmp eax, edi
je 0x42ceab
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0xc]
mov dword [esp + 0x20], 0xffffffff
cmp eax, edi
je 0x42cee2
jmp 0x42cedc
cmp eax, edi
mov byte [esp + 0x20], 0
je 0x42cecc
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0xc]
mov dword [esp + 0x20], 0xffffffff
cmp eax, edi
je 0x42cee2
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 4