Function at 0x40eeb0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x41f97e
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.00415a90
add esp, 8
lea ecx, [esp + 0x1c]
mov edi, eax
push 0x42b380
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [esp + 0x20]
mov byte [esp + 0x13c], 1
test eax, eax
je 0x40ef73
xor esi, esi
test edi, edi
jbe 0x40ef65
mov eax, dword [esp + 0x20]
mov cl, byte [esi + eax]
push ecx
lea ecx, [esp + 0x20]
call fcn.0041d6d2
inc esi
cmp esi, edi
jb 0x40ef4f
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 0x40f034
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 0x42a1b0
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 0x42a1ac
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.00415a10
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.00415430
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 0x40f08d
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x42a19c
call sub.MFC42.DLL_CString::CString_2
lea edx, [esp + 0x14]
mov byte [esp + 0x144], 7
push edx
call fcn.00415a10
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.00415430
add esp, 0xc
mov byte [esp + 0x13c], 1
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString
push 0x42b380
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CString::CString_2
push 0x42b380
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.004074d0
add esp, 8
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::operator
mov esi, dword [esp + 0x148]
lea edx, [esp + 0x30]
push edx
mov ecx, esi
call sub.MFC42.DLL_CString::operator_1
mov eax, dword [esp + 0x14]
push 1
cmp dword [eax - 8], 0xa
jle 0x40f1b0
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 0x42a18c
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 0x42a1ac
push eax
push ecx
call sub.MFC42.DLL_operator_2
lea edx, [esp + 0x14]
mov byte [esp + 0x144], 0xe
push edx
call fcn.00415a10
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.00415430
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 0x40f208
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x42a17c
call sub.MFC42.DLL_CString::CString_2
lea edx, [esp + 0x14]
mov byte [esp + 0x144], 0x11
push edx
call fcn.00415a10
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.00415430
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.00415880
add esp, 0xc
push 1
push ecx
mov eax, esp
mov dword [esp + 0x18], esp
push esi
push 0x42a160
push eax
call sub.MFC42.DLL_operator_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x144], 0x15
push ecx
call fcn.00415a10
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.00415430
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