Function at 0x108904c
Capabilities:
Get file attributes

Disassembly:
mov eax, 0x1091b63
call fcn.010826d8
sub esp, 0x8c
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
jne 0x108907b
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 eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
shr eax, 4
not al
and al, 1
mov byte [ebp + 0xf], al
jne 0x108909b
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov dword [eax + 4], ebx
jmp 0x10892ad
lea ecx, [ebp - 0x18]
call fcn.01022fb3
xor edi, edi
push edi
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], edi
call fcn.01085dee
mov ecx, dword [eax]
mov eax, dword [eax + 4]
cmp eax, edi
je 0x10890dd
cmp ecx, 3
jne 0x10890ca
cmp eax, edi
setl dl
jmp 0x10890cc
mov dl, 1
test dl, dl
je 0x10890dd
mov esi, dword [ebp + 8]
mov dword [esi], ecx
mov dword [esi + 4], eax
jmp 0x108927a
mov eax, dword [esi + 4]
cmp eax, edi
jne 0x10890e9
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 - 0x18]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.010877fd
mov ebx, dword [eax + 4]
cmp ebx, edi
mov ecx, dword [eax]
mov dword [ebp - 0x50], ecx
je 0x1089120
cmp ecx, 3
jne 0x1089110
cmp ebx, edi
setl al
jmp 0x1089112
mov al, 1
test al, al
je 0x1089120
mov esi, dword [ebp + 8]
mov dword [esi], ecx
jmp 0x1089277
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.01085857
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.0102e786
push eax
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 3
call fcn.01085042
mov eax, dword [ebp - 0x28]
cmp eax, edi
mov byte [ebp - 4], 6
je 0x1089162
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
cmp eax, edi
mov byte [ebp - 4], 5
je 0x1089173
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [0x100c178]
lea ecx, [ebp - 0x5c]
mov byte [ebp - 0x64], 1
call fcn.01083192
push edi
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 7
call fcn.0108828b
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 9
call fcn.01083138
push dword [0x100c188]
lea ecx, [ebp - 0x34]
call fcn.01083192
push edi
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x98]
push eax
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 0xa
call fcn.0108828b
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0xc
call fcn.01083138
xor eax, eax
lea edi, [ebp + 0xf]
stosb byte es:[edi], al
lea eax, [ebp + 0xf]
push eax
lea ecx, [ebp - 0x44]
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 - 0x84]
mov byte [ebp - 4], 0xd
mov dword [ebp - 0x48], esp
mov dword [eax], 0xb
call fcn.01087219
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__]
test al, al
pop ecx
pop ecx
je 0x1089238
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x18]
mov byte [eax], 1
lea eax, [ebp - 0x18]
push eax
call fcn.010305ed
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 - 0x84]
mov byte [ebp - 4], 9
call fcn.01023f31
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 5
call fcn.01023f31
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 1
call fcn.01023f31
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 0x50]
mov dword [esi], eax
mov dword [esi + 4], ebx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.0102281a
mov eax, esi
jmp 0x10892ad
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0x14