Function at 0x4ae5c0
Capabilities:
Create process on windows
Initialize winsock library
Query environment variable
Schedule task via at
Set console window title

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
lea ebx, [ebp - 0x418]
push ecx
sub esp, 0x5e8
mov eax, dword [ecx]
mov dword [ebp - 0x5c0], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x5d0], eax
call dbg.__main
mov dword [esp], str.LSProbe_TCP_Server
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
sub esp, 4
mov dword [esp + 8], 0x3ff
mov dword [esp + 4], ebx
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
sub esp, 0xc
mov esi, eax
mov dword [esp + 4], str.CalImport.exe
mov dword [esp], ebx
call sym._strstr
test eax, eax
jne 0x4ae736
mov dword [esp + 4], str.TimeoutDialog.exe
mov dword [esp], ebx
call sym._strstr
test eax, eax
jne 0x4ae6b8
mov dword [esp + 4], str.LUMILOOP_GUI.exe
mov dword [esp], ebx
call sym._strstr
mov dword [ebp - 0x5d4], eax
test eax, eax
je 0x4ae783
call sym.Stealth__
mov dword [esp], str.Starting_liblumiloop_guilumiloop_gui.exe._n
call sym.printf_char_const__..._
test esi, esi
jne 0x4ae690
jmp 0x4ae699
mov byte [ebx + esi], 0
test esi, esi
je 0x4ae699
sub esi, 1
cmp byte [ebx + esi], 0x5c
jne 0x4ae688
lea edi, [ebp - 0x5a8]
mov esi, str...liblumiloop_guilumiloop_gui.exe
mov ecx, 0x25
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x583]
mov ecx, 0xdb
jmp 0x4ae6fe
call sym.Stealth__
mov dword [esp], str.Starting_lib_timeout_dialog_gui_timeout_dialog_gui.exe._n
call sym.printf_char_const__..._
test esi, esi
jne 0x4ae6d8
jmp 0x4ae6e1
mov byte [ebx + esi], 0
test esi, esi
je 0x4ae6e1
sub esi, 1
cmp byte [ebx + esi], 0x5c
jne 0x4ae6d0
lea edi, [ebp - 0x5a8]
mov esi, str...lib_timeout_dialog_gui_timeout_dialog_gui.exe
mov ecx, 0x31
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x577]
mov ecx, 0xcf
xor eax, eax
rep stosb byte es:[edi], al
lea eax, [ebp - 0x5a8]
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._strcat
mov dword [esp + 4], 0
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_WinExec]
xor eax, eax
sub esp, 8
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret
call sym.Stealth__
mov dword [esp], str.Starting_libcal_import_guical_import_gui.exe._n
call sym.printf_char_const__..._
test esi, esi
jne 0x4ae758
jmp 0x4ae761
mov byte [ebx + esi], 0
test esi, esi
je 0x4ae761
sub esi, 1
cmp byte [ebx + esi], 0x5c
jne 0x4ae750
lea edi, [ebp - 0x5a8]
mov esi, str...libcal_import_guical_import_gui.exe
mov ecx, 0x29
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x57f]
mov ecx, 0xd7
jmp 0x4ae6fe
mov dword [esp], 0x26b1720
call sym._init_tcp_com_CI250List_structure
mov dword [esp + 4], 1
mov dword [esp], 0xd
call sym._signal
mov dword [esp], 0x26b1720
mov dword [ebp - 0x5b0], 0
mov dword [0x26b1730], 0
mov dword [0x26b172c], 0
mov dword [0x26b1724], 0
mov dword [0x26b1734], 0
mov dword [0x26b17b4], 0
mov dword [0x26b17b8], 0
mov dword [0x26b1738], 0
mov byte [0x26b17c0], 0
mov dword [0x26b173c], 0
mov dword [0x26b1740], 0
mov dword [0x26b1744], 0
mov dword [0x26b17bc], 0
mov dword [0x26b1748], 0
mov byte [0x26b1720], 1
mov dword [0x26b174c], 0
mov byte [0x26b17d4], 0
mov dword [0x26b17c8], 0
mov dword [0x26b17cc], 0
mov dword [0x26b17c4], 0x26b1738
call sym._initLutE2
mov ebx, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [esp], 0x26b1750
call ebx
push ecx
mov dword [esp], 0x26b1768
call ebx
push esi
mov dword [esp], 0x26b1780
call ebx
push edi
call sym._init_terminalMutex
mov dword [esp + 8], 0x26b1744
mov dword [esp + 4], 0x26b1740
mov dword [esp], 0x26b173c
mov dword [0x26b17a0], 0
mov dword [0x26b1798], 0x3f4ccccd
mov dword [0x26b179c], 0
call sym._fw_load
cmp dword [ebp - 0x5c0], 0
jle 0x4aecee
mov dword [ebp - 0x5bc], 1
mov eax, dword [ebp - 0x5d0]
mov dword [ebp - 0x5cc], 0
lea ebx, [eax + 4]
jmp 0x4ae9a2
mov ecx, 0xa
mov edi, str.__calpath
mov esi, edx
repe cmpsb byte [esi], byte es:[edi]
seta cl
sbb cl, 0
test cl, cl
je 0x4aea4b
test eax, eax
jne 0x4aea65
mov edi, dword [ebp - 0x5c0]
cmp dword [ebp - 0x5bc], edi
jl 0x4aeb00
cmp byte [edx], 0x2d
jne 0x4aead0
cmp byte [edx + 1], 0x6c
jne 0x4aead0
cmp byte [edx + 2], 0
jne 0x4aead0
mov byte [0x26b17c0], 1
mov edx, dword [ebx - 4]
cmp byte [edx], 0x2d
jne 0x4aeab0
cmp byte [edx + 1], 0x66
jne 0x4aeab0
cmp byte [edx + 2], 0
jne 0x4aeab0
mov dword [0x26b174c], 1
mov edx, dword [ebp - 0x5bc]
add ebx, 4
lea eax, [edx + 1]
cmp dword [ebp - 0x5c0], edx
je 0x4aecee
mov dword [ebp - 0x5bc], eax
mov edx, dword [ebx - 4]
movzx eax, byte [edx]
cmp eax, 0x2d
jne 0x4ae9c0
cmp byte [edx + 1], 0x68
jne 0x4ae9c0
cmp byte [edx + 2], 0
je 0x4aec00
lea esi, [esi]
mov ecx, 7
mov edi, str.__help
mov esi, edx
repe cmpsb byte [esi], byte es:[edi]
seta cl
sbb cl, 0
test cl, cl
je 0x4aec00
cmp eax, 0x2d
jne 0x4aea88
cmp byte [edx + 1], 0x64
jne 0x4aea88
cmp byte [edx + 2], 0
jne 0x4aea88
mov edi, dword [ebp - 0x5c0]
cmp dword [ebp - 0x5bc], edi
jl 0x4aeb24
mov eax, dword [ebp - 0x5cc]
test eax, eax
je 0x4aea1a
mov dword [0x26b1738], eax
movzx eax, byte [edx]
mov ecx, eax
sub ecx, 0x2d
jne 0x4aea31
movzx ecx, byte [edx + 1]
sub ecx, 0x63
jne 0x4aea31
movzx ecx, byte [edx + 2]
sub eax, 0x2d
jne 0x4aea43
movzx eax, byte [edx + 1]
sub eax, 0x73
jne 0x4aea43
movzx eax, byte [edx + 2]
test ecx, ecx
jne 0x4ae900
mov ecx, dword [ebp - 0x5bc]
cmp dword [ebp - 0x5c0], ecx
jg 0x4aeaf0
test eax, eax
je 0x4ae936
mov edi, str.__serno
mov ecx, 8
mov esi, edx
repe cmpsb byte [esi], byte es:[edi]
seta al
sbb al, 0
test al, al
jne 0x4ae936
jmp 0x4ae924
mov edi, str.__debug
mov ecx, 8
mov esi, edx
repe cmpsb byte [esi], byte es:[edi]
seta al
sbb al, 0
test al, al
jne 0x4aea1a
jmp 0x4ae9f9
mov edi, str.__flash
mov ecx, 8
mov esi, edx
repe cmpsb byte [esi], byte es:[edi]
seta al
sbb al, 0
test al, al
jne 0x4ae984
jmp 0x4ae97a
mov edi, str.__lazy
mov ecx, 7
mov esi, edx
repe cmpsb byte [esi], byte es:[edi]
seta al
sbb al, 0
test al, al
jne 0x4ae95d
jmp 0x4ae953
mov edi, dword [ebx]
mov dword [ebp - 0x5d4], edi
test eax, eax
jne 0x4aea65
lea eax, [ebp - 0x5b0]
mov dword [esp + 4], 0x4c7519
mov dword [esp + 8], eax
mov eax, dword [ebx]
mov dword [esp], eax
call sym.sscanf_char_const__char_const__..._
mov edx, dword [ebx - 4]
jmp 0x4ae936
mov esi, dword [ebx]
xor edi, edi
mov dword [ebp - 0x5c8], ebx
mov dword [ebp - 0x5cc], 0
mov dword [esp], esi
mov dword [ebp - 0x5c4], esi
call sym._strlen
cmp eax, edi
jbe 0x4aeb89
lea esi, [esi]
add esi, edi
movsx ecx, byte [esi]
test cl, cl
je 0x4aeb89
sub eax, 1
lea ebx, [edi + 1]
cmp cl, 0x2c
je 0x4aeb97
cmp edi, eax
je 0x4aebbb
mov dword [esp], ecx
mov edi, ebx
call dword [sym.imp.msvcrt.dll_tolower]
mov byte [esi], al
mov eax, dword [ebp - 0x5c8]
mov esi, dword [eax]
mov dword [esp], esi
call sym._strlen
cmp eax, edi
ja 0x4aeb50
mov ebx, dword [ebp - 0x5c8]
mov edx, dword [ebx - 4]
jmp 0x4aea0b
sub esi, dword [ebp - 0x5c4]
cmp edi, eax
je 0x4aebc1
cmp esi, 0x7f
jbe 0x4aebc6
mov eax, dword [ebp - 0x5c8]
mov edi, ebx
mov esi, dword [eax]
lea eax, [esi + ebx]
mov dword [ebp - 0x5c4], eax
jmp 0x4aeb7d
sub esi, dword [ebp - 0x5c4]
add esi, 1
jmp 0x4aeba1
mov eax, dword [ebp - 0x5c4]
mov dword [esp + 8], esi
mov dword [esp + 4], eax
lea eax, [ebp - 0x5a8]
mov dword [esp], eax
call sym._memcpy
lea eax, [ebp - 0x5a8]
mov byte [ebp + esi - 0x5a8], 0
mov dword [esp], eax
call sym._eval_debug_flag
add dword [ebp - 0x5cc], eax
jmp 0x4aeba6
mov ebx, dword [dbg.__acrt_iob_func]
mov dword [esp], 2
call ebx
mov dword [esp + 4], 0x4c7319
mov dword [esp], eax
call sym.fprintf__iobuf__char_const__..._
mov dword [esp], 2
call ebx
mov dword [esp + 4], str.Command_line_options_supported_by_LSProbe_TCP_Server:_n_n
mov dword [esp], eax
call sym.fprintf__iobuf__char_const__..._
mov dword [esp], 2
call ebx
mov dword [esp + 4], str._h__t_t_display_usage_information_and_quit_program_n
mov dword [esp], eax
call sym.fprintf__iobuf__char_const__..._
mov dword [esp], 2
call ebx
mov dword [esp + 4], str._d_N_s__s_..___t_enable_debug__either_via_bit_value_or_as_a_list_of_debug_flags._n
mov dword [esp], eax
call sym.fprintf__iobuf__char_const__..._
mov dword [esp], 2
call ebx
mov dword [esp + 4], str._s_N__t_t_set_single_calibration_data_LSProbe_serial_number_to_load._n
mov dword [esp], eax
call sym.fprintf__iobuf__char_const__..._
mov dword [esp], 2
call ebx
mov dword [esp + 4], str._c_P__t_t_set_custom_calibration_data_path__entry_in_LSProbe.ini_will_be_ignored._n
mov dword [esp], eax
call sym.fprintf__iobuf__char_const__..._
mov dword [esp], 2
call ebx
mov dword [esp + 4], str._l__t_t_lazy_mode__loading_of_calibration_data_during_run_time_as_they_are_needed._n
mov dword [esp], eax
call sym.fprintf__iobuf__char_const__..._
mov dword [esp], 2
call ebx
mov dword [esp + 4], str._f__t_t_flash_all_Computer_Interfaces_upon_enumeration._n
mov dword [esp], eax
call sym.fprintf__iobuf__char_const__..._
mov dword [esp], 2
call ebx
mov dword [esp + 4], 0x4c7319
mov dword [esp], eax
call sym.fprintf__iobuf__char_const__..._
xor eax, eax
jmp 0x4ae72a
lea eax, [ebp - 0x5a8]
mov dword [esp], 2
mov dword [esp + 4], eax
call dword [sym.imp.WS2_32.dll_WSAStartup]
push eax
push eax
mov dword [esp], str.ftd2xx.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
mov dword [esp + 4], 1
mov dword [esp], sym.__Z11exitHandlerm_4
call dword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
push edx
push edx
test eax, eax
je 0x4aef09
mov dword [esp], str.LUMILOOP_PATH
call sym._getenv
mov dword [esp], 2
mov esi, dword [dbg.__acrt_iob_func]
mov ebx, eax
call esi
mov dword [esp + 0x10], str.11:21:31
mov dword [esp + 0xc], str.Jul_15_2022
mov dword [esp + 8], 0x20
mov dword [esp + 4], str.LSProbe_1.x_2.x_TCP_Server___d_bit__built__s__s._n
mov dword [esp], eax
call sym.fprintf__iobuf__char_const__..._
test ebx, ebx
je 0x4aefb5
mov dword [esp], 2
call esi
mov dword [esp + 8], ebx
mov dword [esp + 4], str._nLSProbe_1.x_2.x_Install_Path:__s_n
mov dword [esp], eax
call sym.fprintf__iobuf__char_const__..._
mov eax, dword [ebp - 0x5d4]
mov dword [esp + 0xc], 1
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x5d0]
mov eax, dword [eax]
mov dword [esp], 0x26b1720
mov dword [esp + 4], eax
call sym._get_and_print_config_data
cmp byte [0x26b17c0], 0
mov dword [0x26b17d0], 0x26b17fd
jne 0x4aefa4
mov eax, dword [ebp - 0x5b0]
mov dword [esp], 0x26b17c4
mov dword [esp + 4], eax
call sym._loadCompleteCalibrationData
lea eax, [ebp - 0x5ac]
mov dword [esp + 0xc], 0x26b1720
mov dword [esp + 8], sym._tcpThread
mov dword [esp + 4], 0
mov dword [esp], eax
call dbg.pthread_create
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
mov edi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
jmp 0x4aee5a
mov dword [esp], 0x26b1720
call sym._Ci250CloseExited
mov dword [esp], 0x26b1750
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp byte [0x26b1720], 1
push ecx
je 0x4aef30
mov dword [esp], 0x3e8
call ebx
push edx
cmp dword [0x26b17b4], 1
je 0x4aef41
mov dword [esp], 2
call esi
mov dword [esp], eax
call sym._fflush
mov dword [esp], 0x26b1750
call edi
cmp dword [0x26b1748], 0
push eax
je 0x4aee29
cmp dword [0x26b1730], 0
je 0x4aeebe
lea esi, [esi]
mov eax, dword [0x26b1724]
mov eax, dword [eax]
mov eax, dword [eax + 0x18c]
mov dword [esp], 0x26b1720
mov dword [esp + 4], eax
call sym._Ci250CloseSingle
mov eax, dword [0x26b1730]
test eax, eax
jne 0x4aee98
mov eax, dword [ebp - 0x5d4]
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x5d0]
mov eax, dword [eax]
mov dword [esp], 0x26b1720
mov dword [esp + 4], eax
call sym._get_and_print_config_data
call sym._adjust_idn_vers_string
cmp byte [0x26b17c0], 0
je 0x4aef89
mov dword [0x26b1748], 0
jmp 0x4aee29
mov dword [esp], 2
call dword [0x4bd01c]
mov dword [esp + 4], str._nERROR:_Could_not_set_control_handler
mov dword [esp], eax
call sym.fprintf__iobuf__char_const__..._
mov eax, 1
jmp 0x4ae72a
mov dword [esp], 0x26b1720
call sym._Ci250FindNew
jmp 0x4aee50
mov eax, dword [ebp - 0x5ac]
mov dword [esp + 4], 0
mov dword [esp], eax
call dbg.pthread_join
mov dword [esp], 0x26b1720
call sym._Ci250CloseAll
mov byte [0x26b1700], 1
mov dword [esp], 0x3e8
call ebx
cmp byte [0x26b1700], 2
push eax
jne 0x4aef6a
call sym._destroy_terminalMutex
xor eax, eax
jmp 0x4ae72a
mov eax, dword [ebp - 0x5b0]
mov dword [esp], 0x26b17c4
mov dword [esp + 4], eax
call sym._loadCompleteCalibrationData
jmp 0x4aeefa
mov dword [esp], str._nINFO:_Lazy_mode_of_calibration_data_loading._n_n
call sym.printf_char_const__..._
jmp 0x4aedf5
mov ebx, 0x4c722a
jmp 0x4aed81