Function at 0x10009a5d
Capabilities:
Timestomp file

Disassembly:
mov eax, 0x10025fda
call fcn.100252dc
sub esp, 0x58
push ebx
push esi
push edi
mov dword [ebp - 0x18], ecx
call fcn.10002f60
push eax
lea ecx, [ebp - 0x14]
call fcn.10001cd2
mov ecx, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 4], eax
mov esi, eax
mov dword [ebp - 0x24], eax
mov edi, eax
mov dword [ebp - 0x20], eax
lea eax, [ecx + 4]
mov dword [ebp - 0x1c], esi
mov ebx, dword [eax]
mov dword [ebp - 0x2c], eax
test ebx, ebx
je 0x10009ac7
lea eax, [eax + 0x10]
inc edi
cmp dword [eax], esi
jne 0x10009a9f
test edi, edi
jle 0x10009ac7
mov ecx, dword [ebp + 0xc]
mov eax, ecx
cdq
idiv edi
mov edx, eax
mov dword [ebp - 0x24], edx
test edx, edx
jne 0x10009ac4
mov eax, edi
cdq
idiv ecx
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x10], eax
test ebx, ebx
je 0x10009e0f
mov edi, dword [ebp - 0x2c]
mov ebx, ecx
mov dword [ebp - 0x28], ebx
mov ecx, dword [ebx + 0xc]
test ecx, 0x80000
jne 0x10009dba
test ecx, 0x20000
je 0x10009afb
call fcn.1000c302
mov ecx, dword [ebx + 0xc]
push dword [edi]
push ecx
test cl, 0x10
je 0x10009b5d
mov edx, dword [ebp - 0x18]
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, edx
mov eax, dword [edx]
call dword [eax + 4]
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.10006795
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
call fcn.10001cb7
mov esi, dword [ebp - 0x14]
mov ecx, esi
call fcn.1000bb47
push 0xc
call fcn.1000f2dd
pop ecx
mov dword [ebp - 0x44], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebx + 0xc]
shr ecx, 0x11
and cl, 1
movzx ecx, cl
push ecx
push esi
mov ecx, eax
call fcn.10006ee4
jmp 0x10009be4
mov eax, dword [ebp - 0x18]
mov edi, dword [ebp - 0x18]
mov eax, dword [eax]
test cl, 0x40
je 0x10009bf8
lea ecx, [ebp - 0x30]
push ecx
mov ecx, edi
call dword [eax + 4]
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.10006795
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0
call fcn.10001cb7
push dword [ebx]
mov eax, dword [edi]
lea ecx, [ebp - 0x34]
push dword [ebx + 8]
push ecx
mov ecx, edi
call dword [eax + 4]
push ecx
mov byte [ebp - 4], 4
mov esi, dword [ebp - 0x14]
mov edx, esi
push ecx
mov ecx, dword [eax]
call fcn.1000bdf4
pop ecx
pop ecx
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0
call fcn.10001cb7
push 0xc
call fcn.1000f2dd
pop ecx
mov dword [ebp - 0x48], eax
mov byte [ebp - 4], 5
mov ecx, dword [ebx + 0xc]
shr ecx, 0x11
and cl, 1
movzx ecx, cl
push ecx
push esi
mov ecx, eax
call fcn.10009868
push eax
mov ecx, 0x100364d0
mov byte [ebp - 4], 0
call fcn.10007153
jmp 0x10009d5b
lea ecx, [ebp - 0x38]
push ecx
mov ecx, edi
call dword [eax + 4]
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 6
call fcn.10006795
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0
call fcn.10001cb7
test dword [ebx + 0xc], 0x2000
mov esi, dword [ebp - 0x14]
je 0x10009c35
mov ecx, esi
call fcn.1000a556
test al, al
jne 0x10009d5b
mov ecx, dword [ebx + 8]
mov eax, ecx
and eax, 0xf
cmp al, 7
jne 0x10009c54
and ecx, 0x8000
mov edx, esi
push ecx
mov ecx, dword [ebx]
call fcn.1000a6ab
pop ecx
jmp 0x10009c7b
push dword [ebx]
mov eax, dword [edi]
push ecx
lea ecx, [ebp - 0x3c]
push ecx
mov ecx, edi
call dword [eax + 4]
mov byte [ebp - 4], 7
mov edx, esi
mov ecx, dword [eax]
call fcn.1000ba76
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0
call fcn.10001cb7
push 0
push 0x80
push 3
push 0
push 2
push 0x100
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x10009cc9
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
lea eax, [ebp - 0x54]
push eax
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xc
call fcn.1000f2dd
pop ecx
mov dword [ebp - 0x4c], eax
mov byte [ebp - 4], 8
mov ecx, dword [ebx + 0xc]
shr ecx, 0x11
and cl, 1
movzx ecx, cl
push ecx
push esi
mov ecx, eax
call fcn.10009868
push eax
mov ecx, 0x100364d0
mov byte [ebp - 4], 0
call fcn.10007153
test byte [ebx + 0xc], 0x20
je 0x10009d5b
mov ecx, esi
call fcn.1000bfe3
push 0xc
call fcn.1000f2dd
pop ecx
mov dword [ebp - 0x40], eax
mov ebx, dword [ebx + 0xc]
shr ebx, 0x11
and bl, 1
mov byte [ebp - 4], 0xa
lea edi, [eax + 4]
mov dword [eax], 0x1002efa0
call fcn.10002f60
push eax
mov ecx, edi
call fcn.10001cd2
push esi
mov ecx, edi
mov byte [ebp - 4], 0xb
call fcn.10008335
mov eax, dword [ebp - 0x40]
mov ecx, 0x100364d0
push eax
mov byte [ebp - 4], 0
mov byte [eax + 8], bl
call fcn.10007153
mov ebx, dword [ebp - 0x28]
test dword [ebx + 0xc], 0x40000
je 0x10009da6
push 0
push 0x2000000
push 3
push 0
push 7
push 0x60000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x10009d98
push str.SetPerm_::__hfile__INVALID_HANDLE_VALUE_
push 0x100364fc
call fcn.100097c8
pop ecx
pop ecx
push esi
jmp 0x10009da0
mov ecx, esi
call fcn.1000ca36
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test dword [ebx + 0xc], 0x20000
je 0x10009db4
call fcn.1000c313
mov eax, dword [ebp - 0x10]
mov esi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x10009ddb
test eax, eax
je 0x10009df1
cdq
idiv ecx
test edx, edx
jne 0x10009dee
push 1
mov ecx, 0x100364d0
call fcn.1000959a
inc esi
jmp 0x10009deb
mov ebx, dword [ebp - 0x24]
mov ecx, 0x100364d0
push ebx
call fcn.1000959a
add esi, ebx
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x10]
mov ebx, dword [ebp + 8]
inc eax
mov dword [ebp - 0x10], eax
shl eax, 4
add ebx, eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x28], ebx
lea edi, [ebx + 4]
cmp dword [edi], 0
jne 0x10009adc
mov eax, dword [ebp + 0xc]
mov ecx, 0x100364d0
cmp eax, esi
jle 0x10009e20
sub eax, esi
push eax
jmp 0x10009e23
sub esi, eax
push esi
call fcn.1000959a
lea ecx, [ebp - 0x14]
call fcn.10001cb7
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8