Function at 0x40e2f0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x42271e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x128
push ebx
push esi
push edi
lea eax, [esp + 0x30]
mov dword [esp + 0x13c], 0
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea ecx, [esp + 0x30]
lea edx, [esp + 0x30]
push ecx
push 0
push str.91productinfo
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
lea eax, [esp + 0x20]
lea edx, [esp + 0x144]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push edx
mov dword [esp + 0x2c], 0
call sub.MFC42.DLL_CString::CString_3
call fcn.00415750
add esp, 8
lea ecx, [esp + 0x1c]
mov edi, eax
push 0x42e820
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [esp + 0x20]
mov byte [esp + 0x13c], 1
test eax, eax
je 0x40e3b3
xor esi, esi
test edi, edi
jbe 0x40e3a5
mov eax, dword [esp + 0x20]
mov cl, byte [esi + eax]
push ecx
lea ecx, [esp + 0x20]
call fcn.00420468
inc esi
cmp esi, edi
jb 0x40e38f
mov edx, dword [esp + 0x20]
push edx
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov eax, dword [esp + 0x1c]
push 1
mov eax, dword [eax - 8]
cmp eax, 0xa
jle 0x40e474
lea ecx, [esp + 0x10]
push 0xa
push ecx
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::Left
push eax
lea edx, [esp + 0x34]
push 0x42d588
push edx
mov byte [esp + 0x14c], 2
call sub.MFC42.DLL_operator_1
push ecx
mov bl, 3
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x42d584
push eax
push ecx
mov byte [esp + 0x150], bl
call sub.MFC42.DLL_operator_2
lea edx, [esp + 0x2c]
mov byte [esp + 0x144], 4
push edx
call fcn.004156d0
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.LogsLancher.txt
push eax
push ecx
mov byte [esp + 0x154], 5
call sub.MFC42.DLL_operator_2
mov byte [esp + 0x148], 6
call fcn.00414ee0
add esp, 0xc
lea ecx, [esp + 0x24]
mov byte [esp + 0x13c], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov byte [esp + 0x13c], 2
call sub.MFC42.DLL_CString::CString
mov byte [esp + 0x13c], 1
lea ecx, [esp + 0xc]
jmp 0x40e4cd
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x42d574
call sub.MFC42.DLL_CString::CString_2
lea edx, [esp + 0x14]
mov byte [esp + 0x144], 7
push edx
call fcn.004156d0
mov ecx, esp
mov dword [esp + 0x24], esp
push str.LogsLancher.txt
push eax
push ecx
mov byte [esp + 0x154], 8
call sub.MFC42.DLL_operator_2
mov byte [esp + 0x148], 9
call fcn.00414ee0
add esp, 0xc
mov byte [esp + 0x13c], 1
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString
push 0x42e820
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CString::CString_2
push 0x42e820
lea ecx, [esp + 0x18]
mov byte [esp + 0x140], 0xa
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x28]
mov bl, 0xb
push edx
push eax
mov byte [esp + 0x144], bl
call fcn.00407250
add esp, 8
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::operator_1
mov esi, dword [esp + 0x148]
lea edx, [esp + 0x30]
push edx
mov ecx, esi
call sub.MFC42.DLL_CString::operator
mov eax, dword [esp + 0x14]
push 1
cmp dword [eax - 8], 0xa
jle 0x40e5f0
lea ecx, [esp + 0x28]
push 0xa
push ecx
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::Left
push eax
lea edx, [esp + 0x34]
push 0x42d564
push edx
mov byte [esp + 0x14c], 0xc
call sub.MFC42.DLL_operator_1
push ecx
mov byte [esp + 0x144], 0xd
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x42d584
push eax
push ecx
call sub.MFC42.DLL_operator_2
lea edx, [esp + 0x14]
mov byte [esp + 0x144], 0xe
push edx
call fcn.004156d0
mov ecx, esp
mov dword [esp + 0x24], esp
push str.LogsLancher.txt
push eax
push ecx
mov byte [esp + 0x154], 0xf
call sub.MFC42.DLL_operator_2
mov byte [esp + 0x148], 0x10
call fcn.00414ee0
add esp, 0xc
lea ecx, [esp + 0xc]
mov byte [esp + 0x13c], 0xd
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov byte [esp + 0x13c], 0xc
call sub.MFC42.DLL_CString::CString
mov byte [esp + 0x13c], bl
lea ecx, [esp + 0x24]
jmp 0x40e648
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x42d554
call sub.MFC42.DLL_CString::CString_2
lea edx, [esp + 0x14]
mov byte [esp + 0x144], 0x11
push edx
call fcn.004156d0
mov ecx, esp
mov dword [esp + 0x24], esp
push str.LogsLancher.txt
push eax
push ecx
mov byte [esp + 0x154], 0x12
call sub.MFC42.DLL_operator_2
mov byte [esp + 0x148], 0x13
call fcn.00414ee0
add esp, 0xc
mov byte [esp + 0x13c], bl
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString
push 0
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x148], 0x14
mov ecx, esp
mov dword [esp + 0x24], esp
push esi
call sub.MFC42.DLL_CString::CString_3
mov byte [esp + 0x148], bl
call fcn.004153f0
add esp, 0xc
push 1
push ecx
mov eax, esp
mov dword [esp + 0x18], esp
push esi
push 0x42d538
push eax
call sub.MFC42.DLL_operator_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x144], 0x15
push ecx
call fcn.004156d0
mov edx, esp
mov dword [esp + 0x24], esp
push str.LogsLancher.txt
push eax
push edx
mov byte [esp + 0x154], 0x16
call sub.MFC42.DLL_operator_2
mov byte [esp + 0x148], 0x17
call fcn.00414ee0
add esp, 0xc
lea ecx, [esp + 0xc]
mov byte [esp + 0x13c], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x13c], 0xa
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov byte [esp + 0x13c], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x13c], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x144]
mov dword [esp + 0x13c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x134]
pop edi
pop esi
mov eax, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0x134
ret 8