Function at 0x1400051b0
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
add rcx, 0x10
call fcn.140006cf0
lea rcx, [rbx + 0x1010]
mov qword [rbx + 0x4048], rax
call fcn.140006cf0
mov rcx, qword [rbx + 0x4048]
mov qword [rbx + 0x4050], rax
test rcx, rcx
je 0x1400051fa
test rax, rax
je 0x1400051fa
mov rdx, rax
add rsp, 0x20
pop rbx
jmp 0x140005a80
lea rcx, str.LOADER:_Failed_to_load_tcl_tk_libraries_n
call fcn.140002790
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 [0x140044e80], rax
test rax, rax
jne 0x140005acc
lea rdx, str.Failed_to_get_address_for_Tcl_Init_n
lea rcx, [0x140025de8]
call fcn.140002640
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 [0x140044e88], rax
test rax, rax
jne 0x140005af1
lea rdx, str.Failed_to_get_address_for_Tcl_CreateInterp_n
jmp 0x140005ab0
lea rdx, str.Tcl_FindExecutable
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140044e90], rax
test rax, rax
jne 0x140005b16
lea rdx, str.Failed_to_get_address_for_Tcl_FindExecutable_n
jmp 0x140005ab0
lea rdx, str.Tcl_DoOneEvent
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140044e98], rax
test rax, rax
jne 0x140005b3e
lea rdx, str.Failed_to_get_address_for_Tcl_DoOneEvent_n
jmp 0x140005ab0
lea rdx, str.Tcl_Finalize
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140044ea0], rax
test rax, rax
jne 0x140005b66
lea rdx, str.Failed_to_get_address_for_Tcl_Finalize_n
jmp 0x140005ab0
lea rdx, str.Tcl_FinalizeThread
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140044ea8], rax
test rax, rax
jne 0x140005b8e
lea rdx, str.Failed_to_get_address_for_Tcl_FinalizeThread_n
jmp 0x140005ab0
lea rdx, str.Tcl_DeleteInterp
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140044eb0], rax
test rax, rax
jne 0x140005bb6
lea rdx, str.Failed_to_get_address_for_Tcl_DeleteInterp_n
jmp 0x140005ab0
lea rdx, str.Tcl_CreateThread
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140044eb8], rax
test rax, rax
jne 0x140005bde
lea rdx, str.Failed_to_get_address_for_Tcl_CreateThread_n
jmp 0x140005ab0
lea rdx, str.Tcl_GetCurrentThread
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140044ec0], rax
test rax, rax
jne 0x140005c06
lea rdx, str.Failed_to_get_address_for_Tcl_GetCurrentThread_n
jmp 0x140005ab0
lea rdx, str.Tcl_MutexLock
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140044ec8], rax
test rax, rax
jne 0x140005c2e
lea rdx, str.Failed_to_get_address_for_Tcl_MutexLock_n
jmp 0x140005ab0
lea rdx, str.Tcl_MutexUnlock
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140044ed0], rax
test rax, rax
jne 0x140005c56
lea rdx, str.Failed_to_get_address_for_Tcl_MutexUnlock_n
jmp 0x140005ab0
lea rdx, str.Tcl_ConditionFinalize
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140044ed8], rax
test rax, rax
jne 0x140005c7e
lea rdx, str.Failed_to_get_address_for_Tcl_ConditionFinalize_n
jmp 0x140005ab0
lea rdx, str.Tcl_ConditionNotify
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140044ee0], rax
test rax, rax
jne 0x140005ca6
lea rdx, str.Failed_to_get_address_for_Tcl_ConditionNotify_n
jmp 0x140005ab0
lea rdx, str.Tcl_ConditionWait
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140044ee8], rax
test rax, rax
jne 0x140005cce
lea rdx, str.Failed_to_get_address_for_Tcl_ConditionWait_n
jmp 0x140005ab0
lea rdx, str.Tcl_ThreadQueueEvent
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140044ef0], rax
test rax, rax
jne 0x140005cf6
lea rdx, str.Failed_to_get_address_for_Tcl_ThreadQueueEvent_n
jmp 0x140005ab0
lea rdx, str.Tcl_ThreadAlert
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140044ef8], rax
test rax, rax
jne 0x140005d1e
lea rdx, str.Failed_to_get_address_for_Tcl_ThreadAlert_n
jmp 0x140005ab0
lea rdx, str.Tcl_GetVar2
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140044f00], rax
test rax, rax
jne 0x140005d46
lea rdx, str.Failed_to_get_address_for_Tcl_GetVar2_n
jmp 0x140005ab0
lea rdx, str.Tcl_SetVar2
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140044f08], rax
test rax, rax
jne 0x140005d6e
lea rdx, str.Failed_to_get_address_for_Tcl_SetVar2_n
jmp 0x140005ab0
lea rdx, str.Tcl_CreateObjCommand
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140044f10], rax
test rax, rax
jne 0x140005d96
lea rdx, str.Failed_to_get_address_for_Tcl_CreateObjCommand_n
jmp 0x140005ab0
lea rdx, str.Tcl_GetString
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140044f18], rax
test rax, rax
jne 0x140005dbe
lea rdx, str.Failed_to_get_address_for_Tcl_GetString_n
jmp 0x140005ab0
lea rdx, str.Tcl_NewStringObj
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140044f20], rax
test rax, rax
jne 0x140005de6
lea rdx, str.Failed_to_get_address_for_Tcl_NewStringObj_n
jmp 0x140005ab0
lea rdx, str.Tcl_NewByteArrayObj
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140044f28], rax
test rax, rax
jne 0x140005e0e
lea rdx, str.Failed_to_get_address_for_Tcl_NewByteArrayObj_n
jmp 0x140005ab0
lea rdx, str.Tcl_SetVar2Ex
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140044f30], rax
test rax, rax
jne 0x140005e36
lea rdx, str.Failed_to_get_address_for_Tcl_SetVar2Ex_n
jmp 0x140005ab0
lea rdx, str.Tcl_GetObjResult
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140044f38], rax
test rax, rax
jne 0x140005e5e
lea rdx, str.Failed_to_get_address_for_Tcl_GetObjResult_n
jmp 0x140005ab0
lea rdx, str.Tcl_EvalFile
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140044f40], rax
test rax, rax
jne 0x140005e86
lea rdx, str.Failed_to_get_address_for_Tcl_EvalFile_n
jmp 0x140005ab0
lea rdx, str.Tcl_EvalEx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140044f48], rax
test rax, rax
jne 0x140005eae
lea rdx, str.Failed_to_get_address_for_Tcl_EvalEx_n
jmp 0x140005ab0
lea rdx, str.Tcl_EvalObjv
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140044f50], rax
test rax, rax
jne 0x140005ed6
lea rdx, str.Failed_to_get_address_for_Tcl_EvalObjv_n
jmp 0x140005ab0
lea rdx, str.Tcl_Alloc
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140044f58], rax
test rax, rax
jne 0x140005efe
lea rdx, str.Failed_to_get_address_for_Tcl_Alloc_n
jmp 0x140005ab0
lea rdx, str.Tcl_Free
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140044f60], rax
test rax, rax
jne 0x140005f26
lea rdx, str.Failed_to_get_address_for_Tcl_Free_n
jmp 0x140005ab0
lea rdx, str.Tk_Init
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140044f68], rax
test rax, rax
jne 0x140005f4e
lea rdx, str.Failed_to_get_address_for_Tk_Init_n
jmp 0x140005ab0
lea rdx, str.Tk_GetNumMainWindows
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140044f70], rax
test rax, rax
jne 0x140005f76
lea rdx, str.Failed_to_get_address_for_Tk_GetNumMainWindows_n
jmp 0x140005ab0
mov rbx, qword [rsp + 0x30]
xor eax, eax
add rsp, 0x20
pop rdi
ret