Function at 0x140004730
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
add rcx, 0x10
call fcn.140006310
lea rcx, [rbx + 0x1010]
mov qword [rbx + 0x4048], rax
call fcn.140006310
mov rcx, qword [rbx + 0x4048]
mov qword [rbx + 0x4050], rax
test rcx, rcx
je 0x14000477a
test rax, rax
je 0x14000477a
mov rdx, rax
add rsp, 0x20
pop rbx
jmp 0x1400050b0
lea rcx, str.LOADER:_Failed_to_load_tcl_tk_libraries_n
call fcn.140001c40
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 [0x14004bf60], rax
test rax, rax
jne 0x1400050fc
lea rdx, str.Failed_to_get_address_for_Tcl_Init_n
lea rcx, [0x14002bd30]
call fcn.140001ca0
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 [0x14004bf68], rax
test rax, rax
jne 0x140005121
lea rdx, str.Failed_to_get_address_for_Tcl_CreateInterp_n
jmp 0x1400050e0
lea rdx, str.Tcl_FindExecutable
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14004bf70], rax
test rax, rax
jne 0x140005146
lea rdx, str.Failed_to_get_address_for_Tcl_FindExecutable_n
jmp 0x1400050e0
lea rdx, str.Tcl_DoOneEvent
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14004bf78], rax
test rax, rax
jne 0x14000516e
lea rdx, str.Failed_to_get_address_for_Tcl_DoOneEvent_n
jmp 0x1400050e0
lea rdx, str.Tcl_Finalize
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14004bf80], rax
test rax, rax
jne 0x140005196
lea rdx, str.Failed_to_get_address_for_Tcl_Finalize_n
jmp 0x1400050e0
lea rdx, str.Tcl_FinalizeThread
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14004bf88], rax
test rax, rax
jne 0x1400051be
lea rdx, str.Failed_to_get_address_for_Tcl_FinalizeThread_n
jmp 0x1400050e0
lea rdx, str.Tcl_DeleteInterp
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14004bf90], rax
test rax, rax
jne 0x1400051e6
lea rdx, str.Failed_to_get_address_for_Tcl_DeleteInterp_n
jmp 0x1400050e0
lea rdx, str.Tcl_CreateThread
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14004bf98], rax
test rax, rax
jne 0x14000520e
lea rdx, str.Failed_to_get_address_for_Tcl_CreateThread_n
jmp 0x1400050e0
lea rdx, str.Tcl_GetCurrentThread
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14004bfa0], rax
test rax, rax
jne 0x140005236
lea rdx, str.Failed_to_get_address_for_Tcl_GetCurrentThread_n
jmp 0x1400050e0
lea rdx, str.Tcl_MutexLock
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14004bfa8], rax
test rax, rax
jne 0x14000525e
lea rdx, str.Failed_to_get_address_for_Tcl_MutexLock_n
jmp 0x1400050e0
lea rdx, str.Tcl_MutexUnlock
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14004bfb0], rax
test rax, rax
jne 0x140005286
lea rdx, str.Failed_to_get_address_for_Tcl_MutexUnlock_n
jmp 0x1400050e0
lea rdx, str.Tcl_ConditionFinalize
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14004bfb8], rax
test rax, rax
jne 0x1400052ae
lea rdx, str.Failed_to_get_address_for_Tcl_ConditionFinalize_n
jmp 0x1400050e0
lea rdx, str.Tcl_ConditionNotify
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14004bfc0], rax
test rax, rax
jne 0x1400052d6
lea rdx, str.Failed_to_get_address_for_Tcl_ConditionNotify_n
jmp 0x1400050e0
lea rdx, str.Tcl_ConditionWait
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14004bfc8], rax
test rax, rax
jne 0x1400052fe
lea rdx, str.Failed_to_get_address_for_Tcl_ConditionWait_n
jmp 0x1400050e0
lea rdx, str.Tcl_ThreadQueueEvent
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14004bfd0], rax
test rax, rax
jne 0x140005326
lea rdx, str.Failed_to_get_address_for_Tcl_ThreadQueueEvent_n
jmp 0x1400050e0
lea rdx, str.Tcl_ThreadAlert
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14004bfd8], rax
test rax, rax
jne 0x14000534e
lea rdx, str.Failed_to_get_address_for_Tcl_ThreadAlert_n
jmp 0x1400050e0
lea rdx, str.Tcl_GetVar2
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14004bfe0], rax
test rax, rax
jne 0x140005376
lea rdx, str.Failed_to_get_address_for_Tcl_GetVar2_n
jmp 0x1400050e0
lea rdx, str.Tcl_SetVar2
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14004bfe8], rax
test rax, rax
jne 0x14000539e
lea rdx, str.Failed_to_get_address_for_Tcl_SetVar2_n
jmp 0x1400050e0
lea rdx, str.Tcl_CreateObjCommand
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14004bff0], rax
test rax, rax
jne 0x1400053c6
lea rdx, str.Failed_to_get_address_for_Tcl_CreateObjCommand_n
jmp 0x1400050e0
lea rdx, str.Tcl_GetString
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14004bff8], rax
test rax, rax
jne 0x1400053ee
lea rdx, str.Failed_to_get_address_for_Tcl_GetString_n
jmp 0x1400050e0
lea rdx, str.Tcl_NewStringObj
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14004c000], rax
test rax, rax
jne 0x140005416
lea rdx, str.Failed_to_get_address_for_Tcl_NewStringObj_n
jmp 0x1400050e0
lea rdx, str.Tcl_NewByteArrayObj
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14004c008], rax
test rax, rax
jne 0x14000543e
lea rdx, str.Failed_to_get_address_for_Tcl_NewByteArrayObj_n
jmp 0x1400050e0
lea rdx, str.Tcl_SetVar2Ex
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14004c010], rax
test rax, rax
jne 0x140005466
lea rdx, str.Failed_to_get_address_for_Tcl_SetVar2Ex_n
jmp 0x1400050e0
lea rdx, str.Tcl_GetObjResult
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14004c018], rax
test rax, rax
jne 0x14000548e
lea rdx, str.Failed_to_get_address_for_Tcl_GetObjResult_n
jmp 0x1400050e0
lea rdx, str.Tcl_EvalFile
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14004c020], rax
test rax, rax
jne 0x1400054b6
lea rdx, str.Failed_to_get_address_for_Tcl_EvalFile_n
jmp 0x1400050e0
lea rdx, str.Tcl_EvalEx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14004c028], rax
test rax, rax
jne 0x1400054de
lea rdx, str.Failed_to_get_address_for_Tcl_EvalEx_n
jmp 0x1400050e0
lea rdx, str.Tcl_EvalObjv
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14004c030], rax
test rax, rax
jne 0x140005506
lea rdx, str.Failed_to_get_address_for_Tcl_EvalObjv_n
jmp 0x1400050e0
lea rdx, str.Tcl_Alloc
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14004c038], rax
test rax, rax
jne 0x14000552e
lea rdx, str.Failed_to_get_address_for_Tcl_Alloc_n
jmp 0x1400050e0
lea rdx, str.Tcl_Free
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14004c040], rax
test rax, rax
jne 0x140005556
lea rdx, str.Failed_to_get_address_for_Tcl_Free_n
jmp 0x1400050e0
lea rdx, str.Tk_Init
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14004c048], rax
test rax, rax
jne 0x14000557e
lea rdx, str.Failed_to_get_address_for_Tk_Init_n
jmp 0x1400050e0
lea rdx, str.Tk_GetNumMainWindows
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14004c050], rax
test rax, rax
jne 0x1400055a6
lea rdx, str.Failed_to_get_address_for_Tk_GetNumMainWindows_n
jmp 0x1400050e0
mov rbx, qword [rsp + 0x30]
xor eax, eax
add rsp, 0x20
pop rdi
ret