Function at 0x4a19d0
Capabilities:
Create directory

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4a91ed
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 0x4a1bc6
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 0x4a1dbf
push esi
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CString::CString_1
test esi, esi
mov dword [esp + 0x290], 0
je 0x4a1a4e
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x20]
call fcn.004a4816
mov ebx, dword [esp + 0x298]
lea eax, [esp + 0x20]
push ebx
push 0x4e858c
push eax
mov byte [esp + 0x29c], 1
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [esp + 0x10]
call fcn.004a4816
mov eax, dword [esp + 0x20]
xor esi, esi
mov byte [esp + 0x290], 2
mov ecx, dword [eax - 8]
test ecx, ecx
jle 0x4a1b43
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 0x4a1ac6
cmp al, 0x5c
je 0x4a1ac6
mov byte [esp + 0x28], al
mov ecx, dword [esp + 0x28]
push ecx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator_2
jmp 0x4a1b35
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x30]
push edx
push 0x4e858c
push eax
call ebp
mov eax, dword [esp + 0x1c]
add esp, 0xc
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4a1b27
push 0x4e8588
push eax
call edi
add esp, 8
test eax, eax
je 0x4a1b27
mov ecx, dword [esp + 0x10]
push 0x4dc180
push ecx
call edi
add esp, 8
test eax, eax
je 0x4a1b27
lea edx, [esp + 0x30]
push edx
call dword [sym.imp.MSVCRT.dll__chdir]
add esp, 4
test eax, eax
je 0x4a1b27
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.MSVCRT.dll__mkdir]
add esp, 4
push 0x4dc180
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator
mov eax, dword [esp + 0x20]
inc esi
cmp esi, dword [eax - 8]
jl 0x4a1aa7
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 0x4a1b9c
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 0x4a1dc1
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 0x4a1dba
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 0x4a1dbf
push esi
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::CString_1
test esi, esi
mov dword [esp + 0x290], 3
je 0x4a1c11
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x18]
call fcn.004a4816
mov edi, dword [esp + 0x298]
lea edx, [esp + 0x18]
push edi
push 0x4e858c
push edx
mov byte [esp + 0x29c], 4
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [esp + 0x1c]
call fcn.004a4816
movsx eax, bl
push eax
lea ecx, [esp + 0x20]
push 0x4e8584
push ecx
mov byte [esp + 0x29c], 5
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [esp + 0x14]
call fcn.004a4816
mov eax, dword [esp + 0x18]
xor esi, esi
mov byte [esp + 0x290], 6
mov ecx, dword [eax - 8]
test ecx, ecx
jle 0x4a1d1d
mov ebp, dword [sym.imp.MSVCRT.dll_sprintf]
mov al, byte [esi + eax]
cmp al, bl
jne 0x4a1cfd
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x15c]
push edx
push 0x4e858c
push eax
call ebp
mov eax, dword [esp + 0x20]
add esp, 0xc
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4a1ced
mov ecx, dword [esp + 0x1c]
push ecx
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x4a1ced
lea edx, [esp + 0x15c]
push edx
call dword [sym.imp.MSVCRT.dll__chdir]
add esp, 4
test eax, eax
je 0x4a1ced
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 sub.MFC42.DLL_CString::operator_1
jmp 0x4a1d0f
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 0x4a1c8b
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 0x4a1d84
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 0x4a1dc1
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