Function at 0x487025
Capabilities:
Create directory

Disassembly:
push 0x50
mov eax, 0x4c70ae
call fcn.004c5467
mov edi, ecx
lea ecx, [ebp - 0x34]
call dword [sym.imp.MFC42u.dll_CString::CString]
and dword [ebp - 4], 0
lea ecx, [ebp - 0x40]
call dword [sym.imp.MFC42u.dll_CString::CString]
xor ebx, ebx
lea ecx, [ebp - 0x24]
inc ebx
mov byte [ebp - 4], bl
call dword [sym.imp.MFC42u.dll_CString::CString]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call dword [sym.imp.MFC42u.dll_CString::CString]
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 3
call dword [sym.imp.MFC42u.dll_CString::CString]
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 4
call dword [sym.imp.MFC42u.dll_CString::CString]
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 5
call dword [sym.imp.MFC42u.dll_CFileFind::CFileFind]
mov byte [ebp - 4], 6
mov eax, dword [edi + 8]
cmp dword [eax - 8], 0
je 0x487418
mov dword [edi + 0xb4], ebx
lea ebx, [edi + 4]
mov ecx, dword [ebx]
cmp dword [ecx - 8], 0
jne 0x487134
call dword [sym.imp.MFC42u.dll_AfxGetModuleState]
lea ecx, [ebp - 0x34]
mov eax, dword [eax + 4]
push dword [eax + 0xc4]
call dword [0x4f63d8]
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.ole32.dll_CoCreateGuid]
test eax, eax
je 0x4870e6
xor esi, esi
push esi
push esi
push 0x40c338
jmp 0x487192
lea edx, [ebp - 0x38]
lea ecx, [ebp - 0x20]
call fcn.0049c864
push dword [ebp - 0x38]
lea ecx, [ebp - 0x34]
call dword [0x4f6630]
push 0x40af9c
lea ecx, [ebp - 0x34]
call dword [0x4f6630]
push 0
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x487125
xor esi, esi
push esi
push esi
push 0x40c3d0
jmp 0x487192
lea eax, [ebp - 0x34]
mov ecx, ebx
push eax
call dword [sym.imp.MFC42u.dll_CString::operator]
mov ecx, dword [edi + 4]
call fcn.0049c93b
push 0
mov edx, ebx
lea ecx, [edi + 8]
call fcn.0049c300
test al, al
jne 0x487154
xor esi, esi
push esi
push esi
push 0x40c43c
jmp 0x487192
push dword [ebx]
lea ecx, [ebp - 0x24]
call dword [0x4f63d8]
push dword [ebx]
lea ecx, [ebp - 0x2c]
call dword [0x4f63d8]
push 0x40c470
lea ecx, [ebp - 0x2c]
call dword [0x4f6630]
xor esi, esi
lea ecx, [ebp - 0x5c]
push esi
push dword [ebp - 0x2c]
call dword [sym.imp.MFC42u.dll_CFileFind::FindFile]
test eax, eax
jne 0x48719d
push esi
push esi
push 0x40c480
call dword [sym.imp.MFC42u.dll_AfxMessageBox]
jmp 0x48741a
lea ecx, [ebp - 0x5c]
call dword [sym.imp.MFC42u.dll_CFileFind::FindNextFileW]
test eax, eax
je 0x4871f1
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x5c]
call dword [sym.imp.MFC42u.dll_CFileFind::GetFileName]
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 7
call dword [sym.imp.MFC42u.dll_CString::operator]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 6
call dword [0x4f63ac]
lea eax, [ebp - 0x2c]
push eax
push dword [edi + 0x30]
lea ecx, [edi + 0x28]
call dword [sym.imp.MFC42u.dll_CStringArray::SetAtGrow]
lea ecx, [ebp - 0x5c]
call dword [sym.imp.MFC42u.dll_CFileFind::FindNextFileW]
test eax, eax
jne 0x4871aa
xor esi, esi
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x5c]
call dword [sym.imp.MFC42u.dll_CFileFind::GetFileName]
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 8
call dword [sym.imp.MFC42u.dll_CString::operator]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 6
call dword [0x4f63ac]
lea eax, [ebp - 0x2c]
lea ecx, [edi + 0x28]
push eax
push dword [ecx + 8]
call dword [sym.imp.MFC42u.dll_CStringArray::SetAtGrow]
mov eax, dword [edi + 0x30]
test eax, eax
jne 0x48723c
push esi
push esi
push 0x40c4e0
jmp 0x487192
mov ecx, esi
mov dword [ebp - 0x28], ecx
test eax, eax
jle 0x4872bc
push ecx
lea ecx, [edi + 0x28]
call fcn.0047b662
push dword [ebp - 0x28]
lea ecx, [edi + 0x28]
mov esi, eax
call fcn.0047b662
push 0x2e
mov ecx, eax
call dword [sym.imp.MFC42u.dll_CString::Find_1]
push eax
lea eax, [ebp - 0x30]
mov ecx, esi
push eax
call dword [sym.imp.MFC42u.dll_CString::Left]
mov byte [ebp - 4], 9
push dword [eax]
lea eax, [edi + 0x80]
push dword [eax + 8]
mov ecx, eax
call dword [sym.imp.MFC42u.dll_CStringArray::SetAtGrow_1]
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 6
call dword [0x4f63ac]
lea eax, [edi + 8]
push eax
lea eax, [edi + 0x94]
push dword [eax + 8]
mov ecx, eax
call dword [sym.imp.MFC42u.dll_CStringArray::SetAtGrow]
mov ecx, dword [ebp - 0x28]
inc ecx
mov dword [ebp - 0x28], ecx
cmp ecx, dword [edi + 0x30]
jl 0x487245
lea ebx, [edi + 4]
xor esi, esi
push 0x40c548
lea ecx, [ebp - 0x24]
call dword [0x4f6630]
push esi
push dword [ebp - 0x24]
lea ecx, [ebp - 0x5c]
call dword [sym.imp.MFC42u.dll_CFileFind::FindFile]
test eax, eax
jne 0x48736d
push esi
push esi
push 0x40c558
call dword [sym.imp.MFC42u.dll_AfxMessageBox]
jmp 0x487401
call dword [sym.imp.MFC42u.dll_CFileFind::GetFileName]
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x24]
push dword [eax]
call dword [0x4f63d8]
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 6
call dword [0x4f63ac]
mov eax, dword [ebp - 0x24]
cmp dword [eax - 8], esi
je 0x48736d
push dword [ebx]
lea ecx, [ebp - 0x24]
call dword [0x4f63d8]
push 0x40af9c
lea ecx, [ebp - 0x24]
call dword [0x4f6630]
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x5c]
call dword [sym.imp.MFC42u.dll_CFileFind::GetFileName]
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x24]
push dword [eax]
call dword [0x4f6630]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 6
call dword [0x4f63ac]
lea eax, [ebp - 0x24]
lea ecx, [edi + 0x10]
push eax
push dword [ecx + 8]
call dword [sym.imp.MFC42u.dll_CStringArray::SetAtGrow]
lea ecx, [ebp - 0x5c]
call dword [sym.imp.MFC42u.dll_CFileFind::FindNextFileW]
test eax, eax
lea ecx, [ebp - 0x5c]
lea eax, [ebp - 0x30]
push eax
jne 0x4872f1
call dword [sym.imp.MFC42u.dll_CFileFind::GetFileName]
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x24]
push dword [eax]
call dword [0x4f63d8]
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 6
call dword [0x4f63ac]
mov eax, dword [ebp - 0x24]
cmp dword [eax - 8], esi
je 0x487401
push dword [ebx]
lea ecx, [ebp - 0x24]
call dword [0x4f63d8]
push 0x40af9c
lea ecx, [ebp - 0x24]
call dword [0x4f6630]
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x5c]
call dword [sym.imp.MFC42u.dll_CFileFind::GetFileName]
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x24]
push dword [eax]
call dword [0x4f6630]
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 6
call dword [0x4f63ac]
lea eax, [ebp - 0x24]
lea ecx, [edi + 0x10]
push eax
push dword [ecx + 8]
call dword [sym.imp.MFC42u.dll_CStringArray::SetAtGrow]
cmp dword [edi + 0x18], esi
jne 0x487413
push esi
push esi
push 0x40c558
call dword [sym.imp.MFC42u.dll_AfxMessageBox]
xor esi, esi
inc esi
jmp 0x48741a
xor esi, esi
lea ecx, [ebp - 0x5c]
call dword [0x4f67b8]
lea ecx, [ebp - 0x38]
call dword [0x4f63ac]
lea ecx, [ebp - 0x3c]
call dword [0x4f63ac]
lea ecx, [ebp - 0x2c]
call dword [0x4f63ac]
lea ecx, [ebp - 0x24]
call dword [0x4f63ac]
lea ecx, [ebp - 0x40]
call dword [0x4f63ac]
lea ecx, [ebp - 0x34]
call dword [0x4f63ac]
mov eax, esi
call fcn.004c5416
ret