Function at 0x101ccc4
Capabilities:
Get file attributes

Disassembly:
mov eax, 0x108329c
call fcn.01002b15
sub esp, 0x84
mov eax, dword [ebp + 0x14]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
xor ebx, ebx
mov dword [ebp - 0x10], esp
mov byte [eax], bl
mov eax, dword [esi + 4]
cmp eax, ebx
push 3
pop edi
je 0x103da43
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
shr eax, 4
not al
and al, 1
mov byte [ebp + 0xf], al
jne 0x103da4d
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov dword [eax + 4], ebx
mov ecx, dword [ebp - 0xc]
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 0x101ccf2
lea ecx, [ebp - 0x24]
call fcn.01007e6a
xor edi, edi
push edi
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], edi
call fcn.0101b374
mov ecx, dword [eax]
mov eax, dword [eax + 4]
cmp eax, edi
je 0x103da8f
cmp ecx, 3
jne 0x103da7c
cmp eax, edi
setl dl
jmp 0x103da7e
mov dl, 1
test dl, dl
je 0x103da8f
mov esi, dword [ebp + 8]
mov dword [esi], ecx
mov dword [esi + 4], eax
jmp 0x103dc13
mov eax, dword [esi + 4]
cmp eax, edi
jne 0x103da9b
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 edi
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.0101cd22
mov edi, dword [eax + 4]
test edi, edi
mov ebx, dword [eax]
je 0x103dac9
cmp ebx, 3
jne 0x103dabf
test edi, edi
setl al
jmp 0x103dac1
mov al, 1
test al, al
jne 0x103dc0b
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 1
call fcn.0101b57f
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.010084fb
push eax
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 3
call fcn.0101d292
mov eax, dword [ebp - 0x18]
test eax, eax
mov byte [ebp - 4], 6
je 0x103db0b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
test eax, eax
mov byte [ebp - 4], 5
je 0x103db1c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [0x10315a4]
lea ecx, [ebp - 0x38]
mov byte [ebp - 0x5c], 1
call fcn.01008388
push 0
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 7
call fcn.0100801e
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 9
call fcn.010041dd
push dword [0x10315c8]
lea ecx, [ebp - 0x44]
call fcn.01008388
push 0
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0xa
call fcn.0100801e
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0xc
call fcn.010041dd
lea eax, [ebp + 0xf]
push eax
lea ecx, [ebp - 0x54]
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 - 0x54]
mov dword [eax + 4], ecx
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0xd
mov dword [ebp - 0x1c], esp
mov dword [eax], 0xb
call fcn.01017ed1
push dword [ebp + 0x10]
lea eax, [ebp - 0x54]
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__]
test al, al
pop ecx
pop ecx
je 0x103dbd7
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x18]
mov byte [eax], 1
lea eax, [ebp - 0x24]
push eax
call fcn.010085f0
lea ecx, [ebp - 0x54]
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 - 0x7c]
mov byte [ebp - 4], 9
call fcn.0100be5c
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 5
call fcn.0100be5c
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 1
call fcn.0100be5c
mov esi, dword [ebp + 8]
mov dword [esi], ebx
mov dword [esi + 4], edi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.0100be96
mov eax, esi
jmp 0x101cd11