Function at 0x4d7320
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x5125c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [esp + 0x28]
push ebx
push ebp
push esi
push edi
push eax
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x10]
mov dword [esp + 0x30], 0
call sub.MFC42.DLL_CString::TrimLeft
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::TrimRight
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x38]
mov byte [esp + 0x30], 1
call sub.MFC42.DLL_CString::CString_3
push 0x3a
lea ecx, [esp + 0x14]
mov byte [esp + 0x34], 2
call sub.MFC42.DLL_CString::Find_1
test eax, eax
jl 0x4d7438
lea esi, [eax + 1]
lea ecx, [esp + 0x1c]
push esi
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x34], 3
call fcn.004c830a
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], 2
call sub.MFC42.DLL_CString::CString
lea edx, [esp + 0x1c]
push esi
push edx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Mid_1
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x34], 4
call fcn.004c830a
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], 2
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x38]
cmp byte [eax], 0x5c
jne 0x4d75a1
push 0x5c
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x1c]
push 1
push ecx
lea ecx, [esp + 0x40]
call sub.MFC42.DLL_CString::Mid_1
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x34], 5
call fcn.004c830a
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], 2
call sub.MFC42.DLL_CString::CString
jmp 0x4d75a1
push 0x54348c
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Find_2
test eax, eax
jl 0x4d753f
lea esi, [eax + 2]
lea edx, [esp + 0x1c]
push esi
push edx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x34], 6
call fcn.004c830a
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], 2
call sub.MFC42.DLL_CString::CString
lea eax, [esp + 0x1c]
push esi
push eax
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Mid_1
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x34], 7
call fcn.004c830a
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], 2
call sub.MFC42.DLL_CString::CString
push 0x542a7c
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CString::Find_2
test eax, eax
jl 0x4d76c9
lea esi, [eax + 1]
lea ecx, [esp + 0x20]
push esi
push ecx
lea ecx, [esp + 0x40]
call sub.MFC42.DLL_CString::Left
push eax
lea edx, [esp + 0x18]
lea eax, [esp + 0x20]
mov bl, 8
push edx
push eax
mov byte [esp + 0x3c], bl
call sub.MFC42.DLL_operator_3
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x34], 9
call fcn.004c830a
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x30], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
push esi
push ecx
lea ecx, [esp + 0x40]
call sub.MFC42.DLL_CString::Mid_1
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x34], 0xa
call fcn.004c830a
lea ecx, [esp + 0x20]
mov byte [esp + 0x30], 2
call sub.MFC42.DLL_CString::CString
jmp 0x4d75a1
mov edx, dword [esp + 0x10]
cmp byte [edx], 0x5c
jne 0x4d7585
push 0x542a7c
lea ecx, [esp + 0x18]
call fcn.004c8322
lea eax, [esp + 0x20]
push 1
push eax
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Mid_1
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x34], 0xb
call fcn.004c830a
lea ecx, [esp + 0x20]
mov byte [esp + 0x30], 2
call sub.MFC42.DLL_CString::CString
jmp 0x4d75a1
push 0x54aebc
lea ecx, [esp + 0x18]
call fcn.004c8322
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x3c]
call fcn.004c830a
mov ecx, dword [esp + 0x38]
mov eax, dword [ecx - 8]
test eax, eax
je 0x4d7719
cmp byte [eax + ecx - 1], 0x5c
jne 0x4d75e4
dec eax
lea edx, [esp + 0x20]
push eax
push edx
lea ecx, [esp + 0x40]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x34], 0xc
call fcn.004c830a
lea ecx, [esp + 0x20]
mov byte [esp + 0x30], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_3
mov edi, dword [sym.imp.MSVCRT.dll__access]
mov ebp, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov byte [esp + 0x30], 0xd
xor esi, esi
mov bl, 0xf
push esi
push 0x5c
lea ecx, [esp + 0x40]
call sub.MFC42.DLL_CString::Find_3
mov esi, eax
test esi, esi
jge 0x4d7647
lea eax, [esp + 0x38]
lea ecx, [esp + 0x14]
push eax
lea edx, [esp + 0x24]
push ecx
push edx
call sub.MFC42.DLL_operator_3
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x34], 0xe
call fcn.004c830a
lea ecx, [esp + 0x20]
mov byte [esp + 0x30], 0xd
call sub.MFC42.DLL_CString::CString
jmp 0x4d7695
lea eax, [esp + 0x24]
push esi
push eax
lea ecx, [esp + 0x40]
call sub.MFC42.DLL_CString::Left
lea ecx, [esp + 0x14]
push eax
lea edx, [esp + 0x20]
push ecx
push edx
mov byte [esp + 0x3c], bl
call sub.MFC42.DLL_operator_3
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x34], 0x10
call fcn.004c830a
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x30], 0xd
call sub.MFC42.DLL_CString::CString
inc esi
mov eax, dword [esp + 0x18]
push 0
push eax
call edi
add esp, 8
test eax, eax
je 0x4d76b2
mov ecx, dword [esp + 0x18]
push 0
push ecx
call ebp
test eax, eax
je 0x4d76bb
test esi, esi
jl 0x4d770b
jmp 0x4d7602
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x38]
mov byte [esp + 0x30], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0x30], 0xffffffff
call sub.MFC42.DLL_CString::CString
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x38]
mov byte [esp + 0x30], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0x30], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret