Function at 0x10001546
Capabilities:
Check if file exists
Get file attributes
Set file attributes
Timestomp file

Disassembly:
jmp 0x1000fbe0
sub esp, 0x44
push ebx
push esi
push edi
call fcn.1000125d
test eax, eax
je 0x1000fe6b
mov eax, dword [esp + 0x54]
xor ebx, ebx
push ebx
push 0x80
push 3
push ebx
push 7
push 0x80000000
push eax
call fcn.100011db
mov esi, eax
cmp esi, 0xffffffff
mov dword [esp + 0xc], esi
je 0x1000fe6b
xor ecx, ecx
xor edx, edx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x40], edx
mov dword [esp + 0x34], ecx
lea eax, [esp + 0x54]
mov dword [esp + 0x38], ecx
push ebx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x48], edx
push eax
lea ecx, [esp + 0x38]
push 0xc
mov dword [esp + 0x54], edx
push ecx
push esi
mov dword [esp + 0x68], ebx
mov dword [esp + 0x60], edx
call fcn.10001181
cmp dword [esp + 0x30], 0x6d4b8bd5
jne 0x1000fe65
cmp dword [esp + 0x34], 0x7248672c
jne 0x1000fe65
cmp word [esp + 0x38], bx
jne 0x1000fe65
mov ax, word [esp + 0x3a]
cmp ax, 2
jb 0x1000fca7
lea edx, [esp + 0x10]
push ebx
push edx
lea eax, [esp + 0x44]
push 4
push eax
push esi
mov dword [esp + 0x24], ebx
call fcn.10001181
mov ax, word [esp + 0x3a]
cmp ax, 3
ja 0x1000fe65
jne 0x1000fcff
lea ecx, [esp + 0x54]
push ebx
push ecx
lea edx, [esp + 0x48]
push 0x10
push edx
push esi
call fcn.10001181
mov ecx, dword [0x10080ec8]
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x48]
imul ecx, eax
xor edx, eax
cmp ecx, edx
jne 0x1000fe65
mov ecx, dword [esp + 0x44]
mov edx, dword [0x10080ed0]
xor ecx, eax
push ecx
push edx
call fcn.10001212
add esp, 8
test eax, eax
je 0x1000fe65
mov edi, dword [esp + 0x58]
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1000fd1b
push 0x80
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x40000000
push edi
call fcn.100011db
cmp eax, 0xffffffff
mov dword [esp + 0x58], eax
je 0x1000fe65
push ebp
push 0x100000
call fcn.10023adf
mov ebp, dword [0x10080ec8]
add esp, 4
lea ecx, [esp + 0x58]
mov edi, eax
mov eax, dword [0x10080ecc]
push 0
push ecx
push 0x100000
push edi
push esi
xor bl, bl
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], eax
call fcn.10001181
test eax, eax
je 0x1000fe13
jmp 0x1000fd83
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x58]
xor esi, esi
test eax, eax
jbe 0x1000fdc1
mov ecx, esi
and ecx, 0x80000007
jns 0x1000fd9c
dec ecx
or ecx, 0xfffffff8
inc ecx
mov edx, dword [esp + 0x18]
mov eax, ebp
shl ecx, 3
call fcn.10023cf0
mov cl, byte [esi + edi]
xor al, bl
add bl, cl
xor cl, al
not cl
mov byte [esi + edi], cl
mov eax, dword [esp + 0x58]
inc esi
cmp esi, eax
jb 0x1000fd8d
test eax, eax
mov esi, eax
mov ebp, eax
jbe 0x1000fde8
mov ecx, dword [esp + 0x5c]
mov eax, edi
lea edx, [esp + 0x58]
sub eax, esi
push 0
push edx
add eax, ebp
push esi
push eax
push ecx
call fcn.10001064
sub esi, dword [esp + 0x58]
jne 0x1000fdc9
cmp ebp, 0x100000
jb 0x1000fe0f
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x58]
push 0
push edx
push 0x100000
push edi
push eax
call fcn.10001181
test eax, eax
jne 0x1000fd7f
mov esi, dword [esp + 0x10]
push edi
call fcn.10023a94
add esp, 4
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x24]
lea eax, [esp + 0x2c]
push ecx
push edx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
mov edi, dword [esp + 0x5c]
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x24]
push ecx
lea eax, [esp + 0x30]
push edx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push esi
call fcn.100011ea
push edi
call fcn.100011ea
pop ebp
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x44
ret
push esi
call fcn.100011ea
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x44
ret