Function at 0x410a80
Capabilities:
Read file on windows

Disassembly:
push edi
push esi
push ebx
sub esp, 0x30
mov dword [esp], 0x57238c
mov esi, dword [esp + 0x40]
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [0x62c9ec], esi
call sub.KERNEL32.dll_InitializeCriticalSection
sub esp, 4
mov dword [esp + 4], 0x3ef
mov dword [esp], esi
call sub.USER32.dll_GetDlgItem
sub esp, 8
mov dword [0x62c9e8], eax
mov dword [esp + 4], 0x3f0
mov dword [esp], esi
call sub.USER32.dll_GetDlgItem
sub esp, 8
mov dword [0x62c9e4], eax
mov dword [esp + 4], 0x400
mov dword [esp], esi
call sub.USER32.dll_GetDlgItem
sub esp, 8
mov dword [0x62c9e0], eax
lea eax, [esp + 0x20]
mov dword [esp], eax
call sub.KERNEL32.dll_GetLocalTime
sub esp, 4
mov dword [esp + 4], 0
mov dword [esp], esi
call fcn.00407e90
mov dword [esp + 4], 0x400
mov dword [esp], esi
call sub.USER32.dll_GetDlgItem
sub esp, 8
mov dword [esp + 4], 0x62cb20
mov dword [esp], eax
call sub.USER32.dll_SetWindowTextA
sub esp, 8
mov dword [esp + 4], 0x3ee
mov dword [esp], esi
call sub.USER32.dll_GetDlgItem
sub esp, 8
mov dword [esp + 4], 0x4c4cff
mov dword [esp], eax
call sub.USER32.dll_SetWindowTextA
sub esp, 8
mov dword [esp + 4], 0x3e9
mov dword [esp], esi
call sub.USER32.dll_GetDlgItem
sub esp, 8
mov dword [esp + 4], 0x4c4cff
mov dword [esp], eax
call sub.USER32.dll_SetWindowTextA
sub esp, 8
mov dword [esp + 4], 0x3ea
mov dword [esp], esi
call sub.USER32.dll_GetDlgItem
sub esp, 8
mov dword [esp + 4], 0x4c4cff
mov dword [esp], eax
call sub.USER32.dll_SetWindowTextA
sub esp, 8
mov dword [esp + 4], 0x401
mov dword [esp], esi
call sub.USER32.dll_GetDlgItem
sub esp, 8
mov dword [esp + 4], 0x4c4cff
mov dword [esp], eax
call sub.USER32.dll_SetWindowTextA
mov edx, str.Timesheet_Filler_rev
sub esp, 8
mov ecx, dword [edx]
add edx, 4
lea eax, [ecx - 0x1010101]
not ecx
and eax, ecx
and eax, 0x80808080
je 0x410bd9
test eax, 0x8080
jne 0x410bfc
shr eax, 0x10
add edx, 2
mov ecx, eax
mov dword [esp + 4], str.Timesheet_Filler_rev
mov dword [esp], esi
add cl, al
mov eax, 0x33
sbb edx, 0x4c12e3
mov dword [edx + str.Timesheet_Filler_rev], 0x34322e34
mov dword [edx + 0x4c12e4], 0x32303220
mov dword [edx + 0x4c12e8], 0x30313033
mov dword [edx + 0x4c12ec], 0x46202c38
mov dword [edx + 0x4c12f0], 0x646e412e
mov dword [edx + 0x4c12f4], 0x6c6f6572
mov dword [edx + 0x4c12f8], 0x37382069
mov dword [edx + 0x4c12fc], 0x3237352d
mov word [edx + 0x4c1300], ax
call sub.USER32.dll_SetWindowTextA
mov eax, dword [0x62c9e8]
sub esp, 8
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x14b
mov dword [esp], eax
call sub.USER32.dll_SendMessageA
sub esp, 0x10
movzx ebx, word [esp + 0x20]
lea edi, [esp + 0x18]
cmp ebx, 0x7d5
jle 0x410cf3
nop
mov dword [esp + 8], ebx
sub ebx, 1
mov dword [esp + 4], 0x4c4af1
mov dword [esp], edi
call sub.msvcrt.dll_sprintf
mov eax, dword [0x62c9e8]
mov dword [esp + 0xc], edi
mov dword [esp + 8], 0
mov dword [esp + 4], 0x143
mov dword [esp], eax
call sub.USER32.dll_SendMessageA
sub esp, 0x10
cmp ebx, 0x7d5
jne 0x410cb0
mov eax, dword [0x62c9e8]
mov dword [esp + 0xc], 0
mov ebx, str.GENNAIO
mov dword [esp + 8], 1
mov dword [esp + 4], 0x14e
mov dword [esp], eax
call sub.USER32.dll_SendMessageA
sub esp, 0x10
movzx eax, word [esp + 0x20]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [0x4c1144], eax
mov eax, dword [0x62c9e4]
mov dword [esp + 4], 0x14b
mov dword [esp], eax
call sub.USER32.dll_SendMessageA
sub esp, 0x10
lea esi, [esi]
mov eax, dword [0x62c9e4]
mov dword [esp + 0xc], ebx
add ebx, 0xc
mov dword [esp + 8], 0
mov dword [esp + 4], 0x143
mov dword [esp], eax
call sub.USER32.dll_SendMessageA
sub esp, 0x10
cmp ebx, 0x4c12d0
jne 0x410d58
movzx eax, word [esp + 0x22]
mov dword [esp + 0xc], 0
mov dword [esp + 4], 0x14e
sub eax, 1
mov dword [esp + 8], eax
mov eax, dword [0x62c9e4]
mov dword [esp], eax
call sub.USER32.dll_SendMessageA
sub esp, 0x10
mov dword [esp], esi
call fcn.0040c740
mov dword [esp], esi
call fcn.0040c5c0
mov dword [esp + 4], 0x4c6018
mov dword [esp], str.D:projCBTSFOthLast_rcv_FA_202110_chiuso.htm
call sub.msvcrt.dll_fopen
mov ebx, eax
test eax, eax
je 0x410e4f
mov dword [esp + 8], 2
mov dword [esp + 4], 0
mov dword [esp], eax
call sub.msvcrt.dll_fseek
mov dword [esp], ebx
call sub.msvcrt.dll_ftell
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], ebx
mov dword [0x950b80], eax
call sub.msvcrt.dll_fseek
mov eax, dword [0x950b80]
mov dword [esp + 0xc], ebx
mov dword [esp + 4], 1
mov dword [esp + 8], eax
mov dword [esp], 0x850b80
call sub.msvcrt.dll_fread
mov dword [esp], ebx
call sub.msvcrt.dll_fclose
mov dword [esp], 0x850b80
call fcn.00406ba0
add esp, 0x30
mov eax, 1
pop ebx
pop esi
pop edi
ret