Function at 0x418d43
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x438bc3
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.004196a7
lea ecx, [ebp - 0x1c]
call fcn.00412a10
test eax, eax
jne 0x418d8d
mov eax, 1
jmp 0x41933f
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x10]
call fcn.0042e32a
mov dword [ebp - 4], 0
push str..tmpd
lea ecx, [ebp - 0x10]
call fcn.0042e348
lea ecx, [ebp - 0x10]
call fcn.004077f0
push eax
call fcn.0042225b
add esp, 4
and eax, 0xff
test eax, eax
je 0x418e7a
lea ecx, [ebp - 0x10]
call fcn.004077f0
push eax
call fcn.00422445
add esp, 4
and eax, 0xff
test eax, eax
jne 0x418e7a
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.004077f0
push eax
call fcn.004225d9
add esp, 8
and eax, 0xff
test eax, eax
jne 0x418e7a
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 0x41933f
lea ecx, [ebp - 0x10]
call fcn.004077f0
push eax
mov ecx, dword [ebp + 8]
call fcn.004077f0
push eax
call fcn.00422746
add esp, 8
and eax, 0xff
test eax, eax
je 0x418fd6
mov ecx, dword [ebp + 8]
call fcn.004077f0
push eax
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x16c]
mov ecx, dword [ecx + 0xc]
call fcn.00411b17
and eax, 0xff
test eax, eax
jne 0x418f38
mov edx, dword [ebp + 8]
push edx
push 0x44532c
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 0x41933f
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x16c]
call fcn.00419350
and eax, 0xff
test eax, eax
jne 0x418fc3
mov ecx, dword [ebp + 8]
push ecx
push 0x44533c
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.0042e336
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 0x41933f
push 1
lea edx, [ebp - 0x10]
push edx
call fcn.004153ec
add esp, 8
jmp 0x419320
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x128]
call fcn.0042e32a
mov byte [ebp - 4], 3
push str..tmp
lea ecx, [ebp - 0x128]
call fcn.0042e348
lea ecx, [ebp - 0x128]
call fcn.00407530
test eax, eax
jne 0x419292
lea ecx, [ebp - 0x128]
call fcn.004077f0
push eax
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x16c]
mov ecx, dword [edx + 0xc]
call fcn.00411b17
and eax, 0xff
test eax, eax
jne 0x4190b9
mov eax, dword [ebp + 8]
push eax
push 0x44535c
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 0x41933f
lea ecx, [ebp - 0x128]
push ecx
mov ecx, dword [ebp - 0x16c]
call fcn.00419350
and eax, 0xff
test eax, eax
jne 0x41915a
mov edx, dword [ebp + 8]
push edx
push 0x44536c
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.0042e336
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 0x41933f
mov ecx, dword [ebp + 8]
call fcn.004077f0
push eax
lea ecx, [ebp - 0x128]
call fcn.004077f0
push eax
call fcn.004224a7
add esp, 8
and eax, 0xff
test eax, eax
je 0x4191fd
mov eax, dword [ebp + 8]
push eax
push 0x445384
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.0042e336
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x154]
call sub.MFC42.DLL_CString::CString
call fcn.00417dd0
mov dword [ebp - 0x12c], eax
cmp dword [ebp - 0x12c], 0
je 0x4191f8
push 0
push 0
push 0x7e8
call fcn.00417dd0
mov ecx, eax
call fcn.0041a0f0
jmp 0x41927f
mov ecx, dword [ebp + 8]
push ecx
push 0x445394
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.0042e336
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 0x41933f
push 2
lea edx, [ebp - 0x128]
push edx
call fcn.004153ec
add esp, 8
jmp 0x419311
mov eax, dword [ebp + 8]
push eax
push 0x4453a4
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.0042e336
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 0x41933f
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