Function at 0x4182d0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x41d8da
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x11c
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x24], 0
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x2c]
mov dword [esp + 0x134], 1
rep stosd dword es:[edi], eax
lea eax, [esp + 0x2c]
push eax
push 0xff
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_1
lea edx, [esp + 0x14]
push 1
push edx
lea ecx, [esp + 0x18]
mov byte [esp + 0x13c], 2
call sub.MFC42.DLL_CString::Right
mov eax, dword [eax]
mov ebp, dword [sym.imp.MSVCRT.dll__mbscmp]
push 0x4231cc
push eax
call ebp
add esp, 8
lea ecx, [esp + 0x14]
test eax, eax
setne bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x4183a1
lea eax, [esp + 0x10]
push 0x4231cc
lea ecx, [esp + 0x18]
push eax
push ecx
call sub.MFC42.DLL_operator_2
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x138], 3
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x14]
mov byte [esp + 0x134], 2
call sub.MFC42.DLL_CString::CString
push 0x424598
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::CString_1
mov esi, eax
mov edx, dword [esp + 0x140]
lea ecx, [esp + 0x140]
mov byte [esp + 0x134], 4
mov eax, dword [edx - 8]
dec eax
push eax
lea eax, [esp + 0x2c]
push eax
call sub.MFC42.DLL_CString::Left
mov edi, eax
lea ecx, [esp + 0x10]
push str.mplayer_
lea edx, [esp + 0x20]
push ecx
push edx
mov byte [esp + 0x140], 5
call sub.MFC42.DLL_operator_2
push edi
push eax
lea eax, [esp + 0x28]
mov byte [esp + 0x13c], 6
push eax
call sub.MFC42.DLL_operator_3
push esi
lea ecx, [esp + 0x18]
mov bl, 7
push eax
push ecx
mov byte [esp + 0x140], bl
call sub.MFC42.DLL_operator_3
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x138], 8
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x14]
mov byte [esp + 0x134], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x134], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x134], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov byte [esp + 0x134], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x134], 2
call sub.MFC42.DLL_CString::CString
lea edx, [esp + 0x18]
push 1
push edx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Right
mov eax, dword [eax]
push 0x4231cc
push eax
call ebp
add esp, 8
lea ecx, [esp + 0x18]
test eax, eax
setne bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x4184e9
lea eax, [esp + 0x10]
push 0x4231cc
lea ecx, [esp + 0x1c]
push eax
push ecx
call sub.MFC42.DLL_operator_2
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x138], 9
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x18]
mov byte [esp + 0x134], 2
call sub.MFC42.DLL_CString::CString
mov esi, dword [esp + 0x13c]
lea edx, [esp + 0x10]
push edx
mov ecx, esi
call sub.MFC42.DLL_CString::CString_2
mov dword [esp + 0x24], 1
lea ecx, [esp + 0x10]
mov byte [esp + 0x134], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x140]
mov byte [esp + 0x134], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x12c]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x128
ret