Function at 0x1029545
Capabilities:
Check if file exists
Get disk information

Disassembly:
push 0x5c
mov eax, 0x1030d56
call fcn.0102d2d6
and dword [ebp - 4], 0
xor eax, eax
lea edi, [ebp - 0xe]
stosb byte es:[edi], al
sub esp, 0x10
lea edi, [ebp - 0xf]
stosb byte es:[edi], al
mov ecx, esp
mov dword [ebp - 0x18], esp
lea eax, [ebp - 0xe]
push eax
mov esi, 0x100e780
push esi
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_unsigned_short_int_const___class_std::allocator_unsigned_short_int__const__]
push 0xf3
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x1c], esp
lea eax, [ebp - 0xf]
push eax
mov ebx, 0x1002b10
push ebx
mov byte [ebp - 4], 1
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_unsigned_short_int_const___class_std::allocator_unsigned_short_int__const__]
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0
call fcn.01011355
xor eax, eax
lea edi, [ebp - 0x10]
stosb byte es:[edi], al
lea edi, [ebp - 0x11]
stosb byte es:[edi], al
lea edi, [ebp - 0x12]
lea ecx, [ebp + 8]
mov byte [ebp - 4], 2
mov byte [ebp - 0xd], 0
stosb byte es:[edi], al
call dword [sym.imp.msvcp60.dll_public:_unsigned_short_int_const____thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::c_str_void_const]
push eax
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x1c], esp
lea eax, [ebp - 0x10]
push eax
push 0x100e730
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_unsigned_short_int_const___class_std::allocator_unsigned_short_int__const__]
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x18], esp
lea eax, [ebp - 0x11]
push eax
push esi
mov byte [ebp - 4], 3
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_unsigned_short_int_const___class_std::allocator_unsigned_short_int__const__]
push 0xf6
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x20], esp
lea eax, [ebp - 0x12]
push eax
push ebx
mov byte [ebp - 4], 4
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_unsigned_short_int_const___class_std::allocator_unsigned_short_int__const__]
lea eax, [ebp - 0x68]
push eax
mov byte [ebp - 4], 2
call fcn.010111d2
add esp, 0x2c
lea eax, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x20], esp
push eax
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::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const__]
lea eax, [ebp - 0x30]
push eax
call fcn.01017de2
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 5
call dword [sym.imp.msvcp60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::operator_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const__]
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
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 + 8]
call dword [sym.imp.msvcp60.dll_public:_unsigned_short_int_const____thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::c_str_void_const]
push eax
call sub.RESUTILS.dll_ClusterIsPathOnSharedVolume
test eax, eax
jne 0x102976d
lea edi, [ebp - 0x12]
stosb byte es:[edi], al
lea eax, [ebp - 0x12]
push eax
push 0
push 0x104
lea ecx, [ebp - 0x30]
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_unsigned_int__unsigned_short_int__class_std::allocator_unsigned_short_int__const__]
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 6
call fcn.010110b2
mov edi, dword [eax + 8]
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 7
call dword [sym.imp.msvcp60.dll_public:_unsigned_int___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::length_void_const]
push eax
push edi
lea ecx, [ebp + 8]
call dword [sym.imp.msvcp60.dll_public:_unsigned_short_int_const____thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::c_str_void_const]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeNameForVolumeMountPointW]
neg eax
sbb al, al
inc al
lea ecx, [ebp - 0x44]
mov byte [ebp - 0x11], al
mov byte [ebp - 4], 6
call fcn.01011176
cmp byte [ebp - 0x11], 0
je 0x1029757
xor eax, eax
lea edi, [ebp - 0x11]
stosb byte es:[edi], al
lea edi, [ebp - 0x10]
stosb byte es:[edi], al
lea edi, [ebp - 0x13]
stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
sub esp, 0x10
mov edi, esp
lea esi, [ebp + 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
sub esp, 0x10
movsd dword es:[edi], dword [esi]
mov ecx, esp
mov dword [ebp - 0x20], esp
lea eax, [ebp - 0x11]
push eax
push 0x100e6c8
movsd dword es:[edi], dword [esi]
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_unsigned_short_int_const___class_std::allocator_unsigned_short_int__const__]
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x1c], esp
lea eax, [ebp - 0x10]
push eax
push 0x100e780
mov byte [ebp - 4], 8
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_unsigned_short_int_const___class_std::allocator_unsigned_short_int__const__]
push 0x102
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x18], esp
lea eax, [ebp - 0x13]
push eax
push ebx
mov byte [ebp - 4], 9
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_unsigned_short_int_const___class_std::allocator_unsigned_short_int__const__]
lea eax, [ebp - 0x68]
push eax
mov byte [ebp - 4], 6
call fcn.010111d2
add esp, 0x4c
mov esi, 0x100e780
jmp 0x102975b
mov byte [ebp - 0xd], 1
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
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_]
mov al, byte [ebp - 0xd]
jmp 0x1029787
lea ecx, [ebp + 8]
call dword [sym.imp.msvcp60.dll_public:_unsigned_short_int_const____thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::c_str_void_const]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
dec eax
neg eax
sbb al, al
inc al
mov byte [ebp - 0xd], al
mov ecx, 0x1009214
test al, al
jne 0x1029795
mov ecx, 0x1009208
xor eax, eax
lea edi, [ebp - 0x13]
stosb byte es:[edi], al
push ecx
lea edi, [ebp - 0x12]
stosb byte es:[edi], al
sub esp, 0x10
lea edi, [ebp - 0x11]
stosb byte es:[edi], al
mov ecx, esp
mov dword [ebp - 0x20], esp
lea eax, [ebp - 0x13]
push eax
push 0x100e6a0
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_unsigned_short_int_const___class_std::allocator_unsigned_short_int__const__]
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x1c], esp
lea eax, [ebp - 0x12]
push eax
push esi
mov byte [ebp - 4], 0xa
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_unsigned_short_int_const___class_std::allocator_unsigned_short_int__const__]
push 0x10e
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x18], esp
lea eax, [ebp - 0x11]
push eax
push ebx
mov byte [ebp - 4], 0xb
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_unsigned_short_int_const___class_std::allocator_unsigned_short_int__const__]
lea eax, [ebp - 0x68]
push eax
mov byte [ebp - 4], 2
call fcn.010111d2
add esp, 0x3c
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0
call fcn.01011422
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
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_]
mov al, byte [ebp - 0xd]
call fcn.0102d387
ret 0x10