Function at 0x10004f19
Capabilities:
Create directory
Set file attributes

Disassembly:
push 0x278
mov eax, 0x1005cd35
call fcn.10059779
xor edi, edi
push 0x24c
mov dword [ebp - 4], edi
lea eax, [ebp - 0x264]
push edi
mov byte [ebp - 4], 1
push eax
mov dword [ebp - 0x268], edi
call sub.MSVCR90.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x280]
call sub.mfc90u.dll_CStringArray::CStringArray
push 0x10074b84
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 2
call dword [0x1006ce70]
mov byte [ebp - 4], 3
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
dec eax
push eax
lea ecx, [ebp + 8]
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::GetAt]
movzx eax, ax
push 0x5c
pop ecx
cmp cx, ax
jne 0x10004fcb
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
push edi
dec eax
push eax
lea ecx, [ebp + 8]
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::SetAt]
push dword [ebp + 8]
lea ecx, [ebp - 0x284]
call dword [0x1006ce70]
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 4
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_2]
lea ecx, [ebp - 0x284]
mov byte [ebp - 4], 3
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea eax, [ebp - 0x268]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp dword [ebp - 0x268], 0x10
push eax
jne 0x10005017
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x26c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [ebp - 0x280]
mov byte [ebp - 4], 1
call fcn.10057e1c
lea ecx, [ebp + 8]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
xor eax, eax
inc eax
jmp 0x1000519d
mov ebx, dword [sym.imp.KERNEL32.dll_FindClose]
call ebx
push 0xffffffffffffffff
push edi
lea ecx, [ebp - 0x280]
call sub.mfc90u.dll_CStringArray::SetSize
xor esi, esi
mov eax, dword [ebp + 8]
cmp esi, dword [eax - 0xc]
jge 0x100050bc
push esi
lea ecx, [ebp + 8]
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::GetAt]
movzx eax, ax
cmp ax, 0x5c
je 0x1000506a
push esi
lea ecx, [ebp + 8]
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::GetAt]
movzx eax, ax
push eax
lea ecx, [ebp - 0x26c]
call dword [0x1006cea8]
jmp 0x10005093
lea eax, [ebp - 0x26c]
push eax
push dword [ebp - 0x278]
lea ecx, [ebp - 0x280]
call sub.mfc90u.dll_CStringArray::SetAtGrow_1
push 0x1006f0a0
lea ecx, [ebp - 0x26c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_1]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
dec eax
cmp esi, eax
jne 0x100050b6
lea eax, [ebp - 0x26c]
push eax
push dword [ebp - 0x278]
lea ecx, [ebp - 0x280]
call sub.mfc90u.dll_CStringArray::SetAtGrow_1
inc esi
jmp 0x1000502f
xor esi, esi
inc esi
cmp esi, dword [ebp - 0x278]
jge 0x10005115
cmp esi, edi
jl 0x10005110
mov eax, dword [ebp - 0x27c]
lea eax, [eax + esi*4]
push eax
lea ecx, [ebp - 0x26c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_2]
push edi
push dword [ebp - 0x26c]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test edi, edi
je 0x1000510b
push 0x80
push dword [ebp - 0x26c]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
inc esi
xor edi, edi
jmp 0x100050bf
call sub.mfc90u.dll_AfxThrowInvalidArgException
push 0xffffffffffffffff
push edi
lea ecx, [ebp - 0x280]
call sub.mfc90u.dll_CStringArray::SetSize
lea eax, [ebp - 0x268]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp dword [ebp - 0x268], 0x10
push eax
jne 0x1000516a
call ebx
lea ecx, [ebp - 0x26c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [ebp - 0x280]
mov byte [ebp - 4], 1
call fcn.10057e1c
xor esi, esi
inc esi
lea ecx, [ebp + 8]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, esi
jmp 0x1000519d
call ebx
lea ecx, [ebp - 0x26c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [ebp - 0x280]
mov byte [ebp - 4], 1
call fcn.10057e1c
xor esi, esi
jmp 0x1000515d
call fcn.100597d5
ret