Function at 0x1007d7a0
Capabilities:
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x1009caff
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x100cd8ec]
xor eax, esp
mov dword [esp + 0xa0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100cd8ec]
xor eax, esp
push eax
lea eax, [esp + 0xb8]
mov dword fs:[0], eax
mov esi, dword [esp + 0xcc]
push esi
lea ecx, [esp + 0x80]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
cmp dword [esp + 0x90], 2
mov dword [esp + 0xc0], 0
jne 0x1006e7ad
cmp byte [esi + 1], 0x3a
jne 0x1006e7ad
push 0x100a279c
lea ecx, [esp + 0x80]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
lea ecx, [esp + 0x60]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
lea ecx, [esp + 0x98]
mov byte [esp + 0xc0], 1
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
lea ecx, [esp + 0x44]
mov byte [esp + 0xc0], 2
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
mov eax, dword [esp + 0xd0]
mov ecx, dword [esp + 0xc8]
push eax
push ecx
lea edx, [esp + 0x24]
push edx
mov byte [esp + 0xcc], 3
mov dword [esp + 0x20], 1
call fcn.1006dc90
add esp, 0xc
mov eax, dword [esp + 0x20]
mov ebx, dword [eax]
mov ebp, dword [sym.imp.MSVCP80.dll_bool___cdecl_std::operator_char__struct_std::char_traits_char___class_std::allocator_char___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov byte [esp + 0xc0], 4
mov dword [esp + 0x40], eax
cmp ebx, dword [esp + 0x40]
je 0x1006e8b9
cmp ebx, eax
jne 0x1006e837
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [ebx + 8]
cmp dword [eax + 0x34], 0x10
mov ecx, dword [eax + 0x30]
lea esi, [eax + 0x1c]
jb 0x1006e84b
mov eax, dword [esi + 4]
jmp 0x1006e84e
lea eax, [esi + 4]
push ecx
push 0
push eax
lea ecx, [esp + 0x88]
call dword [sym.imp.MSVCP80.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::find_char_const___unsigned_int__unsigned_int_const]
mov edi, eax
lea eax, [esp + 0x7c]
push eax
push esi
call ebp
mov ecx, dword [sym.imp.MSVCP80.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov ecx, dword [ecx]
add esp, 8
cmp edi, ecx
jne 0x1006e886
test al, al
jne 0x1006e886
mov dword [esp + 0x14], 1
jmp 0x1006e88e
cmp al, 1
je 0x1006e8a7
cmp edi, ecx
jne 0x1006e8b1
mov eax, dword [esp + 0x20]
cmp ebx, eax
jne 0x1006e8a0
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x20]
mov ebx, dword [ebx]
jmp 0x1006e823
mov dword [esp + 0x14], 2
jmp 0x1006e8b9
mov dword [esp + 0x14], 0
lea edx, [esp + 0x7c]
push edx
lea ecx, [esp + 0x48]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
push 0x100ae04c
lea ecx, [esp + 0x48]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
mov esi, dword [esp + 0x14]
mov eax, esi
sub eax, 0
je 0x1006e8fa
sub eax, 1
je 0x1006e8f3
sub eax, 1
jne 0x1006e909
push 0x100ae070
jmp 0x1006e8ff
push 0x100ae06c
jmp 0x1006e8ff
push 0x100ae068
lea ecx, [esp + 0x48]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
push 0x100ae04c
lea ecx, [esp + 0x48]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
push 0x100ae04c
lea ecx, [esp + 0x48]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
cmp esi, 1
mov edi, 0x10
je 0x1006eabb
xor eax, eax
cmp dword [esp + 0x94], edi
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x80]
jae 0x1006e95e
lea eax, [esp + 0x80]
push eax
call fcn.1007e620
mov ebx, eax
xor ebp, ebp
add esp, 4
cmp ebx, ebp
mov dword [esp + 0x14], ebx
je 0x1006eabb
mov esi, dword [ebx]
lea esp, [esp]
cmp byte [esi], 0x2e
je 0x1006ea8d
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0x64]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
push 0x100a279c
lea ecx, [esp + 0x64]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
push esi
lea ecx, [esp + 0x64]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
mov eax, dword [esp + 0x64]
or ebx, 0xffffffff
cmp dword [esp + 0x78], edi
jae 0x1006e9c3
lea eax, [esp + 0x64]
mov ecx, dword [esp + 0x74]
push ecx
push eax
lea edx, [esp + 0x40]
push edx
lea eax, [esp + 0x24]
push eax
push 0xfde9
call fcn.1007e450
add esp, 0x14
test eax, eax
jne 0x1006e9f1
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
mov eax, dword [esp + 0x18]
cmp eax, ebp
je 0x1006ea03
push eax
call dword [sym.imp.MSVCR80.dll_free]
add esp, 4
test bl, 2
mov dword [esp + 0x18], ebp
jne 0x1006ea89
test ebx, 0x400
jne 0x1006ea89
cmp dword [esp + 0x78], edi
mov eax, dword [esp + 0x64]
jae 0x1006ea22
lea eax, [esp + 0x64]
lea edx, [esp + 0x28]
push edx
push eax
call fcn.1007e9f0
mov eax, dword [esp + 0x30]
add esp, 8
cmp eax, 1
jne 0x1006ea40
push 0x100ae064
jmp 0x1006ea4a
cmp eax, 4
je 0x1006ea89
push 0x100ae050
lea ecx, [esp + 0x9c]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
push 0x100ae04c
lea ecx, [esp + 0x9c]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
push esi
lea ecx, [esp + 0x9c]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
push 0x100a0844
lea ecx, [esp + 0x9c]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
mov ebx, dword [esp + 0x14]
push ebx
call fcn.1007e800
mov esi, eax
add esp, 4
cmp esi, ebp
jne 0x1006e980
push ebx
call fcn.1007e960
add esp, 4
lea eax, [esp + 0x98]
push eax
lea ecx, [esp + 0x48]
call dword [0x1009f134]
cmp dword [esp + 0x5c], edi
mov eax, dword [esp + 0x48]
jae 0x1006eac9
lea eax, [esp + 0x48]
push eax
call dword [sym.imp.MSVCR80.dll__strdup]
add esp, 4
lea ecx, [esp + 0x1c]
mov esi, eax
call fcn.1004d490
lea ecx, [esp + 0x44]
mov byte [esp + 0xc0], 2
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x98]
mov byte [esp + 0xc0], 1
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x60]
mov byte [esp + 0xc0], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x7c]
mov dword [esp + 0xc0], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov eax, esi
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.10090e24
add esp, 0xb0
ret
jmp 0x1006e730