Function at 0x411240
Capabilities:
Create directory
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x45c152
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x168
mov eax, dword [0x482888]
push ebx
push ebp
push esi
push edi
lea ecx, [esp + 0x24]
mov dword [esp + 0x174], eax
call sub.MFC71.DLL_CFile::CFile
lea ecx, [esp + 0x10]
mov dword [esp + 0x180], 0
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_2]
mov ebp, dword [esp + 0x18c]
push ebp
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str._last_
mov byte [esp + 0x18c], 1
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_3]
lea ecx, [esp + 0x44]
call fcn.00430520
lea eax, [esp + 0x70]
push eax
push 0
push 0
push 0x1a
mov bl, 2
push 0
mov byte [esp + 0x194], bl
call dword [sym.imp.SHFOLDER.dll_SHGetFolderPathA]
test eax, eax
jl 0x411550
push str.Ahead
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_3]
mov esi, eax
push 0x4671bc
lea ecx, [esp + 0x1c]
mov byte [esp + 0x184], 3
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_3]
mov edi, eax
lea ecx, [esp + 0x70]
push ecx
lea ecx, [esp + 0x20]
mov byte [esp + 0x184], 4
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_3]
push edi
push eax
lea edx, [esp + 0x28]
push edx
mov byte [esp + 0x18c], 5
call fcn.0040f2c0
push esi
push eax
lea eax, [esp + 0x4c]
push eax
mov byte [esp + 0x198], 6
call fcn.0040f2c0
add esp, 0x18
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x184], 7
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 + 0x20]
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 + 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x14]
mov byte [esp + 0x180], bl
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x10]
push ecx
call fcn.0040b4a0
mov edi, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
add esp, 4
test eax, eax
jne 0x4113b6
push 0
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
call edi
push str.Nero_WaveEditor
lea ecx, [esp + 0x20]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_3]
mov esi, eax
push 0x4671bc
lea ecx, [esp + 0x1c]
mov byte [esp + 0x184], 8
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_3]
push esi
push eax
lea edx, [esp + 0x1c]
push edx
mov byte [esp + 0x18c], 9
call fcn.0040f2c0
add esp, 0xc
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x184], 0xa
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_1]
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x180], bl
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea eax, [esp + 0x10]
push eax
call fcn.0040b4a0
add esp, 4
test eax, eax
jne 0x41144c
push eax
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
call edi
lea ecx, [esp + 0x20]
push ecx
mov ecx, ebp
call fcn.0043e040
mov esi, eax
push 0x4671bc
lea ecx, [esp + 0x20]
mov byte [esp + 0x184], 0xb
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_3]
push esi
push eax
lea edx, [esp + 0x20]
push edx
mov byte [esp + 0x18c], 0xc
call fcn.0040f2c0
push str..pre
push eax
lea eax, [esp + 0x28]
push eax
mov byte [esp + 0x198], 0xd
call fcn.004082b0
add esp, 0x18
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x184], 0xe
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_1]
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x18]
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 + 0x20]
mov byte [esp + 0x180], bl
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
push 0
push 0x1001
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
lea ecx, [esp + 0x30]
call sub.MFC71.DLL_CFile::Open
test eax, eax
je 0x411550
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x40]
call fcn.004303f0
mov esi, dword [esp + 0x188]
mov edx, dword [esi + 0xc]
push 4
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x2c]
mov dword [esp + 0x3c], edx
call sub.MFC71.DLL_CFile::Write
mov esi, dword [esi + 4]
test esi, esi
je 0x411547
mov ecx, dword [esi + 8]
lea edx, [esp + 0x24]
push edx
call fcn.004303f0
mov esi, dword [esi]
test esi, esi
jne 0x411534
lea ecx, [esp + 0x24]
call sub.MFC71.DLL_CFile::Close
lea ecx, [esp + 0x3c]
mov byte [esp + 0x180], 1
call fcn.00430680
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x24]
mov dword [esp + 0x180], 0xffffffff
call fcn.004597fa
mov ecx, dword [esp + 0x178]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x174]
call fcn.0045a0a1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x174
ret 8