Function at 0x42f500
Capabilities:
Create directory

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x433fdd
push eax
mov dword fs:[0], esp
sub esp, 0x278
push ebx
mov bl, byte [esp + 0x290]
push ebp
push esi
push edi
push 0x400
test bl, bl
jne 0x42f6f6
call sub.MFC42.DLL_operatornew
mov esi, eax
mov ecx, 0x100
xor eax, eax
mov edi, esi
push 0x3ff
push esi
rep stosd dword es:[edi], eax
call dword [sym.imp.MSVCRT.dll__getcwd]
add esp, 0xc
test eax, eax
je 0x42f8ef
push esi
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CString::CString_2
test esi, esi
mov dword [esp + 0x290], 0
je 0x42f57e
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString_1
mov ebx, dword [esp + 0x298]
lea eax, [esp + 0x20]
push ebx
push 0x43f39c
push eax
mov byte [esp + 0x29c], 1
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [esp + 0x20]
xor esi, esi
mov byte [esp + 0x290], 2
mov ecx, dword [eax - 8]
test ecx, ecx
jle 0x42f673
mov ebp, dword [sym.imp.MSVCRT.dll_sprintf]
mov edi, dword [sym.imp.MSVCRT.dll__mbscmp]
mov al, byte [esi + eax]
cmp al, 0x2f
je 0x42f5f6
cmp al, 0x5c
je 0x42f5f6
mov byte [esp + 0x28], al
mov ecx, dword [esp + 0x28]
push ecx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator_2
jmp 0x42f665
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x30]
push edx
push 0x43f39c
push eax
call ebp
mov eax, dword [esp + 0x1c]
add esp, 0xc
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x42f657
push 0x44bfd8
push eax
call edi
add esp, 8
test eax, eax
je 0x42f657
mov ecx, dword [esp + 0x10]
push 0x44016c
push ecx
call edi
add esp, 8
test eax, eax
je 0x42f657
lea edx, [esp + 0x30]
push edx
call dword [sym.imp.MSVCRT.dll__chdir]
add esp, 4
test eax, eax
je 0x42f657
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.MSVCRT.dll__mkdir]
add esp, 4
push 0x44016c
lea ecx, [esp + 0x14]
call fcn.0043218c
mov eax, dword [esp + 0x20]
inc esi
cmp esi, dword [eax - 8]
jl 0x42f5d7
mov edi, dword [sym.imp.MSVCRT.dll__chdir]
push ebx
call edi
mov ecx, dword [esp + 0x30]
mov esi, eax
push ecx
call edi
add esp, 8
mov byte [esp + 0x290], 1
test esi, esi
lea ecx, [esp + 0x10]
jne 0x42f6cc
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x290], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov dword [esp + 0x290], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 1
jmp 0x42f8f1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x290], 0
call sub.MFC42.DLL_CString::CString
mov dword [esp + 0x290], 0xffffffff
lea ecx, [esp + 0x2c]
jmp 0x42f8ea
call sub.MFC42.DLL_operatornew
mov esi, eax
mov ecx, 0x100
xor eax, eax
mov edi, esi
push 0x3ff
push esi
rep stosd dword es:[edi], eax
call dword [sym.imp.MSVCRT.dll__getcwd]
add esp, 0xc
test eax, eax
je 0x42f8ef
push esi
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::CString_2
test esi, esi
mov dword [esp + 0x290], 3
je 0x42f741
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_1
mov edi, dword [esp + 0x298]
lea edx, [esp + 0x18]
push edi
push 0x43f39c
push edx
mov byte [esp + 0x29c], 4
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::CString_1
movsx eax, bl
push eax
lea ecx, [esp + 0x20]
push 0x44bfd4
push ecx
mov byte [esp + 0x29c], 5
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [esp + 0x18]
xor esi, esi
mov byte [esp + 0x290], 6
mov ecx, dword [eax - 8]
test ecx, ecx
jle 0x42f84d
mov ebp, dword [sym.imp.MSVCRT.dll_sprintf]
mov al, byte [esi + eax]
cmp al, bl
jne 0x42f82d
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x15c]
push edx
push 0x43f39c
push eax
call ebp
mov eax, dword [esp + 0x20]
add esp, 0xc
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x42f81d
mov ecx, dword [esp + 0x1c]
push ecx
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x42f81d
lea edx, [esp + 0x15c]
push edx
call dword [sym.imp.MSVCRT.dll__chdir]
add esp, 4
test eax, eax
je 0x42f81d
lea eax, [esp + 0x15c]
push eax
call dword [sym.imp.MSVCRT.dll__mkdir]
add esp, 4
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x18]
call fcn.00432168
jmp 0x42f83f
mov byte [esp + 0x28], al
lea ecx, [esp + 0x14]
mov edx, dword [esp + 0x28]
push edx
call sub.MFC42.DLL_CString::operator_2
mov eax, dword [esp + 0x18]
inc esi
cmp esi, dword [eax - 8]
jl 0x42f7bb
push edi
mov edi, dword [sym.imp.MSVCRT.dll__chdir]
call edi
mov esi, eax
mov eax, dword [esp + 0x28]
push eax
call edi
add esp, 8
mov byte [esp + 0x290], 5
test esi, esi
lea ecx, [esp + 0x14]
jne 0x42f8b4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x290], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x290], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov dword [esp + 0x290], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 1
jmp 0x42f8f1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x290], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x290], 3
call sub.MFC42.DLL_CString::CString
mov dword [esp + 0x290], 0xffffffff
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::CString
xor eax, eax
mov ecx, dword [esp + 0x288]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x284
ret