Function at 0x10027480
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10035b97
mov eax, dword fs:[0]
push eax
sub esp, 0x490
mov eax, dword [0x1004c024]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x48c], ecx
mov ecx, dword [ebp - 0x48c]
call fcn.10026c70
test eax, eax
jne 0x100274c7
xor eax, eax
jmp 0x100276c9
lea eax, [ebp - 0x460]
push eax
mov ecx, dword [ebp - 0x48c]
call fcn.10025e50
mov dword [ebp - 0x490], eax
mov ecx, dword [ebp - 0x490]
mov dword [ebp - 0x494], ecx
mov dword [ebp - 4], 0
push 0x1003f1e4
mov edx, dword [ebp - 0x494]
push edx
lea eax, [ebp - 0x47c]
push eax
call dword [sym.imp.MSVCP80.dll_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_std::operator_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___wchar_t_const__]
add esp, 0xc
mov dword [ebp - 0x498], eax
mov ecx, dword [ebp - 0x498]
mov dword [ebp - 0x49c], ecx
mov byte [ebp - 4], 1
push str.registerVss.bat
mov edx, dword [ebp - 0x49c]
push edx
lea eax, [ebp - 0x238]
push eax
call dword [sym.imp.MSVCP80.dll_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_std::operator_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___wchar_t_const__]
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x47c]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x460]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [ebp - 0x238]
push ecx
mov ecx, dword [ebp - 0x48c]
call fcn.10026330
test eax, eax
jne 0x1002759e
mov dword [ebp - 0x480], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x238]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov eax, dword [ebp - 0x480]
jmp 0x100276c9
mov word [ebp - 0x21c], 0
push 0x206
push 0
lea edx, [ebp - 0x21a]
push edx
call sub.ntdll.dll_memset
add esp, 0xc
push 0x104
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x1003f1e8
lea ecx, [ebp - 0x21c]
push ecx
call dword [sym.imp.ntdll.dll_wcscat]
add esp, 8
mov word [ebp - 0x444], 0
push 0x206
push 0
lea edx, [ebp - 0x442]
push edx
call sub.ntdll.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x238]
call dword [sym.imp.MSVCP80.dll_public:_unsigned_int___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::size_void_const]
shl eax, 1
push eax
lea ecx, [ebp - 0x238]
call dword [sym.imp.MSVCP80.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
lea eax, [ebp - 0x444]
push eax
call sub.ntdll.dll_memcpy
add esp, 0xc
lea ecx, [ebp - 0x444]
push ecx
lea edx, [ebp - 0x21c]
push edx
call dword [sym.imp.ntdll.dll_wcscat]
add esp, 8
push 1
lea eax, [ebp - 0x444]
push eax
mov ecx, dword [ebp - 0x48c]
call fcn.100273b0
test eax, eax
jne 0x10027694
lea ecx, [ebp - 0x238]
push ecx
mov ecx, dword [ebp - 0x48c]
call fcn.10026310
mov dword [ebp - 0x484], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x238]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov eax, dword [ebp - 0x484]
jmp 0x100276c9
lea edx, [ebp - 0x238]
push edx
mov ecx, dword [ebp - 0x48c]
call fcn.10026310
mov dword [ebp - 0x488], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x238]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov eax, dword [ebp - 0x488]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1000f6c2
mov esp, ebp
pop ebp
ret