Function at 0x4264c0
Capabilities:
Delete file
Print debug messages
Timestomp file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x28b4
call fcn.0040fae0
mov eax, dword [0x43217c]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x28b4], ecx
mov byte [ebp - 0x819], 0
mov dword [ebp - 0x1034], 0xffffffff
mov byte [ebp - 0x1035], 0
cmp dword [ebp + 8], 0
jne 0x426502
xor al, al
jmp 0x42690b
push 0x50
push 0
lea eax, [ebp - 0x1088]
push eax
call fcn.00409180
add esp, 0xc
push 0x400
push 0
lea ecx, [ebp - 0x818]
push ecx
call fcn.00409180
add esp, 0xc
push 0x400
push 0
lea edx, [ebp - 0x410]
push edx
call fcn.00409180
add esp, 0xc
push 0x400
lea eax, [ebp - 0x410]
push eax
push 0
push 0
push 0x400
lea ecx, [ebp - 0x818]
push ecx
lea edx, [ebp - 0x1088]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00425b50
add esp, 0x20
test eax, eax
je 0x42657b
xor al, al
jmp 0x42690b
mov ecx, dword [ebp - 0x1054]
and ecx, 0x10
je 0x42658d
mov byte [ebp - 0x1035], 1
lea edx, [ebp - 0x818]
push edx
call fcn.00408f60
add esp, 4
mov dword [ebp - 0x20a4], eax
jmp 0x4265b3
mov eax, dword [ebp - 0x20a4]
sub eax, 1
mov dword [ebp - 0x20a4], eax
cmp dword [ebp - 0x20a4], 0
jl 0x4265df
mov ecx, dword [ebp - 0x20a4]
movsx edx, byte [ebp + ecx - 0x818]
cmp edx, 0x2f
jne 0x4265dd
mov eax, dword [ebp - 0x20a4]
mov byte [ebp + eax - 0x818], 0x5c
jmp 0x4265a4
push 0x800
push 0
lea ecx, [ebp - 0x1020]
push ecx
call fcn.00409180
add esp, 0xc
push 0x400
lea edx, [ebp - 0x1020]
push edx
push 0xffffffffffffffff
lea eax, [ebp - 0x818]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x42662e
push 0x800
push 0
lea ecx, [ebp - 0x20a0]
push ecx
call fcn.00409180
add esp, 0xc
mov edx, dword [ebp - 0x28b4]
push edx
call fcn.00408feb
add esp, 4
mov ecx, dword [ebp - 0x28b4]
movzx edx, word [ecx + eax*2 - 2]
cmp edx, 0x5c
jne 0x426670
lea eax, [ebp - 0x1020]
push eax
mov ecx, dword [ebp - 0x28b4]
push ecx
push 0x42f1f8
lea edx, [ebp - 0x20a0]
call fcn.00402980
add esp, 0xc
jmp 0x426691
lea edx, [ebp - 0x1020]
push edx
mov eax, dword [ebp - 0x28b4]
push eax
push str._s_s
lea edx, [ebp - 0x20a0]
call fcn.00402980
add esp, 0xc
movzx ecx, byte [ebp - 0x1035]
test ecx, ecx
je 0x4266b9
mov edx, dword [ebp + 0xc]
push edx
push 1
lea eax, [ebp - 0x20a0]
push eax
mov ecx, dword [ebp - 0x28b4]
call fcn.004262a0
jmp 0x42690b
mov ecx, dword [ebp + 0xc]
push ecx
push 0
lea edx, [ebp - 0x20a0]
push edx
mov ecx, dword [ebp - 0x28b4]
call fcn.004262a0
movzx eax, al
test eax, eax
jne 0x4266df
xor al, al
jmp 0x42690b
lea ecx, [ebp - 0x20a0]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push 0x80
push 2
push 0
push 1
push 0x40000000
lea edx, [ebp - 0x20a0]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x1034], eax
cmp dword [ebp - 0x1034], 0xffffffff
jne 0x426739
push str.Fail_to_create_file__
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea eax, [ebp - 0x20a0]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov al, 1
jmp 0x42690b
mov ecx, dword [ebp + 8]
push ecx
call fcn.00426230
add esp, 4
test eax, eax
je 0x426753
jmp 0x4268c2
mov dword [ebp - 4], 0
mov dword [ebp - 0x189c], 0
push 0x800
push 0
lea edx, [ebp - 0x1898]
push edx
call fcn.00409180
add esp, 0xc
push 0x800
lea eax, [ebp - 0x1898]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004240a0
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jle 0x426801
push 0
lea edx, [ebp - 0x189c]
push edx
mov eax, dword [ebp - 4]
push eax
lea ecx, [ebp - 0x1898]
push ecx
mov edx, dword [ebp - 0x1034]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4267cb
mov eax, dword [ebp - 0x189c]
cmp eax, dword [ebp - 4]
je 0x4267d5
jmp 0x4268c2
push 0x800
push 0
lea ecx, [ebp - 0x1898]
push ecx
call fcn.00409180
add esp, 0xc
mov dword [ebp - 0x189c], 0
mov dword [ebp - 4], 0
jmp 0x42677a
mov byte [ebp - 0x819], 1
mov edx, dword [ebp - 0x1078]
mov dword [ebp - 0x1094], edx
lea eax, [ebp - 0x418]
push eax
lea ecx, [ebp - 0x1028]
push ecx
lea edx, [ebp - 0x1030]
push edx
mov eax, dword [ebp - 0x1034]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
je 0x426891
lea ecx, [ebp - 0xc]
push ecx
movzx edx, word [ebp - 0x1094]
push edx
mov eax, dword [ebp - 0x1094]
shr eax, 0x10
push eax
call dword [sym.imp.KERNEL32.dll_DosDateTimeToFileTime]
test eax, eax
je 0x426891
lea ecx, [ebp - 0x1090]
push ecx
lea edx, [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_LocalFileTimeToFileTime]
test eax, eax
je 0x426891
lea eax, [ebp - 0x1090]
push eax
lea ecx, [ebp - 0x1028]
push ecx
lea edx, [ebp - 0x1090]
push edx
mov eax, dword [ebp - 0x1034]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileTime]
cmp dword [ebp + 0xc], 0
je 0x4268c2
lea ecx, [ebp - 0x28b0]
call fcn.00406380
lea eax, [ebp - 0x20a0]
lea ecx, [ebp - 0x28b0]
call fcn.00402970
lea ecx, [ebp - 0x28b0]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.00406430
cmp dword [ebp - 0x1034], 0
je 0x4268e1
cmp dword [ebp - 0x1034], 0xffffffff
je 0x4268e1
mov edx, dword [ebp - 0x1034]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 8]
push eax
call fcn.00423b80
add esp, 4
movzx ecx, byte [ebp - 0x819]
test ecx, ecx
jne 0x426905
lea edx, [ebp - 0x20a0]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov al, byte [ebp - 0x819]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040800b
mov esp, ebp
pop ebp
ret 8