Function at 0x10004dd7
Capabilities:
Create directory
Set file attributes

Disassembly:
push 0x278
mov eax, 0x10054d94
call fcn.1005155b
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 0x100693ec
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 2
call dword [0x10061e44]
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 0x10004e89
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 [0x10061e44]
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 0x10004ed5
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.1004fe34
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 0x1000505b
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 0x10004f7a
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 0x10004f28
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 [0x10061704]
jmp 0x10004f51
lea eax, [ebp - 0x26c]
push eax
push dword [ebp - 0x278]
lea ecx, [ebp - 0x280]
call sub.mfc90u.dll_CStringArray::SetAtGrow_1
push 0x10063900
lea ecx, [ebp - 0x26c]
call dword [0x10061708]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
dec eax
cmp esi, eax
jne 0x10004f74
lea eax, [ebp - 0x26c]
push eax
push dword [ebp - 0x278]
lea ecx, [ebp - 0x280]
call sub.mfc90u.dll_CStringArray::SetAtGrow_1
inc esi
jmp 0x10004eed
xor esi, esi
inc esi
cmp esi, dword [ebp - 0x278]
jge 0x10004fd3
cmp esi, edi
jl 0x10004fce
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 0x10004fc9
push 0x80
push dword [ebp - 0x26c]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
inc esi
xor edi, edi
jmp 0x10004f7d
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 0x10005028
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.1004fe34
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 0x1000505b
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.1004fe34
xor esi, esi
jmp 0x1000501b
call fcn.100515b7
ret