Function at 0x403010
Capabilities:
Terminate process

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x100
mov rbx, rcx
mov ecx, 2
call fcn.00533c10
test rax, rax
je 0x4032e0
mov ecx, 4
call fcn.00533c10
test rax, rax
je 0x403290
mov ecx, 8
call fcn.00533c10
test rax, rax
je 0x403244
lea r8, [0x005b72e9]
lea rdx, [0x006258c5]
xor r9d, r9d
xor ecx, ecx
lea rdi, [rsp + 0x20]
call fcn.005473f0
lea r8, [0x004034c0]
lea rdx, str.tclkitpath
xor r9d, r9d
xor ecx, ecx
call fcn.005473f0
lea r8, [0x00401cf0]
lea rdx, str.rechan
xor r9d, r9d
xor ecx, ecx
call fcn.005473f0
lea r8, [0x005aea90]
lea rdx, [0x006258de]
xor r9d, r9d
xor ecx, ecx
call fcn.005473f0
lea r8, [0x00402400]
lea rdx, str.zlib
xor r9d, r9d
xor ecx, ecx
call fcn.005473f0
lea r9, [0x0040bf10]
lea r8, [fcn.0040bf00]
lea rdx, [0x006258e7]
xor ecx, ecx
call fcn.005473f0
lea r8, [0x00402b60]
lea rdx, str.bitrock
xor r9d, r9d
xor ecx, ecx
call fcn.005473f0
lea r8, str._tclkitrc.tcl
lea rdx, [0x00625901]
mov r9d, 1
mov rcx, rbx
call fcn.0057a7c0
mov rcx, rdi
call fcn.0058ae60
xor ecx, ecx
call fcn.00517690
mov rsi, qword [rsp + 0x20]
mov rdx, rax
mov rcx, rsi
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x403230
lea rdx, str.tclkit_system_encoding
xor r9d, r9d
mov r8, rsi
mov rcx, rbx
call fcn.0057a7c0
mov rcx, rdi
call fcn.00575950
lea rcx, str.set_::tclKitMkCounter_0_nset_::vfsSha256_c30c5226d713279ced6ae19dcdceb72f02a451939341c5f02df7cd46558f9823_sha256_nset_::vfsPositionOffset_0x00000000030e1b9b_offset_nset_::vfsSize_0x0000000000333b8e_size_nset_::vfsCRC_0x79472b00_crc_nproc_crc32_fh_start_end__1__nif__end___0__seek__fh_0_end__set_end__tell__fh_____seek__fh__start___set_crc32_0___set_chunkSize_1048576___set_done_0_nset_size__expr__end____start____set_nchunks__expr__size____chunkSize___set_rest__expr__size____chunkSize__nfor_set_i_0__i____nchunks_incr_i__if__eof__fh___set_done_1__break____set_crc32__zlib_crc32__read__fh__chunkSize___crc32___nif___done___rest___0__set_crc32__zlib_crc32__read__fh__rest___crc32_____return__format_0x_08x__expr__crc32__0xffffffff___n_nproc_checkCrc32Equal_v1_v2__set_h1__string_range__format__08x__v1__end_7_end____set_h2__string_range__format__08x__v2__end_7_end____return__string_equal__h1__h2___nproc_tclKitMkFindBeginning_fileName_m_r_off_0_seek_32768__nset_fd__open__fileName__m____fconfigure__fd__translation_binary___seek__fd_0_end___set_e__tell__fd____if__e____seek_set_seek__e_nseek__fd___seek_end___set_last__read__fd____set_end__tell__fd__nif__set_idx__string_first_bitrock_lzma_4.0__last_____0__set_off__expr__seek____idx_____seek__fd__expr__16__off__end___binary_scan__read__fd_16__IIII_a_b_c_d_nif____c____24____128_____format__x__a__eq_80000000___format__x__a__eq_ffffffff80000000___set_start__expr__end___16____b____off___else__close__fd___return____nif__::vfsPositionOffset___0___::vfsPositionOffset____start__error__invalid_offset___nif__::vfsSize___0___::vfsSize____expr__end____off____start___error__invalid_size___nseek__fd__start___set_e__read__fd_2____if___string_equal__e_JL_____string_equal__e_JL___close__fd___return____nif___string_equal__nocase__::vfsSha256__string_repeat_0_64______string_equal__nocase__::vfsSha256__::bitrock::sha2::fromChannel__fd__start__expr__end__off_____error__checksum_mismatch___nif__::vfsCRC___0____checkCrc32Equal__::vfsCRC__crc32__fd__start__expr__end__off_____error__CRC_mismatch___nseek__fd__start___return__list__fd__expr__end__off__tell__fd____nproc_tclKitMkHelperChan_cmd_a0__a1__args__switch_____cmd__ninitialize_return_initialize_finalize_watch_read_finalize_close__::tclKitMkHelperChanHandle_watch__read__nif__a1____::tclKitMkHelperChanLeft_set_a1__::tclKitMkHelperChanLeft___set_r__read__::tclKitMkHelperChanHandle__a1____incr_::tclKitMkHelperChanLeft___string_length__r____return__r___n_default_error_Unsupported___nproc_tclKitMkOpen_p_n__if__n___set_n_tclkitmk_incr_::tclKitMkCounter____mk::file_open__n_nforeach_::tclKitMkHelperChanHandle_::tclKitMkHelperChanLeft__tclKitMkFindBeginning__p__break_nif__::tclKitMkHelperChanHandle_____set_chan__chan_create_read_tclKitMkHelperChan____if__catch_mk::file_load__n__chan_err__set_ei__::errorInfo__set_ec__::errorCode__catch_close__chan___catch_close__::tclKitMkHelperChanHandle___error__err__ei__ec___close__chan_nunset_::tclKitMkHelperChanHandle___unset_::tclKitMkHelperChanLeft___return__n_nproc_tclKitPreInit___nif__catch__nrename_tclKitPreInit__nload__tclkitpath_nload__bitrock_ncatch_load__zlib_nload__Mk4tcl_nif__file_type__::tcl::kitpath_____directory__tclKitMkOpen__::tcl::kitpath_exe_nset_n__mk::select_exe.dirs_0.files_name_boot.tcl__nif__llength__n___1__narray_set_a__mk::get_exe.dirs_0.files__n__nif___info_exists_a_contents____error_no_boot_file__nif__a_size_____string_length__a_contents____nset_a_contents___zlib_decompress__a_contents___n_nif__a_contents__eq_____error_empty_boot_file__nuplevel_0__a_contents__n_elseif__lindex__::argv_0__eq___init____nuplevel_0__source__lindex__::argv_1___nexit_n_else__nerror__invalid_boot_record_count__n_n_else__nsource__file_join__::tcl::kitpath_boot.tcl__n_n_err___nset_msg__Installer_payload_initialization_failed._This_is_likely_due_to_an_incomplete_or_corrupt_down
call fcn.0052e6a0
mov rcx, rbx
call fcn.0052e6b0
cmp eax, 1
je 0x40332a
mov rcx, rbx
call fcn.0040bf00
cmp eax, 1
je 0x40332a
mov rcx, rbx
call fcn.00404490
cmp eax, 1
je 0x40332a
lea rdx, str.if__file_isfile__file_join__::tcl::kitpath_main.tcl____nif__info_commands_console______console_hide__nset_tcl_interactive_0_nincr_argc_nset_argv__linsert__argv_0__argv0__nset_argv0__file_join__::tcl::kitpath_main.tcl__n_elseif__file_isfile__file_join__::tcl::kitpath_allow_interactive____ncontinue_n_else__ncatch_puts_stderr__Installer_payload_initialization_failed._This_is_likely_due_to_an_incomplete_or_corrupt_downloaded_file.__ncatch_wm_withdraw_._ncatch_console_hide_ncatch_tk_messageBox__title__Error_in_Installer___message__Installer_payload_initialization_failed._This_is_likely_due_to_an_incomplete_or_corrupt_downloaded_file.__nexit_1_n
mov r9d, 0x20000
mov r8d, 0xffffffff
mov rcx, rbx
call fcn.004dc670
test eax, eax
je 0x403200
lea r8, [0x00625885]
lea rdx, [0x00625954]
mov r9d, 1
mov rcx, rbx
call fcn.0057a7c0
mov rcx, rbx
call fcn.00561c80
xor eax, eax
add rsp, 0x100
pop rbx
pop rsi
pop rdi
ret
call fcn.00547ba0
mov rcx, rbx
mov rsi, rax
call fcn.00561840
mov rcx, rax
call fcn.00547b90
test rsi, rsi
jne 0x4031c5
lea rdx, str.incr_argc__1__set_argv__lrange__argv_1_end_
mov rcx, rbx
call fcn.004dc6a0
jmp 0x4031c5
mov rdx, rsi
xor ecx, ecx
call fcn.00519620
mov rsi, qword [rsp + 0x20]
jmp 0x40314a
lea r8, [0x006258c3]
lea rdx, [0x006258af]
xor r9d, r9d
xor ecx, ecx
call fcn.00541760
test rax, rax
mov rsi, rax
je 0x40327c
lea r9, [0x006258b3]
lea r8, [0x006258b9]
mov rdx, rax
xor ecx, ecx
call fcn.00539ef0
mov edx, 8
mov rcx, rsi
call fcn.00533a30
jmp 0x403056
lea r8, [0x006258c3]
lea rdx, [0x006258af]
xor r9d, r9d
xor ecx, ecx
call fcn.00541760
test rax, rax
mov rsi, rax
je 0x4032c8
lea r9, [0x006258b3]
lea r8, [0x006258b9]
mov rdx, rax
xor ecx, ecx
call fcn.00539ef0
mov edx, 4
mov rcx, rsi
call fcn.00533a30
jmp 0x403043
lea r8, [0x006258ad]
lea rdx, [0x006258af]
xor r9d, r9d
xor ecx, ecx
call fcn.00541760
test rax, rax
mov rsi, rax
je 0x403318
lea r9, [0x006258b3]
lea r8, [0x006258b9]
mov rdx, rax
xor ecx, ecx
call fcn.00539ef0
mov edx, 2
mov rcx, rsi
call fcn.00533a30
jmp 0x403030
mov ecx, 0x30
call qword [sym.imp.USER32.dll_MessageBeep]
mov rcx, rbx
call fcn.005619a0
xor ecx, ecx
mov r9d, 0x12010
lea r8, [0x0062595e]
mov rdx, rax
call qword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_ExitProcess]