Function at 0x4107d0
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x38
lea eax, [esp + 0x20]
mov dword [esp], eax
call sub.KERNEL32.dll_GetLocalTime
sub esp, 4
mov eax, dword [esp + 0x40]
mov dword [esp + 4], 0x4231b0
mov dword [esp], eax
call sub.msvcrt.dll_fopen
mov ebx, eax
mov eax, 1
test ebx, ebx
je 0x411176
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x39
mov dword [esp + 4], 1
mov dword [esp], str.__n
call sub.msvcrt.dll_fwrite
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x23
mov dword [esp + 4], 1
mov dword [esp], str.__Bkool_default_configuration_file_n
call sub.msvcrt.dll_fwrite
movzx eax, word [esp + 0x2c]
mov dword [esp + 4], str.___d__d__d___02d:_02d:_02d_n
mov dword [esp], ebx
mov dword [esp + 0x1c], eax
movzx eax, word [esp + 0x2a]
mov dword [esp + 0x18], eax
movzx eax, word [esp + 0x28]
mov dword [esp + 0x14], eax
movzx eax, word [esp + 0x20]
mov dword [esp + 0x10], eax
movzx eax, word [esp + 0x22]
mov dword [esp + 0xc], eax
movzx eax, word [esp + 0x26]
mov dword [esp + 8], eax
call sub.msvcrt.dll_fprintf
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x39
mov dword [esp + 4], 1
mov dword [esp], str.__n
call sub.msvcrt.dll_fwrite
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x39
mov dword [esp + 4], 1
mov dword [esp], str.__________________Calibration_settings___________________n
call sub.msvcrt.dll_fwrite
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x39
mov dword [esp + 4], 1
mov dword [esp], str.__n
call sub.msvcrt.dll_fwrite
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x39
mov dword [esp + 4], 1
mov dword [esp], str.____________________Program_settings_____________________n
call sub.msvcrt.dll_fwrite
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x20
mov dword [esp + 4], 1
mov dword [esp], str.FILE_PATH__________C:output__n
call sub.msvcrt.dll_fwrite
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x39
mov dword [esp + 4], 1
mov dword [esp], str.__________________Connection_settings____________________n
call sub.msvcrt.dll_fwrite
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x32
mov dword [esp + 4], 1
mov dword [esp], str.COMPORT____________COM1___________________string_n
call sub.msvcrt.dll_fwrite
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x32
mov dword [esp + 4], 1
mov dword [esp], str.COMPORT_BR_________19200__________________in_bps_n
call sub.msvcrt.dll_fwrite
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x35
mov dword [esp + 4], 1
mov dword [esp], str.MB_DAQ_ID__________1______________________Modbus_ID_n
call sub.msvcrt.dll_fwrite
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x39
mov dword [esp + 4], 1
mov dword [esp], str.____________________Sensor_constants_____________________n
call sub.msvcrt.dll_fwrite
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x34
mov dword [esp + 4], 1
mov dword [esp], str.K_TORQUE___________0.05___________________in_Nm_mV_n
call sub.msvcrt.dll_fwrite
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x34
mov dword [esp + 4], 1
mov dword [esp], str.N_AVERAGE___________10____________________no_units_n
call sub.msvcrt.dll_fwrite
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x39
mov dword [esp + 4], 1
mov dword [esp], str.____________________Motor_constants______________________n
call sub.msvcrt.dll_fwrite
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x28
mov dword [esp + 4], 1
mov dword [esp], str.K_MOTOR____________95.79_____in_mV_min_n
call sub.msvcrt.dll_fwrite
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x29
mov dword [esp + 4], 1
mov dword [esp], str.OFFSET_K_MOTOR______0.132_____in_mV_min_n
call sub.msvcrt.dll_fwrite
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x34
mov dword [esp + 4], 1
mov dword [esp], str.MIN_STEP_SIZE______250____________________in_steps_n
call sub.msvcrt.dll_fwrite
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x39
mov dword [esp + 4], 1
mov dword [esp], str.___________________Position_settings_____________________n
call sub.msvcrt.dll_fwrite
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x31
mov dword [esp + 4], 1
mov dword [esp], str.POS_TIMEOUT________60000__________________in_ms_n
call sub.msvcrt.dll_fwrite
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x34
mov dword [esp + 4], 1
mov dword [esp], str.POS_WINDOW_________100____________________in_steps_n
call sub.msvcrt.dll_fwrite
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x39
mov dword [esp + 4], 1
mov dword [esp], str._____________________Speed_settings______________________n
call sub.msvcrt.dll_fwrite
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x31
mov dword [esp + 4], 1
mov dword [esp], str.SPEED_TIMEOUT______60000__________________in_ms_n
call sub.msvcrt.dll_fwrite
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x32
mov dword [esp + 4], 1
mov dword [esp], str.SPEED_WINDOW_______25_____________________in_RPM_n
call sub.msvcrt.dll_fwrite
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x39
mov dword [esp + 4], 1
mov dword [esp], str.__________________Temperature_settings___________________n
call sub.msvcrt.dll_fwrite
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x38
mov dword [esp + 4], 1
mov dword [esp], str.TEMPERATUREMIN_____35_____________________in_degrees_C_n
call sub.msvcrt.dll_fwrite
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x38
mov dword [esp + 4], 1
mov dword [esp], str.REFTEMPERATURE_____65_____________________in_degrees_C_n
call sub.msvcrt.dll_fwrite
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x33
mov dword [esp + 4], 1
mov dword [esp], str.TEMPCOMPCONSTANT___0_____________________no_units_n
call sub.msvcrt.dll_fwrite
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x34
mov dword [esp + 4], 1
mov dword [esp], str.TEMPCOMPEXTRA______0______________________no_units_n
call sub.msvcrt.dll_fwrite
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x31
mov dword [esp + 4], 1
mov dword [esp], str.TEMP_TIMEOUT_______60000__________________in_ms_n
call sub.msvcrt.dll_fwrite
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x38
mov dword [esp + 4], 1
mov dword [esp], str.TEMP_WINDOW________1______________________in_degrees_C_n
call sub.msvcrt.dll_fwrite
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x38
mov dword [esp + 4], 1
mov dword [esp], str.__________________Preheating_settings___________________n
call sub.msvcrt.dll_fwrite
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x52
mov dword [esp + 4], 1
mov dword [esp], str.SPEED_PREHEAT______100____________________in_RPM__0_for_disabling_the_preheating_n
call sub.msvcrt.dll_fwrite
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x30
mov dword [esp + 4], 1
mov dword [esp], str.POWER_PREHEAT______300____________________in_W_n
call sub.msvcrt.dll_fwrite
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x39
mov dword [esp + 4], 1
mov dword [esp], str.PTHRES_PREHEAT_____5______________________in_percentage_n
call sub.msvcrt.dll_fwrite
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x31
mov dword [esp + 4], 1
mov dword [esp], str.PTEMP_TIMEOUT______600000_________________in_ms_n
call sub.msvcrt.dll_fwrite
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x35
mov dword [esp + 4], 1
mov dword [esp], str.KI_PREHEAT_________37_____________________no_units__n
call sub.msvcrt.dll_fwrite
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x38
mov dword [esp + 4], 1
mov dword [esp], str._________________Manual_offset_settings_________________n
call sub.msvcrt.dll_fwrite
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x30
mov dword [esp + 4], 1
mov dword [esp], str.POWER_OFFSET_______0______________________in_W_n
call sub.msvcrt.dll_fwrite
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x32
mov dword [esp + 4], 1
mov dword [esp], str.SPEED_OFFSET_______0______________________in_RPM_n
call sub.msvcrt.dll_fwrite
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x31
mov dword [esp + 4], 1
mov dword [esp], str.TORQUE_OFFSET______0______________________in_Nm_n
call sub.msvcrt.dll_fwrite
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x38
mov dword [esp + 4], 1
mov dword [esp], str.____________________Printer_settings____________________n
call sub.msvcrt.dll_fwrite
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x34
mov dword [esp + 4], 1
mov dword [esp], str.NBAR_LABELS________2______________________in_units_n
call sub.msvcrt.dll_fwrite
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x34
mov dword [esp + 4], 1
mov dword [esp], str.NQR_LABELS_________1______________________in_units_n
call sub.msvcrt.dll_fwrite
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x39
mov dword [esp + 4], 1
mov dword [esp], str.__n
call sub.msvcrt.dll_fwrite
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x28
mov dword [esp + 4], 1
mov dword [esp], str.__Calibration_definitions_and_constants_n
call sub.msvcrt.dll_fwrite
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x39
mov dword [esp + 4], 1
mov dword [esp], str.__n
call sub.msvcrt.dll_fwrite
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x38
mov dword [esp + 4], 1
mov dword [esp], str.DEVICE_____________BkoolPro2____________________string_n
call sub.msvcrt.dll_fwrite
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x31
mov dword [esp + 4], 1
mov dword [esp], str.MAXTORQUE__________70_____________________in_Nm_n
call sub.msvcrt.dll_fwrite
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x39
mov dword [esp + 4], 1
mov dword [esp], str.________________Autozero__home__position_________________n
call sub.msvcrt.dll_fwrite
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x34
mov dword [esp + 4], 1
mov dword [esp], str.CALPOS0____________0______________________in_steps_n
call sub.msvcrt.dll_fwrite
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x32
mov dword [esp + 4], 1
mov dword [esp], str.CALSPEED0__________0______________________in_RPM_n
call sub.msvcrt.dll_fwrite
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x39
mov dword [esp + 4], 1
mov dword [esp], str.________________Calibration_definitions__________________n
call sub.msvcrt.dll_fwrite
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x47
mov dword [esp + 4], 1
mov dword [esp], str.CALNPOS____________9______________________Number_of_calibration_steps_n
call sub.msvcrt.dll_fwrite
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x48
mov dword [esp + 4], 1
mov dword [esp], str.CALSPEEDS__________3______________________Number_of_calibration_speeds_n
call sub.msvcrt.dll_fwrite
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x46
mov dword [esp + 4], 1
mov dword [esp], str.MAXESTMEAS_________9______________________Maximum_estimated_measures_n
call sub.msvcrt.dll_fwrite
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x39
mov dword [esp + 4], 1
mov dword [esp], str.______________________Speed_points_______________________n
call sub.msvcrt.dll_fwrite
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x32
mov dword [esp + 4], 1
mov dword [esp], str.CALSPEED1__________200____________________in_RPM_n
call sub.msvcrt.dll_fwrite
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x32
mov dword [esp + 4], 1
mov dword [esp], str.CALSPEED2__________400____________________in_RPM_n
call sub.msvcrt.dll_fwrite
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x32
mov dword [esp + 4], 1
mov dword [esp], str.CALSPEED3__________600____________________in_RPM_n
call sub.msvcrt.dll_fwrite
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x39
mov dword [esp + 4], 1
mov dword [esp], str._____________________Position_points_____________________n
call sub.msvcrt.dll_fwrite
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x17
mov dword [esp + 4], 1
mov dword [esp], str.CALPOS1____________0__n
call sub.msvcrt.dll_fwrite
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x19
mov dword [esp + 4], 1
mov dword [esp], str.CALPOS2____________100__n
call sub.msvcrt.dll_fwrite
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x19
mov dword [esp + 4], 1
mov dword [esp], str.CALPOS3____________200__n
call sub.msvcrt.dll_fwrite
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x19
mov dword [esp + 4], 1
mov dword [esp], str.CALPOS4____________300__n
call sub.msvcrt.dll_fwrite
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x19
mov dword [esp + 4], 1
mov dword [esp], str.CALPOS5____________400__n
call sub.msvcrt.dll_fwrite
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x19
mov dword [esp + 4], 1
mov dword [esp], str.CALPOS6____________500__n
call sub.msvcrt.dll_fwrite
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x19
mov dword [esp + 4], 1
mov dword [esp], str.CALPOS7____________600__n
call sub.msvcrt.dll_fwrite
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x19
mov dword [esp + 4], 1
mov dword [esp], str.CALPOS8____________700__n
call sub.msvcrt.dll_fwrite
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x19
mov dword [esp + 4], 1
mov dword [esp], str.CALPOS9____________800__n
call sub.msvcrt.dll_fwrite
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x39
mov dword [esp + 4], 1
mov dword [esp], str.__n
call sub.msvcrt.dll_fwrite
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x39
mov dword [esp + 4], 1
mov dword [esp], str._____________END_OF_THE_CONFIGURATION_FILE_______________n
call sub.msvcrt.dll_fwrite
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x38
mov dword [esp + 4], 1
mov dword [esp], 0x423f80
call sub.msvcrt.dll_fwrite
mov dword [esp], ebx
call sub.msvcrt.dll_fclose
xor eax, eax
add esp, 0x38
pop ebx
ret