Function at 0x4fabb8
Capabilities:
Get file size
Timestomp file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x1e1d
push 0
push 0
dec ecx
jne 0x4fabc0
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4fb476
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov eax, ebx
call fcn.004f9634
mov edi, eax
test edi, edi
jne 0x4fb380
lea edx, [ebp - 0xf05c]
mov eax, esi
call fcn.004ba8fc
mov eax, dword [ebp - 0xf05c]
call fcn.004f24bc
test al, al
jne 0x4fac23
call sub.kernel32.dll_GetLastError_1
mov edi, eax
jmp 0x4fb380
xor edi, edi
push 0
push 0
push 4
push 0
push 1
push 0x40000000
lea edx, [ebp - 0xf060]
mov eax, esi
call fcn.004ba8fc
mov eax, dword [ebp - 0xf060]
call fcn.004050bc
push eax
call sub.kernel32.dll_CreateFileW
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x4fac68
push 0x64
call sub.kernel32.dll_Sleep_1
inc edi
cmp edi, 0x1e
jne 0x4fac25
cmp dword [ebp - 8], 0xffffffff
jne 0x4fac7a
call sub.kernel32.dll_GetLastError_1
mov edi, eax
jmp 0x4fb2ba
lea eax, [ebp - 0xf048]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x18], 0xffffffff
mov eax, dword [ebp - 4]
add eax, 0x20
push eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GetFileSize_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x1c], eax
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x24], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x28], edx
mov eax, dword [ebp - 4]
cmp dword [eax + 0x1c], 0xffffffff
jne 0x4facd1
call sub.kernel32.dll_GetLastError_1
test eax, eax
je 0x4facd1
call sub.kernel32.dll_GetLastError_1
mov edi, eax
jmp 0x4fb2ba
mov eax, dword [ebp - 4]
add eax, 0x10
push eax
mov eax, dword [ebp - 4]
add eax, 8
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GetFileTime
test eax, eax
jne 0x4facfc
call sub.kernel32.dll_GetLastError_1
mov edi, eax
jmp 0x4fb2ba
lea ecx, [ebp - 0xf064]
mov edx, 5
mov eax, dword [esi + 0x30]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0xf064]
call fcn.004050bc
push eax
mov eax, dword [ebp - 4]
add eax, 0x2c
push eax
call sub.kernel32.dll_lstrcpyW
mov dword [ebp - 0xf058], 0x20120123
mov dword [ebp - 0xf054], 0x3004
lea ecx, [ebp - 0xf068]
mov edx, 5
mov eax, dword [esi + 0x30]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0xf068]
call fcn.004050bc
push eax
call sub.kernel32.dll_lstrlenW
add eax, eax
add eax, 0x30
mov dword [ebp - 0xf050], eax
xor eax, eax
mov dword [ebp - 0xf04c], eax
lea edx, [ebp - 0xf058]
mov ecx, 0x7530
mov eax, dword [ebx + 0x5c]
call fcn.004f7a3c
mov edi, eax
test edi, edi
jne 0x4fb2ba
push 0
mov eax, dword [ebp - 4]
add eax, 0x20
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_SetFilePointer_1
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x1c]
je 0x4fadc5
call sub.kernel32.dll_GetLastError_1
test eax, eax
je 0x4fadc5
call sub.kernel32.dll_GetLastError_1
mov edi, eax
jmp 0x4fb2ba
mov eax, dword [ebp - 4]
cmp dword [eax + 0x1c], 0
jne 0x4fadd7
mov eax, dword [ebp - 4]
cmp dword [eax + 0x20], 0
je 0x4fae08
mov eax, dword [ebx + 0x34]
push eax
push 0x4fb490
lea edx, [ebp - 0xf06c]
mov eax, esi
call fcn.004ba8fc
mov eax, dword [ebp - 0xf06c]
push eax
mov eax, dword [0x569f1c]
mov eax, dword [eax]
mov ecx, dword [ebx + 0x38]
mov edx, 1
call fcn.004f4ed4
mov eax, dword [ebp - 4]
mov edx, dword [eax]
mov dword [ebp - 0x18], edx
mov edx, dword [eax + 4]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 4]
mov edx, dword [eax + 8]
mov dword [ebp - 0x20], edx
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x10]
mov dword [ebp - 0x28], edx
mov edx, dword [eax + 0x14]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
xor edx, edx
mov edx, eax
xor eax, eax
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
xor edx, edx
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
xor edx, edx
mov edx, eax
xor eax, eax
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
xor edx, edx
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
push 0
push 0x64
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 0x34]
add eax, 1
adc edx, 0
call fcn.00405a88
mov dword [ebp - 0xf074], eax
mov dword [ebp - 0xf070], edx
fild qword [ebp - 0xf074]
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
add eax, 1
adc edx, 0
mov dword [ebp - 0xf07c], eax
mov dword [ebp - 0xf078], edx
fild qword [ebp - 0xf07c]
fdivp st(1)
fstp qword [ebp - 0x48]
wait
mov eax, dword [ebx + 0x58]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xf088]
push eax
fld qword [ebp - 0x48]
fstp xword [ebp - 0xf094]
wait
lea eax, [ebp - 0xf094]
mov dword [ebp - 0xf074], eax
mov byte [ebp - 0xf070], 3
lea edx, [ebp - 0xf074]
xor ecx, ecx
mov eax, 0x4fb4ac
call fcn.0040a708
mov edx, dword [ebp - 0xf088]
lea eax, [ebp - 0xf084]
call fcn.00405040
mov ecx, dword [ebp - 0xf084]
lea eax, [ebp - 0xf080]
mov edx, 0x4fb4b8
call fcn.00405138
mov eax, dword [ebp - 0xf080]
call fcn.004050bc
push eax
push esi
push 0x469
mov eax, dword [ebx + 0x40]
call fcn.00453e2c
push eax
call sub.user32.dll_SendMessageA
push 0x4fb4bc
push esi
push 0x469
mov eax, dword [ebx + 0x40]
call fcn.00453e2c
push eax
call sub.user32.dll_SendMessageA
push dword [ebp - 0x34]
push dword [ebp - 0x38]
lea eax, [ebp - 0xf0a0]
call fcn.004f3134
mov edx, dword [ebp - 0xf0a0]
lea eax, [ebp - 0xf09c]
call fcn.00405040
mov ecx, dword [ebp - 0xf09c]
lea eax, [ebp - 0xf098]
mov edx, 0x4fb4d0
call fcn.00405138
mov eax, dword [ebp - 0xf098]
call fcn.004050bc
push eax
push esi
push 0x469
mov eax, dword [ebx + 0x40]
call fcn.00453e2c
push eax
call sub.user32.dll_SendMessageA
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
lea eax, [ebp - 0xf0ac]
call fcn.004f3134
mov edx, dword [ebp - 0xf0ac]
lea eax, [ebp - 0xf0a8]
call fcn.00405040
mov ecx, dword [ebp - 0xf0a8]
lea eax, [ebp - 0xf0a4]
mov edx, 0x4fb4d8
call fcn.00405138
mov eax, dword [ebp - 0xf0a4]
call fcn.004050bc
push eax
push esi
push 0x469
mov eax, dword [ebx + 0x40]
call fcn.00453e2c
push eax
call sub.user32.dll_SendMessageA
lea edx, [ebp - 0xf058]
mov ecx, 0x7530
mov eax, dword [ebx + 0x5c]
call fcn.004f7548
mov edi, eax
test edi, edi
jne 0x4fb269
cmp dword [ebp - 0xf054], 0x10003005
je 0x4fb058
mov edi, 0x4e23
jmp 0x4fb269
cmp dword [ebp - 0xf050], 0
jne 0x4fb06c
mov edi, dword [ebp - 0xf04c]
jmp 0x4fb269
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0xf050]
push eax
lea eax, [ebp - 0xf048]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_WriteFile_1
test eax, eax
jne 0x4fb099
call sub.kernel32.dll_GetLastError_1
mov edi, eax
jmp 0x4fb269
mov eax, dword [ebp - 0xc]
xor edx, edx
add eax, dword [ebp - 0x38]
adc edx, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0xc]
xor edx, edx
add eax, dword [ebp - 0x40]
adc edx, dword [ebp - 0x3c]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], edx
mov eax, dword [ebx + 0x58]
cmp eax, dword [ebp - 0x10]
je 0x4fb025
push 0
push 0x64
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 0x34]
add eax, 1
adc edx, 0
call fcn.00405a88
mov dword [ebp - 0xf074], eax
mov dword [ebp - 0xf070], edx
fild qword [ebp - 0xf074]
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
add eax, 1
adc edx, 0
mov dword [ebp - 0xf07c], eax
mov dword [ebp - 0xf078], edx
fild qword [ebp - 0xf07c]
fdivp st(1)
fstp qword [ebp - 0x48]
wait
mov eax, dword [ebx + 0x58]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xf0b8]
push eax
fld qword [ebp - 0x48]
fstp xword [ebp - 0xf094]
wait
lea eax, [ebp - 0xf094]
mov dword [ebp - 0xf074], eax
mov byte [ebp - 0xf070], 3
lea edx, [ebp - 0xf074]
xor ecx, ecx
mov eax, 0x4fb4ac
call fcn.0040a708
mov edx, dword [ebp - 0xf0b8]
lea eax, [ebp - 0xf0b4]
call fcn.00405040
mov ecx, dword [ebp - 0xf0b4]
lea eax, [ebp - 0xf0b0]
mov edx, 0x4fb4b8
call fcn.00405138
mov eax, dword [ebp - 0xf0b0]
call fcn.004050bc
push eax
push esi
push 0x469
mov eax, dword [ebx + 0x40]
call fcn.00453e2c
push eax
call sub.user32.dll_SendMessageA
push 0x4fb4e0
mov eax, dword [ebx + 0x5c]
mov eax, dword [eax + 4]
call fcn.004f575c
push edx
push eax
lea eax, [ebp - 0xf0c4]
call fcn.004f3134
mov edx, dword [ebp - 0xf0c4]
lea eax, [ebp - 0xf0c0]
call fcn.00405040
push dword [ebp - 0xf0c0]
push 0x4fb4e8
lea eax, [ebp - 0xf0bc]
mov edx, 3
call fcn.0040519c
mov eax, dword [ebp - 0xf0bc]
call fcn.004050bc
push eax
push esi
push 0x469
mov eax, dword [ebx + 0x40]
call fcn.00453e2c
push eax
call sub.user32.dll_SendMessageA
push dword [ebp - 0x34]
push dword [ebp - 0x38]
lea eax, [ebp - 0xf0d0]
call fcn.004f3134
mov edx, dword [ebp - 0xf0d0]
lea eax, [ebp - 0xf0cc]
call fcn.00405040
mov ecx, dword [ebp - 0xf0cc]
lea eax, [ebp - 0xf0c8]
mov edx, 0x4fb4d0
call fcn.00405138
mov eax, dword [ebp - 0xf0c8]
call fcn.004050bc
push eax
push esi
push 0x469
mov eax, dword [ebx + 0x40]
call fcn.00453e2c
push eax
call sub.user32.dll_SendMessageA
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
jmp 0x4fb025
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_SetEndOfFile_1
test eax, eax
jne 0x4fb280
mov eax, 0x4fb4f8
call fcn.004451e0
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FlushFileBuffers
test eax, eax
jne 0x4fb297
mov eax, 0x4fb510
call fcn.004451e0
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_SetFileTime
test eax, eax
jne 0x4fb2ba
mov eax, 0x4fb52c
call fcn.004451e0
cmp dword [ebp - 8], 0xffffffff
je 0x4fb2c9
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CloseHandle_1
test edi, edi
jne 0x4fb380
lea edx, [ebp - 0xf0dc]
mov eax, 0x64
call fcn.00409880
mov edx, dword [ebp - 0xf0dc]
lea eax, [ebp - 0xf0d8]
call fcn.00405040
mov ecx, dword [ebp - 0xf0d8]
lea eax, [ebp - 0xf0d4]
mov edx, 0x4fb4b8
call fcn.00405138
mov eax, dword [ebp - 0xf0d4]
call fcn.004050bc
push eax
push esi
push 0x469
mov eax, dword [ebx + 0x40]
call fcn.00453e2c
push eax
call sub.user32.dll_SendMessageA
push dword [ebp - 0x34]
push dword [ebp - 0x38]
lea eax, [ebp - 0xf0e8]
call fcn.004f3134
mov edx, dword [ebp - 0xf0e8]
lea eax, [ebp - 0xf0e4]
call fcn.00405040
mov ecx, dword [ebp - 0xf0e4]
lea eax, [ebp - 0xf0e0]
mov edx, 0x4fb4d0
call fcn.00405138
mov eax, dword [ebp - 0xf0e0]
call fcn.004050bc
push eax
push esi
push 0x469
mov eax, dword [ebx + 0x40]
call fcn.00453e2c
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fb480
lea eax, [ebp - 0xf0e8]
call fcn.00404730
lea eax, [ebp - 0xf0e4]
mov edx, 2
call fcn.00404e74
lea eax, [ebp - 0xf0dc]
call fcn.00404730
lea eax, [ebp - 0xf0d8]
mov edx, 2
call fcn.00404e74
lea eax, [ebp - 0xf0d0]
call fcn.00404730
lea eax, [ebp - 0xf0cc]
mov edx, 2
call fcn.00404e74
lea eax, [ebp - 0xf0c4]
call fcn.00404730
lea eax, [ebp - 0xf0c0]
mov edx, 2
call fcn.00404e74
lea eax, [ebp - 0xf0b8]
call fcn.00404730
lea eax, [ebp - 0xf0b4]
mov edx, 2
call fcn.00404e74
lea eax, [ebp - 0xf0ac]
call fcn.00404730
lea eax, [ebp - 0xf0a8]
mov edx, 2
call fcn.00404e74
lea eax, [ebp - 0xf0a0]
call fcn.00404730
lea eax, [ebp - 0xf09c]
mov edx, 2
call fcn.00404e74
lea eax, [ebp - 0xf088]
call fcn.00404730
lea eax, [ebp - 0xf084]
mov edx, 2
call fcn.00404e74
lea eax, [ebp - 0xf06c]
mov edx, 5
call fcn.00404e74
ret