Function at 0x401469
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push edi
lea edi, str.message.html
mov dword [ebp - 0x10], edi
push 0x474d86
push dword [ebp + 0xc]
call sub.CRTDLL.DLL_fopen
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x40149c
mov eax, 1
jmp 0x401717
push 0x474d83
push dword [ebp + 8]
call sub.CRTDLL.DLL_fopen
add esp, 8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x4014bf
mov eax, 1
jmp 0x401717
push dword [ebp - 0x14]
call sub.CRTDLL.DLL__fileno
add esp, 4
mov edi, eax
push edi
call sub.CRTDLL.DLL__filelength
add esp, 4
mov dword [ebp - 8], eax
push dword [ebp - 8]
call sub.CRTDLL.DLL_malloc
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4014f6
mov eax, 1
jmp 0x401717
push dword [ebp - 0x14]
push dword [ebp - 8]
push 1
push dword [ebp - 0xc]
call sub.CRTDLL.DLL_fread
add esp, 0x10
lea edi, [ebp - 0x20]
push edi
call sub.KERNEL32.DLL_GetSystemTimeAsFileTime
lea edi, [ebp - 0x16]
push edi
lea edi, [ebp - 0x18]
push edi
lea edi, [ebp - 0x20]
push edi
call sub.KERNEL32.DLL_FileTimeToDosDateTime
mov di, word [ebp - 0x16]
mov word [0x407a50], di
mov di, word [ebp - 0x18]
mov word [0x407a52], di
push dword [ebp - 8]
push dword [ebp - 0xc]
push 0
call fcn.00401401
add esp, 0xc
mov dword [0x407a54], eax
mov edi, dword [ebp - 8]
mov dword [0x407a58], edi
mov edi, dword [ebp - 8]
mov dword [0x407a5c], edi
push dword [ebp - 0x10]
call sub.CRTDLL.DLL_strlen
add esp, 4
mov edi, eax
mov word [0x407a60], di
mov word [0x407a62], 0
mov di, word [ebp - 0x16]
mov word [0x407ea0], di
mov di, word [ebp - 0x18]
mov word [0x407ea2], di
mov edi, dword [0x407a54]
mov dword [0x407ea4], edi
mov edi, dword [ebp - 8]
mov dword [0x407ea8], edi
mov edi, dword [ebp - 8]
mov dword [0x407eac], edi
mov di, word [0x407a60]
mov word [0x407eb0], di
mov word [0x407eb2], 0
mov word [0x407eb4], 0
mov word [0x407eb6], 0
mov word [0x407eb8], 0
mov word [0x407eba], 0x20
mov word [0x407ebc], 0
mov dword [0x407ec0], 0
movzx edi, word [0x407a60]
add edi, 0x2e
mov dword [0x407a70], edi
mov edi, dword [ebp - 8]
add edi, 0x2a
mov dword [0x407a74], edi
mov word [0x407a78], 0
push dword [ebp - 4]
push 1
push 0xa
push 0x474038
call sub.CRTDLL.DLL_fwrite
add esp, 0x10
push dword [ebp - 4]
push 1
push 0x14
push 0x407a50
call sub.CRTDLL.DLL_fwrite
add esp, 0x10
push dword [ebp - 0x10]
call sub.CRTDLL.DLL_strlen
add esp, 4
mov edi, eax
push dword [ebp - 4]
push 1
push edi
push dword [ebp - 0x10]
call sub.CRTDLL.DLL_fwrite
add esp, 0x10
push dword [ebp - 4]
push 1
push dword [ebp - 8]
push dword [ebp - 0xc]
call sub.CRTDLL.DLL_fwrite
add esp, 0x10
push dword [ebp - 4]
push 1
push 0xc
push 0x474042
call sub.CRTDLL.DLL_fwrite
add esp, 0x10
push dword [ebp - 4]
push 1
push 0x22
push 0x407ea0
call sub.CRTDLL.DLL_fwrite
add esp, 0x10
push dword [ebp - 0x10]
call sub.CRTDLL.DLL_strlen
add esp, 4
mov edi, eax
push dword [ebp - 4]
push 1
push edi
push dword [ebp - 0x10]
call sub.CRTDLL.DLL_fwrite
add esp, 0x10
push dword [ebp - 4]
push 1
push 0xc
push 0x47404e
call sub.CRTDLL.DLL_fwrite
add esp, 0x10
push dword [ebp - 4]
push 1
push 0xa
push 0x407a70
call sub.CRTDLL.DLL_fwrite
add esp, 0x10
cmp dword [ebp - 0xc], 0
je 0x4016fc
push dword [ebp - 0xc]
call sub.CRTDLL.DLL_free
add esp, 4
push dword [ebp - 0x14]
call sub.CRTDLL.DLL_fclose
add esp, 4
push dword [ebp - 4]
call sub.CRTDLL.DLL_fclose
add esp, 4
mov eax, 0
pop edi
leave
ret