Function at 0x10013a7f
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push ebx
push esi
push edi
mov dword [ebp - 0x208], 0
cmp dword [0x10034ed8], 0
jne 0x10013aa9
xor eax, eax
jmp 0x10013c81
test byte [ebp + 0xc], 0x10
jne 0x10013aba
xor eax, eax
jmp 0x10013c81
push 0x200
lea eax, [ebp - 0x204]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push 0x100ff884
lea eax, [ebp - 0x204]
push eax
call fcn.1001bc40
add esp, 8
cmp dword [ebp + 8], 0
je 0x10013b31
push 1
mov eax, dword [ebp + 8]
push eax
call fcn.1001bd20
add esp, 4
add eax, 0x32
push eax
call fcn.1001ca30
add esp, 8
mov dword [ebp - 0x208], eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 0x208]
push eax
call fcn.1001bc30
add esp, 8
push 0x100ff894
mov eax, dword [ebp - 0x208]
push eax
call fcn.1001bc40
add esp, 8
push 0
push 0x4800
push 0x100d7230
mov eax, dword [ebp - 0x208]
push eax
lea eax, [ebp - 0x204]
push eax
call fcn.10013e89
add esp, 0x14
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0
je 0x10013b6f
mov eax, dword [ebp - 0x208]
push eax
call fcn.1001bda0
add esp, 4
cmp dword [ebp - 4], 0xffffffff
jne 0x10013b90
push 0x2004012
call fcn.1000427e
add esp, 4
mov eax, 0xffffffff
jmp 0x10013c81
push 0x200
lea eax, [ebp - 0x204]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0x100ff8a4
lea eax, [ebp - 0x204]
push eax
call fcn.1001bc40
add esp, 8
push 0x100ff8ac
lea eax, [ebp - 0x204]
push eax
call fcn.1001bc40
add esp, 8
cmp dword [ebp + 8], 0
je 0x10013c1b
push 1
mov eax, dword [ebp + 8]
push eax
call fcn.1001bd20
add esp, 4
add eax, 0x32
push eax
call fcn.1001ca30
add esp, 8
mov dword [ebp - 0x208], eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 0x208]
push eax
call fcn.1001bc30
add esp, 8
push 0x100ff8bc
mov eax, dword [ebp - 0x208]
push eax
call fcn.1001bc40
add esp, 8
push 0
push 0x63e
push str.__r_n__INF_File_for_USB_Hardlock___Windows95_OSR2___Detroit_r_n_______________________________________________________r_n__r_n___c__Copyright_1997_1998_by_Aladdin_Knowledge_Systems_Germany_r_n__r_n___Revision:_1.2___r_n___Date:_1999_12_23_06:28:48___r_n___Author:_GILF___r_n__r_n___Log:_aksusb95.inf___r_n__Revision_1.2__1999_12_23_06:28:48__GILF_r_n__The_hinstall_inf_file_no_need_to_copylist_r_n___r_n__Revision_1.1__1999_10_27_13:44:49__GILF_r_n__Initial_revision_r_n__Revision_1.3__1998_08_30_06:09:51__CHARLIEH_r_n__Revision_1.2__1998_07_28_08:59:16__CHARLIEH_r_n__Change_usbpd_to_aksusb95_r_n__Revision_1.4__1998_05_13_15:32:33__chris_r_n__removed_hardlock.vxd_from_copylist_r_n___r_n__Revision_1.3__1998_03_11_14:00:37__chris_r_n__usbpd____aksusb_name_change_r_n__r_n__Revision_1.2__1998_03_06_13:09:13__chris_r_n__added_hardlock.vxd_to_copylist_r_n__r_n_r_n_Version__r_nsignature__CHICAGO___r_nProvider_Fast__r_nLayoutFileLAYOUT.INF_r_nClassUSB_r_n_r_n__Table_of_Contents_r_n_Manufacturer__r_n_FastMfg_Aladdin_r_n_r_n_PreCopySection__r_nHKR__NoSetupUI__1_r_n_r_n_DestinationDirs__r_naksusb95.CopyList__11_r_nDefaultDestDir10_system_r_n_r_n_Aladdin__r_n_USBVID_0529PID_0001.DeviceDesc_aksusb95__USBVID_0529PID_0001__USB_Protection_Device_r_n_r_n_NODRIVER__r_n_r_n_ControlFlags__r_nExcludeFromSelectUSBVID_0529PID_0001_r_n_r_n_aksusb95__r_n__CopyFilesaksusb95.CopyList_r_nAddRegaksusb95.AddReg_r_n_r_n_aksusb95.AddReg__r_nHKR__DevLoader__ntkern_r_nHKR__NTMPDriver__aksusb95.sys_r_nHKR__MyLittleTag__MyEntryInTheRegistry_r_n_r_n_aksusb95.CopyList__r_naksusb95.sys_r_n_r_n_Strings__r_nFast_Aladdin_Knowledge_Systems__r_nFastMfg_Aladdin_Knowledge_Systems__r_nUSBVID_0529PID_0001.DeviceDesc_Aladdin_USB_Key__r_n_r_n
mov eax, dword [ebp - 0x208]
push eax
lea eax, [ebp - 0x204]
push eax
call fcn.10013e89
add esp, 0x14
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0
je 0x10013c59
mov eax, dword [ebp - 0x208]
push eax
call fcn.1001bda0
add esp, 4
cmp dword [ebp - 4], 0xffffffff
jne 0x10013c7a
push 0x2004013
call fcn.1000427e
add esp, 4
mov eax, 0xffffffff
jmp 0x10013c81
xor eax, eax
jmp 0x10013c81
pop edi
pop esi
pop ebx
leave
ret