Function at 0x4116a0
Capabilities:
Get common file path
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x45d85f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x170
mov eax, dword [0x484894]
push ebx
lea ecx, [esp + 0x14]
mov dword [esp + 0x170], eax
call sub.MFC71.DLL_CFile::CFile
lea ecx, [esp + 4]
mov dword [esp + 0x17c], 0
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_2]
mov ebx, dword [esp + 0x188]
push ebx
lea ecx, [esp + 0x3c]
mov byte [esp + 0x180], 1
call fcn.00430d30
lea eax, [esp + 0x6c]
push eax
push 0
push 0
push 0x1a
push 0
mov byte [esp + 0x190], 2
call dword [sym.imp.SHFOLDER.dll_SHGetFolderPathA]
test eax, eax
jge 0x411752
lea ecx, [esp + 0x38]
mov byte [esp + 0x17c], 1
call fcn.00430db0
lea ecx, [esp + 4]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x14]
mov dword [esp + 0x17c], 0xffffffff
call fcn.0045ae7a
jmp 0x41197a
push ebp
push esi
push edi
push 0x4681e4
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_3]
mov esi, eax
push str.AheadNero_WaveEditor
lea ecx, [esp + 0x20]
mov byte [esp + 0x18c], 3
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_3]
mov edi, eax
push 0x4681e4
lea ecx, [esp + 0x44]
mov byte [esp + 0x18c], 4
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_3]
mov ebp, eax
lea ecx, [esp + 0x78]
push ecx
lea ecx, [esp + 0x34]
mov byte [esp + 0x18c], 5
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_3]
push ebp
push eax
lea edx, [esp + 0x3c]
push edx
mov byte [esp + 0x194], 6
call fcn.0040f3f0
push edi
push eax
lea eax, [esp + 0x50]
push eax
mov byte [esp + 0x1a0], 7
call fcn.0040f3f0
push esi
push eax
lea ecx, [esp + 0x58]
push ecx
mov byte [esp + 0x1ac], 8
call fcn.0040f3f0
add esp, 0x24
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x18c], 9
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_2]
lea ecx, [esp + 0x38]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x3c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x34]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x30]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x40]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x14]
mov byte [esp + 0x188], 2
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea edx, [esp + 0x14]
push edx
mov ecx, ebx
call fcn.0043e870
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x18c], 0xa
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_1]
lea ecx, [esp + 0x14]
mov byte [esp + 0x188], 2
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
push str..pre
lea ecx, [esp + 0x14]
call dword [0x464b38]
push 0
push 0x20
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
lea ecx, [esp + 0x2c]
call sub.MFC71.DLL_CFile::Open
test eax, eax
lea ecx, [esp + 0x44]
je 0x41194c
lea eax, [esp + 0x20]
push eax
call fcn.00430bb0
mov al, byte [esp + 0x198]
test al, al
je 0x4118d1
lea ecx, [esp + 0x44]
call fcn.00430a60
push 4
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x28]
call sub.MFC71.DLL_CFile::Read
mov eax, dword [esp + 0x18]
xor edi, edi
test eax, eax
jle 0x41193f
mov ebp, dword [esp + 0x190]
push 0x34
call sub.MFC71.DLL_operator_new
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x188], 0xb
je 0x411918
push ebx
mov ecx, eax
call fcn.00430d30
mov esi, eax
jmp 0x41191a
xor esi, esi
lea edx, [esp + 0x20]
push edx
mov ecx, esi
mov byte [esp + 0x18c], 2
call fcn.00430bb0
push esi
mov ecx, ebp
call sub.MFC71.DLL_CObList::AddTail
mov eax, dword [esp + 0x18]
inc edi
cmp edi, eax
jl 0x4118f2
lea ecx, [esp + 0x20]
call sub.MFC71.DLL_CFile::Close
lea ecx, [esp + 0x44]
mov byte [esp + 0x188], 1
call fcn.00430db0
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x20]
mov dword [esp + 0x188], 0xffffffff
call fcn.0045ae7a
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x174]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x170]
pop ebx
call fcn.0045b711
add esp, 0x17c
ret 0xc