Function at 0x10c0954
Capabilities:
Create directory

Disassembly:
mov eax, 0x10d87d6
call fcn.0107a498
sub esp, 0xc
push ebx
push esi
lea ecx, [ebp - 0x10]
call sub.MFC42u.dll_CString::CString_2
and dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
call sub.MFC42u.dll_CString::CString_2
mov esi, dword [ebp + 8]
push esi
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call sub.MFC42u.dll_CString::operator
push 0x3a
push esi
call dword [sym.imp.msvcrt.dll_wcschr]
pop ecx
pop ecx
lea ecx, [esi + 2]
cmp eax, ecx
jne 0x10c09f3
cmp word [esi + 4], 0x5c
jne 0x10c09f3
push 3
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x10]
call sub.MFC42u.dll_CString::Left
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.01078b5e
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call sub.MFC42u.dll_CString::CString
push 3
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x10]
call sub.MFC42u.dll_CString::Mid_1
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.01078b5e
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call sub.MFC42u.dll_CString::CString
jmp 0x10c0aa8
push 2
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x10]
call sub.MFC42u.dll_CString::Left
mov eax, dword [eax]
push 0x10045e8
push eax
call dword [sym.imp.msvcrt.dll_wcscmp]
mov ebx, eax
pop ecx
neg ebx
pop ecx
sbb bl, bl
lea ecx, [ebp + 8]
inc bl
call sub.MFC42u.dll_CString::CString
test bl, bl
lea ecx, [ebp - 0x14]
je 0x10c0b61
push 4
pop ebx
push 0x100210c
call sub.MFC42u.dll_CString::operator
push 0x5c
lea ecx, [ebp - 0x10]
call sub.MFC42u.dll_CString::Find_2
jmp 0x10c0aa3
test ebx, ebx
je 0x10c0aa8
lea esi, [eax + 1]
push esi
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x10]
call sub.MFC42u.dll_CString::Left
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 4
call sub.MFC42u.dll_CString::operator_2
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call sub.MFC42u.dll_CString::CString
push esi
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x10]
call sub.MFC42u.dll_CString::Mid_1
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 5
call fcn.01078b5e
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call sub.MFC42u.dll_CString::CString
push 0x5c
lea ecx, [ebp - 0x10]
call sub.MFC42u.dll_CString::Find_2
dec ebx
cmp eax, 0xffffffff
jne 0x10c0a45
push 0x5c
lea ecx, [ebp - 0x10]
call sub.MFC42u.dll_CString::Find_2
mov ebx, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
jmp 0x10c0b36
push esi
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x10]
call sub.MFC42u.dll_CString::Left
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 6
call sub.MFC42u.dll_CString::operator_2
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call sub.MFC42u.dll_CString::CString
inc esi
push esi
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x10]
call sub.MFC42u.dll_CString::Mid_1
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 7
call fcn.01078b5e
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call sub.MFC42u.dll_CString::CString
push 0
push dword [ebp - 0x14]
call ebx
test eax, eax
jne 0x10c0b1f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x10c0b5e
push 0x1003824
lea ecx, [ebp - 0x14]
call sub.MFC42u.dll_CString::operator_1
push 0x5c
lea ecx, [ebp - 0x10]
call sub.MFC42u.dll_CString::Find_2
mov esi, eax
cmp esi, 0xffffffff
jne 0x10c0aba
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x14]
call sub.MFC42u.dll_CString::operator_2
push 0
push dword [ebp - 0x14]
call ebx
test eax, eax
jne 0x10c0b5e
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call sub.MFC42u.dll_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42u.dll_CString::CString
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4