Function at 0x140004740
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
add rcx, 0x10
call fcn.140006320
lea rcx, [rbx + 0x1010]
mov qword [rbx + 0x4048], rax
call fcn.140006320
mov rcx, qword [rbx + 0x4048]
mov qword [rbx + 0x4050], rax
test rcx, rcx
je 0x14000478a
test rax, rax
je 0x14000478a
mov rdx, rax
add rsp, 0x20
pop rbx
jmp 0x1400050c0
lea rcx, str.LOADER:_Failed_to_load_tcl_tk_libraries_n
call fcn.140001c50
mov eax, 0xffffffff
add rsp, 0x20
pop rbx
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 [0x14004aef0], rax
test rax, rax
jne 0x14000510c
lea rdx, str.Failed_to_get_address_for_Tcl_Init_n
lea rcx, [0x14002ad00]
call fcn.140001cb0
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 [0x14004aef8], rax
test rax, rax
jne 0x140005131
lea rdx, str.Failed_to_get_address_for_Tcl_CreateInterp_n
jmp 0x1400050f0
lea rdx, str.Tcl_FindExecutable
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14004af00], rax
test rax, rax
jne 0x140005156
lea rdx, str.Failed_to_get_address_for_Tcl_FindExecutable_n
jmp 0x1400050f0
lea rdx, str.Tcl_DoOneEvent
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14004af08], rax
test rax, rax
jne 0x14000517e
lea rdx, str.Failed_to_get_address_for_Tcl_DoOneEvent_n
jmp 0x1400050f0
lea rdx, str.Tcl_Finalize
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14004af10], rax
test rax, rax
jne 0x1400051a6
lea rdx, str.Failed_to_get_address_for_Tcl_Finalize_n
jmp 0x1400050f0
lea rdx, str.Tcl_FinalizeThread
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14004af18], rax
test rax, rax
jne 0x1400051ce
lea rdx, str.Failed_to_get_address_for_Tcl_FinalizeThread_n
jmp 0x1400050f0
lea rdx, str.Tcl_DeleteInterp
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14004af20], rax
test rax, rax
jne 0x1400051f6
lea rdx, str.Failed_to_get_address_for_Tcl_DeleteInterp_n
jmp 0x1400050f0
lea rdx, str.Tcl_CreateThread
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14004af28], rax
test rax, rax
jne 0x14000521e
lea rdx, str.Failed_to_get_address_for_Tcl_CreateThread_n
jmp 0x1400050f0
lea rdx, str.Tcl_GetCurrentThread
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14004af30], rax
test rax, rax
jne 0x140005246
lea rdx, str.Failed_to_get_address_for_Tcl_GetCurrentThread_n
jmp 0x1400050f0
lea rdx, str.Tcl_MutexLock
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14004af38], rax
test rax, rax
jne 0x14000526e
lea rdx, str.Failed_to_get_address_for_Tcl_MutexLock_n
jmp 0x1400050f0
lea rdx, str.Tcl_MutexUnlock
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14004af40], rax
test rax, rax
jne 0x140005296
lea rdx, str.Failed_to_get_address_for_Tcl_MutexUnlock_n
jmp 0x1400050f0
lea rdx, str.Tcl_ConditionFinalize
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14004af48], rax
test rax, rax
jne 0x1400052be
lea rdx, str.Failed_to_get_address_for_Tcl_ConditionFinalize_n
jmp 0x1400050f0
lea rdx, str.Tcl_ConditionNotify
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14004af50], rax
test rax, rax
jne 0x1400052e6
lea rdx, str.Failed_to_get_address_for_Tcl_ConditionNotify_n
jmp 0x1400050f0
lea rdx, str.Tcl_ConditionWait
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14004af58], rax
test rax, rax
jne 0x14000530e
lea rdx, str.Failed_to_get_address_for_Tcl_ConditionWait_n
jmp 0x1400050f0
lea rdx, str.Tcl_ThreadQueueEvent
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14004af60], rax
test rax, rax
jne 0x140005336
lea rdx, str.Failed_to_get_address_for_Tcl_ThreadQueueEvent_n
jmp 0x1400050f0
lea rdx, str.Tcl_ThreadAlert
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14004af68], rax
test rax, rax
jne 0x14000535e
lea rdx, str.Failed_to_get_address_for_Tcl_ThreadAlert_n
jmp 0x1400050f0
lea rdx, str.Tcl_GetVar2
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14004af70], rax
test rax, rax
jne 0x140005386
lea rdx, str.Failed_to_get_address_for_Tcl_GetVar2_n
jmp 0x1400050f0
lea rdx, str.Tcl_SetVar2
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14004af78], rax
test rax, rax
jne 0x1400053ae
lea rdx, str.Failed_to_get_address_for_Tcl_SetVar2_n
jmp 0x1400050f0
lea rdx, str.Tcl_CreateObjCommand
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14004af80], rax
test rax, rax
jne 0x1400053d6
lea rdx, str.Failed_to_get_address_for_Tcl_CreateObjCommand_n
jmp 0x1400050f0
lea rdx, str.Tcl_GetString
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14004af88], rax
test rax, rax
jne 0x1400053fe
lea rdx, str.Failed_to_get_address_for_Tcl_GetString_n
jmp 0x1400050f0
lea rdx, str.Tcl_NewStringObj
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14004af90], rax
test rax, rax
jne 0x140005426
lea rdx, str.Failed_to_get_address_for_Tcl_NewStringObj_n
jmp 0x1400050f0
lea rdx, str.Tcl_NewByteArrayObj
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14004af98], rax
test rax, rax
jne 0x14000544e
lea rdx, str.Failed_to_get_address_for_Tcl_NewByteArrayObj_n
jmp 0x1400050f0
lea rdx, str.Tcl_SetVar2Ex
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14004afa0], rax
test rax, rax
jne 0x140005476
lea rdx, str.Failed_to_get_address_for_Tcl_SetVar2Ex_n
jmp 0x1400050f0
lea rdx, str.Tcl_GetObjResult
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14004afa8], rax
test rax, rax
jne 0x14000549e
lea rdx, str.Failed_to_get_address_for_Tcl_GetObjResult_n
jmp 0x1400050f0
lea rdx, str.Tcl_EvalFile
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14004afb0], rax
test rax, rax
jne 0x1400054c6
lea rdx, str.Failed_to_get_address_for_Tcl_EvalFile_n
jmp 0x1400050f0
lea rdx, str.Tcl_EvalEx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14004afb8], rax
test rax, rax
jne 0x1400054ee
lea rdx, str.Failed_to_get_address_for_Tcl_EvalEx_n
jmp 0x1400050f0
lea rdx, str.Tcl_EvalObjv
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14004afc0], rax
test rax, rax
jne 0x140005516
lea rdx, str.Failed_to_get_address_for_Tcl_EvalObjv_n
jmp 0x1400050f0
lea rdx, str.Tcl_Alloc
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14004afc8], rax
test rax, rax
jne 0x14000553e
lea rdx, str.Failed_to_get_address_for_Tcl_Alloc_n
jmp 0x1400050f0
lea rdx, str.Tcl_Free
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14004afd0], rax
test rax, rax
jne 0x140005566
lea rdx, str.Failed_to_get_address_for_Tcl_Free_n
jmp 0x1400050f0
lea rdx, str.Tk_Init
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14004afd8], rax
test rax, rax
jne 0x14000558e
lea rdx, str.Failed_to_get_address_for_Tk_Init_n
jmp 0x1400050f0
lea rdx, str.Tk_GetNumMainWindows
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14004afe0], rax
test rax, rax
jne 0x1400055b6
lea rdx, str.Failed_to_get_address_for_Tk_GetNumMainWindows_n
jmp 0x1400050f0
mov rbx, qword [rsp + 0x30]
xor eax, eax
add rsp, 0x20
pop rdi
ret