Function at 0x140004d70
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
add rcx, 0x10
call fcn.140005f30
lea rcx, [rbx + 0x1010]
mov qword [rbx + 0x4048], rax
call fcn.140005f30
mov rcx, qword [rbx + 0x4048]
mov qword [rbx + 0x4050], rax
test rcx, rcx
je 0x1400044fa
test rax, rax
je 0x1400044fa
mov rdx, rax
add rsp, 0x20
pop rbx
jmp 0x140004d70
lea rcx, str.LOADER:_Failed_to_load_tcl_tk_libraries_n
call fcn.140001c90
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 [0x140049f50], rax
test rax, rax
jne 0x140004dbc
lea rdx, str.Failed_to_get_address_for_Tcl_Init_n
lea rcx, [0x14002abc8]
call fcn.140001cf0
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 [0x140049f58], rax
test rax, rax
jne 0x140004de1
lea rdx, str.Failed_to_get_address_for_Tcl_CreateInterp_n
jmp 0x140004da0
lea rdx, str.Tcl_FindExecutable
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140049f60], rax
test rax, rax
jne 0x140004e06
lea rdx, str.Failed_to_get_address_for_Tcl_FindExecutable_n
jmp 0x140004da0
lea rdx, str.Tcl_DoOneEvent
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140049f68], rax
test rax, rax
jne 0x140004e2e
lea rdx, str.Failed_to_get_address_for_Tcl_DoOneEvent_n
jmp 0x140004da0
lea rdx, str.Tcl_Finalize
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140049f70], rax
test rax, rax
jne 0x140004e56
lea rdx, str.Failed_to_get_address_for_Tcl_Finalize_n
jmp 0x140004da0
lea rdx, str.Tcl_FinalizeThread
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140049f78], rax
test rax, rax
jne 0x140004e7e
lea rdx, str.Failed_to_get_address_for_Tcl_FinalizeThread_n
jmp 0x140004da0
lea rdx, str.Tcl_DeleteInterp
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140049f80], rax
test rax, rax
jne 0x140004ea6
lea rdx, str.Failed_to_get_address_for_Tcl_DeleteInterp_n
jmp 0x140004da0
lea rdx, str.Tcl_CreateThread
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140049f88], rax
test rax, rax
jne 0x140004ece
lea rdx, str.Failed_to_get_address_for_Tcl_CreateThread_n
jmp 0x140004da0
lea rdx, str.Tcl_GetCurrentThread
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140049f90], rax
test rax, rax
jne 0x140004ef6
lea rdx, str.Failed_to_get_address_for_Tcl_GetCurrentThread_n
jmp 0x140004da0
lea rdx, str.Tcl_MutexLock
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140049f98], rax
test rax, rax
jne 0x140004f1e
lea rdx, str.Failed_to_get_address_for_Tcl_MutexLock_n
jmp 0x140004da0
lea rdx, str.Tcl_MutexUnlock
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140049fa0], rax
test rax, rax
jne 0x140004f46
lea rdx, str.Failed_to_get_address_for_Tcl_MutexUnlock_n
jmp 0x140004da0
lea rdx, str.Tcl_ConditionFinalize
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140049fa8], rax
test rax, rax
jne 0x140004f6e
lea rdx, str.Failed_to_get_address_for_Tcl_ConditionFinalize_n
jmp 0x140004da0
lea rdx, str.Tcl_ConditionNotify
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140049fb0], rax
test rax, rax
jne 0x140004f96
lea rdx, str.Failed_to_get_address_for_Tcl_ConditionNotify_n
jmp 0x140004da0
lea rdx, str.Tcl_ConditionWait
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140049fb8], rax
test rax, rax
jne 0x140004fbe
lea rdx, str.Failed_to_get_address_for_Tcl_ConditionWait_n
jmp 0x140004da0
lea rdx, str.Tcl_ThreadQueueEvent
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140049fc0], rax
test rax, rax
jne 0x140004fe6
lea rdx, str.Failed_to_get_address_for_Tcl_ThreadQueueEvent_n
jmp 0x140004da0
lea rdx, str.Tcl_ThreadAlert
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140049fc8], rax
test rax, rax
jne 0x14000500e
lea rdx, str.Failed_to_get_address_for_Tcl_ThreadAlert_n
jmp 0x140004da0
lea rdx, str.Tcl_GetVar2
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140049fd0], rax
test rax, rax
jne 0x140005036
lea rdx, str.Failed_to_get_address_for_Tcl_GetVar2_n
jmp 0x140004da0
lea rdx, str.Tcl_SetVar2
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140049fd8], rax
test rax, rax
jne 0x14000505e
lea rdx, str.Failed_to_get_address_for_Tcl_SetVar2_n
jmp 0x140004da0
lea rdx, str.Tcl_CreateObjCommand
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140049fe0], rax
test rax, rax
jne 0x140005086
lea rdx, str.Failed_to_get_address_for_Tcl_CreateObjCommand_n
jmp 0x140004da0
lea rdx, str.Tcl_GetString
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140049fe8], rax
test rax, rax
jne 0x1400050ae
lea rdx, str.Failed_to_get_address_for_Tcl_GetString_n
jmp 0x140004da0
lea rdx, str.Tcl_NewStringObj
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140049ff0], rax
test rax, rax
jne 0x1400050d6
lea rdx, str.Failed_to_get_address_for_Tcl_NewStringObj_n
jmp 0x140004da0
lea rdx, str.Tcl_NewByteArrayObj
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140049ff8], rax
test rax, rax
jne 0x1400050fe
lea rdx, str.Failed_to_get_address_for_Tcl_NewByteArrayObj_n
jmp 0x140004da0
lea rdx, str.Tcl_SetVar2Ex
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14004a000], rax
test rax, rax
jne 0x140005126
lea rdx, str.Failed_to_get_address_for_Tcl_SetVar2Ex_n
jmp 0x140004da0
lea rdx, str.Tcl_GetObjResult
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14004a008], rax
test rax, rax
jne 0x14000514e
lea rdx, str.Failed_to_get_address_for_Tcl_GetObjResult_n
jmp 0x140004da0
lea rdx, str.Tcl_EvalFile
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14004a010], rax
test rax, rax
jne 0x140005176
lea rdx, str.Failed_to_get_address_for_Tcl_EvalFile_n
jmp 0x140004da0
lea rdx, str.Tcl_EvalEx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14004a018], rax
test rax, rax
jne 0x14000519e
lea rdx, str.Failed_to_get_address_for_Tcl_EvalEx_n
jmp 0x140004da0
lea rdx, str.Tcl_EvalObjv
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14004a020], rax
test rax, rax
jne 0x1400051c6
lea rdx, str.Failed_to_get_address_for_Tcl_EvalObjv_n
jmp 0x140004da0
lea rdx, str.Tcl_Alloc
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14004a028], rax
test rax, rax
jne 0x1400051ee
lea rdx, str.Failed_to_get_address_for_Tcl_Alloc_n
jmp 0x140004da0
lea rdx, str.Tcl_Free
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14004a030], rax
test rax, rax
jne 0x140005216
lea rdx, str.Failed_to_get_address_for_Tcl_Free_n
jmp 0x140004da0
lea rdx, str.Tk_Init
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14004a038], rax
test rax, rax
jne 0x14000523e
lea rdx, str.Failed_to_get_address_for_Tk_Init_n
jmp 0x140004da0
lea rdx, str.Tk_GetNumMainWindows
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14004a040], rax
test rax, rax
jne 0x140005266
lea rdx, str.Failed_to_get_address_for_Tk_GetNumMainWindows_n
jmp 0x140004da0
mov rbx, qword [rsp + 0x30]
xor eax, eax
add rsp, 0x20
pop rdi
ret