Function at 0x1007d790
Capabilities:
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x1009ca9f
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 + 0xd4]
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__]
mov eax, dword [esp + 0x98]
cmp eax, 2
mov dword [esp + 0xc8], 0
mov byte [esp + 0x17], 0
jne 0x1006e2b6
cmp byte [esi + 1], 0x3a
jne 0x1006e2d0
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__]
jmp 0x1006e2c1
cmp eax, 3
jne 0x1006e2d0
cmp byte [esi + 1], 0x3a
jne 0x1006e2d0
cmp byte [esp + 0xd8], 1
jne 0x1006e2d0
mov byte [esp + 0x17], 1
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_]
mov eax, dword [esp + 0xd8]
mov ecx, dword [esp + 0xd0]
push eax
push ecx
lea edx, [esp + 0x2c]
push edx
mov byte [esp + 0xd4], 3
mov dword [esp + 0x24], 1
call fcn.1006dc90
add esp, 0xc
mov eax, dword [esp + 0x28]
mov ebp, dword [eax]
mov byte [esp + 0xc8], 4
mov dword [esp + 0x44], eax
xor bl, bl
cmp ebp, dword [esp + 0x44]
je 0x1006e412
cmp ebp, eax
jne 0x1006e356
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 0x30]
mov dword [esp + 0x20], esi
add esi, 0x1c
cmp dword [esi + 0x18], 0x10
jb 0x1006e36e
mov eax, dword [esi + 4]
jmp 0x1006e371
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]
mov edi, eax
lea eax, [esp + 0x84]
push eax
push esi
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__]
add esp, 8
test bl, bl
jne 0x1006e3e0
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]
cmp edi, ecx
jne 0x1006e3b4
test al, al
jne 0x1006e3b4
mov dword [esp + 0x18], 1
jmp 0x1006e3e0
cmp al, 1
jne 0x1006e3d2
cmp byte [esp + 0x17], al
je 0x1006e3c8
cmp byte [esp + 0xd8], 0
jne 0x1006e3d2
mov dword [esp + 0x18], 2
jmp 0x1006e3de
cmp edi, ecx
je 0x1006e3e0
mov dword [esp + 0x18], 0
mov bl, 1
mov esi, dword [esp + 0x20]
test esi, esi
je 0x1006e3f8
mov ecx, esi
call fcn.1006aa20
push esi
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [esp + 0x28]
cmp ebp, eax
jne 0x1006e40a
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x28]
mov ebp, dword [ebp]
jmp 0x1006e342
lea edx, [esp + 0x84]
push edx
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 esi, dword [esp + 0x18]
mov eax, esi
sub eax, 0
je 0x1006e456
sub eax, 1
je 0x1006e44f
sub eax, 1
jne 0x1006e465
push 0x100ae070
jmp 0x1006e45b
push 0x100ae06c
jmp 0x1006e45b
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 esi, 1
je 0x1006e685
xor eax, eax
mov edi, 0x10
cmp dword [esp + 0x9c], edi
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 0x1006e4ba
lea eax, [esp + 0x88]
push eax
call fcn.1007e620
mov esi, eax
add esp, 4
test esi, esi
mov dword [esp + 0x18], esi
je 0x1006e685
mov ebp, dword [esi]
jmp 0x1006e4e5
mov edi, 0x10
cmp byte [ebp], 0x2e
je 0x1006e657
lea eax, [esp + 0x84]
push eax
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 ebp
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], edi
jae 0x1006e52f
lea eax, [esp + 0x6c]
mov ecx, dword [esp + 0x7c]
push ecx
push eax
lea edx, [esp + 0x50]
push edx
lea eax, [esp + 0x28]
push eax
push 0xfde9
call fcn.1007e450
add esp, 0x14
test eax, eax
jne 0x1006e55d
mov ecx, dword [esp + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x1006e56f
push eax
call dword [sym.imp.MSVCR80.dll_free]
add esp, 4
test bl, 2
mov dword [esp + 0x1c], 0
jne 0x1006e657
test ebx, 0x400
jne 0x1006e657
cmp dword [esp + 0x80], edi
mov eax, dword [esp + 0x6c]
jae 0x1006e59d
lea eax, [esp + 0x6c]
lea edx, [esp + 0x30]
push edx
push eax
call fcn.1007e9f0
mov eax, dword [esp + 0x38]
add esp, 8
cmp eax, 1
jne 0x1006e5c8
push 0x100ae064
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__]
jmp 0x1006e61f
cmp eax, 4
je 0x1006e657
mov eax, ebp
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1006e5d6
sub eax, edx
lea eax, [eax + ebp - 4]
mov edi, str..pfx
mov esi, eax
mov ecx, 5
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x1006e609
mov esi, eax
mov edi, str..p12
mov ecx, 5
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x1006e653
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__]
mov esi, dword [esp + 0x18]
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 ebp
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__]
jmp 0x1006e657
mov esi, dword [esp + 0x18]
push esi
call fcn.1007e800
mov ebp, eax
add esp, 4
test ebp, ebp
jne 0x1006e4e0
push esi
call fcn.1007e960
add esp, 4
lea ecx, [esp + 0xa0]
push ecx
lea ecx, [esp + 0x50]
call dword [0x1009f134]
cmp dword [esp + 0x64], 0x10
mov eax, dword [esp + 0x50]
jae 0x1006e694
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 0x1006e230