Function at 0x418af3
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x438973
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x198
push edi
mov dword [ebp - 0x16c], ecx
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x16c]
call fcn.00419457
lea ecx, [ebp - 0x1c]
call fcn.00412830
test eax, eax
jne 0x418b3d
mov eax, 1
jmp 0x4190ef
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x10]
call fcn.0042e0da
mov dword [ebp - 4], 0
push str..tmpd
lea ecx, [ebp - 0x10]
call fcn.0042e0f8
lea ecx, [ebp - 0x10]
call fcn.004077a0
push eax
call fcn.0042200b
add esp, 4
and eax, 0xff
test eax, eax
je 0x418c2a
lea ecx, [ebp - 0x10]
call fcn.004077a0
push eax
call fcn.004221f5
add esp, 4
and eax, 0xff
test eax, eax
jne 0x418c2a
mov byte [ebp - 0x120], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x11f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea edx, [ebp - 0x120]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov dword [ebp - 0x124], eax
push str.nouse.tmpd
mov eax, dword [ebp - 0x124]
lea ecx, [ebp + eax - 0x120]
push ecx
call sub.MSVCRT.dll_strcpy
add esp, 8
lea edx, [ebp - 0x120]
push edx
lea ecx, [ebp - 0x10]
call fcn.004077a0
push eax
call fcn.00422389
add esp, 8
and eax, 0xff
test eax, eax
jne 0x418c2a
mov dword [ebp - 0x130], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x130]
jmp 0x4190ef
lea ecx, [ebp - 0x10]
call fcn.004077a0
push eax
mov ecx, dword [ebp + 8]
call fcn.004077a0
push eax
call fcn.004224f6
add esp, 8
and eax, 0xff
test eax, eax
je 0x418d86
mov ecx, dword [ebp + 8]
call fcn.004077a0
push eax
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x16c]
mov ecx, dword [ecx + 0xc]
call fcn.00411937
and eax, 0xff
test eax, eax
jne 0x418ce8
mov edx, dword [ebp + 8]
push edx
push 0x444324
lea eax, [ebp - 0x134]
push eax
call sub.MFC42.DLL_operator_2
mov dword [ebp - 0x170], eax
mov ecx, dword [ebp - 0x170]
mov dword [ebp - 0x174], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x174]
push edx
mov ecx, dword [ebp - 0x16c]
add ecx, 8
call sub.MFC42.DLL_CString::operator_1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x134]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 0x138], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x138]
jmp 0x4190ef
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x16c]
call fcn.00419100
and eax, 0xff
test eax, eax
jne 0x418d73
mov ecx, dword [ebp + 8]
push ecx
push 0x444334
lea edx, [ebp - 0x13c]
push edx
call sub.MFC42.DLL_operator_2
mov dword [ebp - 0x178], eax
mov eax, dword [ebp - 0x178]
mov dword [ebp - 0x17c], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x17c]
push ecx
mov ecx, dword [ebp - 0x16c]
add ecx, 8
call fcn.0042e0e6
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x13c]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 0x140], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x140]
jmp 0x4190ef
push 1
lea edx, [ebp - 0x10]
push edx
call fcn.0041520c
add esp, 8
jmp 0x4190d0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x128]
call fcn.0042e0da
mov byte [ebp - 4], 3
push str..tmp
lea ecx, [ebp - 0x128]
call fcn.0042e0f8
lea ecx, [ebp - 0x128]
call fcn.004074e0
test eax, eax
jne 0x419042
lea ecx, [ebp - 0x128]
call fcn.004077a0
push eax
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x16c]
mov ecx, dword [edx + 0xc]
call fcn.00411937
and eax, 0xff
test eax, eax
jne 0x418e69
mov eax, dword [ebp + 8]
push eax
push 0x444354
lea ecx, [ebp - 0x144]
push ecx
call sub.MFC42.DLL_operator_2
mov dword [ebp - 0x180], eax
mov edx, dword [ebp - 0x180]
mov dword [ebp - 0x184], edx
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x184]
push eax
mov ecx, dword [ebp - 0x16c]
add ecx, 8
call sub.MFC42.DLL_CString::operator_1
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x144]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 0x148], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x128]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x148]
jmp 0x4190ef
lea ecx, [ebp - 0x128]
push ecx
mov ecx, dword [ebp - 0x16c]
call fcn.00419100
and eax, 0xff
test eax, eax
jne 0x418f0a
mov edx, dword [ebp + 8]
push edx
push 0x444364
lea eax, [ebp - 0x14c]
push eax
call sub.MFC42.DLL_operator_2
mov dword [ebp - 0x188], eax
mov ecx, dword [ebp - 0x188]
mov dword [ebp - 0x18c], ecx
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x18c]
push edx
mov ecx, dword [ebp - 0x16c]
add ecx, 8
call fcn.0042e0e6
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x14c]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 0x150], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x128]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x150]
jmp 0x4190ef
mov ecx, dword [ebp + 8]
call fcn.004077a0
push eax
lea ecx, [ebp - 0x128]
call fcn.004077a0
push eax
call fcn.00422257
add esp, 8
and eax, 0xff
test eax, eax
je 0x418fad
mov eax, dword [ebp + 8]
push eax
push 0x44437c
lea ecx, [ebp - 0x154]
push ecx
call sub.MFC42.DLL_operator_2
mov dword [ebp - 0x190], eax
mov edx, dword [ebp - 0x190]
mov dword [ebp - 0x194], edx
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x194]
push eax
mov ecx, dword [ebp - 0x16c]
add ecx, 8
call fcn.0042e0e6
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x154]
call sub.MFC42.DLL_CString::CString
call fcn.00417b80
mov dword [ebp - 0x12c], eax
cmp dword [ebp - 0x12c], 0
je 0x418fa8
push 0
push 0
push 0x7e8
call fcn.00417b80
mov ecx, eax
call fcn.00419ea0
jmp 0x41902f
mov ecx, dword [ebp + 8]
push ecx
push 0x44438c
lea edx, [ebp - 0x158]
push edx
call sub.MFC42.DLL_operator_2
mov dword [ebp - 0x198], eax
mov eax, dword [ebp - 0x198]
mov dword [ebp - 0x19c], eax
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x19c]
push ecx
mov ecx, dword [ebp - 0x16c]
add ecx, 8
call fcn.0042e0e6
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x158]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 0x15c], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x128]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x15c]
jmp 0x4190ef
push 2
lea edx, [ebp - 0x128]
push edx
call fcn.0041520c
add esp, 8
jmp 0x4190c1
mov eax, dword [ebp + 8]
push eax
push 0x44439c
lea ecx, [ebp - 0x160]
push ecx
call sub.MFC42.DLL_operator_2
mov dword [ebp - 0x1a0], eax
mov edx, dword [ebp - 0x1a0]
mov dword [ebp - 0x1a4], edx
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x1a4]
push eax
mov ecx, dword [ebp - 0x16c]
add ecx, 8
call fcn.0042e0e6
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x160]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 0x164], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x128]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x164]
jmp 0x4190ef
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x128]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 0x168], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x168]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
mov esp, ebp
pop ebp
ret 4