Function at 0x140006530
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rsi, rcx
lea rdx, [rcx + 0x10]
lea rcx, str.SPLASH:_Load_Tcl_library_from:__s_n
call fcn.1400029f0
lea rdx, [rsi + 0x1010]
lea rcx, str.SPLASH:_Load_Tk_library_from:__s_n
call fcn.1400029f0
lea rcx, [rsi + 0x10]
call fcn.140007770
lea rcx, [rsi + 0x1010]
mov qword [rsi + 0x4048], rax
call fcn.140007770
mov rcx, qword [rsi + 0x4048]
mov qword [rsi + 0x4050], rax
test rcx, rcx
je 0x140005bd0
test rax, rax
je 0x140005bd0
mov rdx, rax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp 0x140006530
lea rcx, str.LOADER:_Failed_to_load_tcl_tk_libraries_n
call fcn.1400027d0
mov rbx, qword [rsp + 0x30]
mov eax, 0xffffffff
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rdx
mov rbx, rcx
lea rdx, str.Tcl_Init
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14004bee0], rax
test rax, rax
jne 0x14000657c
lea rdx, str.Failed_to_get_address_for_Tcl_Init_n
lea rcx, [0x14002b468]
call fcn.140002680
mov eax, 0xffffffff
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
lea rdx, str.Tcl_CreateInterp
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14004bee8], rax
test rax, rax
jne 0x1400065a1
lea rdx, str.Failed_to_get_address_for_Tcl_CreateInterp_n
jmp 0x140006560
lea rdx, str.Tcl_FindExecutable
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14004bef0], rax
test rax, rax
jne 0x1400065c6
lea rdx, str.Failed_to_get_address_for_Tcl_FindExecutable_n
jmp 0x140006560
lea rdx, str.Tcl_DoOneEvent
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14004bef8], rax
test rax, rax
jne 0x1400065ee
lea rdx, str.Failed_to_get_address_for_Tcl_DoOneEvent_n
jmp 0x140006560
lea rdx, str.Tcl_Finalize
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14004bf00], rax
test rax, rax
jne 0x140006616
lea rdx, str.Failed_to_get_address_for_Tcl_Finalize_n
jmp 0x140006560
lea rdx, str.Tcl_FinalizeThread
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14004bf08], rax
test rax, rax
jne 0x14000663e
lea rdx, str.Failed_to_get_address_for_Tcl_FinalizeThread_n
jmp 0x140006560
lea rdx, str.Tcl_DeleteInterp
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14004bf10], rax
test rax, rax
jne 0x140006666
lea rdx, str.Failed_to_get_address_for_Tcl_DeleteInterp_n
jmp 0x140006560
lea rdx, str.Tcl_CreateThread
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14004bf18], rax
test rax, rax
jne 0x14000668e
lea rdx, str.Failed_to_get_address_for_Tcl_CreateThread_n
jmp 0x140006560
lea rdx, str.Tcl_GetCurrentThread
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14004bf20], rax
test rax, rax
jne 0x1400066b6
lea rdx, str.Failed_to_get_address_for_Tcl_GetCurrentThread_n
jmp 0x140006560
lea rdx, str.Tcl_MutexLock
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14004bf28], rax
test rax, rax
jne 0x1400066de
lea rdx, str.Failed_to_get_address_for_Tcl_MutexLock_n
jmp 0x140006560
lea rdx, str.Tcl_MutexUnlock
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14004bf30], rax
test rax, rax
jne 0x140006706
lea rdx, str.Failed_to_get_address_for_Tcl_MutexUnlock_n
jmp 0x140006560
lea rdx, str.Tcl_ConditionFinalize
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14004bf38], rax
test rax, rax
jne 0x14000672e
lea rdx, str.Failed_to_get_address_for_Tcl_ConditionFinalize_n
jmp 0x140006560
lea rdx, str.Tcl_ConditionNotify
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14004bf40], rax
test rax, rax
jne 0x140006756
lea rdx, str.Failed_to_get_address_for_Tcl_ConditionNotify_n
jmp 0x140006560
lea rdx, str.Tcl_ConditionWait
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14004bf48], rax
test rax, rax
jne 0x14000677e
lea rdx, str.Failed_to_get_address_for_Tcl_ConditionWait_n
jmp 0x140006560
lea rdx, str.Tcl_ThreadQueueEvent
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14004bf50], rax
test rax, rax
jne 0x1400067a6
lea rdx, str.Failed_to_get_address_for_Tcl_ThreadQueueEvent_n
jmp 0x140006560
lea rdx, str.Tcl_ThreadAlert
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14004bf58], rax
test rax, rax
jne 0x1400067ce
lea rdx, str.Failed_to_get_address_for_Tcl_ThreadAlert_n
jmp 0x140006560
lea rdx, str.Tcl_GetVar2
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14004bf60], rax
test rax, rax
jne 0x1400067f6
lea rdx, str.Failed_to_get_address_for_Tcl_GetVar2_n
jmp 0x140006560
lea rdx, str.Tcl_SetVar2
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14004bf68], rax
test rax, rax
jne 0x14000681e
lea rdx, str.Failed_to_get_address_for_Tcl_SetVar2_n
jmp 0x140006560
lea rdx, str.Tcl_CreateObjCommand
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14004bf70], rax
test rax, rax
jne 0x140006846
lea rdx, str.Failed_to_get_address_for_Tcl_CreateObjCommand_n
jmp 0x140006560
lea rdx, str.Tcl_GetString
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14004bf78], rax
test rax, rax
jne 0x14000686e
lea rdx, str.Failed_to_get_address_for_Tcl_GetString_n
jmp 0x140006560
lea rdx, str.Tcl_NewStringObj
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14004bf80], rax
test rax, rax
jne 0x140006896
lea rdx, str.Failed_to_get_address_for_Tcl_NewStringObj_n
jmp 0x140006560
lea rdx, str.Tcl_NewByteArrayObj
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14004bf88], rax
test rax, rax
jne 0x1400068be
lea rdx, str.Failed_to_get_address_for_Tcl_NewByteArrayObj_n
jmp 0x140006560
lea rdx, str.Tcl_SetVar2Ex
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14004bf90], rax
test rax, rax
jne 0x1400068e6
lea rdx, str.Failed_to_get_address_for_Tcl_SetVar2Ex_n
jmp 0x140006560
lea rdx, str.Tcl_GetObjResult
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14004bf98], rax
test rax, rax
jne 0x14000690e
lea rdx, str.Failed_to_get_address_for_Tcl_GetObjResult_n
jmp 0x140006560
lea rdx, str.Tcl_EvalFile
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14004bfa0], rax
test rax, rax
jne 0x140006936
lea rdx, str.Failed_to_get_address_for_Tcl_EvalFile_n
jmp 0x140006560
lea rdx, str.Tcl_EvalEx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14004bfa8], rax
test rax, rax
jne 0x14000695e
lea rdx, str.Failed_to_get_address_for_Tcl_EvalEx_n
jmp 0x140006560
lea rdx, str.Tcl_EvalObjv
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14004bfb0], rax
test rax, rax
jne 0x140006986
lea rdx, str.Failed_to_get_address_for_Tcl_EvalObjv_n
jmp 0x140006560
lea rdx, str.Tcl_Alloc
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14004bfb8], rax
test rax, rax
jne 0x1400069ae
lea rdx, str.Failed_to_get_address_for_Tcl_Alloc_n
jmp 0x140006560
lea rdx, str.Tcl_Free
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14004bfc0], rax
test rax, rax
jne 0x1400069d6
lea rdx, str.Failed_to_get_address_for_Tcl_Free_n
jmp 0x140006560
lea rdx, str.Tk_Init
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14004bfc8], rax
test rax, rax
jne 0x1400069fe
lea rdx, str.Failed_to_get_address_for_Tk_Init_n
jmp 0x140006560
lea rdx, str.Tk_GetNumMainWindows
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14004bfd0], rax
test rax, rax
jne 0x140006a26
lea rdx, str.Failed_to_get_address_for_Tk_GetNumMainWindows_n
jmp 0x140006560
lea rcx, str.LOADER:_Loaded_functions_from_tcl_tk_libraries._n
call fcn.1400029f0
mov rbx, qword [rsp + 0x30]
xor eax, eax
add rsp, 0x20
pop rdi
ret