Function at 0x102eca1
Capabilities:
Create directory
Get file attributes

Disassembly:
push 0x28
mov eax, 0x10e5aae
call fcn.01001f95
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov eax, dword [sym.imp.mmcbase.DLL_unsigned_int_mmcerror::SC::s_CallDepth]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
inc dword [eax]
mov dword [ebp - 0x24], 3
mov dword [ebp - 0x20], ebx
push 0x102ee60
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 1
call dword [sym.imp.mmcbase.DLL_public:_void___thiscall_mmcerror::SC::SetFunctionName_unsigned_short_int_const__]
mov edi, 0x80070057
push edi
push dword [ebp + 0xc]
lea eax, [ebp - 0x34]
push eax
call fcn.0100a3ae
mov esi, dword [sym.imp.mmcbase.DLL_public:_class_mmcerror::SC____thiscall_mmcerror::SC::operator_class_mmcerror::SC_const__]
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 2
call esi
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 1
call dword [sym.imp.mmcbase.DLL_public:_void___thiscall_mmcerror::SC::destructor_void_]
cmp dword [ebp - 0x20], ebx
jne 0x1067456
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
push ebx
call fcn.01011bbd
push 0x5c
push dword [ebp + 0xc]
call dword [sym.imp.msvcrt.dll_wcsrchr]
pop ecx
pop ecx
mov dword [ebp - 0x10], eax
cmp eax, ebx
je 0x1067480
add dword [ebp - 0x10], 2
mov eax, dword [ebp - 0x10]
movzx eax, word [eax]
cmp ax, bx
je 0x10674a3
push eax
call dword [sym.imp.msvcrt.dll_iswspace]
pop ecx
test eax, eax
jne 0x106748b
mov eax, dword [ebp - 0x10]
cmp word [eax], bx
je 0x10674a3
mov edi, dword [ebp + 0x10]
push edi
lea eax, [ebp - 0x34]
push eax
call fcn.0102eb09
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 3
call esi
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 1
call dword [sym.imp.mmcbase.DLL_public:_void___thiscall_mmcerror::SC::destructor_void_]
cmp dword [ebp - 0x20], ebx
jne 0x10674b2
cmp dword [edi + 0x18], 8
lea esi, [edi + 4]
jb 0x102ee55
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
je 0x10674ca
cmp eax, 0xffffffff
je 0x10674ca
mov eax, dword [ebp - 0x10]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, bx
jne 0x102edc2
mov ecx, dword [0x102ee5c]
sub eax, edx
sar eax, 1
mov edi, eax
mov eax, ecx
lea esi, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
cmp dx, bx
jne 0x102eddd
sub eax, esi
sar eax, 1
cmp edi, eax
jle 0x102ee0a
mov esi, edi
sub esi, eax
mov eax, dword [ebp - 0x10]
lea eax, [eax + esi*2]
push eax
push ecx
call dword [sym.imp.msvcrt.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
jne 0x102ee0a
lea edi, [esi + 1]
mov ecx, dword [ebp + 0x10]
push 0x5c
call fcn.0102c7a0
mov ecx, dword [ebp + 0x10]
push edi
push dword [ebp - 0x10]
call fcn.0102c74f
lea eax, [ebp - 0x24]
mov ecx, dword [ebp + 8]
push eax
call dword [sym.imp.mmcbase.DLL_public:_void___thiscall_mmcerror::SC::constructor_class_mmcerror::SC_const__]
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x14], 1
mov byte [ebp - 4], bl
call dword [sym.imp.mmcbase.DLL_public:_void___thiscall_mmcerror::SC::destructor_void_]
mov eax, dword [ebp + 8]
call fcn.01001fcf
ret 0xc
cmp al, bl
je 0x102ed95
jmp 0x102ee20
mov eax, esi
jmp 0x102eda4
cmp dword [ebp - 0x24], 3
jne 0x1067464
cmp dword [ebp - 0x20], ebx
setl al
jmp 0x1067466
mov al, 1
cmp al, bl
je 0x102ed16
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.mmcbase.DLL_public:_void___thiscall_mmcerror::SC::constructor_class_mmcerror::SC_const__]
jmp 0x102ee2d
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
jmp 0x102ed3d
add dword [ebp - 0x10], 2
mov eax, dword [ebp - 0x10]
movzx eax, word [eax]
cmp ax, bx
je 0x102ed5c
jmp 0x102ed4c
mov dword [ebp - 0x24], 3
mov dword [ebp - 0x20], edi
jmp 0x102ee20
cmp dword [ebp - 0x24], 3
jne 0x10674c3
cmp dword [ebp - 0x20], ebx
setl al
jmp 0x102ee4b
mov al, 1
jmp 0x102ee4b
cmp dword [edi + 0x18], 8
jb 0x10674d2
mov esi, dword [esi]
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x102edbc
lea ecx, [ebp - 0x24]
call dword [sym.imp.mmcbase.DLL_public:_class_mmcerror::SC____thiscall_mmcerror::SC::FromLastError_void_]
jmp 0x102ee23