Function at 0x482f30
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, 0x5f8
mov eax, dword [ecx]
mov dword [ebp - 0x5d0], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x5e0], eax
call dbg.__main
mov dword [esp], str.LSPM_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 0x4830a6
mov dword [esp + 4], str.TimeoutDialog.exe
mov dword [esp], ebx
call sym._strstr
test eax, eax
jne 0x483028
mov dword [esp + 4], str.LUMILOOP_GUI.exe
mov dword [esp], ebx
call sym._strstr
mov dword [ebp - 0x5e4], eax
test eax, eax
je 0x4830f3
call sym.Stealth__
mov dword [esp], str.Starting_liblumiloop_guilumiloop_gui.exe._n
call sym.printf_char_const__..._
test esi, esi
jne 0x483000
jmp 0x483009
mov byte [ebx + esi], 0
test esi, esi
je 0x483009
sub esi, 1
cmp byte [ebx + esi], 0x5c
jne 0x482ff8
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 0x48306e
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 0x483048
jmp 0x483051
mov byte [ebx + esi], 0
test esi, esi
je 0x483051
sub esi, 1
cmp byte [ebx + esi], 0x5c
jne 0x483040
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 0x4830c8
jmp 0x4830d1
mov byte [ebx + esi], 0
test esi, esi
je 0x4830d1
sub esi, 1
cmp byte [ebx + esi], 0x5c
jne 0x4830c0
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 0x48306e
mov dword [esp + 4], 1
mov dword [esp], 0xd
call sym._signal
mov ebx, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [ebp - 0x5bc], 0
mov dword [ebp - 0x5b4], 0
mov dword [ebp - 0x5b0], 0
mov dword [ebp - 0x5ac], 0
mov dword [0x25bf770], 0
mov dword [0x25bf76c], 0
mov dword [0x25bf760], 0
mov dword [0x25bf774], 0
mov byte [0x25bf844], 0
mov dword [0x25bf7c4], 0
mov dword [0x25bf7c8], 0
mov dword [0x25bf778], 0
mov dword [0x25bf784], 0
mov dword [0x25bf7cc], 0
mov byte [0x25bf830], 0
mov dword [0x25bf7d0], 0
mov dword [0x25bf7d4], 0
mov dword [0x25bf788], 0
mov byte [0x25bf764], 1
mov dword [0x25bf77c], 0
mov dword [0x25bf838], 0
mov dword [0x25bf83c], 0
mov dword [0x25bf834], 0x25bf778
mov dword [0x25bf840], 0x25bf85d
mov dword [esp], 0x25bf7d8
call ebx
push ecx
mov dword [esp], 0x25bf78c
call ebx
push esi
mov dword [esp], 0x25bf7a4
call ebx
lea ebx, [ebp - 0x5b4]
push edi
call sym._init_terminalMutex
lea eax, [ebp - 0x5ac]
mov dword [esp], ebx
mov dword [esp + 8], eax
lea eax, [ebp - 0x5b0]
mov dword [esp + 4], eax
mov dword [0x25bf7c0], 0
mov dword [0x25bf7bc], 0
call sym._fw_load
mov eax, dword [ebp - 0x5ac]
cmp dword [ebp - 0x5d0], 0
mov dword [0x25bf780], ebx
mov dword [0x25bf784], eax
jle 0x48367e
mov dword [ebp - 0x5cc], 1
mov eax, dword [ebp - 0x5e0]
mov dword [ebp - 0x5dc], 0
lea ebx, [eax + 4]
jmp 0x483332
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 0x4833db
test eax, eax
jne 0x4833f5
mov edi, dword [ebp - 0x5d0]
cmp dword [ebp - 0x5cc], edi
jl 0x483490
cmp byte [edx], 0x2d
jne 0x483460
cmp byte [edx + 1], 0x6c
jne 0x483460
cmp byte [edx + 2], 0
jne 0x483460
mov byte [0x25bf830], 1
mov edx, dword [ebx - 4]
cmp byte [edx], 0x2d
jne 0x483440
cmp byte [edx + 1], 0x66
jne 0x483440
cmp byte [edx + 2], 0
jne 0x483440
mov dword [0x25bf77c], 1
mov edx, dword [ebp - 0x5cc]
add ebx, 4
lea eax, [edx + 1]
cmp dword [ebp - 0x5d0], edx
je 0x48367e
mov dword [ebp - 0x5cc], eax
mov edx, dword [ebx - 4]
movzx eax, byte [edx]
cmp eax, 0x2d
jne 0x483350
cmp byte [edx + 1], 0x68
jne 0x483350
cmp byte [edx + 2], 0
je 0x483590
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 0x483590
cmp eax, 0x2d
jne 0x483418
cmp byte [edx + 1], 0x64
jne 0x483418
cmp byte [edx + 2], 0
jne 0x483418
mov edi, dword [ebp - 0x5d0]
cmp dword [ebp - 0x5cc], edi
jl 0x4834b4
mov eax, dword [ebp - 0x5dc]
test eax, eax
je 0x4833aa
mov dword [0x25bf778], eax
movzx eax, byte [edx]
mov ecx, eax
sub ecx, 0x2d
jne 0x4833c1
movzx ecx, byte [edx + 1]
sub ecx, 0x63
jne 0x4833c1
movzx ecx, byte [edx + 2]
sub eax, 0x2d
jne 0x4833d3
movzx eax, byte [edx + 1]
sub eax, 0x73
jne 0x4833d3
movzx eax, byte [edx + 2]
test ecx, ecx
jne 0x483290
mov ecx, dword [ebp - 0x5cc]
cmp dword [ebp - 0x5d0], ecx
jg 0x483480
test eax, eax
je 0x4832c6
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 0x4832c6
jmp 0x4832b4
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 0x4833aa
jmp 0x483389
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 0x483314
jmp 0x48330a
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 0x4832ed
jmp 0x4832e3
mov edi, dword [ebx]
mov dword [ebp - 0x5e4], edi
test eax, eax
jne 0x4833f5
lea eax, [ebp - 0x5bc]
mov dword [esp + 4], 0x49d2a1
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 0x4832c6
mov esi, dword [ebx]
xor edi, edi
mov dword [ebp - 0x5d8], ebx
mov dword [ebp - 0x5dc], 0
mov dword [esp], esi
mov dword [ebp - 0x5d4], esi
call sym._strlen
cmp eax, edi
jbe 0x483519
lea esi, [esi]
add esi, edi
movsx ecx, byte [esi]
test cl, cl
je 0x483519
sub eax, 1
lea ebx, [edi + 1]
cmp cl, 0x2c
je 0x483527
cmp edi, eax
je 0x48354b
mov dword [esp], ecx
mov edi, ebx
call dword [sym.imp.msvcrt.dll_tolower]
mov byte [esi], al
mov eax, dword [ebp - 0x5d8]
mov esi, dword [eax]
mov dword [esp], esi
call sym._strlen
cmp eax, edi
ja 0x4834e0
mov ebx, dword [ebp - 0x5d8]
mov edx, dword [ebx - 4]
jmp 0x48339b
sub esi, dword [ebp - 0x5d4]
cmp edi, eax
je 0x483551
cmp esi, 0x7f
jbe 0x483556
mov eax, dword [ebp - 0x5d8]
mov edi, ebx
mov esi, dword [eax]
lea eax, [esi + ebx]
mov dword [ebp - 0x5d4], eax
jmp 0x48350d
sub esi, dword [ebp - 0x5d4]
add esi, 1
jmp 0x483531
mov eax, dword [ebp - 0x5d4]
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 - 0x5dc], eax
jmp 0x483536
mov ebx, dword [dbg.__acrt_iob_func]
mov dword [esp], 2
call ebx
mov dword [esp + 4], 0x49d0a5
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_LSPM_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_LSPM.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], 0x49d0a5
mov dword [esp], eax
call sym.fprintf__iobuf__char_const__..._
xor eax, eax
jmp 0x48309a
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 0x483891
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:45:26
mov dword [esp + 0xc], str.Jun_17_2022
mov dword [esp + 8], 0x20
mov dword [esp + 4], str.LSPM_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 0x48393d
mov dword [esp], 2
call esi
mov dword [esp + 8], ebx
mov dword [esp + 4], str._nLSPM_1.x_2.x_Install_Path:__s_n
mov dword [esp], eax
call sym.fprintf__iobuf__char_const__..._
mov eax, dword [ebp - 0x5e4]
mov dword [esp + 0xc], 1
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x5e0]
mov eax, dword [eax]
mov dword [esp], 0x25bf760
mov dword [esp + 4], eax
call sym._get_and_print_config_data
cmp byte [0x25bf830], 0
jne 0x48392c
mov eax, dword [ebp - 0x5bc]
mov dword [esp], 0x25bf834
mov dword [esp + 4], eax
call sym._loadCompleteCalibrationData
lea eax, [ebp - 0x5b8]
mov dword [esp + 0xc], 0x25bf760
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 0x4837e0
mov dword [esp], 0x25bf760
call sym._Ci250CloseExited
mov dword [esp], 0x25bf78c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp byte [0x25bf764], 1
push ecx
je 0x4838b8
mov dword [esp], 0x3e8
call ebx
push edx
cmp dword [0x25bf7c4], 1
je 0x4838c9
mov dword [esp], 2
call esi
mov dword [esp], eax
call sym._fflush
mov dword [esp], 0x25bf78c
call edi
cmp dword [0x25bf788], 0
push eax
je 0x4837af
cmp dword [0x25bf770], 0
je 0x483846
lea esi, [esi]
mov eax, dword [0x25bf760]
mov eax, dword [eax]
mov eax, dword [eax + 0x18c]
mov dword [esp], 0x25bf760
mov dword [esp + 4], eax
call sym._Ci250CloseSingle
mov eax, dword [0x25bf770]
test eax, eax
jne 0x483820
mov eax, dword [ebp - 0x5e4]
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x5e0]
mov eax, dword [eax]
mov dword [esp], 0x25bf760
mov dword [esp + 4], eax
call sym._get_and_print_config_data
call sym._adjust_idn_vers_string
cmp byte [0x25bf830], 0
je 0x483911
mov dword [0x25bf788], 0
jmp 0x4837af
mov dword [esp], 2
call dword [0x495d44]
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 0x48309a
mov dword [esp], 0x25bf760
call sym._Ci250FindNew
jmp 0x4837d6
mov eax, dword [ebp - 0x5b8]
mov dword [esp + 4], 0
mov dword [esp], eax
call dbg.pthread_join
mov dword [esp], 0x25bf760
call sym._Ci250CloseAll
mov byte [0x25bf740], 1
mov dword [esp], 0x64
call ebx
cmp byte [0x25bf740], 2
push eax
jne 0x4838f2
call sym._destroy_terminalMutex
xor eax, eax
jmp 0x48309a
mov eax, dword [ebp - 0x5bc]
mov dword [esp], 0x25bf834
mov dword [esp + 4], eax
call sym._loadCompleteCalibrationData
jmp 0x483882
mov dword [esp], str._nINFO:_Lazy_mode_of_calibration_data_loading._n_n
call sym.printf_char_const__..._
jmp 0x48377b
mov ebx, 0x49cfba
jmp 0x483711