Function at 0x10001345
Capabilities:
Delete file
Get disk information
Timestomp file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x148
push ebx
push esi
push edi
push 0x1f
xor ebx, ebx
pop ecx
xor eax, eax
lea edi, [ebp - 0x147]
mov byte [ebp - 0x148], bl
push 0x22
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [0x1001f030]
lea ecx, [ebp + 0x10]
mov dword [ebp - 0xc], eax
call fcn.10002802
lea eax, [ebp + 0x10]
lea ecx, [ebp - 0xc]
push eax
call fcn.10001d92
mov eax, dword [ebp + 0x10]
cmp byte [eax], 0x5c
je 0x100013b9
push ebx
push 0x5c
lea ecx, [ebp + 0x10]
call fcn.10002131
inc eax
lea ecx, [ebp + 0x10]
push eax
lea eax, [ebp - 4]
push eax
call fcn.10002285
push eax
lea ecx, [ebp + 0x10]
call fcn.10001d92
lea ecx, [ebp - 4]
call fcn.10001cd1
lea eax, [ebp - 0xc8]
push 0x32
push eax
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x148]
push 0x80
push eax
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
lea eax, [ebp - 0xc8]
lea ecx, [ebp - 0x20]
push eax
call fcn.10001cfd
push 0x1001f088
push dword [ebp - 0x20]
call fcn.100167f8
pop ecx
test eax, eax
pop ecx
jne 0x10001441
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.100167f8
pop ecx
test eax, eax
pop ecx
jne 0x10001420
xor esi, esi
jmp 0x10001816
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.100167f8
pop ecx
test eax, eax
pop ecx
jle 0x10001439
push 1
pop esi
jmp 0x10001816
or esi, 0xffffffff
jmp 0x10001816
mov eax, dword [0x1001f030]
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], eax
call fcn.10012c78
lea ecx, [ebp - 0x38]
call fcn.10012c78
lea ecx, [ebp - 0x2c]
call fcn.10012c78
lea eax, [ebp + 8]
lea ecx, [ebp - 0x10]
push eax
call fcn.10001d92
push 0x22
lea ecx, [ebp - 0x10]
call fcn.10002802
mov eax, dword [ebp - 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, ebx
mov dword [ebp - 4], eax
jne 0x10001491
xor eax, eax
jmp 0x100014b1
push eax
call edi
mov esi, eax
inc esi
lea eax, [esi + esi]
add eax, 3
and al, 0xfc
call fcn.10016950
mov eax, esp
push ebx
push esi
push dword [ebp - 4]
push eax
call fcn.1000184b
push 1
lea ecx, [ebp - 0x58]
pop esi
push esi
push esi
push esi
push 0x5c
push 0x1001f084
push ecx
push eax
call fcn.100129cc
add esp, 0x1c
lea ecx, [ebp - 0x10]
push 0xffffffffffffffff
call fcn.100020d7
lea ecx, [ebp - 0x58]
call fcn.10012c74
cmp eax, 2
je 0x100014ea
push 0xfffffffffffffffe
pop esi
jmp 0x100017e6
push ebx
lea ecx, [ebp - 0x58]
call fcn.10012d45
push eax
lea ecx, [ebp - 0x14]
call fcn.10001e6f
mov eax, dword [ebp - 0x14]
cmp eax, ebx
mov dword [ebp - 4], eax
jne 0x1000150a
xor eax, eax
jmp 0x1000152d
push eax
call edi
mov esi, eax
inc esi
lea eax, [esi + esi]
add eax, 3
and al, 0xfc
call fcn.10016950
mov eax, esp
push ebx
push esi
push dword [ebp - 4]
push eax
call fcn.1000184b
push 1
pop esi
push esi
push esi
push esi
push 0x5c
lea ecx, [ebp - 0x38]
push 0x1001f080
push ecx
push eax
call fcn.100129cc
add esp, 0x1c
lea ecx, [ebp - 0x14]
push 0xffffffffffffffff
call fcn.100020d7
lea ecx, [ebp - 0x38]
call fcn.10012c74
cmp eax, 3
jne 0x100014e2
push esi
lea ecx, [ebp - 0x58]
call fcn.10012d45
push eax
lea ecx, [ebp - 0x1c]
call fcn.10001e6f
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
mov dword [ebp - 4], eax
jne 0x1000157b
xor eax, eax
jmp 0x1000159e
push eax
call edi
mov esi, eax
inc esi
lea eax, [esi + esi]
add eax, 3
and al, 0xfc
call fcn.10016950
mov eax, esp
push ebx
push esi
push dword [ebp - 4]
push eax
call fcn.1000184b
push 1
pop esi
push esi
push esi
push esi
push 0x5c
lea ecx, [ebp - 0x2c]
push 0x1001f07c
push ecx
push eax
call fcn.100129cc
add esp, 0x1c
lea ecx, [ebp - 0x1c]
push 0xffffffffffffffff
call fcn.100020d7
lea ecx, [ebp - 0x2c]
call fcn.10012c74
cmp eax, 3
jne 0x100014e2
push 0x10
lea eax, [ebp - 0x4c]
push ebx
push eax
call fcn.100167a0
add esp, 0xc
lea ecx, [ebp - 0x38]
push ebx
call fcn.10012d45
push eax
call fcn.10016919
pop ecx
mov word [ebp - 0x4c], ax
push esi
lea ecx, [ebp - 0x38]
call fcn.10012d45
push eax
call fcn.10016919
pop ecx
mov word [ebp - 0x4a], ax
push 2
lea ecx, [ebp - 0x38]
call fcn.10012d45
push eax
call fcn.10016919
pop ecx
mov word [ebp - 0x46], ax
push ebx
lea ecx, [ebp - 0x2c]
call fcn.10012d45
push eax
call fcn.10016919
pop ecx
mov word [ebp - 0x44], ax
push esi
lea ecx, [ebp - 0x2c]
call fcn.10012d45
push eax
call fcn.10016919
pop ecx
mov word [ebp - 0x42], ax
push 2
lea ecx, [ebp - 0x2c]
call fcn.10012d45
push eax
call fcn.10016919
mov word [ebp - 0x40], ax
pop ecx
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFileTimeToFileTime]
mov edi, 0x1001f04c
lea ecx, [ebp - 0xc]
push edi
push 0x1001f050
call fcn.1000267e
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax - 8]
cmp byte [ecx + eax - 1], 0x5c
je 0x1000169e
push edi
lea ecx, [ebp - 0xc]
call fcn.100020b0
mov eax, dword [0x1001f030]
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 4]
inc dword [ebp - 4]
push eax
lea eax, [ebp - 8]
push str.TMP_05X.TMP
push eax
call fcn.10002307
add esp, 0xc
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.10001eea
push eax
lea ecx, [ebp - 8]
call fcn.10001d92
lea ecx, [ebp - 0x3c]
call fcn.10001cd1
push ebx
push ebx
push 3
push ebx
push ebx
push SysReAllocStringLen
push dword [ebp - 8]
call edi
cmp eax, 0xffffffff
je 0x10001707
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x100016af
push ebx
push 2
push esi
push ebx
push ebx
push 0x40000000
push dword [ebp - 8]
call edi
mov edi, eax
cmp edi, 0xffffffff
jne 0x10001726
push 0xfffffffffffffffe
pop esi
jmp 0x100017de
lea eax, [ebp - 0x7c]
push eax
push ebx
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
lea eax, [ebp - 0x88]
push eax
push ebx
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x88]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x90]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [0x1001f030]
mov dword [ebp - 0x18], eax
movzx eax, word [ebp - 0x5c]
push eax
movzx eax, word [ebp - 0x5e]
push eax
movzx eax, word [ebp - 0x60]
push eax
movzx eax, word [ebp - 0x62]
push eax
movzx eax, word [ebp - 0x66]
push eax
movzx eax, word [ebp - 0x68]
push eax
lea eax, [ebp - 0x18]
push str._d__02d__02d__02d:_02d:_02d
push eax
call fcn.10002307
push dword [ebp + 0xc]
push dword [ebp - 0x18]
call fcn.100167f8
add esp, 0x28
test eax, eax
jne 0x100017c2
xor esi, esi
jmp 0x100017d6
push dword [ebp + 0xc]
push dword [ebp - 0x18]
call fcn.100167f8
pop ecx
test eax, eax
pop ecx
jg 0x100017d6
or esi, 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.10001cd1
lea ecx, [ebp - 8]
call fcn.10001cd1
lea ecx, [ebp - 0x2c]
call fcn.10012b24
lea ecx, [ebp - 0x38]
call fcn.10012b24
lea ecx, [ebp - 0x58]
call fcn.10012b24
lea ecx, [ebp - 0x1c]
call fcn.10001cd1
lea ecx, [ebp - 0x14]
call fcn.10001cd1
lea ecx, [ebp - 0x10]
call fcn.10001cd1
lea ecx, [ebp - 0x20]
call fcn.10001cd1
lea ecx, [ebp - 0xc]
call fcn.10001cd1
lea ecx, [ebp + 8]
call fcn.10001cd1
lea ecx, [ebp + 0xc]
call fcn.10001cd1
lea ecx, [ebp + 0x10]
call fcn.10001cd1
lea esp, [ebp - 0x154]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret