Function at 0x417b0c
Capabilities:
Read file on windows
Timestomp file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov byte [ebp - 0xd], 0
mov eax, dword [ebp - 4]
call fcn.00406c48
test al, al
je 0x417d75
mov eax, dword [ebp - 4]
call fcn.00417030
mov dword [ebp - 0x30], eax
mov eax, dword [0x43a4e4]
call fcn.004025b0
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x417d6a
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 4]
call fcn.00403a1c
push eax
call sub.KERNEL32.DLL_CreateFileA_1
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
jne 0x417b88
call fcn.00403194
jmp 0x417d75
cmp byte [ebp + 8], 0
je 0x417bb3
push 0
push 0x80
push 4
push 0
push 1
push 0x40000000
mov eax, dword [ebp - 8]
call fcn.00403a1c
push eax
call sub.KERNEL32.DLL_CreateFileA_1
mov dword [ebp - 0x1c], eax
jmp 0x417bd6
push 0
push 0x80
push 2
push 0
push 1
push 0x40000000
mov eax, dword [ebp - 8]
call fcn.00403a1c
push eax
call sub.KERNEL32.DLL_CreateFileA_1
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xffffffff
jne 0x417bef
mov eax, dword [ebp - 0x18]
push eax
call sub.KERNEL32.DLL_CloseHandle_1
call fcn.00403194
jmp 0x417d75
cmp byte [ebp + 8], 0
je 0x417c04
push 2
push 0
push 0
mov eax, dword [ebp - 0x1c]
push eax
call sub.KERNEL32.DLL_SetFilePointer_1
xor eax, eax
mov dword [ebp - 0x20], eax
xor eax, eax
push ebp
push 0x417d24
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x30]
jge 0x417cde
push 0
lea eax, [ebp - 0x24]
push eax
mov eax, dword [0x43a4e4]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
push eax
call sub.KERNEL32.DLL_ReadFile_1
test eax, eax
jne 0x417c4f
call fcn.00403194
call fcn.00403194
jmp 0x417d75
cmp dword [ebp + 0xc], 0
je 0x417c5e
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x14]
call dword [ebp + 0xc]
push 0
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.KERNEL32.DLL_WriteFile_1
test eax, eax
jne 0x417c88
call fcn.00403194
call fcn.00403194
jmp 0x417d75
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x28]
je 0x417c9f
call fcn.00403194
call fcn.00403194
jmp 0x417d75
mov eax, dword [ebp - 0x28]
add dword [ebp - 0x20], eax
cmp dword [ebp - 0xc], 0
je 0x417cd2
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call dword [ebp - 0xc]
test al, al
jne 0x417cd2
call fcn.00403194
call fcn.00403194
jmp 0x417d75
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x30]
jl 0x417c23
lea eax, [ebp - 0x38]
push eax
push 0
push 0
mov eax, dword [ebp - 0x18]
push eax
call sub.KERNEL32.DLL_GetFileTime
test eax, eax
je 0x417d04
lea eax, [ebp - 0x38]
push eax
push 0
push 0
mov eax, dword [ebp - 0x1c]
push eax
call sub.KERNEL32.DLL_SetFileTime
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x417d2b
mov eax, dword [ebp - 0x18]
push eax
call sub.KERNEL32.DLL_CloseHandle_1
mov eax, dword [ebp - 0x1c]
push eax
call sub.KERNEL32.DLL_CloseHandle_1
ret
mov al, byte [ebp - 0xd]
mov esp, ebp
pop ebp
ret 8