Function at 0x10009a59
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 0x10009ac3
lea eax, [eax + 0x10]
inc edi
cmp dword [eax], esi
jne 0x10009a9b
test edi, edi
jle 0x10009ac3
mov ecx, dword [ebp + 0xc]
mov eax, ecx
cdq
idiv edi
mov edx, eax
mov dword [ebp - 0x24], edx
test edx, edx
jne 0x10009ac0
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 0x10009e0b
mov edi, dword [ebp - 0x2c]
mov ebx, ecx
mov dword [ebp - 0x28], ebx
mov ecx, dword [ebx + 0xc]
test ecx, 0x80000
jne 0x10009db6
test ecx, 0x20000
je 0x10009af7
call fcn.1000c2fe
mov ecx, dword [ebx + 0xc]
push dword [edi]
push ecx
test cl, 0x10
je 0x10009b59
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.10006791
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
call fcn.10001cb7
mov esi, dword [ebp - 0x14]
mov ecx, esi
call fcn.1000bb43
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.10006ee0
jmp 0x10009be0
mov eax, dword [ebp - 0x18]
mov edi, dword [ebp - 0x18]
mov eax, dword [eax]
test cl, 0x40
je 0x10009bf4
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.10006791
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.1000bdf0
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.10009864
push eax
mov ecx, 0x100364d0
mov byte [ebp - 4], 0
call fcn.1000714f
jmp 0x10009d57
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.10006791
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0
call fcn.10001cb7
test dword [ebx + 0xc], 0x2000
mov esi, dword [ebp - 0x14]
je 0x10009c31
mov ecx, esi
call fcn.1000a552
test al, al
jne 0x10009d57
mov ecx, dword [ebx + 8]
mov eax, ecx
and eax, 0xf
cmp al, 7
jne 0x10009c50
and ecx, 0x8000
mov edx, esi
push ecx
mov ecx, dword [ebx]
call fcn.1000a6a7
pop ecx
jmp 0x10009c77
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.1000ba72
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 0x10009cc5
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.10009864
push eax
mov ecx, 0x100364d0
mov byte [ebp - 4], 0
call fcn.1000714f
test byte [ebx + 0xc], 0x20
je 0x10009d57
mov ecx, esi
call fcn.1000bfdf
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], 0x1002ef10
call fcn.10002f60
push eax
mov ecx, edi
call fcn.10001cd2
push esi
mov ecx, edi
mov byte [ebp - 4], 0xb
call fcn.10008331
mov eax, dword [ebp - 0x40]
mov ecx, 0x100364d0
push eax
mov byte [ebp - 4], 0
mov byte [eax + 8], bl
call fcn.1000714f
mov ebx, dword [ebp - 0x28]
test dword [ebx + 0xc], 0x40000
je 0x10009da2
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 0x10009d94
push str.SetPerm_::__hfile__INVALID_HANDLE_VALUE_
push 0x100364fc
call fcn.100097c4
pop ecx
pop ecx
push esi
jmp 0x10009d9c
mov ecx, esi
call fcn.1000ca32
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test dword [ebx + 0xc], 0x20000
je 0x10009db0
call fcn.1000c30f
mov eax, dword [ebp - 0x10]
mov esi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x10009dd7
test eax, eax
je 0x10009ded
cdq
idiv ecx
test edx, edx
jne 0x10009dea
push 1
mov ecx, 0x100364d0
call fcn.10009596
inc esi
jmp 0x10009de7
mov ebx, dword [ebp - 0x24]
mov ecx, 0x100364d0
push ebx
call fcn.10009596
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 0x10009ad8
mov eax, dword [ebp + 0xc]
mov ecx, 0x100364d0
cmp eax, esi
jle 0x10009e1c
sub eax, esi
push eax
jmp 0x10009e1f
sub esi, eax
push esi
call fcn.10009596
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