Function at 0x100057ad
Capabilities:
Create directory
Set file attributes

Disassembly:
push 0x278
mov eax, 0x1006f2df
call fcn.1006c2d9
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 0x10086e50
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 2
call dword [0x10085f70]
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 0x1000585f
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 [0x10085f70]
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 4
call dword [0x10085f74]
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 0x100058ab
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.1006a72e
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 0x10005a31
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 0x10005950
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 0x100058fe
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 [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_3]
jmp 0x10005927
lea eax, [ebp - 0x26c]
push eax
push dword [ebp - 0x278]
lea ecx, [ebp - 0x280]
call sub.mfc90u.dll_CStringArray::SetAtGrow_1
push 0x100885a8
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]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
dec eax
cmp esi, eax
jne 0x1000594a
lea eax, [ebp - 0x26c]
push eax
push dword [ebp - 0x278]
lea ecx, [ebp - 0x280]
call sub.mfc90u.dll_CStringArray::SetAtGrow_1
inc esi
jmp 0x100058c3
xor esi, esi
inc esi
cmp esi, dword [ebp - 0x278]
jge 0x100059a9
cmp esi, edi
jl 0x100059a4
mov eax, dword [ebp - 0x27c]
lea eax, [eax + esi*4]
push eax
lea ecx, [ebp - 0x26c]
call dword [0x10085f74]
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 0x1000599f
push 0x80
push dword [ebp - 0x26c]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
inc esi
xor edi, edi
jmp 0x10005953
call fcn.1006a68c
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 0x100059fe
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.1006a72e
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 0x10005a31
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.1006a72e
xor esi, esi
jmp 0x100059f1
call fcn.1006c335
ret