Function at 0x1007d750
Capabilities:
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x1009c96f
mov eax, dword fs:[0]
push eax
sub esp, 0xac
mov eax, dword [0x100cd8ec]
xor eax, esp
mov dword [esp + 0xa8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100cd8ec]
xor eax, esp
push eax
lea eax, [esp + 0xc0]
mov dword fs:[0], eax
mov esi, dword [esp + 0xd0]
push esi
lea ecx, [esp + 0x88]
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 + 0x98], 2
mov dword [esp + 0xc8], 0
jne 0x1006d8bd
cmp byte [esi + 1], 0x3a
jne 0x1006d8bd
push 0x100a279c
lea ecx, [esp + 0x88]
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 + 0x68]
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 + 0xa0]
mov byte [esp + 0xc8], 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 + 0x4c]
mov byte [esp + 0xc8], 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_]
lea eax, [esp + 0x24]
push eax
mov byte [esp + 0xcc], 3
mov ebp, 1
call fcn.1006ce00
add esp, 4
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
mov byte [esp + 0xc8], 4
mov dword [esp + 0x20], ecx
mov dword [esp + 0x48], eax
mov byte [esp + 0x17], 0
jmp 0x1006d930
mov esi, dword [esp + 0x20]
cmp esi, dword [esp + 0x48]
je 0x1006d9eb
cmp esi, eax
jne 0x1006d948
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp byte [esp + 0x17], 0
mov ebx, dword [esi + 8]
jne 0x1006d9b8
cmp dword [ebx + 0x34], 0x10
mov ecx, dword [ebx + 0x30]
lea esi, [ebx + 0x1c]
jb 0x1006d963
mov eax, dword [esi + 4]
jmp 0x1006d966
lea eax, [esi + 4]
push ecx
push 0
push eax
lea ecx, [esp + 0x90]
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]
lea edx, [esp + 0x84]
push edx
push esi
mov edi, eax
call 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 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 0x1006d9a2
test al, al
jne 0x1006d9a2
mov ebp, 1
jmp 0x1006d9b8
cmp al, 1
jne 0x1006d9ad
mov ebp, 2
jmp 0x1006d9b3
cmp edi, ecx
je 0x1006d9b8
xor ebp, ebp
mov byte [esp + 0x17], 1
test ebx, ebx
je 0x1006d9cc
mov ecx, ebx
call fcn.1006aa20
push ebx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov esi, dword [esp + 0x20]
cmp esi, dword [esp + 0x28]
jne 0x1006d9dc
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edx, dword [esi]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x20], edx
jmp 0x1006d930
lea eax, [esp + 0x84]
push eax
lea ecx, [esp + 0x50]
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 + 0x50]
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, ebp
sub eax, 0
je 0x1006da2b
sub eax, 1
je 0x1006da24
sub eax, 1
jne 0x1006da3a
push 0x100ae070
jmp 0x1006da30
push 0x100ae06c
jmp 0x1006da30
push 0x100ae068
lea ecx, [esp + 0x50]
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 + 0x50]
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 + 0x50]
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 ebp, 1
mov ebp, 0x10
je 0x1006dbec
xor eax, eax
cmp dword [esp + 0x9c], ebp
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x88]
jae 0x1006da8f
lea eax, [esp + 0x88]
push eax
call fcn.1007e620
mov edi, eax
add esp, 4
test edi, edi
je 0x1006dbec
mov esi, dword [edi]
cmp byte [esi], 0x2e
je 0x1006dbbe
lea ecx, [esp + 0x84]
push ecx
lea ecx, [esp + 0x6c]
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 + 0x6c]
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 + 0x6c]
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 + 0x6c]
or ebx, 0xffffffff
cmp dword [esp + 0x80], ebp
jae 0x1006daed
lea eax, [esp + 0x6c]
mov edx, dword [esp + 0x7c]
push edx
push eax
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x24]
push ecx
push 0xfde9
call fcn.1007e450
add esp, 0x14
test eax, eax
jne 0x1006db1b
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
mov eax, dword [esp + 0x18]
test eax, eax
je 0x1006db2d
push eax
call dword [sym.imp.MSVCR80.dll_free]
add esp, 4
test bl, 2
mov dword [esp + 0x18], 0
jne 0x1006dbbe
test ebx, 0x400
jne 0x1006dbbe
cmp dword [esp + 0x80], ebp
mov eax, dword [esp + 0x6c]
jae 0x1006db57
lea eax, [esp + 0x6c]
lea ecx, [esp + 0x30]
push ecx
push eax
call fcn.1007e9f0
mov eax, dword [esp + 0x38]
add esp, 8
cmp eax, 1
jne 0x1006db75
push 0x100ae064
jmp 0x1006db7f
cmp eax, 4
je 0x1006dbbe
push 0x100ae050
lea ecx, [esp + 0xa4]
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 + 0xa4]
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 + 0xa4]
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 + 0xa4]
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 edi
call fcn.1007e800
mov esi, eax
add esp, 4
test esi, esi
jne 0x1006daa4
push edi
call fcn.1007e960
add esp, 4
lea edx, [esp + 0xa0]
push edx
lea ecx, [esp + 0x50]
call dword [0x1009f134]
cmp dword [esp + 0x64], ebp
mov eax, dword [esp + 0x50]
jae 0x1006dbfa
lea eax, [esp + 0x50]
push eax
call dword [sym.imp.MSVCR80.dll__strdup]
add esp, 4
lea ecx, [esp + 0x24]
mov esi, eax
call fcn.1004d490
lea ecx, [esp + 0x4c]
mov byte [esp + 0xc8], 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 + 0xa0]
mov byte [esp + 0xc8], 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 + 0x68]
mov byte [esp + 0xc8], 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 + 0x84]
mov dword [esp + 0xc8], 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 + 0xc0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xa8]
xor ecx, esp
call fcn.10090e24
add esp, 0xb8
ret
jmp 0x1006d840