Function at 0x1007ce60
Capabilities:
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x1009c0cf
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x100cc8ec]
xor eax, esp
mov dword [esp + 0xa0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100cc8ec]
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 0x1006df1d
cmp byte [esi + 1], 0x3a
jne 0x1006df1d
push 0x100a179c
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.1006d400
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 0x1006e029
cmp ebx, eax
jne 0x1006dfa7
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 0x1006dfbb
mov eax, dword [esi + 4]
jmp 0x1006dfbe
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 0x1006dff6
test al, al
jne 0x1006dff6
mov dword [esp + 0x14], 1
jmp 0x1006dffe
cmp al, 1
je 0x1006e017
cmp edi, ecx
jne 0x1006e021
mov eax, dword [esp + 0x20]
cmp ebx, eax
jne 0x1006e010
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x20]
mov ebx, dword [ebx]
jmp 0x1006df93
mov dword [esp + 0x14], 2
jmp 0x1006e029
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 0x100aceb0
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 0x1006e06a
sub eax, 1
je 0x1006e063
sub eax, 1
jne 0x1006e079
push 0x100aced4
jmp 0x1006e06f
push 0x100aced0
jmp 0x1006e06f
push 0x100acecc
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 0x100aceb0
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 0x100aceb0
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 0x1006e22b
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 0x1006e0ce
lea eax, [esp + 0x80]
push eax
call fcn.1007dcc0
mov ebx, eax
xor ebp, ebp
add esp, 4
cmp ebx, ebp
mov dword [esp + 0x14], ebx
je 0x1006e22b
mov esi, dword [ebx]
lea esp, [esp]
cmp byte [esi], 0x2e
je 0x1006e1fd
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 0x100a179c
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 0x1006e133
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.1007daf0
add esp, 0x14
test eax, eax
jne 0x1006e161
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 0x1006e173
push eax
call dword [sym.imp.MSVCR80.dll_free]
add esp, 4
test bl, 2
mov dword [esp + 0x18], ebp
jne 0x1006e1f9
test ebx, 0x400
jne 0x1006e1f9
cmp dword [esp + 0x78], edi
mov eax, dword [esp + 0x64]
jae 0x1006e192
lea eax, [esp + 0x64]
lea edx, [esp + 0x28]
push edx
push eax
call fcn.1007e090
mov eax, dword [esp + 0x30]
add esp, 8
cmp eax, 1
jne 0x1006e1b0
push 0x100acec8
jmp 0x1006e1ba
cmp eax, 4
je 0x1006e1f9
push 0x100aceb4
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 0x100aceb0
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 0x1009f844
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.1007dea0
mov esi, eax
add esp, 4
cmp esi, ebp
jne 0x1006e0f0
push ebx
call fcn.1007e000
add esp, 4
lea eax, [esp + 0x98]
push eax
lea ecx, [esp + 0x48]
call dword [0x1009e134]
cmp dword [esp + 0x5c], edi
mov eax, dword [esp + 0x48]
jae 0x1006e239
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.10046990
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.10090524
add esp, 0xb0
ret
jmp 0x1006dea0