Function at 0x1014c89
Capabilities:
Get file attributes

Disassembly:
mov eax, 0x1106a81
call fcn.01003440
sub esp, 0x8c
push ebx
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov eax, dword [sym.imp.mmcbase.DLL_unsigned_int_mmcerror::SC::s_CallDepth]
push esi
push edi
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
inc dword [eax]
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x24], 3
mov dword [ebp - 0x20], ebx
xor edi, edi
inc edi
push 0x1014d30
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], edi
call dword [sym.imp.mmcbase.DLL_public:_void___thiscall_mmcerror::SC::SetFunctionName_unsigned_short_int_const__]
mov eax, dword [ebp + 0x14]
mov byte [eax], bl
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 4]
cmp eax, ebx
je 0x1064557
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
shr eax, 4
not al
and al, 1
mov byte [ebp - 0x2d], al
jne 0x1064561
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__]
mov dword [ebp - 0x14], edi
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x24]
call dword [sym.imp.mmcbase.DLL_public:_void___thiscall_mmcerror::SC::destructor_void_]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0x14
mov eax, dword [sym.imp.msvcp60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
jmp 0x1014ce2
lea ecx, [ebp - 0x2c]
call fcn.010104da
push ebx
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.01014a11
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], 3
call esi
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 2
call dword [sym.imp.mmcbase.DLL_public:_void___thiscall_mmcerror::SC::destructor_void_]
cmp dword [ebp - 0x20], ebx
je 0x10645c5
cmp dword [ebp - 0x24], 3
jne 0x10645aa
cmp dword [ebp - 0x20], ebx
setl al
jmp 0x10645ac
mov al, 1
cmp al, bl
je 0x10645c5
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__]
mov dword [ebp - 0x14], edi
jmp 0x1064744
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 4]
cmp eax, ebx
jne 0x10645d4
mov eax, dword [sym.imp.msvcp60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
push ebx
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.0104eaa1
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 4
call esi
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 2
call dword [sym.imp.mmcbase.DLL_public:_void___thiscall_mmcerror::SC::destructor_void_]
cmp dword [ebp - 0x20], ebx
je 0x1064613
cmp dword [ebp - 0x24], 3
jne 0x106460d
cmp dword [ebp - 0x20], ebx
setl al
jmp 0x106460f
mov al, 1
cmp al, bl
jne 0x10645b0
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 5
call fcn.0101484d
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 6
call fcn.010210ad
push eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 7
call fcn.0104262b
mov eax, dword [ebp - 0x48]
cmp eax, ebx
mov byte [ebp - 4], 0xa
je 0x1064655
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x34]
cmp eax, ebx
mov byte [ebp - 4], 9
je 0x1064666
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push ebx
push dword [0x1041f1c]
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x74]
mov byte [ebp - 0x54], 1
call fcn.01020ead
push ebx
push dword [0x100c244]
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0xb
call fcn.01020ead
xor eax, eax
lea edi, [ebp + 0xf]
stosb byte es:[edi], al
lea eax, [ebp + 0xf]
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0xc
call dword [sym.imp.msvcp60.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::constructor_class_std::allocator_unsigned_short_int__const__]
push ecx
push ecx
mov eax, esp
lea ecx, [ebp - 0x44]
mov dword [eax + 4], ecx
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0xd
mov dword [ebp - 0x4c], esp
mov dword [eax], 0xb
call fcn.01042f89
push dword [ebp + 0x10]
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.msvcp60.dll_bool___cdecl_std::operator_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const___class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const__]
cmp al, bl
pop ecx
pop ecx
je 0x10646f5
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x18]
mov byte [eax], 1
lea eax, [ebp - 0x2c]
push eax
call fcn.01042690
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0xc
call dword [sym.imp.msvcp60.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::destructor_void_]
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0xb
call fcn.01031e8f
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 9
call fcn.01031e8f
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 5
call fcn.01031e8f
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 4], 2
call dword [sym.imp.mmcbase.DLL_public:_void___thiscall_mmcerror::SC::constructor_class_mmcerror::SC_const__]
mov dword [ebp - 0x14], 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.01031ece
jmp 0x1014d09